1 |
commit: ae2814425cd668d6955d8e344464991933be5f9d |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 21 13:44:46 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 21 13:44:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae281442 |
7 |
|
8 |
media-sound/mpd: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
media-sound/mpd/Manifest | 4 - |
14 |
media-sound/mpd/mpd-0.21.10.ebuild | 294 ------------------------------------- |
15 |
media-sound/mpd/mpd-0.21.11.ebuild | 294 ------------------------------------- |
16 |
media-sound/mpd/mpd-0.21.12.ebuild | 294 ------------------------------------- |
17 |
media-sound/mpd/mpd-0.21.13.ebuild | 294 ------------------------------------- |
18 |
5 files changed, 1180 deletions(-) |
19 |
|
20 |
diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest |
21 |
index 493fda4573b..17628dac5d6 100644 |
22 |
--- a/media-sound/mpd/Manifest |
23 |
+++ b/media-sound/mpd/Manifest |
24 |
@@ -1,5 +1 @@ |
25 |
-DIST mpd-0.21.10.tar.xz 670952 BLAKE2B efebbd5202b82e52800ff7e4f60fb9e7606e0b07cb157cf0bf04859887316a8466976095bc1cb83479f76f4a54074967ecfd3bbd1bf703e6ff6d5b8ad75a7816 SHA512 42272ab5f767c5a6b907f5dd922ca35abc759dfbb4769a235261fdf0433a0f70494f503255403d41dfd34902bd6aff21f48291b24fd5bc260a5fdef53800c991 |
26 |
-DIST mpd-0.21.11.tar.xz 671444 BLAKE2B d10e65103e9c0c6dfc44f8d4858c202ad68a5e7a44bd7dd473b7f78c697b20ab7d52d2bff0f7e7434ce06b1afb9a68e6f71ca6148efdf51e122c463506b356b2 SHA512 40e25428295f1bded618872c1450f6836c46b2e788dca06d0af134b939a25a7a9a215273bb005306df288e5dc5ccb44d4054c47e5583e54b970fa252e4b030a7 |
27 |
-DIST mpd-0.21.12.tar.xz 672144 BLAKE2B 06eda513314fcb028784115cfc378d0d6482174565ee843a2025af7b2af1fdd7dfadc05b08981e227d11b615aa457f979e80170bc1a91886648f464772240ece SHA512 d35eb7162cfb50c10d57d1d4b035f6c4f7088fb930add97c2159c7b29ab9d7ed33a8b4d22640af78527387305b9f5d380c7c03b98cf957dc1519f772d842e7e3 |
28 |
-DIST mpd-0.21.13.tar.xz 672184 BLAKE2B 5aad54f0d747034f3e43f741ecaeff8317a91192c125a4631e99978f7f9c7274a921a05b92a4496fb53f70ee428321f5ae92f96386e439733c028664d80c4dc1 SHA512 626e658b4d53408be5419ce3a93a19005da5c5386119b241c1572eaaba96a628f941d5f46977de08e1de736eeab6cd6ba274d5df8f1df3e3f4b0df064a6ec43d |
29 |
DIST mpd-0.21.14.tar.xz 673036 BLAKE2B 73eed90c0d48e26d747e26b0cd000d3e0a12dfebb015f865fe9d3ddbe5f7fa564b1655b7e0639951e9aeb2554185063b11d6bc818813ca6366688ea05705ba4a SHA512 d5ce06741444d545c7334f4c4ab32dbfacaa264df5a1ac61b73d951e0a6f952c8ea1e4df1b5bfc827e7faa35a6b8026e78cbf3a057ee35adf448fa7204389cd9 |
30 |
|
31 |
diff --git a/media-sound/mpd/mpd-0.21.10.ebuild b/media-sound/mpd/mpd-0.21.10.ebuild |
32 |
deleted file mode 100644 |
33 |
index c886ec4ed03..00000000000 |
34 |
--- a/media-sound/mpd/mpd-0.21.10.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,294 +0,0 @@ |
37 |
-# Copyright 1999-2019 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=7 |
41 |
- |
42 |
-inherit flag-o-matic linux-info meson systemd user |
43 |
- |
44 |
-DESCRIPTION="The Music Player Daemon (mpd)" |
45 |
-HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" |
46 |
-SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" |
47 |
- |
48 |
-LICENSE="GPL-2" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~ppc64 ~sh x86 ~x86-fbsd ~x64-macos" |
51 |
-IUSE="adplug +alsa ao audiofile bzip2 cdio chromaprint +cue +curl +dbus debug |
52 |
- +eventfd expat faad +ffmpeg +fifo flac fluidsynth gme +icu +id3tag +inotify |
53 |
- +ipv6 jack lame libav libmpdclient libsamplerate libsoxr +mad mikmod mms |
54 |
- modplug mpg123 musepack +network nfs openal opus oss pipe pulseaudio qobuz |
55 |
- recorder samba selinux sid signalfd sndfile soundcloud sqlite systemd |
56 |
- test tidal twolame udisks unicode vorbis wavpack webdav wildmidi upnp |
57 |
- zeroconf zip zlib" |
58 |
- |
59 |
-OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder" |
60 |
-DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod |
61 |
- modplug mpg123 musepack flac sid vorbis wavpack wildmidi" |
62 |
-ENCODER_PLUGINS="audiofile flac lame twolame vorbis" |
63 |
- |
64 |
-REQUIRED_USE=" |
65 |
- || ( ${OUTPUT_PLUGINS} ) |
66 |
- || ( ${DECODER_PLUGINS} ) |
67 |
- network? ( || ( ${ENCODER_PLUGINS} ) ) |
68 |
- recorder? ( || ( ${ENCODER_PLUGINS} ) ) |
69 |
- upnp? ( expat ) |
70 |
- webdav? ( curl expat ) |
71 |
- " |
72 |
- |
73 |
-RESTRICT="!test? ( test )" |
74 |
- |
75 |
-RDEPEND=" |
76 |
- adplug? ( media-libs/adplug:= ) |
77 |
- alsa? ( |
78 |
- media-libs/alsa-lib |
79 |
- media-sound/alsa-utils |
80 |
- ) |
81 |
- |
82 |
- ao? ( media-libs/libao[alsa?,pulseaudio?] ) |
83 |
- audiofile? ( media-libs/audiofile:= ) |
84 |
- |
85 |
- cdio? ( |
86 |
- dev-libs/libcdio:= |
87 |
- dev-libs/libcdio-paranoia |
88 |
- ) |
89 |
- |
90 |
- chromaprint? ( media-libs/chromaprint ) |
91 |
- curl? ( net-misc/curl ) |
92 |
- dbus? ( sys-apps/dbus ) |
93 |
- expat? ( dev-libs/expat ) |
94 |
- faad? ( media-libs/faad2 ) |
95 |
- |
96 |
- ffmpeg? ( |
97 |
- libav? ( media-video/libav:0= ) |
98 |
- !libav? ( media-video/ffmpeg:0= ) |
99 |
- ) |
100 |
- |
101 |
- flac? ( media-libs/flac ) |
102 |
- fluidsynth? ( media-sound/fluidsynth ) |
103 |
- gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 ) |
104 |
- icu? ( dev-libs/icu:= ) |
105 |
- id3tag? ( media-libs/libid3tag ) |
106 |
- jack? ( virtual/jack ) |
107 |
- lame? ( network? ( media-sound/lame ) ) |
108 |
- libmpdclient? ( media-libs/libmpdclient ) |
109 |
- libsamplerate? ( media-libs/libsamplerate ) |
110 |
- libsoxr? ( media-libs/soxr ) |
111 |
- mad? ( media-libs/libmad ) |
112 |
- mikmod? ( media-libs/libmikmod ) |
113 |
- mms? ( media-libs/libmms ) |
114 |
- modplug? ( media-libs/libmodplug ) |
115 |
- mpg123? ( media-sound/mpg123 ) |
116 |
- musepack? ( media-sound/musepack-tools ) |
117 |
- network? ( media-libs/libshout ) |
118 |
- nfs? ( net-fs/libnfs ) |
119 |
- openal? ( media-libs/openal ) |
120 |
- opus? ( media-libs/opus ) |
121 |
- pulseaudio? ( media-sound/pulseaudio ) |
122 |
- qobuz? ( dev-libs/libgcrypt:0 ) |
123 |
- samba? ( net-fs/samba ) |
124 |
- selinux? ( sec-policy/selinux-mpd ) |
125 |
- sid? ( || ( |
126 |
- media-libs/libsidplay:2 |
127 |
- media-libs/libsidplayfp |
128 |
- ) ) |
129 |
- sndfile? ( media-libs/libsndfile ) |
130 |
- soundcloud? ( >=dev-libs/yajl-2:= ) |
131 |
- sqlite? ( dev-db/sqlite:3 ) |
132 |
- systemd? ( sys-apps/systemd ) |
133 |
- twolame? ( media-sound/twolame ) |
134 |
- udisks? ( sys-fs/udisks:2 ) |
135 |
- upnp? ( net-libs/libupnp:0 ) |
136 |
- vorbis? ( media-libs/libvorbis ) |
137 |
- wavpack? ( media-sound/wavpack ) |
138 |
- wildmidi? ( media-sound/wildmidi ) |
139 |
- zeroconf? ( net-dns/avahi[dbus] ) |
140 |
- zip? ( dev-libs/zziplib ) |
141 |
- zlib? ( sys-libs/zlib:= )" |
142 |
- |
143 |
-DEPEND="${RDEPEND} |
144 |
- >=dev-libs/boost-1.58:= |
145 |
- test? ( dev-cpp/gtest )" |
146 |
- |
147 |
-BDEPEND=">=dev-util/meson-0.49.2 |
148 |
- virtual/pkgconfig" |
149 |
- |
150 |
-PATCHES=( |
151 |
- "${FILESDIR}"/${PN}-0.18.conf.patch |
152 |
-) |
153 |
- |
154 |
-pkg_setup() { |
155 |
- enewuser mpd "" "" "/var/lib/mpd" audio |
156 |
- |
157 |
- if use eventfd; then |
158 |
- CONFIG_CHECK+=" ~EVENTFD" |
159 |
- ERROR_EVENTFD="${P} requires eventfd in-kernel support." |
160 |
- fi |
161 |
- |
162 |
- if use signalfd; then |
163 |
- CONFIG_CHECK+=" ~SIGNALFD" |
164 |
- ERROR_SIGNALFD="${P} requires signalfd in-kernel support." |
165 |
- fi |
166 |
- |
167 |
- if use inotify; then |
168 |
- CONFIG_CHECK+=" ~INOTIFY_USER" |
169 |
- ERROR_INOTIFY_USER="${P} requires inotify in-kernel support." |
170 |
- fi |
171 |
- |
172 |
- if use eventfd || use signalfd || use inotify; then |
173 |
- linux-info_pkg_setup |
174 |
- fi |
175 |
- |
176 |
- elog "If you will be starting mpd via /etc/init.d/mpd, please make |
177 |
- sure that MPD's pid_file is _set_." |
178 |
-} |
179 |
- |
180 |
-src_prepare() { |
181 |
- cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" |
182 |
- default |
183 |
-} |
184 |
- |
185 |
-src_configure() { |
186 |
- local emesonargs=( |
187 |
- -Dbzip2=$(usex bzip2 enabled disabled) |
188 |
- -Dcdio_paranoia=$(usex cdio enabled disabled) |
189 |
- -Dchromaprint=$(usex chromaprint enabled disabled) |
190 |
- -Dcue=$(usex cue true false) |
191 |
- -Dcurl=$(usex curl enabled disabled) |
192 |
- -Ddbus=$(usex dbus enabled disabled) |
193 |
- -Ddebug=$(usex debug true false) |
194 |
- -Deventfd=$(usex eventfd true false) |
195 |
- -Dexpat=$(usex expat enabled disabled) |
196 |
- -Dicu=$(usex icu enabled disabled) |
197 |
- -Did3tag=$(usex id3tag enabled disabled) |
198 |
- -Dinotify=$(usex inotify true false) |
199 |
- -Dipv6=$(usex ipv6 enabled disabled) |
200 |
- -Diso9660=$(usex cdio enabled disabled) |
201 |
- -Dlibmpdclient=$(usex libmpdclient enabled disabled) |
202 |
- -Dlibsamplerate=$(usex libsamplerate enabled disabled) |
203 |
- -Dmms=$(usex mms enabled disabled) |
204 |
- -Dnfs=$(usex nfs enabled disabled) |
205 |
- -Dsignalfd=$(usex signalfd true false) |
206 |
- -Dsmbclient=$(usex samba enabled disabled) |
207 |
- -Dsoxr=$(usex libsoxr enabled disabled) |
208 |
- -Dsqlite=$(usex sqlite enabled disabled) |
209 |
- -Dsystemd=$(usex systemd enabled disabled) |
210 |
- -Dtest=$(usex test true false) |
211 |
- -Dudisks=$(usex udisks enabled disabled) |
212 |
- -Dupnp=$(usex upnp enabled disabled) |
213 |
- -Dwebdav=$(usex webdav enabled disabled) |
214 |
- -Dzeroconf=$(usex zeroconf avahi disabled) |
215 |
- -Dzlib=$(usex zlib enabled disabled) |
216 |
- -Dzzip=$(usex zip enabled disabled) |
217 |
- ) |
218 |
- |
219 |
- emesonargs+=( |
220 |
- -Dalsa=$(usex alsa enabled disabled) |
221 |
- -Dao=$(usex ao enabled disabled) |
222 |
- -Dfifo=$(usex fifo true false) |
223 |
- -Djack=$(usex jack enabled disabled) |
224 |
- -Dopenal=$(usex openal enabled disabled) |
225 |
- -Doss=$(usex oss enabled disabled) |
226 |
- -Dpipe=$(usex pipe true false) |
227 |
- -Dpulse=$(usex pulseaudio enabled disabled) |
228 |
- -Drecorder=$(usex recorder true false) |
229 |
- ) |
230 |
- |
231 |
- if use samba || use upnp; then |
232 |
- emesonargs+=( -Dneighbor=true ) |
233 |
- fi |
234 |
- |
235 |
- append-lfs-flags |
236 |
- append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" |
237 |
- |
238 |
- if use network; then |
239 |
- |
240 |
- emesonargs+=( |
241 |
- -Dshine=disabled |
242 |
- -Dshout=enabled |
243 |
- -Dvorbisenc=$(usex vorbis enabled disabled) |
244 |
- -Dhttpd=true |
245 |
- -Dlame=$(usex lame enabled disabled) |
246 |
- -Dtwolame=$(usex twolame enabled disabled) |
247 |
- -Dwave_encoder=$(usex audiofile true false) |
248 |
- ) |
249 |
- fi |
250 |
- |
251 |
- emesonargs+=( |
252 |
- -Dadplug=$(usex adplug enabled disabled) |
253 |
- -Daudiofile=$(usex audiofile enabled disabled) |
254 |
- -Dfaad=$(usex faad enabled disabled) |
255 |
- -Dffmpeg=$(usex ffmpeg enabled disabled) |
256 |
- -Dflac=$(usex flac enabled disabled) |
257 |
- -Dfluidsynth=$(usex fluidsynth enabled disabled) |
258 |
- -Dgme=$(usex gme enabled disabled) |
259 |
- -Dmad=$(usex mad enabled disabled) |
260 |
- -Dmikmod=$(usex mikmod enabled disabled) |
261 |
- -Dmodplug=$(usex modplug enabled disabled) |
262 |
- -Dmpcdec=$(usex musepack enabled disabled) |
263 |
- -Dmpg123=$(usex mpg123 enabled disabled) |
264 |
- -Dopus=$(usex opus enabled disabled) |
265 |
- -Dsidplay=$(usex sid enabled disabled) |
266 |
- -Dsndfile=$(usex sndfile enabled disabled) |
267 |
- -Dvorbis=$(usex vorbis enabled disabled) |
268 |
- -Dwavpack=$(usex wavpack enabled disabled) |
269 |
- -Dwildmidi=$(usex wildmidi enabled disabled) |
270 |
- |
271 |
- ) |
272 |
- |
273 |
- emesonargs+=( |
274 |
- -Dqobuz=$(usex qobuz enabled disabled) |
275 |
- -Dsoundcloud=$(usex soundcloud enabled disabled) |
276 |
- -Dtidal=$(usex tidal enabled disabled) |
277 |
- ) |
278 |
- |
279 |
- emesonargs+=( |
280 |
- --libdir="/usr/$(get_libdir)" |
281 |
- -Ddocumentation=false |
282 |
- -Dsndio=disabled #not yet in the tree |
283 |
- -Dsolaris_output=disabled |
284 |
- |
285 |
- -Ddatabase=true |
286 |
- -Ddsd=true |
287 |
- -Dtcp=true |
288 |
- |
289 |
- -Dsystemd_system_unit_dir="$(systemd_get_systemunitdir)" |
290 |
- -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)" |
291 |
- ) |
292 |
- |
293 |
- if use icu; then |
294 |
- emesonargs+=( -Diconv=enabled ) |
295 |
- else |
296 |
- emesonargs+=( -Diconv=disabled ) |
297 |
- fi |
298 |
- |
299 |
- meson_src_configure |
300 |
-} |
301 |
- |
302 |
-src_install() { |
303 |
- meson_src_install |
304 |
- |
305 |
- insinto /etc |
306 |
- newins doc/mpdconf.dist mpd.conf |
307 |
- |
308 |
- insinto /etc/logrotate.d |
309 |
- newins "${FILESDIR}"/${PN}-0.21.1.logrotate ${PN} |
310 |
- |
311 |
- newinitd "${FILESDIR}"/${PN}-0.21.4.init ${PN} |
312 |
- |
313 |
- if use unicode; then |
314 |
- sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ |
315 |
- "${ED}"/etc/mpd.conf || die "sed failed" |
316 |
- fi |
317 |
- |
318 |
- doman doc/mpd.1 |
319 |
- doman doc/mpd.conf.5 |
320 |
- |
321 |
- keepdir /var/lib/mpd |
322 |
- keepdir /var/lib/mpd/music |
323 |
- keepdir /var/lib/mpd/playlists |
324 |
- |
325 |
-} |
326 |
- |
327 |
-pkg_postinst() { |
328 |
- # also change the homedir if the user has existed before |
329 |
- usermod -d "/var/lib/mpd" mpd || die "usermod failed" |
330 |
-} |
331 |
|
332 |
diff --git a/media-sound/mpd/mpd-0.21.11.ebuild b/media-sound/mpd/mpd-0.21.11.ebuild |
333 |
deleted file mode 100644 |
334 |
index 984310bc536..00000000000 |
335 |
--- a/media-sound/mpd/mpd-0.21.11.ebuild |
336 |
+++ /dev/null |
337 |
@@ -1,294 +0,0 @@ |
338 |
-# Copyright 1999-2019 Gentoo Authors |
339 |
-# Distributed under the terms of the GNU General Public License v2 |
340 |
- |
341 |
-EAPI=7 |
342 |
- |
343 |
-inherit flag-o-matic linux-info meson systemd user |
344 |
- |
345 |
-DESCRIPTION="The Music Player Daemon (mpd)" |
346 |
-HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" |
347 |
-SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" |
348 |
- |
349 |
-LICENSE="GPL-2" |
350 |
-SLOT="0" |
351 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos" |
352 |
-IUSE="adplug +alsa ao audiofile bzip2 cdio chromaprint +cue +curl +dbus debug |
353 |
- +eventfd expat faad +ffmpeg +fifo flac fluidsynth gme +icu +id3tag +inotify |
354 |
- +ipv6 jack lame libav libmpdclient libsamplerate libsoxr +mad mikmod mms |
355 |
- modplug mpg123 musepack +network nfs openal opus oss pipe pulseaudio qobuz |
356 |
- recorder samba selinux sid signalfd sndfile soundcloud sqlite systemd |
357 |
- test tidal twolame udisks unicode vorbis wavpack webdav wildmidi upnp |
358 |
- zeroconf zip zlib" |
359 |
- |
360 |
-OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder" |
361 |
-DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod |
362 |
- modplug mpg123 musepack flac sid vorbis wavpack wildmidi" |
363 |
-ENCODER_PLUGINS="audiofile flac lame twolame vorbis" |
364 |
- |
365 |
-REQUIRED_USE=" |
366 |
- || ( ${OUTPUT_PLUGINS} ) |
367 |
- || ( ${DECODER_PLUGINS} ) |
368 |
- network? ( || ( ${ENCODER_PLUGINS} ) ) |
369 |
- recorder? ( || ( ${ENCODER_PLUGINS} ) ) |
370 |
- upnp? ( expat ) |
371 |
- webdav? ( curl expat ) |
372 |
- " |
373 |
- |
374 |
-RESTRICT="!test? ( test )" |
375 |
- |
376 |
-RDEPEND=" |
377 |
- adplug? ( media-libs/adplug:= ) |
378 |
- alsa? ( |
379 |
- media-libs/alsa-lib |
380 |
- media-sound/alsa-utils |
381 |
- ) |
382 |
- |
383 |
- ao? ( media-libs/libao[alsa?,pulseaudio?] ) |
384 |
- audiofile? ( media-libs/audiofile:= ) |
385 |
- |
386 |
- cdio? ( |
387 |
- dev-libs/libcdio:= |
388 |
- dev-libs/libcdio-paranoia |
389 |
- ) |
390 |
- |
391 |
- chromaprint? ( media-libs/chromaprint ) |
392 |
- curl? ( net-misc/curl ) |
393 |
- dbus? ( sys-apps/dbus ) |
394 |
- expat? ( dev-libs/expat ) |
395 |
- faad? ( media-libs/faad2 ) |
396 |
- |
397 |
- ffmpeg? ( |
398 |
- libav? ( media-video/libav:0= ) |
399 |
- !libav? ( media-video/ffmpeg:0= ) |
400 |
- ) |
401 |
- |
402 |
- flac? ( media-libs/flac ) |
403 |
- fluidsynth? ( media-sound/fluidsynth ) |
404 |
- gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 ) |
405 |
- icu? ( dev-libs/icu:= ) |
406 |
- id3tag? ( media-libs/libid3tag ) |
407 |
- jack? ( virtual/jack ) |
408 |
- lame? ( network? ( media-sound/lame ) ) |
409 |
- libmpdclient? ( media-libs/libmpdclient ) |
410 |
- libsamplerate? ( media-libs/libsamplerate ) |
411 |
- libsoxr? ( media-libs/soxr ) |
412 |
- mad? ( media-libs/libmad ) |
413 |
- mikmod? ( media-libs/libmikmod ) |
414 |
- mms? ( media-libs/libmms ) |
415 |
- modplug? ( media-libs/libmodplug ) |
416 |
- mpg123? ( media-sound/mpg123 ) |
417 |
- musepack? ( media-sound/musepack-tools ) |
418 |
- network? ( media-libs/libshout ) |
419 |
- nfs? ( net-fs/libnfs ) |
420 |
- openal? ( media-libs/openal ) |
421 |
- opus? ( media-libs/opus ) |
422 |
- pulseaudio? ( media-sound/pulseaudio ) |
423 |
- qobuz? ( dev-libs/libgcrypt:0 ) |
424 |
- samba? ( net-fs/samba ) |
425 |
- selinux? ( sec-policy/selinux-mpd ) |
426 |
- sid? ( || ( |
427 |
- media-libs/libsidplay:2 |
428 |
- media-libs/libsidplayfp |
429 |
- ) ) |
430 |
- sndfile? ( media-libs/libsndfile ) |
431 |
- soundcloud? ( >=dev-libs/yajl-2:= ) |
432 |
- sqlite? ( dev-db/sqlite:3 ) |
433 |
- systemd? ( sys-apps/systemd ) |
434 |
- twolame? ( media-sound/twolame ) |
435 |
- udisks? ( sys-fs/udisks:2 ) |
436 |
- upnp? ( net-libs/libupnp:0 ) |
437 |
- vorbis? ( media-libs/libvorbis ) |
438 |
- wavpack? ( media-sound/wavpack ) |
439 |
- wildmidi? ( media-sound/wildmidi ) |
440 |
- zeroconf? ( net-dns/avahi[dbus] ) |
441 |
- zip? ( dev-libs/zziplib ) |
442 |
- zlib? ( sys-libs/zlib:= )" |
443 |
- |
444 |
-DEPEND="${RDEPEND} |
445 |
- >=dev-libs/boost-1.58:= |
446 |
- test? ( dev-cpp/gtest )" |
447 |
- |
448 |
-BDEPEND=">=dev-util/meson-0.49.2 |
449 |
- virtual/pkgconfig" |
450 |
- |
451 |
-PATCHES=( |
452 |
- "${FILESDIR}"/${PN}-0.18.conf.patch |
453 |
-) |
454 |
- |
455 |
-pkg_setup() { |
456 |
- enewuser mpd "" "" "/var/lib/mpd" audio |
457 |
- |
458 |
- if use eventfd; then |
459 |
- CONFIG_CHECK+=" ~EVENTFD" |
460 |
- ERROR_EVENTFD="${P} requires eventfd in-kernel support." |
461 |
- fi |
462 |
- |
463 |
- if use signalfd; then |
464 |
- CONFIG_CHECK+=" ~SIGNALFD" |
465 |
- ERROR_SIGNALFD="${P} requires signalfd in-kernel support." |
466 |
- fi |
467 |
- |
468 |
- if use inotify; then |
469 |
- CONFIG_CHECK+=" ~INOTIFY_USER" |
470 |
- ERROR_INOTIFY_USER="${P} requires inotify in-kernel support." |
471 |
- fi |
472 |
- |
473 |
- if use eventfd || use signalfd || use inotify; then |
474 |
- linux-info_pkg_setup |
475 |
- fi |
476 |
- |
477 |
- elog "If you will be starting mpd via /etc/init.d/mpd, please make |
478 |
- sure that MPD's pid_file is _set_." |
479 |
-} |
480 |
- |
481 |
-src_prepare() { |
482 |
- cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" |
483 |
- default |
484 |
-} |
485 |
- |
486 |
-src_configure() { |
487 |
- local emesonargs=( |
488 |
- -Dbzip2=$(usex bzip2 enabled disabled) |
489 |
- -Dcdio_paranoia=$(usex cdio enabled disabled) |
490 |
- -Dchromaprint=$(usex chromaprint enabled disabled) |
491 |
- -Dcue=$(usex cue true false) |
492 |
- -Dcurl=$(usex curl enabled disabled) |
493 |
- -Ddbus=$(usex dbus enabled disabled) |
494 |
- -Ddebug=$(usex debug true false) |
495 |
- -Deventfd=$(usex eventfd true false) |
496 |
- -Dexpat=$(usex expat enabled disabled) |
497 |
- -Dicu=$(usex icu enabled disabled) |
498 |
- -Did3tag=$(usex id3tag enabled disabled) |
499 |
- -Dinotify=$(usex inotify true false) |
500 |
- -Dipv6=$(usex ipv6 enabled disabled) |
501 |
- -Diso9660=$(usex cdio enabled disabled) |
502 |
- -Dlibmpdclient=$(usex libmpdclient enabled disabled) |
503 |
- -Dlibsamplerate=$(usex libsamplerate enabled disabled) |
504 |
- -Dmms=$(usex mms enabled disabled) |
505 |
- -Dnfs=$(usex nfs enabled disabled) |
506 |
- -Dsignalfd=$(usex signalfd true false) |
507 |
- -Dsmbclient=$(usex samba enabled disabled) |
508 |
- -Dsoxr=$(usex libsoxr enabled disabled) |
509 |
- -Dsqlite=$(usex sqlite enabled disabled) |
510 |
- -Dsystemd=$(usex systemd enabled disabled) |
511 |
- -Dtest=$(usex test true false) |
512 |
- -Dudisks=$(usex udisks enabled disabled) |
513 |
- -Dupnp=$(usex upnp enabled disabled) |
514 |
- -Dwebdav=$(usex webdav enabled disabled) |
515 |
- -Dzeroconf=$(usex zeroconf avahi disabled) |
516 |
- -Dzlib=$(usex zlib enabled disabled) |
517 |
- -Dzzip=$(usex zip enabled disabled) |
518 |
- ) |
519 |
- |
520 |
- emesonargs+=( |
521 |
- -Dalsa=$(usex alsa enabled disabled) |
522 |
- -Dao=$(usex ao enabled disabled) |
523 |
- -Dfifo=$(usex fifo true false) |
524 |
- -Djack=$(usex jack enabled disabled) |
525 |
- -Dopenal=$(usex openal enabled disabled) |
526 |
- -Doss=$(usex oss enabled disabled) |
527 |
- -Dpipe=$(usex pipe true false) |
528 |
- -Dpulse=$(usex pulseaudio enabled disabled) |
529 |
- -Drecorder=$(usex recorder true false) |
530 |
- ) |
531 |
- |
532 |
- if use samba || use upnp; then |
533 |
- emesonargs+=( -Dneighbor=true ) |
534 |
- fi |
535 |
- |
536 |
- append-lfs-flags |
537 |
- append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" |
538 |
- |
539 |
- if use network; then |
540 |
- |
541 |
- emesonargs+=( |
542 |
- -Dshine=disabled |
543 |
- -Dshout=enabled |
544 |
- -Dvorbisenc=$(usex vorbis enabled disabled) |
545 |
- -Dhttpd=true |
546 |
- -Dlame=$(usex lame enabled disabled) |
547 |
- -Dtwolame=$(usex twolame enabled disabled) |
548 |
- -Dwave_encoder=$(usex audiofile true false) |
549 |
- ) |
550 |
- fi |
551 |
- |
552 |
- emesonargs+=( |
553 |
- -Dadplug=$(usex adplug enabled disabled) |
554 |
- -Daudiofile=$(usex audiofile enabled disabled) |
555 |
- -Dfaad=$(usex faad enabled disabled) |
556 |
- -Dffmpeg=$(usex ffmpeg enabled disabled) |
557 |
- -Dflac=$(usex flac enabled disabled) |
558 |
- -Dfluidsynth=$(usex fluidsynth enabled disabled) |
559 |
- -Dgme=$(usex gme enabled disabled) |
560 |
- -Dmad=$(usex mad enabled disabled) |
561 |
- -Dmikmod=$(usex mikmod enabled disabled) |
562 |
- -Dmodplug=$(usex modplug enabled disabled) |
563 |
- -Dmpcdec=$(usex musepack enabled disabled) |
564 |
- -Dmpg123=$(usex mpg123 enabled disabled) |
565 |
- -Dopus=$(usex opus enabled disabled) |
566 |
- -Dsidplay=$(usex sid enabled disabled) |
567 |
- -Dsndfile=$(usex sndfile enabled disabled) |
568 |
- -Dvorbis=$(usex vorbis enabled disabled) |
569 |
- -Dwavpack=$(usex wavpack enabled disabled) |
570 |
- -Dwildmidi=$(usex wildmidi enabled disabled) |
571 |
- |
572 |
- ) |
573 |
- |
574 |
- emesonargs+=( |
575 |
- -Dqobuz=$(usex qobuz enabled disabled) |
576 |
- -Dsoundcloud=$(usex soundcloud enabled disabled) |
577 |
- -Dtidal=$(usex tidal enabled disabled) |
578 |
- ) |
579 |
- |
580 |
- emesonargs+=( |
581 |
- --libdir="/usr/$(get_libdir)" |
582 |
- -Ddocumentation=false |
583 |
- -Dsndio=disabled #not yet in the tree |
584 |
- -Dsolaris_output=disabled |
585 |
- |
586 |
- -Ddatabase=true |
587 |
- -Ddsd=true |
588 |
- -Dtcp=true |
589 |
- |
590 |
- -Dsystemd_system_unit_dir="$(systemd_get_systemunitdir)" |
591 |
- -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)" |
592 |
- ) |
593 |
- |
594 |
- if use icu; then |
595 |
- emesonargs+=( -Diconv=enabled ) |
596 |
- else |
597 |
- emesonargs+=( -Diconv=disabled ) |
598 |
- fi |
599 |
- |
600 |
- meson_src_configure |
601 |
-} |
602 |
- |
603 |
-src_install() { |
604 |
- meson_src_install |
605 |
- |
606 |
- insinto /etc |
607 |
- newins doc/mpdconf.dist mpd.conf |
608 |
- |
609 |
- insinto /etc/logrotate.d |
610 |
- newins "${FILESDIR}"/${PN}-0.21.1.logrotate ${PN} |
611 |
- |
612 |
- newinitd "${FILESDIR}"/${PN}-0.21.4.init ${PN} |
613 |
- |
614 |
- if use unicode; then |
615 |
- sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ |
616 |
- "${ED}"/etc/mpd.conf || die "sed failed" |
617 |
- fi |
618 |
- |
619 |
- doman doc/mpd.1 |
620 |
- doman doc/mpd.conf.5 |
621 |
- |
622 |
- keepdir /var/lib/mpd |
623 |
- keepdir /var/lib/mpd/music |
624 |
- keepdir /var/lib/mpd/playlists |
625 |
- |
626 |
-} |
627 |
- |
628 |
-pkg_postinst() { |
629 |
- # also change the homedir if the user has existed before |
630 |
- usermod -d "/var/lib/mpd" mpd || die "usermod failed" |
631 |
-} |
632 |
|
633 |
diff --git a/media-sound/mpd/mpd-0.21.12.ebuild b/media-sound/mpd/mpd-0.21.12.ebuild |
634 |
deleted file mode 100644 |
635 |
index 984310bc536..00000000000 |
636 |
--- a/media-sound/mpd/mpd-0.21.12.ebuild |
637 |
+++ /dev/null |
638 |
@@ -1,294 +0,0 @@ |
639 |
-# Copyright 1999-2019 Gentoo Authors |
640 |
-# Distributed under the terms of the GNU General Public License v2 |
641 |
- |
642 |
-EAPI=7 |
643 |
- |
644 |
-inherit flag-o-matic linux-info meson systemd user |
645 |
- |
646 |
-DESCRIPTION="The Music Player Daemon (mpd)" |
647 |
-HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" |
648 |
-SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" |
649 |
- |
650 |
-LICENSE="GPL-2" |
651 |
-SLOT="0" |
652 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos" |
653 |
-IUSE="adplug +alsa ao audiofile bzip2 cdio chromaprint +cue +curl +dbus debug |
654 |
- +eventfd expat faad +ffmpeg +fifo flac fluidsynth gme +icu +id3tag +inotify |
655 |
- +ipv6 jack lame libav libmpdclient libsamplerate libsoxr +mad mikmod mms |
656 |
- modplug mpg123 musepack +network nfs openal opus oss pipe pulseaudio qobuz |
657 |
- recorder samba selinux sid signalfd sndfile soundcloud sqlite systemd |
658 |
- test tidal twolame udisks unicode vorbis wavpack webdav wildmidi upnp |
659 |
- zeroconf zip zlib" |
660 |
- |
661 |
-OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder" |
662 |
-DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod |
663 |
- modplug mpg123 musepack flac sid vorbis wavpack wildmidi" |
664 |
-ENCODER_PLUGINS="audiofile flac lame twolame vorbis" |
665 |
- |
666 |
-REQUIRED_USE=" |
667 |
- || ( ${OUTPUT_PLUGINS} ) |
668 |
- || ( ${DECODER_PLUGINS} ) |
669 |
- network? ( || ( ${ENCODER_PLUGINS} ) ) |
670 |
- recorder? ( || ( ${ENCODER_PLUGINS} ) ) |
671 |
- upnp? ( expat ) |
672 |
- webdav? ( curl expat ) |
673 |
- " |
674 |
- |
675 |
-RESTRICT="!test? ( test )" |
676 |
- |
677 |
-RDEPEND=" |
678 |
- adplug? ( media-libs/adplug:= ) |
679 |
- alsa? ( |
680 |
- media-libs/alsa-lib |
681 |
- media-sound/alsa-utils |
682 |
- ) |
683 |
- |
684 |
- ao? ( media-libs/libao[alsa?,pulseaudio?] ) |
685 |
- audiofile? ( media-libs/audiofile:= ) |
686 |
- |
687 |
- cdio? ( |
688 |
- dev-libs/libcdio:= |
689 |
- dev-libs/libcdio-paranoia |
690 |
- ) |
691 |
- |
692 |
- chromaprint? ( media-libs/chromaprint ) |
693 |
- curl? ( net-misc/curl ) |
694 |
- dbus? ( sys-apps/dbus ) |
695 |
- expat? ( dev-libs/expat ) |
696 |
- faad? ( media-libs/faad2 ) |
697 |
- |
698 |
- ffmpeg? ( |
699 |
- libav? ( media-video/libav:0= ) |
700 |
- !libav? ( media-video/ffmpeg:0= ) |
701 |
- ) |
702 |
- |
703 |
- flac? ( media-libs/flac ) |
704 |
- fluidsynth? ( media-sound/fluidsynth ) |
705 |
- gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 ) |
706 |
- icu? ( dev-libs/icu:= ) |
707 |
- id3tag? ( media-libs/libid3tag ) |
708 |
- jack? ( virtual/jack ) |
709 |
- lame? ( network? ( media-sound/lame ) ) |
710 |
- libmpdclient? ( media-libs/libmpdclient ) |
711 |
- libsamplerate? ( media-libs/libsamplerate ) |
712 |
- libsoxr? ( media-libs/soxr ) |
713 |
- mad? ( media-libs/libmad ) |
714 |
- mikmod? ( media-libs/libmikmod ) |
715 |
- mms? ( media-libs/libmms ) |
716 |
- modplug? ( media-libs/libmodplug ) |
717 |
- mpg123? ( media-sound/mpg123 ) |
718 |
- musepack? ( media-sound/musepack-tools ) |
719 |
- network? ( media-libs/libshout ) |
720 |
- nfs? ( net-fs/libnfs ) |
721 |
- openal? ( media-libs/openal ) |
722 |
- opus? ( media-libs/opus ) |
723 |
- pulseaudio? ( media-sound/pulseaudio ) |
724 |
- qobuz? ( dev-libs/libgcrypt:0 ) |
725 |
- samba? ( net-fs/samba ) |
726 |
- selinux? ( sec-policy/selinux-mpd ) |
727 |
- sid? ( || ( |
728 |
- media-libs/libsidplay:2 |
729 |
- media-libs/libsidplayfp |
730 |
- ) ) |
731 |
- sndfile? ( media-libs/libsndfile ) |
732 |
- soundcloud? ( >=dev-libs/yajl-2:= ) |
733 |
- sqlite? ( dev-db/sqlite:3 ) |
734 |
- systemd? ( sys-apps/systemd ) |
735 |
- twolame? ( media-sound/twolame ) |
736 |
- udisks? ( sys-fs/udisks:2 ) |
737 |
- upnp? ( net-libs/libupnp:0 ) |
738 |
- vorbis? ( media-libs/libvorbis ) |
739 |
- wavpack? ( media-sound/wavpack ) |
740 |
- wildmidi? ( media-sound/wildmidi ) |
741 |
- zeroconf? ( net-dns/avahi[dbus] ) |
742 |
- zip? ( dev-libs/zziplib ) |
743 |
- zlib? ( sys-libs/zlib:= )" |
744 |
- |
745 |
-DEPEND="${RDEPEND} |
746 |
- >=dev-libs/boost-1.58:= |
747 |
- test? ( dev-cpp/gtest )" |
748 |
- |
749 |
-BDEPEND=">=dev-util/meson-0.49.2 |
750 |
- virtual/pkgconfig" |
751 |
- |
752 |
-PATCHES=( |
753 |
- "${FILESDIR}"/${PN}-0.18.conf.patch |
754 |
-) |
755 |
- |
756 |
-pkg_setup() { |
757 |
- enewuser mpd "" "" "/var/lib/mpd" audio |
758 |
- |
759 |
- if use eventfd; then |
760 |
- CONFIG_CHECK+=" ~EVENTFD" |
761 |
- ERROR_EVENTFD="${P} requires eventfd in-kernel support." |
762 |
- fi |
763 |
- |
764 |
- if use signalfd; then |
765 |
- CONFIG_CHECK+=" ~SIGNALFD" |
766 |
- ERROR_SIGNALFD="${P} requires signalfd in-kernel support." |
767 |
- fi |
768 |
- |
769 |
- if use inotify; then |
770 |
- CONFIG_CHECK+=" ~INOTIFY_USER" |
771 |
- ERROR_INOTIFY_USER="${P} requires inotify in-kernel support." |
772 |
- fi |
773 |
- |
774 |
- if use eventfd || use signalfd || use inotify; then |
775 |
- linux-info_pkg_setup |
776 |
- fi |
777 |
- |
778 |
- elog "If you will be starting mpd via /etc/init.d/mpd, please make |
779 |
- sure that MPD's pid_file is _set_." |
780 |
-} |
781 |
- |
782 |
-src_prepare() { |
783 |
- cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" |
784 |
- default |
785 |
-} |
786 |
- |
787 |
-src_configure() { |
788 |
- local emesonargs=( |
789 |
- -Dbzip2=$(usex bzip2 enabled disabled) |
790 |
- -Dcdio_paranoia=$(usex cdio enabled disabled) |
791 |
- -Dchromaprint=$(usex chromaprint enabled disabled) |
792 |
- -Dcue=$(usex cue true false) |
793 |
- -Dcurl=$(usex curl enabled disabled) |
794 |
- -Ddbus=$(usex dbus enabled disabled) |
795 |
- -Ddebug=$(usex debug true false) |
796 |
- -Deventfd=$(usex eventfd true false) |
797 |
- -Dexpat=$(usex expat enabled disabled) |
798 |
- -Dicu=$(usex icu enabled disabled) |
799 |
- -Did3tag=$(usex id3tag enabled disabled) |
800 |
- -Dinotify=$(usex inotify true false) |
801 |
- -Dipv6=$(usex ipv6 enabled disabled) |
802 |
- -Diso9660=$(usex cdio enabled disabled) |
803 |
- -Dlibmpdclient=$(usex libmpdclient enabled disabled) |
804 |
- -Dlibsamplerate=$(usex libsamplerate enabled disabled) |
805 |
- -Dmms=$(usex mms enabled disabled) |
806 |
- -Dnfs=$(usex nfs enabled disabled) |
807 |
- -Dsignalfd=$(usex signalfd true false) |
808 |
- -Dsmbclient=$(usex samba enabled disabled) |
809 |
- -Dsoxr=$(usex libsoxr enabled disabled) |
810 |
- -Dsqlite=$(usex sqlite enabled disabled) |
811 |
- -Dsystemd=$(usex systemd enabled disabled) |
812 |
- -Dtest=$(usex test true false) |
813 |
- -Dudisks=$(usex udisks enabled disabled) |
814 |
- -Dupnp=$(usex upnp enabled disabled) |
815 |
- -Dwebdav=$(usex webdav enabled disabled) |
816 |
- -Dzeroconf=$(usex zeroconf avahi disabled) |
817 |
- -Dzlib=$(usex zlib enabled disabled) |
818 |
- -Dzzip=$(usex zip enabled disabled) |
819 |
- ) |
820 |
- |
821 |
- emesonargs+=( |
822 |
- -Dalsa=$(usex alsa enabled disabled) |
823 |
- -Dao=$(usex ao enabled disabled) |
824 |
- -Dfifo=$(usex fifo true false) |
825 |
- -Djack=$(usex jack enabled disabled) |
826 |
- -Dopenal=$(usex openal enabled disabled) |
827 |
- -Doss=$(usex oss enabled disabled) |
828 |
- -Dpipe=$(usex pipe true false) |
829 |
- -Dpulse=$(usex pulseaudio enabled disabled) |
830 |
- -Drecorder=$(usex recorder true false) |
831 |
- ) |
832 |
- |
833 |
- if use samba || use upnp; then |
834 |
- emesonargs+=( -Dneighbor=true ) |
835 |
- fi |
836 |
- |
837 |
- append-lfs-flags |
838 |
- append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" |
839 |
- |
840 |
- if use network; then |
841 |
- |
842 |
- emesonargs+=( |
843 |
- -Dshine=disabled |
844 |
- -Dshout=enabled |
845 |
- -Dvorbisenc=$(usex vorbis enabled disabled) |
846 |
- -Dhttpd=true |
847 |
- -Dlame=$(usex lame enabled disabled) |
848 |
- -Dtwolame=$(usex twolame enabled disabled) |
849 |
- -Dwave_encoder=$(usex audiofile true false) |
850 |
- ) |
851 |
- fi |
852 |
- |
853 |
- emesonargs+=( |
854 |
- -Dadplug=$(usex adplug enabled disabled) |
855 |
- -Daudiofile=$(usex audiofile enabled disabled) |
856 |
- -Dfaad=$(usex faad enabled disabled) |
857 |
- -Dffmpeg=$(usex ffmpeg enabled disabled) |
858 |
- -Dflac=$(usex flac enabled disabled) |
859 |
- -Dfluidsynth=$(usex fluidsynth enabled disabled) |
860 |
- -Dgme=$(usex gme enabled disabled) |
861 |
- -Dmad=$(usex mad enabled disabled) |
862 |
- -Dmikmod=$(usex mikmod enabled disabled) |
863 |
- -Dmodplug=$(usex modplug enabled disabled) |
864 |
- -Dmpcdec=$(usex musepack enabled disabled) |
865 |
- -Dmpg123=$(usex mpg123 enabled disabled) |
866 |
- -Dopus=$(usex opus enabled disabled) |
867 |
- -Dsidplay=$(usex sid enabled disabled) |
868 |
- -Dsndfile=$(usex sndfile enabled disabled) |
869 |
- -Dvorbis=$(usex vorbis enabled disabled) |
870 |
- -Dwavpack=$(usex wavpack enabled disabled) |
871 |
- -Dwildmidi=$(usex wildmidi enabled disabled) |
872 |
- |
873 |
- ) |
874 |
- |
875 |
- emesonargs+=( |
876 |
- -Dqobuz=$(usex qobuz enabled disabled) |
877 |
- -Dsoundcloud=$(usex soundcloud enabled disabled) |
878 |
- -Dtidal=$(usex tidal enabled disabled) |
879 |
- ) |
880 |
- |
881 |
- emesonargs+=( |
882 |
- --libdir="/usr/$(get_libdir)" |
883 |
- -Ddocumentation=false |
884 |
- -Dsndio=disabled #not yet in the tree |
885 |
- -Dsolaris_output=disabled |
886 |
- |
887 |
- -Ddatabase=true |
888 |
- -Ddsd=true |
889 |
- -Dtcp=true |
890 |
- |
891 |
- -Dsystemd_system_unit_dir="$(systemd_get_systemunitdir)" |
892 |
- -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)" |
893 |
- ) |
894 |
- |
895 |
- if use icu; then |
896 |
- emesonargs+=( -Diconv=enabled ) |
897 |
- else |
898 |
- emesonargs+=( -Diconv=disabled ) |
899 |
- fi |
900 |
- |
901 |
- meson_src_configure |
902 |
-} |
903 |
- |
904 |
-src_install() { |
905 |
- meson_src_install |
906 |
- |
907 |
- insinto /etc |
908 |
- newins doc/mpdconf.dist mpd.conf |
909 |
- |
910 |
- insinto /etc/logrotate.d |
911 |
- newins "${FILESDIR}"/${PN}-0.21.1.logrotate ${PN} |
912 |
- |
913 |
- newinitd "${FILESDIR}"/${PN}-0.21.4.init ${PN} |
914 |
- |
915 |
- if use unicode; then |
916 |
- sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ |
917 |
- "${ED}"/etc/mpd.conf || die "sed failed" |
918 |
- fi |
919 |
- |
920 |
- doman doc/mpd.1 |
921 |
- doman doc/mpd.conf.5 |
922 |
- |
923 |
- keepdir /var/lib/mpd |
924 |
- keepdir /var/lib/mpd/music |
925 |
- keepdir /var/lib/mpd/playlists |
926 |
- |
927 |
-} |
928 |
- |
929 |
-pkg_postinst() { |
930 |
- # also change the homedir if the user has existed before |
931 |
- usermod -d "/var/lib/mpd" mpd || die "usermod failed" |
932 |
-} |
933 |
|
934 |
diff --git a/media-sound/mpd/mpd-0.21.13.ebuild b/media-sound/mpd/mpd-0.21.13.ebuild |
935 |
deleted file mode 100644 |
936 |
index 984310bc536..00000000000 |
937 |
--- a/media-sound/mpd/mpd-0.21.13.ebuild |
938 |
+++ /dev/null |
939 |
@@ -1,294 +0,0 @@ |
940 |
-# Copyright 1999-2019 Gentoo Authors |
941 |
-# Distributed under the terms of the GNU General Public License v2 |
942 |
- |
943 |
-EAPI=7 |
944 |
- |
945 |
-inherit flag-o-matic linux-info meson systemd user |
946 |
- |
947 |
-DESCRIPTION="The Music Player Daemon (mpd)" |
948 |
-HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" |
949 |
-SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" |
950 |
- |
951 |
-LICENSE="GPL-2" |
952 |
-SLOT="0" |
953 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos" |
954 |
-IUSE="adplug +alsa ao audiofile bzip2 cdio chromaprint +cue +curl +dbus debug |
955 |
- +eventfd expat faad +ffmpeg +fifo flac fluidsynth gme +icu +id3tag +inotify |
956 |
- +ipv6 jack lame libav libmpdclient libsamplerate libsoxr +mad mikmod mms |
957 |
- modplug mpg123 musepack +network nfs openal opus oss pipe pulseaudio qobuz |
958 |
- recorder samba selinux sid signalfd sndfile soundcloud sqlite systemd |
959 |
- test tidal twolame udisks unicode vorbis wavpack webdav wildmidi upnp |
960 |
- zeroconf zip zlib" |
961 |
- |
962 |
-OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder" |
963 |
-DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod |
964 |
- modplug mpg123 musepack flac sid vorbis wavpack wildmidi" |
965 |
-ENCODER_PLUGINS="audiofile flac lame twolame vorbis" |
966 |
- |
967 |
-REQUIRED_USE=" |
968 |
- || ( ${OUTPUT_PLUGINS} ) |
969 |
- || ( ${DECODER_PLUGINS} ) |
970 |
- network? ( || ( ${ENCODER_PLUGINS} ) ) |
971 |
- recorder? ( || ( ${ENCODER_PLUGINS} ) ) |
972 |
- upnp? ( expat ) |
973 |
- webdav? ( curl expat ) |
974 |
- " |
975 |
- |
976 |
-RESTRICT="!test? ( test )" |
977 |
- |
978 |
-RDEPEND=" |
979 |
- adplug? ( media-libs/adplug:= ) |
980 |
- alsa? ( |
981 |
- media-libs/alsa-lib |
982 |
- media-sound/alsa-utils |
983 |
- ) |
984 |
- |
985 |
- ao? ( media-libs/libao[alsa?,pulseaudio?] ) |
986 |
- audiofile? ( media-libs/audiofile:= ) |
987 |
- |
988 |
- cdio? ( |
989 |
- dev-libs/libcdio:= |
990 |
- dev-libs/libcdio-paranoia |
991 |
- ) |
992 |
- |
993 |
- chromaprint? ( media-libs/chromaprint ) |
994 |
- curl? ( net-misc/curl ) |
995 |
- dbus? ( sys-apps/dbus ) |
996 |
- expat? ( dev-libs/expat ) |
997 |
- faad? ( media-libs/faad2 ) |
998 |
- |
999 |
- ffmpeg? ( |
1000 |
- libav? ( media-video/libav:0= ) |
1001 |
- !libav? ( media-video/ffmpeg:0= ) |
1002 |
- ) |
1003 |
- |
1004 |
- flac? ( media-libs/flac ) |
1005 |
- fluidsynth? ( media-sound/fluidsynth ) |
1006 |
- gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 ) |
1007 |
- icu? ( dev-libs/icu:= ) |
1008 |
- id3tag? ( media-libs/libid3tag ) |
1009 |
- jack? ( virtual/jack ) |
1010 |
- lame? ( network? ( media-sound/lame ) ) |
1011 |
- libmpdclient? ( media-libs/libmpdclient ) |
1012 |
- libsamplerate? ( media-libs/libsamplerate ) |
1013 |
- libsoxr? ( media-libs/soxr ) |
1014 |
- mad? ( media-libs/libmad ) |
1015 |
- mikmod? ( media-libs/libmikmod ) |
1016 |
- mms? ( media-libs/libmms ) |
1017 |
- modplug? ( media-libs/libmodplug ) |
1018 |
- mpg123? ( media-sound/mpg123 ) |
1019 |
- musepack? ( media-sound/musepack-tools ) |
1020 |
- network? ( media-libs/libshout ) |
1021 |
- nfs? ( net-fs/libnfs ) |
1022 |
- openal? ( media-libs/openal ) |
1023 |
- opus? ( media-libs/opus ) |
1024 |
- pulseaudio? ( media-sound/pulseaudio ) |
1025 |
- qobuz? ( dev-libs/libgcrypt:0 ) |
1026 |
- samba? ( net-fs/samba ) |
1027 |
- selinux? ( sec-policy/selinux-mpd ) |
1028 |
- sid? ( || ( |
1029 |
- media-libs/libsidplay:2 |
1030 |
- media-libs/libsidplayfp |
1031 |
- ) ) |
1032 |
- sndfile? ( media-libs/libsndfile ) |
1033 |
- soundcloud? ( >=dev-libs/yajl-2:= ) |
1034 |
- sqlite? ( dev-db/sqlite:3 ) |
1035 |
- systemd? ( sys-apps/systemd ) |
1036 |
- twolame? ( media-sound/twolame ) |
1037 |
- udisks? ( sys-fs/udisks:2 ) |
1038 |
- upnp? ( net-libs/libupnp:0 ) |
1039 |
- vorbis? ( media-libs/libvorbis ) |
1040 |
- wavpack? ( media-sound/wavpack ) |
1041 |
- wildmidi? ( media-sound/wildmidi ) |
1042 |
- zeroconf? ( net-dns/avahi[dbus] ) |
1043 |
- zip? ( dev-libs/zziplib ) |
1044 |
- zlib? ( sys-libs/zlib:= )" |
1045 |
- |
1046 |
-DEPEND="${RDEPEND} |
1047 |
- >=dev-libs/boost-1.58:= |
1048 |
- test? ( dev-cpp/gtest )" |
1049 |
- |
1050 |
-BDEPEND=">=dev-util/meson-0.49.2 |
1051 |
- virtual/pkgconfig" |
1052 |
- |
1053 |
-PATCHES=( |
1054 |
- "${FILESDIR}"/${PN}-0.18.conf.patch |
1055 |
-) |
1056 |
- |
1057 |
-pkg_setup() { |
1058 |
- enewuser mpd "" "" "/var/lib/mpd" audio |
1059 |
- |
1060 |
- if use eventfd; then |
1061 |
- CONFIG_CHECK+=" ~EVENTFD" |
1062 |
- ERROR_EVENTFD="${P} requires eventfd in-kernel support." |
1063 |
- fi |
1064 |
- |
1065 |
- if use signalfd; then |
1066 |
- CONFIG_CHECK+=" ~SIGNALFD" |
1067 |
- ERROR_SIGNALFD="${P} requires signalfd in-kernel support." |
1068 |
- fi |
1069 |
- |
1070 |
- if use inotify; then |
1071 |
- CONFIG_CHECK+=" ~INOTIFY_USER" |
1072 |
- ERROR_INOTIFY_USER="${P} requires inotify in-kernel support." |
1073 |
- fi |
1074 |
- |
1075 |
- if use eventfd || use signalfd || use inotify; then |
1076 |
- linux-info_pkg_setup |
1077 |
- fi |
1078 |
- |
1079 |
- elog "If you will be starting mpd via /etc/init.d/mpd, please make |
1080 |
- sure that MPD's pid_file is _set_." |
1081 |
-} |
1082 |
- |
1083 |
-src_prepare() { |
1084 |
- cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" |
1085 |
- default |
1086 |
-} |
1087 |
- |
1088 |
-src_configure() { |
1089 |
- local emesonargs=( |
1090 |
- -Dbzip2=$(usex bzip2 enabled disabled) |
1091 |
- -Dcdio_paranoia=$(usex cdio enabled disabled) |
1092 |
- -Dchromaprint=$(usex chromaprint enabled disabled) |
1093 |
- -Dcue=$(usex cue true false) |
1094 |
- -Dcurl=$(usex curl enabled disabled) |
1095 |
- -Ddbus=$(usex dbus enabled disabled) |
1096 |
- -Ddebug=$(usex debug true false) |
1097 |
- -Deventfd=$(usex eventfd true false) |
1098 |
- -Dexpat=$(usex expat enabled disabled) |
1099 |
- -Dicu=$(usex icu enabled disabled) |
1100 |
- -Did3tag=$(usex id3tag enabled disabled) |
1101 |
- -Dinotify=$(usex inotify true false) |
1102 |
- -Dipv6=$(usex ipv6 enabled disabled) |
1103 |
- -Diso9660=$(usex cdio enabled disabled) |
1104 |
- -Dlibmpdclient=$(usex libmpdclient enabled disabled) |
1105 |
- -Dlibsamplerate=$(usex libsamplerate enabled disabled) |
1106 |
- -Dmms=$(usex mms enabled disabled) |
1107 |
- -Dnfs=$(usex nfs enabled disabled) |
1108 |
- -Dsignalfd=$(usex signalfd true false) |
1109 |
- -Dsmbclient=$(usex samba enabled disabled) |
1110 |
- -Dsoxr=$(usex libsoxr enabled disabled) |
1111 |
- -Dsqlite=$(usex sqlite enabled disabled) |
1112 |
- -Dsystemd=$(usex systemd enabled disabled) |
1113 |
- -Dtest=$(usex test true false) |
1114 |
- -Dudisks=$(usex udisks enabled disabled) |
1115 |
- -Dupnp=$(usex upnp enabled disabled) |
1116 |
- -Dwebdav=$(usex webdav enabled disabled) |
1117 |
- -Dzeroconf=$(usex zeroconf avahi disabled) |
1118 |
- -Dzlib=$(usex zlib enabled disabled) |
1119 |
- -Dzzip=$(usex zip enabled disabled) |
1120 |
- ) |
1121 |
- |
1122 |
- emesonargs+=( |
1123 |
- -Dalsa=$(usex alsa enabled disabled) |
1124 |
- -Dao=$(usex ao enabled disabled) |
1125 |
- -Dfifo=$(usex fifo true false) |
1126 |
- -Djack=$(usex jack enabled disabled) |
1127 |
- -Dopenal=$(usex openal enabled disabled) |
1128 |
- -Doss=$(usex oss enabled disabled) |
1129 |
- -Dpipe=$(usex pipe true false) |
1130 |
- -Dpulse=$(usex pulseaudio enabled disabled) |
1131 |
- -Drecorder=$(usex recorder true false) |
1132 |
- ) |
1133 |
- |
1134 |
- if use samba || use upnp; then |
1135 |
- emesonargs+=( -Dneighbor=true ) |
1136 |
- fi |
1137 |
- |
1138 |
- append-lfs-flags |
1139 |
- append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" |
1140 |
- |
1141 |
- if use network; then |
1142 |
- |
1143 |
- emesonargs+=( |
1144 |
- -Dshine=disabled |
1145 |
- -Dshout=enabled |
1146 |
- -Dvorbisenc=$(usex vorbis enabled disabled) |
1147 |
- -Dhttpd=true |
1148 |
- -Dlame=$(usex lame enabled disabled) |
1149 |
- -Dtwolame=$(usex twolame enabled disabled) |
1150 |
- -Dwave_encoder=$(usex audiofile true false) |
1151 |
- ) |
1152 |
- fi |
1153 |
- |
1154 |
- emesonargs+=( |
1155 |
- -Dadplug=$(usex adplug enabled disabled) |
1156 |
- -Daudiofile=$(usex audiofile enabled disabled) |
1157 |
- -Dfaad=$(usex faad enabled disabled) |
1158 |
- -Dffmpeg=$(usex ffmpeg enabled disabled) |
1159 |
- -Dflac=$(usex flac enabled disabled) |
1160 |
- -Dfluidsynth=$(usex fluidsynth enabled disabled) |
1161 |
- -Dgme=$(usex gme enabled disabled) |
1162 |
- -Dmad=$(usex mad enabled disabled) |
1163 |
- -Dmikmod=$(usex mikmod enabled disabled) |
1164 |
- -Dmodplug=$(usex modplug enabled disabled) |
1165 |
- -Dmpcdec=$(usex musepack enabled disabled) |
1166 |
- -Dmpg123=$(usex mpg123 enabled disabled) |
1167 |
- -Dopus=$(usex opus enabled disabled) |
1168 |
- -Dsidplay=$(usex sid enabled disabled) |
1169 |
- -Dsndfile=$(usex sndfile enabled disabled) |
1170 |
- -Dvorbis=$(usex vorbis enabled disabled) |
1171 |
- -Dwavpack=$(usex wavpack enabled disabled) |
1172 |
- -Dwildmidi=$(usex wildmidi enabled disabled) |
1173 |
- |
1174 |
- ) |
1175 |
- |
1176 |
- emesonargs+=( |
1177 |
- -Dqobuz=$(usex qobuz enabled disabled) |
1178 |
- -Dsoundcloud=$(usex soundcloud enabled disabled) |
1179 |
- -Dtidal=$(usex tidal enabled disabled) |
1180 |
- ) |
1181 |
- |
1182 |
- emesonargs+=( |
1183 |
- --libdir="/usr/$(get_libdir)" |
1184 |
- -Ddocumentation=false |
1185 |
- -Dsndio=disabled #not yet in the tree |
1186 |
- -Dsolaris_output=disabled |
1187 |
- |
1188 |
- -Ddatabase=true |
1189 |
- -Ddsd=true |
1190 |
- -Dtcp=true |
1191 |
- |
1192 |
- -Dsystemd_system_unit_dir="$(systemd_get_systemunitdir)" |
1193 |
- -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)" |
1194 |
- ) |
1195 |
- |
1196 |
- if use icu; then |
1197 |
- emesonargs+=( -Diconv=enabled ) |
1198 |
- else |
1199 |
- emesonargs+=( -Diconv=disabled ) |
1200 |
- fi |
1201 |
- |
1202 |
- meson_src_configure |
1203 |
-} |
1204 |
- |
1205 |
-src_install() { |
1206 |
- meson_src_install |
1207 |
- |
1208 |
- insinto /etc |
1209 |
- newins doc/mpdconf.dist mpd.conf |
1210 |
- |
1211 |
- insinto /etc/logrotate.d |
1212 |
- newins "${FILESDIR}"/${PN}-0.21.1.logrotate ${PN} |
1213 |
- |
1214 |
- newinitd "${FILESDIR}"/${PN}-0.21.4.init ${PN} |
1215 |
- |
1216 |
- if use unicode; then |
1217 |
- sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ |
1218 |
- "${ED}"/etc/mpd.conf || die "sed failed" |
1219 |
- fi |
1220 |
- |
1221 |
- doman doc/mpd.1 |
1222 |
- doman doc/mpd.conf.5 |
1223 |
- |
1224 |
- keepdir /var/lib/mpd |
1225 |
- keepdir /var/lib/mpd/music |
1226 |
- keepdir /var/lib/mpd/playlists |
1227 |
- |
1228 |
-} |
1229 |
- |
1230 |
-pkg_postinst() { |
1231 |
- # also change the homedir if the user has existed before |
1232 |
- usermod -d "/var/lib/mpd" mpd || die "usermod failed" |
1233 |
-} |