Gentoo Archives: gentoo-commits

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