summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-20 12:54:31 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-20 13:29:33 +0100
commit45043b28b873cc050360aa4bff16b810b73d790d (patch)
treee982b746b38b7a6d7447014276ebeaf49b41ffdf /media-sound/cmus/files
parentmedia-sound/cmus: Switch to virtual/jack (diff)
downloadgentoo-45043b28b873cc050360aa4bff16b810b73d790d.tar.gz
gentoo-45043b28b873cc050360aa4bff16b810b73d790d.tar.bz2
gentoo-45043b28b873cc050360aa4bff16b810b73d790d.zip
media-sound/cmus: 2.8.0 version bump, add MPRIS support
MPRIS support is enabled via USE elogind or systemd, whichever is in effect. These flags are mutually exclusive globally, so no one should trip up on the ensuing REQUIRED_USE. Thanks-to: Shiba <shibotto@gmx.com> Bug: https://bugs.gentoo.org/679222 Closes: https://bugs.gentoo.org/673426 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/cmus/files')
-rw-r--r--media-sound/cmus/files/cmus-2.8.0-elogind.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-sound/cmus/files/cmus-2.8.0-elogind.patch b/media-sound/cmus/files/cmus-2.8.0-elogind.patch
new file mode 100644
index 000000000000..e1309c78911d
--- /dev/null
+++ b/media-sound/cmus/files/cmus-2.8.0-elogind.patch
@@ -0,0 +1,22 @@
+From 483d1862ed023c3e00f2c8c4e71da40022af2f78 Mon Sep 17 00:00:00 2001
+From: Shiba <3816409+shibotto@users.noreply.github.com>
+Date: Tue, 12 Feb 2019 15:29:43 +0100
+Subject: [PATCH] Add support for elogind (#846)
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 1f46c30a..4627126e 100755
+--- a/configure
++++ b/configure
+@@ -289,7 +289,7 @@ check_vorbis()
+
+ check_libsystemd()
+ {
+- pkg_config LIBSYSTEMD "libsystemd"
++ pkg_config LIBSYSTEMD "libsystemd" || pkg_config LIBSYSTEMD "libelogind >= 239.3"
+ return $?
+ }
+