1 |
commit: 7834e6ae179065f800c06187e0fe0d8265e9313a |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 27 21:05:22 2020 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 27 21:05:28 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7834e6ae |
7 |
|
8 |
media-sound/spotify: fix pulseaudio / apulse dependency |
9 |
|
10 |
Closes: https://bugs.gentoo.org/728800 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.23 |
12 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
13 |
|
14 |
media-sound/spotify/metadata.xml | 1 + |
15 |
.../spotify/{spotify-1.1.26.ebuild => spotify-1.1.26-r1.ebuild} | 5 +++-- |
16 |
2 files changed, 4 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/media-sound/spotify/metadata.xml b/media-sound/spotify/metadata.xml |
19 |
index 1e06c14d2fd..ff06ccc103f 100644 |
20 |
--- a/media-sound/spotify/metadata.xml |
21 |
+++ b/media-sound/spotify/metadata.xml |
22 |
@@ -3,6 +3,7 @@ |
23 |
<pkgmetadata> |
24 |
<use> |
25 |
<flag name="pax_kernel">Triggers a paxmarking of the main Spotify binary</flag> |
26 |
+ <flag name="pulseaudio">Constrols the dependency on pulseaudio or apulse</flag> |
27 |
<flag name="systray">Pulls in dependencies needed for systray support on some desktop environments</flag> |
28 |
</use> |
29 |
<maintainer type="person"> |
30 |
|
31 |
diff --git a/media-sound/spotify/spotify-1.1.26.ebuild b/media-sound/spotify/spotify-1.1.26-r1.ebuild |
32 |
similarity index 95% |
33 |
rename from media-sound/spotify/spotify-1.1.26.ebuild |
34 |
rename to media-sound/spotify/spotify-1.1.26-r1.ebuild |
35 |
index 1d3b666674b..2310f6ff5af 100644 |
36 |
--- a/media-sound/spotify/spotify-1.1.26.ebuild |
37 |
+++ b/media-sound/spotify/spotify-1.1.26-r1.ebuild |
38 |
@@ -12,7 +12,7 @@ SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb" |
39 |
LICENSE="Spotify" |
40 |
SLOT="0" |
41 |
KEYWORDS="~amd64" |
42 |
-IUSE="libnotify libressl systray pax_kernel" |
43 |
+IUSE="libnotify libressl systray pax_kernel pulseaudio" |
44 |
RESTRICT="mirror strip" |
45 |
|
46 |
BDEPEND=">=dev-util/patchelf-0.10" |
47 |
@@ -29,7 +29,8 @@ RDEPEND=" |
48 |
media-libs/mesa[X(+)] |
49 |
net-misc/curl[ssl] |
50 |
net-print/cups[ssl] |
51 |
- || ( media-sound/pulseaudio media-sound/apulse ) |
52 |
+ pulseaudio? ( media-sound/pulseaudio ) |
53 |
+ !pulseaudio? ( media-sound/apulse ) |
54 |
systray? ( gnome-extra/gnome-integration-spotify ) |
55 |
x11-libs/gtk+:2 |
56 |
app-accessibility/at-spi2-atk |