From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/volumeicon/, media-sound/volumeicon/files/
Date: Fri, 12 Feb 2021 23:39:50 +0000 (UTC) [thread overview]
Message-ID: <1613172848.33a9d9214df534a3aa9b32665e55e4c0c39c8b30.conikost@gentoo> (raw)
commit: 33a9d9214df534a3aa9b32665e55e4c0c39c8b30
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 12 23:34:08 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Feb 12 23:34:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33a9d921
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 <AT> gentoo.org>
.../files/volumeicon-0.5.1-fix-libnotify.patch | 22 ++++++++++++
media-sound/volumeicon/volumeicon-0.5.1-r2.ebuild | 41 ++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/media-sound/volumeicon/files/volumeicon-0.5.1-fix-libnotify.patch b/media-sound/volumeicon/files/volumeicon-0.5.1-fix-libnotify.patch
new file mode 100644
index 00000000000..bdfaa4f11a2
--- /dev/null
+++ b/media-sound/volumeicon/files/volumeicon-0.5.1-fix-libnotify.patch
@@ -0,0 +1,22 @@
+From 78a9c23775ebe12d3f3be93c0798144a6e732d90 Mon Sep 17 00:00:00 2001
+From: John Lindgren <john.lindgren@aol.com>
+Date: Wed, 30 Dec 2015 20:50:46 -0500
+Subject: [PATCH] Add missing space in NOTIFY_CFLAGS.
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6ad78d5..c8b72bd 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -86,7 +86,7 @@ fi
+ if test "x${notify}" = xyes; then
+ # Check for libnotify
+ PKG_CHECK_MODULES([NOTIFY], [libnotify >= 0.5.0])
+-NOTIFY_CFLAGS+="-DCOMPILEWITH_NOTIFY"
++NOTIFY_CFLAGS+=" -DCOMPILEWITH_NOTIFY"
+ AC_SUBST(NOTIFY_CFLAGS)
+ AC_SUBST(NOTIFY_LIBS)
+ fi
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 00000000000..37b89992df4
--- /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)
+}
reply other threads:[~2021-02-12 23:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1613172848.33a9d9214df534a3aa9b32665e55e4c0c39c8b30.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox