commit:     81f06317454a0866af824d520772c694d7508c52
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 30 07:40:20 2020 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Wed Sep 30 07:41:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f06317

media-sound/deadbeef: lastfm IUSE

Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 media-sound/deadbeef/deadbeef-1.8.4.ebuild | 8 ++++----
 media-sound/deadbeef/metadata.xml          | 1 +
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/media-sound/deadbeef/deadbeef-1.8.4.ebuild 
b/media-sound/deadbeef/deadbeef-1.8.4.ebuild
index 5b98d6f2ee6..aae8086f909 100644
--- a/media-sound/deadbeef/deadbeef-1.8.4.ebuild
+++ b/media-sound/deadbeef/deadbeef-1.8.4.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/DeaDBeeF-Player/${PN}/archive/${PV}.tar.gz -> ${P}.t
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="aac alsa cdda converter cover dts ffmpeg flac +hotkeys mp3 musepack nls 
notify nullout opus oss pulseaudio shellexec +supereq threads vorbis"
+IUSE="aac alsa cdda converter cover dts ffmpeg flac +hotkeys lastfm mp3 
musepack nls notify nullout opus oss pulseaudio shellexec +supereq threads 
vorbis"
 
 REQUIRED_USE="
        || ( alsa oss pulseaudio nullout )
@@ -51,7 +51,7 @@ BDEPEND="
        sys-devel/gettext
 "
 
-PATCHES=( 
+PATCHES=(
        "${FILESDIR}/deadbeef-use-ffmpeg-plugin-for-ape-by-default.patch"
 )
 
@@ -81,7 +81,7 @@ src_prepare() {
        drop_and_stub "${S}/intl"
 
        # Plugins that are undesired for whatever reason, candidates for 
unbundling and such.
-       for i in adplug alac dumb ffap mms gme lfs mono2stereo psf sc60 shn sid 
soundtouch wma; do
+       for i in adplug alac dumb ffap mms gme mono2stereo psf sc60 shn sid 
soundtouch wma; do
                drop_and_stub "${S}/plugins/${i}"
        done
 
@@ -103,7 +103,6 @@ src_configure () {
                "--disable-alac"
                "--disable-ffap"
                "--disable-gme"
-               "--disable-lfm"
                "--disable-mms"
                "--disable-mono2stereo"
                "--disable-psf"
@@ -147,6 +146,7 @@ src_configure () {
                "$(use_enable pulseaudio pulse)"
                "$(use_enable shellexec)"
                "$(use_enable shellexec shellexecui)"
+               "$(use_enable lastfm lfm)"
 
                "--enable-gtk3"
                "--enable-vfs-curl"

diff --git a/media-sound/deadbeef/metadata.xml 
b/media-sound/deadbeef/metadata.xml
index f2991cd29c7..a0345ca2130 100644
--- a/media-sound/deadbeef/metadata.xml
+++ b/media-sound/deadbeef/metadata.xml
@@ -12,6 +12,7 @@
                <flag name='converter'>File format converter</flag>
                <flag name='cover'>Support for cover art</flag>
                <flag name='hotkeys'>Keyboard shortcuts support</flag>
+               <flag name='lastfm'>last.fm/AudioScrobbler protocol 
support</flag>
                <flag name='notify'>Desktop notifications support</flag>
                <flag name='nullout'>Dummy output driver</flag>
                <flag name='shellexec'>Define custom shell commands that can be 
called on tracks</flag>

Reply via email to