From: Christoph Mende Date: Fri, 14 Oct 2011 17:06:04 +0000 (+0000) Subject: Version bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=734159b80d349a576dad18ca3d69b0caf6887fb8;p=gentoo.git Version bump Package-Manager: portage-2.1.10.27/cvs/Linux x86_64 --- diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog index 6b9ebb80bf93..d66e6595c54c 100644 --- a/media-sound/mpd/ChangeLog +++ b/media-sound/mpd/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-sound/mpd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.265 2011/09/17 00:26:14 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.266 2011/10/14 17:06:04 angelos Exp $ + + 14 Oct 2011; Christoph Mende +mpd-0.16.5.ebuild: + Version bump + +*mpd-0.16.5 (14 Oct 2011) + + 14 Oct 2011; Christoph Mende +mpd-0.16.5.ebuild: + Version bump 17 Sep 2011; Tim Harder mpd-0.16.4.ebuild, +files/mpd-0.16.4-include-stdio.patch: diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest index 4cae9a6c0e47..e4fccf605048 100644 --- a/media-sound/mpd/Manifest +++ b/media-sound/mpd/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - AUX 0.15.1-mpdconf.patch 2912 RMD160 6683618151f0f10dc94b5563a48be3729919ef08 SHA1 fc67f59f808d77332a20261525ca74bf1d67b228 SHA256 cacecca8580bce38f998a9f3fa867c274bb112a9af8c59b8dfcbd23a45d34523 AUX mpd-0.16.3-ffmpeg.patch 800 RMD160 984a98f5f7bd6a412ebb993ac2be6765f94424c9 SHA1 802ee8a3f598d82538b68674af0f82150bf1c52d SHA256 b3958db44146f11bc1f99410284c30a2739915591e92704ed83ea389c222a121 AUX mpd-0.16.4-include-stdio.patch 269 RMD160 9d4d6ca09b9fc5d55c900e5fd0ab4dfe7d4fb289 SHA1 6dfe58a99bffa616979e0ede9c357f761b247903 SHA256 25816a9a87e06063e086bc93968aea2e312bb6e6618f1b789add960aaefffe63 @@ -11,20 +8,11 @@ AUX mpd.rc 672 RMD160 278e4f59433656b930a9f35e59747681a2e4918d SHA1 06cf045b9d99 DIST mpd-0.16.2.tar.bz2 478096 RMD160 74e63fe4514eb8309bf2b2e4e4012566e14b6262 SHA1 ce0b8cd473f8acb45c06d73f41c18fc4dabbe440 SHA256 59a3c191bbfcbbbc119f4b1e44bcb62ce15e45bc4d5041153408acc3074cb1d5 DIST mpd-0.16.3.tar.bz2 477517 RMD160 860a308ec443896da43c7421db8895c5aff9bd91 SHA1 7990bad609064752175127527fcf2ecf8066e36f SHA256 58df79cfa89b365413ee720f3f605ff01a9aa32be1e176d523243954648731d2 DIST mpd-0.16.4.tar.bz2 478807 RMD160 2e06445ea09c30b0ae63c33b85875114008fd13c SHA1 b4eb52903f269e18f434ca5fc346be281ba22c4f SHA256 fa85ca6f837bdfa5ac165c674c2d8cdb77ff44b5f56fac526bc6a11211e61cfd +DIST mpd-0.16.5.tar.bz2 498034 RMD160 05563d4b72016a3adb0b1ddf5536c26df1213cad SHA1 d04b9726a9bd39451428c7c945dd30e8b552d70c SHA256 1a03ba9fd38230d79be5ee7d2b75ffeae01d738613866cdf23e74a1e1e9b73db EBUILD mpd-0.16.2.ebuild 5426 RMD160 26c1acc62728eeb9102dee0f63ef7b3f26656088 SHA1 0cc36c588c3026ddd02252c2de8abfaf20077540 SHA256 9e80b9113e43090b2eb01fa501c4220367fa738558040059a74c05e2b9175c86 EBUILD mpd-0.16.3-r1.ebuild 5472 RMD160 8241721e65c37bd0a211c18327facec83f299ec7 SHA1 cc6f0c0ed19840b23f8e1ba8444ad88692f03ca2 SHA256 f7dad7bb1a5c722fabfe3e1a50ba7a41012af1149a35060198535575d4c36b09 EBUILD mpd-0.16.4.ebuild 5478 RMD160 66cd2551048d80dae3052d075adb16e3dbeb5022 SHA1 223ead02d3ba201349fc4757aca87abd3625d834 SHA256 7ca60ee177746e36dfc977b7e98dfdb736a7a890a7c32a520cd7dc115808827a +EBUILD mpd-0.16.5.ebuild 5433 RMD160 ae9200d462aebc1ba4c2588baa317af41d7bb9ff SHA1 ed6961e7f6d59ee23f52087d25d2a6501381c051 SHA256 088729a5a364100fabf9d40ec6b68ade6edcd3255e3d8403ae21c28fca27cc46 EBUILD mpd-9999.ebuild 5492 RMD160 9cdc4093fd888d445f1b5c63c0cdf41a5a644c3d SHA1 8eb1ee71a902e8c663c8ef36da8c003ee9c2f321 SHA256 0b3f2c11cb59b7027e489035222fe0e9e77451b902b75e0f7714b7ccead95df4 -MISC ChangeLog 38538 RMD160 eca6076b2ac215cd361e5c5ec2b8171aefa22524 SHA1 06ce77d6c4046da15c1a69c14a7a3023a390aebc SHA256 92e736a5bdb59ea01f05d5399972e507589ee83d892189c451d7b00556c21572 +MISC ChangeLog 38739 RMD160 11fb4518f76ed4caab5362e811728ee3598a1c60 SHA1 1a0b60b6a71e677b40758e8822fdc60e0458b9ac SHA256 fa23487a1108d174a63eeb10cb04cd9fafcc58b2ee1d4bff41a7d1f969869a0d MISC metadata.xml 1434 RMD160 170e2d23e96fb26f832a6fa64d77f9260326e62b SHA1 02b0ce06f5fea588ed924a837d1d375fe7f2a8e9 SHA256 781c3f6bdd130a2638b390f513395447500d609682750748c13b8a7cd9d17034 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) - -iQEcBAEBCgAGBQJOc+ksAAoJEEqz6FtPBkyjoKsH/29a7Le/7/WGIXg1Ac+h15ev -ftsnh+hvl+CmBcXFSWgFQRyQZ+t/HCJ0d9yx5k7hUuETyjLdTbRX18EjUKTZAcP/ -V3zHLsXRxKgflyKD3BNMw9xpSSVgl4HehOIhMmVETMXrsSxLF4c0i5NtgmzQi1Rw -7FsK/onqim2nIAO9ZKP1BrLye+ycdkL5L/vAXEUWXGqUumfMHSn8u87NUEPVD2lS -o7Bp8NEebcCvlJPi0G18BtGdG4vHCf+XE8mqgNLmt3Nrrb7It0HIYo+w2Rk/ICnl -hJ++vTaAmriSvyExhPDmFdjjrL4V2s6P4UvK3fl56ru7Vu++hiKUOobhkez7NqY= -=244z ------END PGP SIGNATURE----- diff --git a/media-sound/mpd/mpd-0.16.5.ebuild b/media-sound/mpd/mpd-0.16.5.ebuild new file mode 100644 index 000000000000..171d2bb459f4 --- /dev/null +++ b/media-sound/mpd/mpd-0.16.5.ebuild @@ -0,0 +1,181 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.16.5.ebuild,v 1.1 2011/10/14 17:06:04 angelos Exp $ + +EAPI=4 +inherit eutils flag-o-matic linux-info multilib + +DESCRIPTION="The Music Player Daemon (mpd)" +HOMEPAGE="http://www.musicpd.org" +SRC_URI="mirror://sourceforge/musicpd/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="aac +alsa ao audiofile bzip2 cdio cue +curl debug +fifo +ffmpeg flac +fluidsynth profile +id3tag inotify ipv6 jack lame lastfmradio mms libsamplerate ++mad mikmod modplug mpg123 musepack +network ogg openal oss pipe pulseaudio sid +sndfile sqlite tcpd twolame unicode vorbis wavpack wildmidi zeroconf zip" + +REQUIRED_USE="|| ( alsa ao fifo jack network openal oss pipe pulseaudio ) + || ( aac audiofile ffmpeg flac fluidsynth mad mikmod modplug mpg123 musepack + ogg flac sid vorbis wavpack wildmidi ) + network? ( || ( audiofile flac lame twolame vorbis ) ) + lastfmradio? ( curl )" + +RDEPEND="!=media-libs/libshout-2 + !lame? ( !vorbis? ( media-libs/libvorbis ) ) ) + id3tag? ( media-libs/libid3tag ) + jack? ( media-sound/jack-audio-connection-kit ) + lame? ( network? ( media-sound/lame ) ) + mms? ( media-libs/libmms ) + libsamplerate? ( media-libs/libsamplerate ) + mad? ( media-libs/libmad ) + mikmod? ( media-libs/libmikmod ) + modplug? ( media-libs/libmodplug ) + mpg123? ( >=media-sound/mpg123-1.12.2 ) + musepack? ( media-sound/musepack-tools ) + ogg? ( media-libs/libogg ) + openal? ( media-libs/openal ) + pulseaudio? ( media-sound/pulseaudio ) + sid? ( media-libs/libsidplay:2 ) + sndfile? ( media-libs/libsndfile ) + sqlite? ( dev-db/sqlite:3 ) + tcpd? ( sys-apps/tcp-wrappers ) + twolame? ( media-sound/twolame ) + vorbis? ( media-libs/libvorbis ) + wavpack? ( media-sound/wavpack ) + wildmidi? ( media-sound/wildmidi ) + zeroconf? ( net-dns/avahi[dbus] ) + zip? ( dev-libs/zziplib )" +DEPEND="${RDEPEND} + dev-util/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() { + cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" + epatch "${FILESDIR}"/${PN}-0.16.conf.patch +} + +src_configure() { + local mpdconf="--enable-tcp --enable-un --disable-documentation + --disable-ffado --disable-gme --enable-largefile + --disable-mvp --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 flac && use ogg; then + mpdconf+=" --enable-oggflac" + else + mpdconf+=" --disable-oggflac" + fi + + append-lfs-flags + append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" + + econf \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable ao) \ + $(use_enable audiofile) \ + $(use_enable bzip2) \ + $(use_enable cdio iso9660) \ + $(use_enable cue) \ + $(use_enable curl) \ + $(use_enable debug) \ + $(use_enable ffmpeg) \ + $(use_enable fifo) \ + $(use_enable flac) \ + $(use_enable fluidsynth) \ + $(use_enable id3tag id3) \ + $(use_enable inotify) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable lastfmradio lastfm) \ + $(use_enable mms) \ + $(use_enable libsamplerate lsr) \ + $(use_enable mad) \ + $(use_enable mikmod) \ + $(use_enable modplug) \ + $(use_enable mpg123) \ + $(use_enable musepack mpc) \ + $(use_enable openal) \ + $(use_enable oss) \ + $(use_enable pipe pipe-output) \ + $(use_enable profile gprof) \ + $(use_enable pulseaudio pulse) \ + $(use_enable sid sidplay) \ + $(use_enable sndfile sndfile) \ + $(use_enable sqlite) \ + $(use_enable tcpd libwrap) \ + $(use_enable vorbis) \ + $(use_enable wavpack) \ + $(use_enable wildmidi) \ + $(use_enable zip zzip) \ + $(use_with zeroconf zeroconf avahi) \ + ${mpdconf} +} + +src_install() { + emake DESTDIR="${D}" install + + insinto /etc + newins doc/mpdconf.dist mpd.conf + + newinitd "${FILESDIR}"/mpd.init mpd + + if use unicode; then + sed -i -e 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ + "${D}"/etc/mpd.conf || die "sed failed" + fi + + 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 +} + +pkg_postinst() { + elog "If you will be starting mpd via /etc/init.d/mpd, please make" + elog "sure that MPD's pid_file is unset." + + # also change the homedir if the user has existed before + usermod -d "/var/lib/mpd" mpd +}