summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Strogin <steils@gentoo.org>2020-05-22 00:03:33 +0300
committerStefan Strogin <steils@gentoo.org>2020-05-22 00:33:42 +0300
commite8c4e27733e82cb028a4160f9f2dfb33e1c7960b (patch)
tree60e539ec490ff416071386879ee53e22245b3c28 /x11-misc
parentmedia-video/smtube: 20.1.0 version bump (diff)
downloadgentoo-e8c4e27733e82cb028a4160f9f2dfb33e1c7960b.tar.gz
gentoo-e8c4e27733e82cb028a4160f9f2dfb33e1c7960b.tar.bz2
gentoo-e8c4e27733e82cb028a4160f9f2dfb33e1c7960b.zip
x11-misc/snixembed: add new package
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Stefan Strogin <steils@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/snixembed/Manifest1
-rw-r--r--x11-misc/snixembed/metadata.xml8
-rw-r--r--x11-misc/snixembed/snixembed-0.2.2.ebuild47
3 files changed, 56 insertions, 0 deletions
diff --git a/x11-misc/snixembed/Manifest b/x11-misc/snixembed/Manifest
new file mode 100644
index 000000000000..4c3a9c5490d8
--- /dev/null
+++ b/x11-misc/snixembed/Manifest
@@ -0,0 +1 @@
+DIST snixembed-0.2.2.tar.gz 5870 BLAKE2B fa0ff00808579419410e462e0271d2bc72db0975c6de5b03751ea9d7831c2d4507ef5886058bfa66d12b5dea79f690103243a0398e77c788ee3d77025580cfbe SHA512 474eba11a31c44437a29d034b3e1e8df1b9a0dbc728566fd8727bc957237763e3c88d175bd6c349aaca5fec8dec7213c17e2241e91aefed1686a2368554be05a
diff --git a/x11-misc/snixembed/metadata.xml b/x11-misc/snixembed/metadata.xml
new file mode 100644
index 000000000000..90af0369c665
--- /dev/null
+++ b/x11-misc/snixembed/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>steils@gentoo.org</email>
+ <name>Stefan Strogin</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/x11-misc/snixembed/snixembed-0.2.2.ebuild b/x11-misc/snixembed/snixembed-0.2.2.ebuild
new file mode 100644
index 000000000000..aaec6ff02216
--- /dev/null
+++ b/x11-misc/snixembed/snixembed-0.2.2.ebuild
@@ -0,0 +1,47 @@
+# 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: .git/HEAD .git/index::" \
+ -e "s:\$(shell git describe --always --tags --dirty):${PV}:" \
+ -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
+}