summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2014-12-03 15:48:52 +0000
committerChristoph Mende <angelos@gentoo.org>2014-12-03 15:48:52 +0000
commitc58784b156b6f5e96313afdc485493907699adf4 (patch)
tree4e5af1f52567cb271e4609530889a7d1344df769 /media-sound/mpd
parentVersion bump. (diff)
downloadhistorical-c58784b156b6f5e96313afdc485493907699adf4.tar.gz
historical-c58784b156b6f5e96313afdc485493907699adf4.tar.bz2
historical-c58784b156b6f5e96313afdc485493907699adf4.zip
Version bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x84F20B43
Diffstat (limited to 'media-sound/mpd')
-rw-r--r--media-sound/mpd/ChangeLog7
-rw-r--r--media-sound/mpd/Manifest20
-rw-r--r--media-sound/mpd/mpd-0.19.3.ebuild237
3 files changed, 249 insertions, 15 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog
index 94506974b45c..b83e727fa8bd 100644
--- a/media-sound/mpd/ChangeLog
+++ b/media-sound/mpd/ChangeLog
@@ -1,6 +1,11 @@
# 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.368 2014/11/11 11:27:41 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.369 2014/12/03 15:48:51 angelos Exp $
+
+*mpd-0.19.3 (03 Dec 2014)
+
+ 03 Dec 2014; Christoph Mende <angelos@gentoo.org> +mpd-0.19.3.ebuild:
+ Version bump
11 Nov 2014; Anthony G. Basile <blueness@gentoo.org> mpd-0.19.1.ebuild:
Keyword ~ppc ~ppc64, bug #525846
diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest
index a3bd45b6080e..c7f6eefb577c 100644
--- a/media-sound/mpd/Manifest
+++ b/media-sound/mpd/Manifest
@@ -12,26 +12,18 @@ DIST mpd-0.17.6.tar.bz2 585951 SHA256 9788948175157dc1c4da4a7d36e04a4b4812cb3a79
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
+DIST mpd-0.19.3.tar.xz 699940 SHA256 fee3f3c59b5806767f23f7962621be7a62d4fcb852fff6b9ed6bbb5598a556d3 SHA512 5981e6c5507170a6c67396efde70976b1c6feced82bf0bc373a303a0d69ed28b2cbce916b3c7bfa6676a03c68dd78904e33b1170357315491e359a0e2f684e5e WHIRLPOOL b872484a20cc9d1eb256c6e1fd3d65b03adf5350a1367c1f418199953bfcab58abba13be6644149788d6fc927a19531682838f8056faf08ca1440b6dd2832f97
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 6327 SHA256 8eae8657fe6019dfcacc0bdbe0c7a49ff3960ac4a1b38258f35a59191fb927db SHA512 7fc3fef69395fa86b38bdc570bd15479692216cc419330a644ee2543281679923260370446936c05b006268dc1f825b551eef4df5daa6243cb8abeb18ac99d1d WHIRLPOOL c3a5ccaf08ba99185b7ae4e740f9ae06d08aca37cc8edb1b7b894811f90118be27b859575e196fd9f8237ada6f04a3395292800ce3a2c232ff5562e3f4c2e8f6
EBUILD mpd-0.19.1.ebuild 7106 SHA256 ebc9fd97be9ac034e7b6fa1f29a58cc2145caeef9ad0d8e8019e4f30882e348c SHA512 f95431c7b526f21fd3fb67d40a828a45c1903d41e07eb38e8a742622ccefea6e12137d37539f928ae56e0034a5e6d015e62abfc49f5203f0d224cb8a185adb57 WHIRLPOOL 280c99f7a0769e6cd3d0835cfa08d1f5f93403b7fcc6c028d620057ad7b9be6d2b48d985c1daf396924b6fa19507becc580693f575d65b36278f82e66c3d7e20
-MISC ChangeLog 52223 SHA256 fdc51937a4b33a4a279e4a31b80014667db376531b41359fc6f209233ed48746 SHA512 9e022b4ec533009e6e4aa806cfec1812f10d0e38ff306478527a8df48d42a848b5bd8491c65911d92f3dfe3f3c396c6aa2d6e51468a5b07c270b58878360839c WHIRLPOOL bfd1b7d3072fcd767beb5ff913bdf71b16a97a91ec0c6f5d2e294059200f2d12dacbc86840a7a78b49e14f80380e7901dd0cb2ff889e37b7be6e69b84705415b
+EBUILD mpd-0.19.3.ebuild 7105 SHA256 d3ef483b25c704faf6b63b368e416bf45e9344eb0a6756e09d35e031baf6015a SHA512 5216757c53e4988ab38764ac6bff4ef1d45353f617091b5eb63d334961c01b951b307d6c7d9ddbc68be9d1b06f6ced6ba0cac7337ed61cae23f65dc49b348f51 WHIRLPOOL 3b115696082baec0b58a9197c411a36537cb11dd262bc9ff199491a3f345bef8231f43adea9c29ada8d036b48744d211ba9746b1941f34da6e81150b8bd6eaf3
+MISC ChangeLog 52337 SHA256 d486b0711187defaf4319542337cddb7bb409f674a8b5bb409ae15b8ea027234 SHA512 d7f328a3e840bd042a7b21aa7a0d16fd5f48d8a8e39e9e52e20959a6ddebaeedd71c209f854592682f889df9c2bac238448e9349fa974dc3f788954dba083ec4 WHIRLPOOL 9483471b039b9607b19691cd7fa61374f9bf12e883cdf5f9a7798fc1fc7f9d26f78d0237892a363b0ee2aaa0035f36cd1d2b0c5b7a5c99dcac8f0c56cfcefa39
MISC metadata.xml 2290 SHA256 378047692f81b2b526b3cfd5de4a696d90efea36c819df7268176bf719231b34 SHA512 cb25005361ee7f5087d2186e7d4e154d4cf6a06b933312abb2e14279bc34eef8d1018a9d2a1fe696fc8d7a426674f32e5131d5ea4e7a4300bd7227b052663c44 WHIRLPOOL 02bdc181c5b338d2e5eb19482cc1e7ec10b71326c6df39ae06c5ab236899d7df8839ce79ffe206ecfae603a7077abc217bf99dc40cff9539421c8abdb7ca7608
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJUYfM9AAoJEJOE+m71LUu6Y9wP/1QWod7n7EUZLv6Y2dDfbveq
-iaebLGgs9x7805Kq8QTtgBbWQzZitXO1k2q4nqlpkyi5/MpWAamRo/PLxOioBkEM
-CZtks1/eB2nYD+NamOTdOxU7xMyvb+iYP23vxwvcnM6xOlpkoM258rBkU/CUsL+Q
-MFw1TjtYPHFP8ZCjv9F+C2Nq1U26o0xf9sMtjlMsPoex3GXS5JC7KVQ7t551Qvzs
-mN/kgPOhJXS5ZXm9Jd/yzSFIMUWJhf3IqZTJOkuxyaQjwuU2igdT/l1rvMG4Oak/
-JIT0gE1lBAWyERJjhHub459P5Paw79tVasFbsEqsu6vsAUcdily8b4USyMiduL8g
-WBychIuvKlXRkmrVvur43sDb5bR2tXIjVg4UsvnXpQD/l0preEGI5Jh+Am5SduCD
-/IFAgA9/+cdufKE3GQuuvAlxQ4qUDKq5J/NbeiEKDELw83tXnfyievQA1/S5EvvS
-z8/VkYEOcHb1EiELjCIWeD0hMbyiQCSqGz1+IIVDZKlUkhcAeJkqdNHXdgRqIsdy
-+9S+ff9Xp0dHj7tv16y9MgWoCzinvmM9nWgoBHTrLwhjuuvv+hgHFtFlRnXfFr21
-jlM/YAfz8olSUSYxYEnxMYsRRwGRsaMkSkQTi/1VwCcCGXsp9tblQCHKUrCPFYCi
-Qkxp23nDPyaMRrciO82L
-=pwxb
+iF4EAREIAAYFAlR/MOQACgkQmWq1bYTyC0OLQAEAgoegxfqer8IxXgkRmZIUd4wW
+MYXTDr3uQ8KsPDuVfZABAI6pLjUJh1twNOa8ykU0Bfs3I6rCgA5fNrTLfYlEVGmY
+=0Oa5
-----END PGP SIGNATURE-----
diff --git a/media-sound/mpd/mpd-0.19.3.ebuild b/media-sound/mpd/mpd-0.19.3.ebuild
new file mode 100644
index 000000000000..35a521ff4d38
--- /dev/null
+++ b/media-sound/mpd/mpd-0.19.3.ebuild
@@ -0,0 +1,237 @@
+# 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.3.ebuild,v 1.1 2014/12/03 15:48:51 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 ~hppa ~ppc ~ppc64 ~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} )
+ ao? ( glib )
+ gme? ( glib )
+ jack? ( glib )
+ mp4v2? ( faad )
+ network? ( || ( ${ENCODER_PLUGINS} )
+ glib )
+ recorder? ( || ( ${ENCODER_PLUGINS} ) )
+ sid? ( glib )
+ soundcloud? ( glib )
+ sqlite? ( glib )
+ opus? ( ogg )
+ upnp? ( expat )
+ vorbis? ( glib )
+ wavpack? ( glib )"
+
+CDEPEND="!<sys-cluster/mpich2-1.4_rc2
+ 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] )
+ 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="${CDEPEND}
+ dev-libs/boost
+ virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-mpd )
+"
+
+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
+}