Gentoo Archives: gentoo-commits

From: Piotr Karbowski <slashbeast@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/deadbeef/
Date: Sun, 30 Jan 2022 22:19:09
Message-Id: 1643581142.9c65f40e6fb0f08a9a0181995c31831e45e0d66a.slashbeast@gentoo
1 commit: 9c65f40e6fb0f08a9a0181995c31831e45e0d66a
2 Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 22:18:21 2022 +0000
4 Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 22:19:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c65f40e
7
8 media-sound/deadbeef: sc68 support added; drop old.
9
10 Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>
11
12 media-sound/deadbeef/deadbeef-1.8.4-r1.ebuild | 170 ---------------------
13 ...ef-1.8.7-r2.ebuild => deadbeef-1.8.8-r2.ebuild} | 8 +-
14 media-sound/deadbeef/metadata.xml | 1 +
15 3 files changed, 5 insertions(+), 174 deletions(-)
16
17 diff --git a/media-sound/deadbeef/deadbeef-1.8.4-r1.ebuild b/media-sound/deadbeef/deadbeef-1.8.4-r1.ebuild
18 deleted file mode 100644
19 index 723b32dae0e8..000000000000
20 --- a/media-sound/deadbeef/deadbeef-1.8.4-r1.ebuild
21 +++ /dev/null
22 @@ -1,170 +0,0 @@
23 -# Copyright 2020-2021 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI=7
27 -
28 -inherit autotools plocale xdg
29 -
30 -DESCRIPTION="DeaDBeeF is a modular audio player similar to foobar2000"
31 -HOMEPAGE="https://deadbeef.sourceforge.io/"
32 -SRC_URI="https://github.com/DeaDBeeF-Player/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
33 -
34 -LICENSE="
35 - GPL-2
36 - LGPL-2.1
37 - wavpack? ( BSD )
38 -"
39 -SLOT="0"
40 -KEYWORDS="amd64 x86"
41 -IUSE="aac alsa cdda converter cover dts ffmpeg flac +hotkeys lastfm mp3 musepack nls notify nullout opus oss pulseaudio shellexec +supereq threads vorbis wavpack"
42 -
43 -REQUIRED_USE="
44 - || ( alsa oss pulseaudio nullout )
45 -"
46 -
47 -DEPEND="
48 - x11-libs/gtk+:3
49 - net-misc/curl:0=
50 - dev-libs/jansson:=
51 - aac? ( media-libs/faad2 )
52 - alsa? ( media-libs/alsa-lib )
53 - cdda? (
54 - dev-libs/libcdio:0=
55 - media-libs/libcddb
56 - dev-libs/libcdio-paranoia:0=
57 - )
58 - cover? ( media-libs/imlib2[jpeg,png] )
59 - dts? ( media-libs/libdca )
60 - ffmpeg? ( media-video/ffmpeg )
61 - flac? (
62 - media-libs/flac
63 - media-libs/libogg
64 - )
65 - mp3? ( media-sound/mpg123 )
66 - musepack? ( media-sound/musepack-tools )
67 - nls? ( virtual/libintl )
68 - notify? ( sys-apps/dbus )
69 - opus? ( media-libs/opusfile )
70 - pulseaudio? ( media-sound/pulseaudio )
71 - vorbis? ( media-libs/libvorbis )
72 - wavpack? ( media-sound/wavpack )
73 -"
74 -
75 -RDEPEND="${DEPEND}"
76 -BDEPEND="
77 - dev-util/intltool
78 - sys-devel/gettext
79 -"
80 -
81 -PATCHES=(
82 - "${FILESDIR}/deadbeef-use-ffmpeg-plugin-for-ape-by-default.patch"
83 -)
84 -
85 -src_prepare() {
86 - default
87 -
88 - drop_from_linguas() {
89 - sed "/${1}/d" -i "${S}/po/LINGUAS" || die
90 - }
91 -
92 - drop_and_stub() {
93 - rm -rf "${1}"
94 - mkdir "${1}"
95 - cat > "${1}/Makefile.in" <<-EOF
96 - all: nothing
97 - install: nothing
98 - nothing:
99 - EOF
100 - }
101 -
102 - plocale_for_each_disabled_locale drop_from_linguas || die
103 -
104 - eautopoint --force
105 - eautoreconf
106 -
107 - # Get rid of bundled gettext.
108 - drop_and_stub "${S}/intl"
109 -
110 - # Plugins that are undesired for whatever reason, candidates for unbundling and such.
111 - for i in adplug alac dumb ffap mms gme mono2stereo psf sc60 shn sid soundtouch wma; do
112 - drop_and_stub "${S}/plugins/${i}"
113 - done
114 -
115 - rm -rf "${S}/plugins/rg_scanner/ebur128"
116 -}
117 -
118 -src_configure () {
119 - local myconf=(
120 - "--disable-static"
121 - "--disable-staticlink"
122 - "--disable-portable"
123 - "--disable-rpath"
124 -
125 - "--disable-libmad"
126 - "--disable-gtk2"
127 - "--disable-adplug"
128 - "--disable-coreaudio"
129 - "--disable-dumb"
130 - "--disable-alac"
131 - "--disable-ffap"
132 - "--disable-gme"
133 - "--disable-mms"
134 - "--disable-mono2stereo"
135 - "--disable-psf"
136 - "--disable-rgscanner"
137 - "--disable-sc68"
138 - "--disable-shn"
139 - "--disable-sid"
140 - "--disable-sndfile"
141 - "--disable-soundtouch"
142 - "--disable-src"
143 - "--disable-tta"
144 - "--disable-vfs-zip"
145 - "--disable-vtx"
146 - "--disable-wildmidi"
147 - "--disable-wma"
148 -
149 - "$(use_enable alsa)"
150 - "$(use_enable oss)"
151 - "$(use_enable pulseaudio pulse)"
152 - "$(use_enable mp3)"
153 - "$(use_enable mp3 libmpg123)"
154 - "$(use_enable nls)"
155 - "$(use_enable vorbis)"
156 - "$(use_enable threads)"
157 - "$(use_enable flac)"
158 - "$(use_enable supereq)"
159 - "$(use_enable cdda)"
160 - "$(use_enable cdda cdda-paranoia)"
161 - "$(use_enable aac)"
162 - "$(use_enable cover artwork)"
163 - "$(use_enable cover artwork-imlib2)"
164 - "$(use_enable cover artwork-network)"
165 - "$(use_enable dts dca)"
166 - "$(use_enable ffmpeg)"
167 - "$(use_enable converter)"
168 - "$(use_enable musepack)"
169 - "$(use_enable notify)"
170 - "$(use_enable nullout)"
171 - "$(use_enable opus)"
172 - "$(use_enable pulseaudio pulse)"
173 - "$(use_enable shellexec)"
174 - "$(use_enable shellexec shellexecui)"
175 - "$(use_enable lastfm lfm)"
176 - "$(use_enable wavpack)"
177 -
178 - "--enable-gtk3"
179 - "--enable-vfs-curl"
180 - "--enable-shared"
181 - "--enable-m3u"
182 - "--enable-pltbrowser"
183 - )
184 -
185 - econf "${myconf[@]}"
186 -}
187 -
188 -src_install() {
189 - default
190 -
191 - find "${ED}" -name '*.la' -delete || die
192 -}
193
194 diff --git a/media-sound/deadbeef/deadbeef-1.8.7-r2.ebuild b/media-sound/deadbeef/deadbeef-1.8.8-r2.ebuild
195 similarity index 93%
196 rename from media-sound/deadbeef/deadbeef-1.8.7-r2.ebuild
197 rename to media-sound/deadbeef/deadbeef-1.8.8-r2.ebuild
198 index df7525b2b282..d31640a2e649 100644
199 --- a/media-sound/deadbeef/deadbeef-1.8.7-r2.ebuild
200 +++ b/media-sound/deadbeef/deadbeef-1.8.8-r2.ebuild
201 @@ -1,4 +1,4 @@
202 -# Copyright 2021 Gentoo Authors
203 +# Copyright 2021-2022 Gentoo Authors
204 # Distributed under the terms of the GNU General Public License v2
205
206 EAPI=7
207 @@ -16,7 +16,7 @@ LICENSE="
208 "
209 SLOT="0"
210 KEYWORDS="~amd64 ~x86"
211 -IUSE="aac alsa cdda converter cover dts ffmpeg flac +hotkeys lastfm mp3 musepack nls notify nullout opus oss pulseaudio shellexec +supereq threads vorbis wavpack"
212 +IUSE="aac alsa cdda converter cover dts ffmpeg flac +hotkeys lastfm mp3 musepack nls notify nullout opus oss pulseaudio sc68 shellexec +supereq threads vorbis wavpack"
213
214 REQUIRED_USE="
215 || ( alsa oss pulseaudio nullout )
216 @@ -93,7 +93,7 @@ src_prepare() {
217 drop_and_stub "${S}/intl"
218
219 # Plugins that are undesired for whatever reason, candidates for unbundling and such.
220 - for i in adplug alac dumb ffap mms gme mono2stereo psf sc60 shn sid soundtouch wma; do
221 + for i in adplug alac dumb ffap mms gme mono2stereo psf shn sid soundtouch wma; do
222 drop_and_stub "${S}/plugins/${i}"
223 done
224
225 @@ -133,7 +133,6 @@ src_configure () {
226 "--disable-mono2stereo"
227 "--disable-psf"
228 "--disable-rgscanner"
229 - "--disable-sc68"
230 "--disable-shn"
231 "--disable-sid"
232 "--disable-sndfile"
233 @@ -169,6 +168,7 @@ src_configure () {
234 "$(use_enable nullout)"
235 "$(use_enable opus)"
236 "$(use_enable pulseaudio pulse)"
237 + "$(use_enable sc68)"
238 "$(use_enable shellexec)"
239 "$(use_enable shellexec shellexecui)"
240 "$(use_enable lastfm lfm)"
241
242 diff --git a/media-sound/deadbeef/metadata.xml b/media-sound/deadbeef/metadata.xml
243 index 4c130e8a6995..8d086b986004 100644
244 --- a/media-sound/deadbeef/metadata.xml
245 +++ b/media-sound/deadbeef/metadata.xml
246 @@ -15,6 +15,7 @@
247 <flag name="lastfm">last.fm/AudioScrobbler protocol support</flag>
248 <flag name="notify">Desktop notifications support</flag>
249 <flag name="nullout">Dummy output driver</flag>
250 + <flag name="sc68">Atari ST and Amiga music player</flag>
251 <flag name="shellexec">Define custom shell commands that can be called on tracks</flag>
252 <flag name="supereq">Enable equalizer</flag>
253 </use>