commit:     b5f4a04d54d0edfb6a96eb45b6d843c07905a0e0
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 17:15:27 2021 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Sun Apr 18 17:16:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f4a04d

media-sound/spotify: add local-playback useflag

Closes: https://bugs.gentoo.org/783501
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 media-sound/spotify/metadata.xml          | 1 +
 media-sound/spotify/spotify-1.1.55.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-sound/spotify/metadata.xml b/media-sound/spotify/metadata.xml
index 6e853bb0020..5f4cc456b93 100644
--- a/media-sound/spotify/metadata.xml
+++ b/media-sound/spotify/metadata.xml
@@ -2,6 +2,7 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
   <use>
+    <flag name="local-playback">Allows playing local files with the Spotify 
client</flag>
     <flag name="pax_kernel">Triggers a paxmarking of the main Spotify 
binary</flag>
     <flag name="pulseaudio">Controls the dependency on pulseaudio or 
apulse</flag>
     <flag name="systray">Pulls in dependencies needed for systray support on 
some desktop environments</flag>

diff --git a/media-sound/spotify/spotify-1.1.55.ebuild 
b/media-sound/spotify/spotify-1.1.55.ebuild
index f1822b036eb..544835629b0 100644
--- a/media-sound/spotify/spotify-1.1.55.ebuild
+++ b/media-sound/spotify/spotify-1.1.55.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 pulseaudio"
+IUSE="libnotify libressl local-playback pax_kernel pulseaudio systray"
 RESTRICT="mirror strip"
 
 BDEPEND=">=dev-util/patchelf-0.10"
@@ -31,6 +31,7 @@ RDEPEND="
        net-print/cups[ssl]
        pulseaudio? ( media-sound/pulseaudio )
        !pulseaudio? ( media-sound/apulse )
+       local-playback? ( media-video/ffmpeg:0/56.58.58 )
        systray? ( gnome-extra/gnome-integration-spotify )
        x11-libs/gtk+:2
        app-accessibility/at-spi2-atk

Reply via email to