media-sound/volumeicon: Ebuild fixes
authorPacho Ramos <pacho@gentoo.org>
Sat, 23 Mar 2019 10:49:03 +0000 (11:49 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sat, 23 Mar 2019 10:49:45 +0000 (11:49 +0100)
Thanks-to: Brian Evans
Closes: https://bugs.gentoo.org/673846
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
media-sound/volumeicon/volumeicon-0.5.1-r1.ebuild [new file with mode: 0644]

diff --git a/media-sound/volumeicon/volumeicon-0.5.1-r1.ebuild b/media-sound/volumeicon/volumeicon-0.5.1-r1.ebuild
new file mode 100644 (file)
index 0000000..5f3deee
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A lightweight volume control that sits in your systray"
+HOMEPAGE="http://nullwise.com/volumeicon.html"
+SRC_URI="http://nullwise.com/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libnotify"
+
+RDEPEND="
+       dev-libs/glib:2
+       media-libs/alsa-lib
+       x11-libs/gtk+:3[X]
+       x11-libs/libX11
+       libnotify? ( >=x11-libs/libnotify-0.7 )
+"
+DEPEND="${RDEPEND}
+       dev-util/intltool
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+src_configure() {
+       # $(use_enable !alsa oss) fails wrt #419891, is likely only for OSS4
+       econf $(use_enable libnotify notify)
+}