From 19dd2d56ba119308a1efade691e788b3c233ca81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Sun, 31 Jul 2022 13:14:34 -0500 Subject: [PATCH] gui-apps/fnott: add 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Leonardo Hernández Hernández --- gui-apps/fnott/fnott-9999.ebuild | 46 ++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 gui-apps/fnott/fnott-9999.ebuild diff --git a/gui-apps/fnott/fnott-9999.ebuild b/gui-apps/fnott/fnott-9999.ebuild new file mode 100644 index 0000000000..5f1d72055a --- /dev/null +++ b/gui-apps/fnott/fnott-9999.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Keyboard driven and lightweight Wayland notification daemon." +HOMEPAGE="https://codeberg.org/dnkl/fnott" + +if [ "${PV}" -eq "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/fnott.git" +else + SRC_URI="https://codeberg.org/dnkl/fnott/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" + KEYWORDS="~amd64" +fi + +LICENSE="MIT ZLIB" +SLOT="0" + +DEPEND=" + x11-libs/pixman + media-libs/libpng + dev-libs/wayland + sys-apps/dbus + media-libs/fcft + media-libs/freetype + media-libs/fontconfig +" +RDEPEND="${DEPEND} +" +BDEPEND=" + dev-util/wayland-scanner + dev-libs/wayland-protocols + app-text/scdoc + dev-libs/tllist +" + +src_install() { + local DOCS=( CHANGELOG.md README.md ) + meson_src_install + + rm -r "${ED}"/usr/share/doc/"${PN}" || die +}