summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-02-13 00:34:08 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-02-13 00:34:08 +0100
commit33a9d9214df534a3aa9b32665e55e4c0c39c8b30 (patch)
tree7e6c35376007b0b3f28204472b865abad053e1fd /media-sound/volumeicon/volumeicon-0.5.1-r2.ebuild
parentdev-lang/lua: remove unused patches (diff)
downloadgentoo-33a9d9214df534a3aa9b32665e55e4c0c39c8b30.tar.gz
gentoo-33a9d9214df534a3aa9b32665e55e4c0c39c8b30.tar.bz2
gentoo-33a9d9214df534a3aa9b32665e55e4c0c39c8b30.zip
media-sound/volumeicon: fix libnotify
Closes: https://bugs.gentoo.org/749360 Closes: https://github.com/gentoo/gentoo/pull/10945 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'media-sound/volumeicon/volumeicon-0.5.1-r2.ebuild')
-rw-r--r--media-sound/volumeicon/volumeicon-0.5.1-r2.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/volumeicon/volumeicon-0.5.1-r2.ebuild b/media-sound/volumeicon/volumeicon-0.5.1-r2.ebuild
new file mode 100644
index 000000000000..37b89992df4f
--- /dev/null
+++ b/media-sound/volumeicon/volumeicon-0.5.1-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.5.1-fix-libnotify.patch )
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ # $(use_enable !alsa oss) fails wrt #419891, is likely only for OSS4
+ econf $(use_enable libnotify notify)
+}