1 |
commit: 686bd78f2678e5400044e3578ec757bbb8cbd77c |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 15 13:12:51 2019 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 15 13:12:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=686bd78f |
7 |
|
8 |
media-sound/mpd: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
11 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
12 |
|
13 |
media-sound/mpd/Manifest | 1 - |
14 |
media-sound/mpd/mpd-0.21.16.ebuild | 299 ------------------------------------- |
15 |
2 files changed, 300 deletions(-) |
16 |
|
17 |
diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest |
18 |
index 2d3d11abb51..a42ae7cf554 100644 |
19 |
--- a/media-sound/mpd/Manifest |
20 |
+++ b/media-sound/mpd/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
DIST mpd-0.21.14.tar.xz 673036 BLAKE2B 73eed90c0d48e26d747e26b0cd000d3e0a12dfebb015f865fe9d3ddbe5f7fa564b1655b7e0639951e9aeb2554185063b11d6bc818813ca6366688ea05705ba4a SHA512 d5ce06741444d545c7334f4c4ab32dbfacaa264df5a1ac61b73d951e0a6f952c8ea1e4df1b5bfc827e7faa35a6b8026e78cbf3a057ee35adf448fa7204389cd9 |
23 |
DIST mpd-0.21.15.tar.xz 673056 BLAKE2B e399c0439e790ac62525b33c5d2d26b47d36687edc877169934dd5379646d1d38ed7fec75532498a4c0f6e51e355e872847873045ae2446d037cce8781be3067 SHA512 c67ebdb7609b36b4b8504ce0751ca2dcc38a2fba03a5b8419185e8be64bce7e19560347a600773b65f55ba0a3cedeff051117071db8e7fe0a90c9771de8bd37e |
24 |
-DIST mpd-0.21.16.tar.xz 673732 BLAKE2B ed43ae9d5d40fcac0d035c24161c4db3a1b6df2b05f6a006a47beb7f7ba8ec198cbd20e34c9fcaf4e9832dbf13c57a77a9e5864d7f16de2bdd1c414d41ce391c SHA512 bb7587acd03d675ae3127ab4e196d549170551ac643e5134baa2bccaf8d7c9bba6c9a9edec9bcb61a2ec3a6ce26f4d77190323ef0329033d0cd8c1f8964be05c |
25 |
|
26 |
diff --git a/media-sound/mpd/mpd-0.21.16.ebuild b/media-sound/mpd/mpd-0.21.16.ebuild |
27 |
deleted file mode 100644 |
28 |
index a5cdc87afb4..00000000000 |
29 |
--- a/media-sound/mpd/mpd-0.21.16.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,299 +0,0 @@ |
32 |
-# Copyright 1999-2019 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-inherit flag-o-matic linux-info meson systemd user xdg-utils |
38 |
- |
39 |
-DESCRIPTION="The Music Player Daemon (mpd)" |
40 |
-HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" |
41 |
-SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" |
42 |
- |
43 |
-LICENSE="GPL-2" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x64-macos" |
46 |
-IUSE="adplug +alsa ao audiofile bzip2 cdio chromaprint +cue +curl +dbus debug |
47 |
- +eventfd expat faad +ffmpeg +fifo flac fluidsynth gme +icu +id3tag +inotify |
48 |
- +ipv6 jack lame libav libmpdclient libsamplerate libsoxr +mad mikmod mms |
49 |
- modplug mpg123 musepack +network nfs openal opus oss pipe pulseaudio qobuz |
50 |
- recorder samba selinux sid signalfd sndfile soundcloud sqlite systemd |
51 |
- test tidal twolame udisks unicode vorbis wavpack webdav wildmidi upnp |
52 |
- zeroconf zip zlib" |
53 |
- |
54 |
-OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder" |
55 |
-DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod |
56 |
- modplug mpg123 musepack flac sid vorbis wavpack wildmidi" |
57 |
-ENCODER_PLUGINS="audiofile flac lame twolame vorbis" |
58 |
- |
59 |
-REQUIRED_USE=" |
60 |
- || ( ${OUTPUT_PLUGINS} ) |
61 |
- || ( ${DECODER_PLUGINS} ) |
62 |
- network? ( || ( ${ENCODER_PLUGINS} ) ) |
63 |
- recorder? ( || ( ${ENCODER_PLUGINS} ) ) |
64 |
- upnp? ( expat ) |
65 |
- webdav? ( curl expat ) |
66 |
- " |
67 |
- |
68 |
-RESTRICT="!test? ( test )" |
69 |
- |
70 |
-RDEPEND=" |
71 |
- adplug? ( media-libs/adplug:= ) |
72 |
- alsa? ( |
73 |
- media-libs/alsa-lib |
74 |
- media-sound/alsa-utils |
75 |
- ) |
76 |
- |
77 |
- ao? ( media-libs/libao[alsa?,pulseaudio?] ) |
78 |
- audiofile? ( media-libs/audiofile:= ) |
79 |
- |
80 |
- cdio? ( |
81 |
- dev-libs/libcdio:= |
82 |
- dev-libs/libcdio-paranoia |
83 |
- ) |
84 |
- |
85 |
- chromaprint? ( media-libs/chromaprint ) |
86 |
- curl? ( net-misc/curl ) |
87 |
- dbus? ( sys-apps/dbus ) |
88 |
- expat? ( dev-libs/expat ) |
89 |
- faad? ( media-libs/faad2 ) |
90 |
- |
91 |
- ffmpeg? ( |
92 |
- libav? ( media-video/libav:0= ) |
93 |
- !libav? ( media-video/ffmpeg:0= ) |
94 |
- ) |
95 |
- |
96 |
- flac? ( media-libs/flac ) |
97 |
- fluidsynth? ( media-sound/fluidsynth ) |
98 |
- gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 ) |
99 |
- icu? ( dev-libs/icu:= ) |
100 |
- id3tag? ( media-libs/libid3tag ) |
101 |
- jack? ( virtual/jack ) |
102 |
- lame? ( network? ( media-sound/lame ) ) |
103 |
- libmpdclient? ( media-libs/libmpdclient ) |
104 |
- libsamplerate? ( media-libs/libsamplerate ) |
105 |
- libsoxr? ( media-libs/soxr ) |
106 |
- mad? ( media-libs/libmad ) |
107 |
- mikmod? ( media-libs/libmikmod ) |
108 |
- mms? ( media-libs/libmms ) |
109 |
- modplug? ( media-libs/libmodplug ) |
110 |
- mpg123? ( media-sound/mpg123 ) |
111 |
- musepack? ( media-sound/musepack-tools ) |
112 |
- network? ( media-libs/libshout ) |
113 |
- nfs? ( net-fs/libnfs ) |
114 |
- openal? ( media-libs/openal ) |
115 |
- opus? ( media-libs/opus ) |
116 |
- pulseaudio? ( media-sound/pulseaudio ) |
117 |
- qobuz? ( dev-libs/libgcrypt:0 ) |
118 |
- samba? ( net-fs/samba ) |
119 |
- selinux? ( sec-policy/selinux-mpd ) |
120 |
- sid? ( || ( |
121 |
- media-libs/libsidplay:2 |
122 |
- media-libs/libsidplayfp |
123 |
- ) ) |
124 |
- sndfile? ( media-libs/libsndfile ) |
125 |
- soundcloud? ( >=dev-libs/yajl-2:= ) |
126 |
- sqlite? ( dev-db/sqlite:3 ) |
127 |
- systemd? ( sys-apps/systemd ) |
128 |
- twolame? ( media-sound/twolame ) |
129 |
- udisks? ( sys-fs/udisks:2 ) |
130 |
- upnp? ( net-libs/libupnp:0 ) |
131 |
- vorbis? ( media-libs/libvorbis ) |
132 |
- wavpack? ( media-sound/wavpack ) |
133 |
- wildmidi? ( media-sound/wildmidi ) |
134 |
- zeroconf? ( net-dns/avahi[dbus] ) |
135 |
- zip? ( dev-libs/zziplib ) |
136 |
- zlib? ( sys-libs/zlib:= )" |
137 |
- |
138 |
-DEPEND="${RDEPEND} |
139 |
- >=dev-libs/boost-1.58:= |
140 |
- test? ( dev-cpp/gtest )" |
141 |
- |
142 |
-BDEPEND=">=dev-util/meson-0.49.2 |
143 |
- virtual/pkgconfig" |
144 |
- |
145 |
-PATCHES=( |
146 |
- "${FILESDIR}"/${PN}-0.18.conf.patch |
147 |
-) |
148 |
- |
149 |
-pkg_setup() { |
150 |
- enewuser mpd "" "" "/var/lib/mpd" audio |
151 |
- |
152 |
- if use eventfd; then |
153 |
- CONFIG_CHECK+=" ~EVENTFD" |
154 |
- ERROR_EVENTFD="${P} requires eventfd in-kernel support." |
155 |
- fi |
156 |
- |
157 |
- if use signalfd; then |
158 |
- CONFIG_CHECK+=" ~SIGNALFD" |
159 |
- ERROR_SIGNALFD="${P} requires signalfd in-kernel support." |
160 |
- fi |
161 |
- |
162 |
- if use inotify; then |
163 |
- CONFIG_CHECK+=" ~INOTIFY_USER" |
164 |
- ERROR_INOTIFY_USER="${P} requires inotify in-kernel support." |
165 |
- fi |
166 |
- |
167 |
- if use eventfd || use signalfd || use inotify; then |
168 |
- linux-info_pkg_setup |
169 |
- fi |
170 |
- |
171 |
- elog "If you will be starting mpd via /etc/init.d/mpd, please make |
172 |
- sure that MPD's pid_file is _set_." |
173 |
-} |
174 |
- |
175 |
-src_prepare() { |
176 |
- cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" |
177 |
- default |
178 |
-} |
179 |
- |
180 |
-src_configure() { |
181 |
- local emesonargs=( |
182 |
- -Dbzip2=$(usex bzip2 enabled disabled) |
183 |
- -Dcdio_paranoia=$(usex cdio enabled disabled) |
184 |
- -Dchromaprint=$(usex chromaprint enabled disabled) |
185 |
- -Dcue=$(usex cue true false) |
186 |
- -Dcurl=$(usex curl enabled disabled) |
187 |
- -Ddbus=$(usex dbus enabled disabled) |
188 |
- -Ddebug=$(usex debug true false) |
189 |
- -Deventfd=$(usex eventfd true false) |
190 |
- -Dexpat=$(usex expat enabled disabled) |
191 |
- -Dicu=$(usex icu enabled disabled) |
192 |
- -Did3tag=$(usex id3tag enabled disabled) |
193 |
- -Dinotify=$(usex inotify true false) |
194 |
- -Dipv6=$(usex ipv6 enabled disabled) |
195 |
- -Diso9660=$(usex cdio enabled disabled) |
196 |
- -Dlibmpdclient=$(usex libmpdclient enabled disabled) |
197 |
- -Dlibsamplerate=$(usex libsamplerate enabled disabled) |
198 |
- -Dmms=$(usex mms enabled disabled) |
199 |
- -Dnfs=$(usex nfs enabled disabled) |
200 |
- -Dsignalfd=$(usex signalfd true false) |
201 |
- -Dsmbclient=$(usex samba enabled disabled) |
202 |
- -Dsoxr=$(usex libsoxr enabled disabled) |
203 |
- -Dsqlite=$(usex sqlite enabled disabled) |
204 |
- -Dsystemd=$(usex systemd enabled disabled) |
205 |
- -Dtest=$(usex test true false) |
206 |
- -Dudisks=$(usex udisks enabled disabled) |
207 |
- -Dupnp=$(usex upnp enabled disabled) |
208 |
- -Dwebdav=$(usex webdav enabled disabled) |
209 |
- -Dzeroconf=$(usex zeroconf avahi disabled) |
210 |
- -Dzlib=$(usex zlib enabled disabled) |
211 |
- -Dzzip=$(usex zip enabled disabled) |
212 |
- ) |
213 |
- |
214 |
- emesonargs+=( |
215 |
- -Dalsa=$(usex alsa enabled disabled) |
216 |
- -Dao=$(usex ao enabled disabled) |
217 |
- -Dfifo=$(usex fifo true false) |
218 |
- -Djack=$(usex jack enabled disabled) |
219 |
- -Dopenal=$(usex openal enabled disabled) |
220 |
- -Doss=$(usex oss enabled disabled) |
221 |
- -Dpipe=$(usex pipe true false) |
222 |
- -Dpulse=$(usex pulseaudio enabled disabled) |
223 |
- -Drecorder=$(usex recorder true false) |
224 |
- ) |
225 |
- |
226 |
- if use samba || use upnp; then |
227 |
- emesonargs+=( -Dneighbor=true ) |
228 |
- fi |
229 |
- |
230 |
- append-lfs-flags |
231 |
- append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" |
232 |
- |
233 |
- if use network; then |
234 |
- |
235 |
- emesonargs+=( |
236 |
- -Dshine=disabled |
237 |
- -Dshout=enabled |
238 |
- -Dvorbisenc=$(usex vorbis enabled disabled) |
239 |
- -Dhttpd=true |
240 |
- -Dlame=$(usex lame enabled disabled) |
241 |
- -Dtwolame=$(usex twolame enabled disabled) |
242 |
- -Dwave_encoder=$(usex audiofile true false) |
243 |
- ) |
244 |
- fi |
245 |
- |
246 |
- emesonargs+=( |
247 |
- -Dadplug=$(usex adplug enabled disabled) |
248 |
- -Daudiofile=$(usex audiofile enabled disabled) |
249 |
- -Dfaad=$(usex faad enabled disabled) |
250 |
- -Dffmpeg=$(usex ffmpeg enabled disabled) |
251 |
- -Dflac=$(usex flac enabled disabled) |
252 |
- -Dfluidsynth=$(usex fluidsynth enabled disabled) |
253 |
- -Dgme=$(usex gme enabled disabled) |
254 |
- -Dmad=$(usex mad enabled disabled) |
255 |
- -Dmikmod=$(usex mikmod enabled disabled) |
256 |
- -Dmodplug=$(usex modplug enabled disabled) |
257 |
- -Dmpcdec=$(usex musepack enabled disabled) |
258 |
- -Dmpg123=$(usex mpg123 enabled disabled) |
259 |
- -Dopus=$(usex opus enabled disabled) |
260 |
- -Dsidplay=$(usex sid enabled disabled) |
261 |
- -Dsndfile=$(usex sndfile enabled disabled) |
262 |
- -Dvorbis=$(usex vorbis enabled disabled) |
263 |
- -Dwavpack=$(usex wavpack enabled disabled) |
264 |
- -Dwildmidi=$(usex wildmidi enabled disabled) |
265 |
- |
266 |
- ) |
267 |
- |
268 |
- emesonargs+=( |
269 |
- -Dqobuz=$(usex qobuz enabled disabled) |
270 |
- -Dsoundcloud=$(usex soundcloud enabled disabled) |
271 |
- -Dtidal=$(usex tidal enabled disabled) |
272 |
- ) |
273 |
- |
274 |
- emesonargs+=( |
275 |
- --libdir="/usr/$(get_libdir)" |
276 |
- -Ddocumentation=false |
277 |
- -Dsndio=disabled #not yet in the tree |
278 |
- -Dsolaris_output=disabled |
279 |
- |
280 |
- -Ddatabase=true |
281 |
- -Ddsd=true |
282 |
- -Dtcp=true |
283 |
- |
284 |
- -Dsystemd_system_unit_dir="$(systemd_get_systemunitdir)" |
285 |
- -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)" |
286 |
- ) |
287 |
- |
288 |
- if use icu; then |
289 |
- emesonargs+=( -Diconv=enabled ) |
290 |
- else |
291 |
- emesonargs+=( -Diconv=disabled ) |
292 |
- fi |
293 |
- |
294 |
- meson_src_configure |
295 |
-} |
296 |
- |
297 |
-src_install() { |
298 |
- meson_src_install |
299 |
- |
300 |
- insinto /etc |
301 |
- newins doc/mpdconf.dist mpd.conf |
302 |
- |
303 |
- insinto /etc/logrotate.d |
304 |
- newins "${FILESDIR}"/${PN}-0.21.1.logrotate ${PN} |
305 |
- |
306 |
- newinitd "${FILESDIR}"/${PN}-0.21.4.init ${PN} |
307 |
- |
308 |
- if use unicode; then |
309 |
- sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ |
310 |
- "${ED}"/etc/mpd.conf || die "sed failed" |
311 |
- fi |
312 |
- |
313 |
- doman doc/mpd.1 |
314 |
- doman doc/mpd.conf.5 |
315 |
- |
316 |
- keepdir /var/lib/mpd |
317 |
- keepdir /var/lib/mpd/music |
318 |
- keepdir /var/lib/mpd/playlists |
319 |
- |
320 |
-} |
321 |
- |
322 |
-pkg_postinst() { |
323 |
- # also change the homedir if the user has existed before |
324 |
- usermod -d "/var/lib/mpd" mpd || die "usermod failed" |
325 |
- xdg_icon_cache_update |
326 |
-} |
327 |
- |
328 |
-pkg_postrm() { |
329 |
- xdg_icon_cache_update |
330 |
-} |