diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-13 10:39:22 +0100 |
commit | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (patch) | |
tree | 8ac67e26b45f34d71c5aab3621813b100a0d5f00 /x11-misc/snixembed/snixembed-0.3.0.ebuild | |
parent | f516638b7fe9592837389826a6152a7e1b251c54 (diff) |
gentoo resync : 13.06.2020
Diffstat (limited to 'x11-misc/snixembed/snixembed-0.3.0.ebuild')
-rw-r--r-- | x11-misc/snixembed/snixembed-0.3.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-misc/snixembed/snixembed-0.3.0.ebuild b/x11-misc/snixembed/snixembed-0.3.0.ebuild new file mode 100644 index 000000000000..9f781bcdd16e --- /dev/null +++ b/x11-misc/snixembed/snixembed-0.3.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit vala + +DESCRIPTION="Proxy StatusNotifierItems as XEmbedded systemtray-spec icons" +HOMEPAGE="https://git.sr.ht/~steef/snixembed" +SRC_URI="https://git.sr.ht/~steef/snixembed/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +DEPEND="dev-libs/glib:2 + dev-libs/libdbusmenu[gtk3] + x11-libs/gtk+:3" +RDEPEND="${DEPEND}" +BDEPEND="$(vala_depend) + virtual/pkgconfig + doc? ( dev-lang/vala[valadoc] )" + +src_prepare() { + default + + use doc && local VALA_USE_DEPEND="valadoc" + vala_src_prepare + + sed -e "s:valac :${VALAC} :" \ + -e "s:valadoc :${VALADOC} :" \ + -i makefile || die +} + +src_compile() { + default + use doc && emake doc +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}" BINDIR="/usr/bin" install + use doc && HTML_DOCS=( doc/. ) + einstalldocs +} |