diff options
Diffstat (limited to 'x11-misc/snixembed')
-rw-r--r-- | x11-misc/snixembed/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/snixembed/snixembed-0.3.0.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/x11-misc/snixembed/Manifest b/x11-misc/snixembed/Manifest index e64ed9a1e1ef..e9633174703b 100644 --- a/x11-misc/snixembed/Manifest +++ b/x11-misc/snixembed/Manifest @@ -1,3 +1,5 @@ DIST snixembed-0.2.2.tar.gz 5870 BLAKE2B fa0ff00808579419410e462e0271d2bc72db0975c6de5b03751ea9d7831c2d4507ef5886058bfa66d12b5dea79f690103243a0398e77c788ee3d77025580cfbe SHA512 474eba11a31c44437a29d034b3e1e8df1b9a0dbc728566fd8727bc957237763e3c88d175bd6c349aaca5fec8dec7213c17e2241e91aefed1686a2368554be05a +DIST snixembed-0.3.0.tar.gz 6866 BLAKE2B a19b128ad88a6c6126dd261ac2300b42406dabbc6f8e0be7b4cf87829c43028a604e177cd95fee8b78069e065455b329252a8cd08058f73da4e0a210e73a0eac SHA512 617309a1156a939f5613a5574b982173f66ba38c3af9800debbcde7cede22ce763ddec3aa0c738cbd0b8636f38aed79e557a84ace1f1a4e4cb2dd21ee5347051 EBUILD snixembed-0.2.2.ebuild 1006 BLAKE2B 7c2da73d6054bbe3a281a6a990627dc9f40d8135c9815eb3bb80246bd7be6c520644e06b382b48bb5c9070c1c95d0af67a797881933fcffcab2e4bcc0740e387 SHA512 abf5ab3ee3e75abf4ed39cdacd546cc5d202cda53c3fece6f5ff58ea128ff2be87436055c1567e2427cb0b11be2be1861f7035d758bd5e33b93111e03edf598f +EBUILD snixembed-0.3.0.ebuild 906 BLAKE2B 4011ba451e73bf6aeaba769d26a93eb8558e5f869d5ddb407be974bd54b7166aa4db796e279cdac2f4fb0e2a70e7a07eddf8523cb1ed6d74c0e143dbe9740c44 SHA512 757aaf816ef2bf14d0d7334a7219daf7f37dcc8d07942029c11612897c7f1f07377f09ac8d2c17db70c22d6d0a509d151fc46ef3790543345ac4213d24b24ae4 MISC metadata.xml 247 BLAKE2B 25c731c759786cef3c3ffdb2513becb723ad51c2e3902853311cf3845ab1e9c193672430b2ba6510df55ff43039f593a6f73bc8e057ac6237462b814beb69d37 SHA512 4926bbe8526eca3acea716f8f865c02398b29f7b0481eb07cc9c92f17974a44b038db4489bdd5ea9fc8b73e6e7212bd6dd0948727f8290b5002014291e748de8 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 +} |