summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2014-10-19 08:56:16 +0000
committerChristoph Mende <angelos@gentoo.org>2014-10-19 08:56:16 +0000
commit3c1a92475e3cf3f7df5caf5176ddfcc358d8ce85 (patch)
tree38ee04d321a189fdc5f94fb850d7f57fa8f3c0d4 /media-sound
parentamd64 stable wrt bug #524670 (diff)
downloadhistorical-3c1a92475e3cf3f7df5caf5176ddfcc358d8ce85.tar.gz
historical-3c1a92475e3cf3f7df5caf5176ddfcc358d8ce85.tar.bz2
historical-3c1a92475e3cf3f7df5caf5176ddfcc358d8ce85.zip
Version bump
Package-Manager: portage-2.2.14_rc1/cvs/Linux x86_64 Manifest-Sign-Key: 0x84F20B43
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpd/ChangeLog8
-rw-r--r--media-sound/mpd/Manifest16
-rw-r--r--media-sound/mpd/metadata.xml8
-rw-r--r--media-sound/mpd/mpd-0.19.1.ebuild225
4 files changed, 252 insertions, 5 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog
index b8f95a505a84..f98525282699 100644
--- a/media-sound/mpd/ChangeLog
+++ b/media-sound/mpd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/mpd
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.356 2014/09/26 17:12:42 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.357 2014/10/19 08:56:15 angelos Exp $
+
+*mpd-0.19.1 (19 Oct 2014)
+
+ 19 Oct 2014; Christoph Mende <angelos@gentoo.org> +mpd-0.19.1.ebuild,
+ metadata.xml:
+ Version bump
*mpd-0.18.16 (26 Sep 2014)
diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest
index 4e7c31d360db..c52006b8f36b 100644
--- a/media-sound/mpd/Manifest
+++ b/media-sound/mpd/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX mpd-0.16.conf.patch 2646 SHA256 5994735065e0e4a8b9b0fbb7ff8219088b7015c573a379dfeacecdfe55834653 SHA512 9a6cd76d0327d30063659084e72005c85c7a9541c93bacfec098bce93839040ec6da78da9bd4beb5dcb1625c7b0ac6d0cb3f42ca5e7313f0a05cd46286f0c9a1 WHIRLPOOL 06639909305319b818b8fa008bcaeb29b54b70403a4119d627b3d7eda56bdf3a9b246fb5f68bbabe1f52a65d78fb39058ce87f03aeb98f1fd34dec505f84e353
AUX mpd-0.17.4-ffmpeg2.patch 572 SHA256 d525dd6abc07577c54355dd2eb0721cda2b66c8250dbf97494ed8fc07d30a048 SHA512 72c9cab4ecb8479a3b22b3b571ed0cd22317d331a2016b6e8f357f379b46595b6c01096bb8a51a28c9d62542cfb0ceb61a7363792e85a5cb01334b4f965ae3a8 WHIRLPOOL 79383eae9cf4e95d18c5e1278056b83e32373f549c2ecf3855696ef0e1c5e9c18d9ec79f02847f141100021ed52228e8ac2802e51f3f0a28dbe181b971ca6e41
AUX mpd-0.17.6-opus-linking.patch 549 SHA256 6e2caa3a445e4001b8918d2bb7d8c05c73ce9aa2b39842aa72e711879e1b04eb SHA512 bbb6699dc4de8de8908464cb4086b610e597bb7cd1006b8d17770e3665872861644ddb795c450fe3784bf1f5cae3c724ac845f27565a9a57f632e9a9d79792ad WHIRLPOOL 480f62ed28dffe1a227a5cfe41ec30701a14014313bca97d6d68cf2f15d410c60bdfab2a3d7e69e263131c15741bea5d310ee864912cf9ae99e5838b112b8463
@@ -8,8 +11,17 @@ AUX mpd2.init 828 SHA256 3591473024005cdb15f13809c7675fbb964dc1b13e7658a01e12e34
DIST mpd-0.17.6.tar.bz2 585951 SHA256 9788948175157dc1c4da4a7d36e04a4b4812cb3a79f6b935e4fc9f93cb60c332 SHA512 014629b913e7bd537f38303ffee295648b55fe18dc0ea669b463b82c3d60334792eeedb624f96849c834cf32e0bb5107f804e59d62be293ff78d3d940dbbb9e2 WHIRLPOOL dee52fe02174b3818ce4483385b7b91e0667fddfd4912023551032b29a67b80a9d3aba2f2d49781266eceb25d5af2c3fe1285f46ad1513cafcd0f5d3766d2705
DIST mpd-0.18.10.tar.xz 584312 SHA256 dd506ca1d81b61ec10be6a3e7181869bd5adf0ffbb0a2e948f730826933f1c81 SHA512 120ebbcae7de24f2d660ab7d50cdd7e80ab39da2c9479cda0ad117f8f0729c0a87fa4363f06866cf6e154d6f44e09ce8f3e4f3fff240de12eb600eaec351c140 WHIRLPOOL b5e0e38903d1bf6e6bd12694944ac909c09de4e66b4d63b54e2865886206aa94577070622e8e45f09ade2674afc420778e5885729cbe49d412ca597e005de29e
DIST mpd-0.18.16.tar.xz 587724 SHA256 7524c7a7695acfc6a5ce4117b30c74b172cef681a4bb9032db20c3671ad5765a SHA512 bddd0236066bae97ef690b24a0eac46d892fe10ce7c5455634cb8b84210bf2ceb1b5ee8c7754fcf581de7fbd165c9b805f179e243b88bc87e6254e72fa6c8f45 WHIRLPOOL cdf7488fee33b18880b24686bcc86b8d4696023e72011d1310d81f067a8ae99590441c61214e5e371b3cd4da6fb99575963343765c9defa4fb3b41582193c407
+DIST mpd-0.19.1.tar.xz 701192 SHA256 8b3afcd440181c9bd18b229b5974e529d59648344dd371370d6f7d62ec2847c5 SHA512 d22853147f22dc1f879bbb03627b43de30203006734f4a0eb7203e80a48aefc2264cf518fa165af97b5888c07f1809561730e96e40028c5bcf6511c4049c17fd WHIRLPOOL b54325d4b1a72ea326f992dc7910d750c5bff06938d4076260e3ccc3d89f1eb02e1574ba3f172710c7f33b76814d11ce8d043448452b65534074a1bf4ecf4cc4
EBUILD mpd-0.17.6.ebuild 6383 SHA256 b44c3f09e5e04bfd37369cafb3140a085fb4c8858ba675ff3860a853d4a4d04c SHA512 2dd07e16aa2aad1887dd6e1c28ba232aee8e43a8d93d7802d27cb9c5a5d86958729db58058e76e6ce64c6fd69588f44d1bf7ae4e17210cf9d9232dcc6cf8122d WHIRLPOOL 17013d47a134c4d32dd984b7171efec3898f942a5092da52d6a4a7119bc9b7be8b1cddbfc6f109df34296e9f5a5b365656e51dc3e7b43426b3c83cddbf10b7a3
EBUILD mpd-0.18.10-r1.ebuild 6315 SHA256 2c478ea510f88e035e847245e108538721b861832e10c841926288d425fc93b5 SHA512 54b05facb719575d78cb73d3e803a002d299691c61b20bec6bbeaf1dab43e12893a84c6c0e4a5d28a9f67284d87115433a7a9bcf6b592fa6a877874379f5fa23 WHIRLPOOL 8980a1c45d3d822b861118a39e2570f5468a0fb455d7934e22d1f5acc81497dba4721a19bfe919414db1f73ef15331fa667412d60b352dc2ad51ec6381e3aeb9
EBUILD mpd-0.18.16.ebuild 6314 SHA256 ac12c25d53a16d6ef13394cba263679f28db774841242b69b9abac2e10f13e6e SHA512 7a85ec60dc1b0cae8fdc146170f11b15350b80986ba7fee7e01267a1f0a24562ad6fcc00df3fa3ffc244e9b56112934efad65baf7db0c1824ad2b442a99a237d WHIRLPOOL a8e4f9abd9fbcef4345c1611ff1a6ca2a709187a592a6416e873597e5cb3385d11e537094133c6065db0e295b35fc7083c693fd87d661707ebd7e5026d95fc8d
-MISC ChangeLog 50732 SHA256 86f5e518c363527a831ae3ae5e40e79b4d7d66a76c79c0cae1028d80507c6292 SHA512 7a0a30530c5e4d52a40dab4ad5ccbc215e85343b71609440fb5d508b4d80b451eb987e8de2ddce8b41d4c834176246780a543f04a2c8e3cb189ad45f62fc13da WHIRLPOOL d6324534aa810589d366f224463612f2d0287cbaa0af04872a2b7ae19bf8c00e51ddf4c04b90730d36a26bccb89540f7e8bb2e4e603778145575cb6050e6cb1d
-MISC metadata.xml 2057 SHA256 03ab12c4339334c9925649d19c61844c14600680d33b83736922b4537b94515c SHA512 71f55e89be531d5e1aa32182b8348899b87dfa3ef13782f52cc39748cce307273b714975016e2737d4e9941f2f4e71f31d6b38856eb5a9f1c1d33b2afc28fbb6 WHIRLPOOL 160272fbeffa01fbec0fc5bbb75f643cc4540def81f6e31bde450e18865bf43a6a329890db0bb8d3c6a22fdd740c1c1bf213cf87bc54fe103c7fadcba892a9d6
+EBUILD mpd-0.19.1.ebuild 6905 SHA256 4f0b4dcb6a902c286f6628fe2eca8c29e64673c955bc9b4258de1b16d2133b10 SHA512 1f9b86c6bd1e2c105b1c811fc53f52d309ccace64b15b296bfbcae6c2e2eae7c5fc5d6e755ff96d52c3c43e7d755edc402c7c1545eb69eaf16b70ac08c021d99 WHIRLPOOL 7f4916a98802fe9958b51c7addf988da8e002efc9dcdcfa17630e9a8d4bd3bf49fd830132f99e8ddab6c9e6b22f2fdc904790dc70c6020f4d42d53621251b10b
+MISC ChangeLog 50863 SHA256 a7d8f098ad4b61c995c8867865687706775b5e92d187e47841fe8bb8900516eb SHA512 633e6d6423f03637b02e119331a1f4a6baed2558c3814c063d2d939247888d9fb7a216d4c2b5f41abe793fb2ab51d274d20acd552ba75f58822b81647f3458cb WHIRLPOOL 3cd6eb2381757e618cd183dce60a1ba715ca107804b9b46d61e937e628091bfba0baf47e425cf2480af0eac35d67665b9df6f6ee871f5bda29f1f7c01a845ef8
+MISC metadata.xml 2290 SHA256 378047692f81b2b526b3cfd5de4a696d90efea36c819df7268176bf719231b34 SHA512 cb25005361ee7f5087d2186e7d4e154d4cf6a06b933312abb2e14279bc34eef8d1018a9d2a1fe696fc8d7a426674f32e5131d5ea4e7a4300bd7227b052663c44 WHIRLPOOL 02bdc181c5b338d2e5eb19482cc1e7ec10b71326c6df39ae06c5ab236899d7df8839ce79ffe206ecfae603a7077abc217bf99dc40cff9539421c8abdb7ca7608
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iF4EAREIAAYFAlRDfLAACgkQmWq1bYTyC0Nh/gD/VGnhWL+GoIF1Gt0++/CjpQHf
+u34sSwqfHNi7xzOCHW8A/0FO2sVWuG/hO+vbx3lXlzBAZN1Sn8gZrBbCelozXaU1
+=KaEl
+-----END PGP SIGNATURE-----
diff --git a/media-sound/mpd/metadata.xml b/media-sound/mpd/metadata.xml
index bfc820b3b964..d757fb1bcbfc 100644
--- a/media-sound/mpd/metadata.xml
+++ b/media-sound/mpd/metadata.xml
@@ -16,14 +16,19 @@
<flag name="curl">Support for web stream listening</flag>
<flag name="faad">Use external faad library for AAC decoding</flag>
<flag name="fifo">Support writing audio to a FIFO</flag>
- <flag name="fluidsynth">Enables Fluidsynth MIDI software synthesis</flag>
+ <flag name="fluidsynth">Enables Fluidsynth MIDI software synthesis (discouraged)</flag>
+ <flag name="glib">Enable GLib usage</flag>
<flag name="gme">Enables support for <pkg>media-libs/game-music-emu</pkg> for playing various video game music formats.</flag>
<flag name="id3tag">Support for ID3 tags</flag>
<flag name="inotify">Use the Linux kernel inotify subsystem to notice changes to mpd music library</flag>
<flag name="lame">Support for MP3 streaming via Icecast2</flag>
<flag name="lastfmradio">Support listening to last.fm radio stations</flag>
<flag name="libmpdclient">Enable support for remote mpd databases</flag>
+ <flag name="libsoxr">Enable the libsoxr resampler</flag>
+ <flag name="mp4v2">Enable the MP4v2 decoder</flag>
+ <flag name="mpg123">Enable support for mp3 decoding over media-sound/mpg123</flag>
<flag name="network">Enables network streaming support</flag>
+ <flag name="nfs">Enable support for the Network File System</flag>
<flag name="opus">Enable Opus codec support</flag>
<flag name="pipe">Support writing audio to a pipe</flag>
<flag name="recorder">Enables output plugin for recording radio streams</flag>
@@ -34,6 +39,5 @@
<flag name="twolame">Support twolame MPEG-2 encoding</flag>
<flag name="wildmidi">Enable MIDI support via wildmidi</flag>
<flag name="zip">Support for ZIP files</flag>
- <flag name="mpg123">Enable support for mp3 decoding over media-sound/mpg123</flag>
</use>
</pkgmetadata>
diff --git a/media-sound/mpd/mpd-0.19.1.ebuild b/media-sound/mpd/mpd-0.19.1.ebuild
new file mode 100644
index 000000000000..b2d9f9180853
--- /dev/null
+++ b/media-sound/mpd/mpd-0.19.1.ebuild
@@ -0,0 +1,225 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.19.1.ebuild,v 1.1 2014/10/19 08:56:15 angelos Exp $
+
+EAPI=5
+inherit eutils flag-o-matic linux-info multilib readme.gentoo systemd user
+
+DESCRIPTION="The Music Player Daemon (mpd)"
+HOMEPAGE="http://www.musicpd.org"
+SRC_URI="http://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~sh ~x86 ~x86-fbsd ~x64-macos"
+IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug expat faad +fifo +ffmpeg
+ flac fluidsynth +glib gme +icu +id3tag +inotify +ipv6 jack lame mms
+ libmpdclient libsamplerate libsoxr +mad mikmod modplug mp4v2 mpg123 musepack
+ +network nfs ogg openal opus oss pipe pulseaudio recorder samba selinux sid
+ sndfile soundcloud sqlite systemd tcpd twolame unicode upnp vorbis wavpack
+ wildmidi zeroconf zip"
+
+OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
+DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod
+ modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi"
+ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
+
+REQUIRED_USE="|| ( ${OUTPUT_PLUGINS} )
+ || ( ${DECODER_PLUGINS} )
+ mp4v2? ( faad )
+ network? ( || ( ${ENCODER_PLUGINS} ) )
+ recorder? ( || ( ${ENCODER_PLUGINS} ) )
+ opus? ( ogg )"
+
+RDEPEND="!<sys-cluster/mpich2-1.4_rc2
+ dev-libs/glib:2
+ adplug? ( media-libs/adplug )
+ alsa? ( media-sound/alsa-utils
+ media-libs/alsa-lib )
+ ao? ( media-libs/libao[alsa?,pulseaudio?] )
+ audiofile? ( media-libs/audiofile )
+ bzip2? ( app-arch/bzip2 )
+ cdio? ( dev-libs/libcdio-paranoia )
+ curl? ( net-misc/curl )
+ expat? ( dev-libs/expat )
+ faad? ( media-libs/faad2 )
+ ffmpeg? ( virtual/ffmpeg )
+ flac? ( media-libs/flac[ogg?] )
+ fluidsynth? ( media-sound/fluidsynth )
+ glib? ( dev-libs/glib:2 )
+ gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 )
+ icu? ( dev-libs/icu:= )
+ id3tag? ( media-libs/libid3tag )
+ jack? ( media-sound/jack-audio-connection-kit )
+ lame? ( network? ( media-sound/lame ) )
+ libmpdclient? ( media-libs/libmpdclient )
+ libsamplerate? ( media-libs/libsamplerate )
+ mad? ( media-libs/libmad )
+ mikmod? ( media-libs/libmikmod:0 )
+ mms? ( media-libs/libmms )
+ modplug? ( media-libs/libmodplug )
+ mpg123? ( >=media-sound/mpg123-1.12.2 )
+ mp4v2? ( media-libs/libmp4v2 )
+ musepack? ( media-sound/musepack-tools )
+ network? ( >=media-libs/libshout-2
+ !lame? ( !vorbis? ( media-libs/libvorbis ) ) )
+ nfs? ( net-fs/libnfs )
+ ogg? ( media-libs/libogg )
+ openal? ( media-libs/openal )
+ opus? ( media-libs/opus )
+ pulseaudio? ( media-sound/pulseaudio )
+ samba? ( net-fs/samba[smbclient] )
+ selinux? ( sec-policy/selinux-mpd )
+ sid? ( media-libs/libsidplay:2 )
+ sndfile? ( media-libs/libsndfile )
+ soundcloud? ( >=dev-libs/yajl-2 )
+ libsoxr? ( media-libs/soxr )
+ sqlite? ( dev-db/sqlite:3 )
+ systemd? ( sys-apps/systemd )
+ tcpd? ( sys-apps/tcp-wrappers )
+ twolame? ( media-sound/twolame )
+ upnp? ( net-libs/libupnp )
+ vorbis? ( media-libs/libvorbis )
+ wavpack? ( media-sound/wavpack )
+ wildmidi? ( media-sound/wildmidi )
+ zeroconf? ( net-dns/avahi[dbus] )
+ zip? ( dev-libs/zziplib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ use network || ewarn "Icecast and Shoutcast streaming needs networking."
+ use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream."
+
+ enewuser mpd "" "" "/var/lib/mpd" audio
+
+ if use inotify; then
+ CONFIG_CHECK="~INOTIFY_USER"
+ ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
+ linux-info_pkg_setup
+ fi
+}
+
+src_prepare() {
+ DOC_CONTENTS="If you will be starting mpd via /etc/init.d/mpd, please make
+ sure that MPD's pid_file is _set_."
+
+ cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
+ epatch "${FILESDIR}"/${PN}-0.18.conf.patch
+}
+
+src_configure() {
+ local mpdconf="--enable-database --disable-roar --disable-documentation
+ --enable-dsd --enable-largefile --disable-despotify --disable-osx
+ --disable-shine-encoder --disable-solaris-output --enable-tcp
+ --enable-un --disable-werror
+ --docdir=${EPREFIX}/usr/share/doc/${PF}"
+
+ if use network; then
+ mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder)
+ --enable-httpd-output $(use_enable lame lame-encoder)
+ $(use_enable twolame twolame-encoder)
+ $(use_enable audiofile wave-encoder)"
+ else
+ mpdconf+=" --disable-shout --disable-vorbis-encoder
+ --disable-httpd-output --disable-lame-encoder
+ --disable-twolame-encoder --disable-wave-encoder"
+ fi
+
+ if use samba || use upnp; then
+ mpdconf+=" --enable-neighbor-plugins"
+ fi
+
+ append-lfs-flags
+ append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
+
+ econf \
+ $(use_enable libmpdclient) \
+ $(use_enable expat) \
+ $(use_enable upnp) \
+ $(use_enable adplug) \
+ $(use_enable alsa) \
+ $(use_enable ao) \
+ $(use_enable audiofile) \
+ $(use_enable bzip2) \
+ $(use_enable cdio cdio-paranoia) \
+ $(use_enable cdio iso9660) \
+ $(use_enable curl) \
+ $(use_enable samba smbclient) \
+ $(use_enable nfs) \
+ $(use_enable debug) \
+ $(use_enable ffmpeg) \
+ $(use_enable fifo) \
+ $(use_enable flac) \
+ $(use_enable fluidsynth) \
+ $(use_enable gme) \
+ $(use_enable id3tag id3) \
+ $(use_enable inotify) \
+ $(use_enable ipv6) \
+ $(use_enable jack) \
+ $(use_enable soundcloud) \
+ $(use_enable tcpd libwrap) \
+ $(use_enable libsamplerate lsr) \
+ $(use_enable libsoxr soxr) \
+ $(use_enable mad) \
+ $(use_enable mikmod) \
+ $(use_enable mms) \
+ $(use_enable modplug) \
+ $(use_enable mp4v2) \
+ $(use_enable musepack mpc) \
+ $(use_enable mpg123) \
+ $(use_enable openal) \
+ $(use_enable opus) \
+ $(use_enable oss) \
+ $(use_enable pipe pipe-output) \
+ $(use_enable pulseaudio pulse) \
+ $(use_enable recorder recorder-output) \
+ $(use_enable sid sidplay) \
+ $(use_enable sndfile sndfile) \
+ $(use_enable sqlite) \
+ $(use_enable systemd systemd-daemon) \
+ $(use_enable vorbis) \
+ $(use_enable wavpack) \
+ $(use_enable wildmidi) \
+ $(use_enable zip zzip) \
+ $(use_enable icu) \
+ $(use_enable glib) \
+ $(use_enable faad aac) \
+ $(use_with zeroconf zeroconf avahi) \
+ "$(systemd_with_unitdir)" \
+ ${mpdconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ insinto /etc
+ newins doc/mpdconf.dist mpd.conf
+
+ newinitd "${FILESDIR}"/${PN}2.init ${PN}
+
+ if use unicode; then
+ sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \
+ "${ED}"/etc/mpd.conf || die "sed failed"
+ fi
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotate ${PN}
+
+ use prefix || diropts -m0755 -o mpd -g audio
+ dodir /var/lib/mpd
+ keepdir /var/lib/mpd
+ dodir /var/lib/mpd/music
+ keepdir /var/lib/mpd/music
+ dodir /var/lib/mpd/playlists
+ keepdir /var/lib/mpd/playlists
+
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+
+ # also change the homedir if the user has existed before
+ usermod -d "/var/lib/mpd" mpd
+}