1 |
commit: 81f06317454a0866af824d520772c694d7508c52 |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 30 07:40:20 2020 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 07:41:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f06317 |
7 |
|
8 |
media-sound/deadbeef: lastfm IUSE |
9 |
|
10 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
11 |
|
12 |
media-sound/deadbeef/deadbeef-1.8.4.ebuild | 8 ++++---- |
13 |
media-sound/deadbeef/metadata.xml | 1 + |
14 |
2 files changed, 5 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/media-sound/deadbeef/deadbeef-1.8.4.ebuild b/media-sound/deadbeef/deadbeef-1.8.4.ebuild |
17 |
index 5b98d6f2ee6..aae8086f909 100644 |
18 |
--- a/media-sound/deadbeef/deadbeef-1.8.4.ebuild |
19 |
+++ b/media-sound/deadbeef/deadbeef-1.8.4.ebuild |
20 |
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/DeaDBeeF-Player/${PN}/archive/${PV}.tar.gz -> ${P}.t |
21 |
LICENSE="GPL-2 LGPL-2.1" |
22 |
SLOT="0" |
23 |
KEYWORDS="~amd64 ~x86" |
24 |
-IUSE="aac alsa cdda converter cover dts ffmpeg flac +hotkeys mp3 musepack nls notify nullout opus oss pulseaudio shellexec +supereq threads vorbis" |
25 |
+IUSE="aac alsa cdda converter cover dts ffmpeg flac +hotkeys lastfm mp3 musepack nls notify nullout opus oss pulseaudio shellexec +supereq threads vorbis" |
26 |
|
27 |
REQUIRED_USE=" |
28 |
|| ( alsa oss pulseaudio nullout ) |
29 |
@@ -51,7 +51,7 @@ BDEPEND=" |
30 |
sys-devel/gettext |
31 |
" |
32 |
|
33 |
-PATCHES=( |
34 |
+PATCHES=( |
35 |
"${FILESDIR}/deadbeef-use-ffmpeg-plugin-for-ape-by-default.patch" |
36 |
) |
37 |
|
38 |
@@ -81,7 +81,7 @@ src_prepare() { |
39 |
drop_and_stub "${S}/intl" |
40 |
|
41 |
# Plugins that are undesired for whatever reason, candidates for unbundling and such. |
42 |
- for i in adplug alac dumb ffap mms gme lfs mono2stereo psf sc60 shn sid soundtouch wma; do |
43 |
+ for i in adplug alac dumb ffap mms gme mono2stereo psf sc60 shn sid soundtouch wma; do |
44 |
drop_and_stub "${S}/plugins/${i}" |
45 |
done |
46 |
|
47 |
@@ -103,7 +103,6 @@ src_configure () { |
48 |
"--disable-alac" |
49 |
"--disable-ffap" |
50 |
"--disable-gme" |
51 |
- "--disable-lfm" |
52 |
"--disable-mms" |
53 |
"--disable-mono2stereo" |
54 |
"--disable-psf" |
55 |
@@ -147,6 +146,7 @@ src_configure () { |
56 |
"$(use_enable pulseaudio pulse)" |
57 |
"$(use_enable shellexec)" |
58 |
"$(use_enable shellexec shellexecui)" |
59 |
+ "$(use_enable lastfm lfm)" |
60 |
|
61 |
"--enable-gtk3" |
62 |
"--enable-vfs-curl" |
63 |
|
64 |
diff --git a/media-sound/deadbeef/metadata.xml b/media-sound/deadbeef/metadata.xml |
65 |
index f2991cd29c7..a0345ca2130 100644 |
66 |
--- a/media-sound/deadbeef/metadata.xml |
67 |
+++ b/media-sound/deadbeef/metadata.xml |
68 |
@@ -12,6 +12,7 @@ |
69 |
<flag name='converter'>File format converter</flag> |
70 |
<flag name='cover'>Support for cover art</flag> |
71 |
<flag name='hotkeys'>Keyboard shortcuts support</flag> |
72 |
+ <flag name='lastfm'>last.fm/AudioScrobbler protocol support</flag> |
73 |
<flag name='notify'>Desktop notifications support</flag> |
74 |
<flag name='nullout'>Dummy output driver</flag> |
75 |
<flag name='shellexec'>Define custom shell commands that can be called on tracks</flag> |