1 |
commit: b5f4a04d54d0edfb6a96eb45b6d843c07905a0e0 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 18 17:15:27 2021 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 18 17:16:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f4a04d |
7 |
|
8 |
media-sound/spotify: add local-playback useflag |
9 |
|
10 |
Closes: https://bugs.gentoo.org/783501 |
11 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
12 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
13 |
|
14 |
media-sound/spotify/metadata.xml | 1 + |
15 |
media-sound/spotify/spotify-1.1.55.ebuild | 3 ++- |
16 |
2 files changed, 3 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/media-sound/spotify/metadata.xml b/media-sound/spotify/metadata.xml |
19 |
index 6e853bb0020..5f4cc456b93 100644 |
20 |
--- a/media-sound/spotify/metadata.xml |
21 |
+++ b/media-sound/spotify/metadata.xml |
22 |
@@ -2,6 +2,7 @@ |
23 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
24 |
<pkgmetadata> |
25 |
<use> |
26 |
+ <flag name="local-playback">Allows playing local files with the Spotify client</flag> |
27 |
<flag name="pax_kernel">Triggers a paxmarking of the main Spotify binary</flag> |
28 |
<flag name="pulseaudio">Controls the dependency on pulseaudio or apulse</flag> |
29 |
<flag name="systray">Pulls in dependencies needed for systray support on some desktop environments</flag> |
30 |
|
31 |
diff --git a/media-sound/spotify/spotify-1.1.55.ebuild b/media-sound/spotify/spotify-1.1.55.ebuild |
32 |
index f1822b036eb..544835629b0 100644 |
33 |
--- a/media-sound/spotify/spotify-1.1.55.ebuild |
34 |
+++ b/media-sound/spotify/spotify-1.1.55.ebuild |
35 |
@@ -12,7 +12,7 @@ SRC_URI="${SRC_BASE}${PN}-client_${PV}.${BUILD_ID_AMD64}_amd64.deb" |
36 |
LICENSE="Spotify" |
37 |
SLOT="0" |
38 |
KEYWORDS="~amd64" |
39 |
-IUSE="libnotify libressl systray pax_kernel pulseaudio" |
40 |
+IUSE="libnotify libressl local-playback pax_kernel pulseaudio systray" |
41 |
RESTRICT="mirror strip" |
42 |
|
43 |
BDEPEND=">=dev-util/patchelf-0.10" |
44 |
@@ -31,6 +31,7 @@ RDEPEND=" |
45 |
net-print/cups[ssl] |
46 |
pulseaudio? ( media-sound/pulseaudio ) |
47 |
!pulseaudio? ( media-sound/apulse ) |
48 |
+ local-playback? ( media-video/ffmpeg:0/56.58.58 ) |
49 |
systray? ( gnome-extra/gnome-integration-spotify ) |
50 |
x11-libs/gtk+:2 |
51 |
app-accessibility/at-spi2-atk |