summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2020-06-27 16:05:22 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2020-06-27 16:05:28 -0500
commit7834e6ae179065f800c06187e0fe0d8265e9313a (patch)
treefa48803014d1ad28ee4556920bec67246d8b4b47 /media-sound
parentnet-libs/libnma: bump to 1.8.30 (diff)
downloadgentoo-7834e6ae179065f800c06187e0fe0d8265e9313a.tar.gz
gentoo-7834e6ae179065f800c06187e0fe0d8265e9313a.tar.bz2
gentoo-7834e6ae179065f800c06187e0fe0d8265e9313a.zip
media-sound/spotify: fix pulseaudio / apulse dependency
Closes: https://bugs.gentoo.org/728800 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/spotify/metadata.xml1
-rw-r--r--media-sound/spotify/spotify-1.1.26-r1.ebuild (renamed from media-sound/spotify/spotify-1.1.26.ebuild)5
2 files changed, 4 insertions, 2 deletions
diff --git a/media-sound/spotify/metadata.xml b/media-sound/spotify/metadata.xml
index 1e06c14d2fd1..ff06ccc103fe 100644
--- a/media-sound/spotify/metadata.xml
+++ b/media-sound/spotify/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<use>
<flag name="pax_kernel">Triggers a paxmarking of the main Spotify binary</flag>
+ <flag name="pulseaudio">Constrols the dependency on pulseaudio or apulse</flag>
<flag name="systray">Pulls in dependencies needed for systray support on some desktop environments</flag>
</use>
<maintainer type="person">
diff --git a/media-sound/spotify/spotify-1.1.26.ebuild b/media-sound/spotify/spotify-1.1.26-r1.ebuild
index 1d3b666674b0..2310f6ff5afb 100644
--- a/media-sound/spotify/spotify-1.1.26.ebuild
+++ b/media-sound/spotify/spotify-1.1.26-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb"
LICENSE="Spotify"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="libnotify libressl systray pax_kernel"
+IUSE="libnotify libressl systray pax_kernel pulseaudio"
RESTRICT="mirror strip"
BDEPEND=">=dev-util/patchelf-0.10"
@@ -29,7 +29,8 @@ RDEPEND="
media-libs/mesa[X(+)]
net-misc/curl[ssl]
net-print/cups[ssl]
- || ( media-sound/pulseaudio media-sound/apulse )
+ pulseaudio? ( media-sound/pulseaudio )
+ !pulseaudio? ( media-sound/apulse )
systray? ( gnome-extra/gnome-integration-spotify )
x11-libs/gtk+:2
app-accessibility/at-spi2-atk