diff options
author | Christoph Mende <angelos@gentoo.org> | 2009-01-18 23:59:47 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2009-01-18 23:59:47 +0000 |
commit | dc45079eafe9ee148f4d4512339a04f9d01002f9 (patch) | |
tree | 12af6cfce7b1a09e79deb40106297b51eaa1b030 | |
parent | Version bump. Gives binary invert operation higher precedence and translation... (diff) | |
download | historical-dc45079eafe9ee148f4d4512339a04f9d01002f9.tar.gz historical-dc45079eafe9ee148f4d4512339a04f9d01002f9.tar.bz2 historical-dc45079eafe9ee148f4d4512339a04f9d01002f9.zip |
Version bump
Package-Manager: portage-2.2_rc22/cvs/Linux 2.6.29-rc2 x86_64
-rw-r--r-- | media-sound/mpd/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/mpd/Manifest | 10 | ||||
-rw-r--r-- | media-sound/mpd/mpd-0.14.1.ebuild | 161 |
3 files changed, 173 insertions, 5 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog index b0a41bfc0f0c..a2b1b312c82d 100644 --- a/media-sound/mpd/ChangeLog +++ b/media-sound/mpd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/mpd # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.150 2009/01/14 18:21:34 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.151 2009/01/18 23:59:47 angelos Exp $ + +*mpd-0.14.1 (18 Jan 2009) + + 18 Jan 2009; Christoph Mende <angelos@gentoo.org> +mpd-0.14.1.ebuild: + Version bump 14 Jan 2009; Christoph Mende <angelos@gentoo.org> mpd-0.14.ebuild: Removed sysvipc USE flag, always enabled now, bug 254911 diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest index 90c665f87b3d..a599b1ff1a59 100644 --- a/media-sound/mpd/Manifest +++ b/media-sound/mpd/Manifest @@ -5,15 +5,17 @@ AUX mpd.rc 659 RMD160 56b7161cb0310a25c0164cd2abeeba13a9c60625 SHA1 bafa73ef8310 AUX mpdconf.patch 2034 RMD160 6cd9198056b813e8c6015275db800fc99da63f6f SHA1 e7321b8125088cc77bffa2553fbd9783da4d242f SHA256 b7ed811c9e72d5ff18a0fe27845dc8a52259ffcfcde14306a00b390dbfaebc7e AUX mpdconf1.patch 2835 RMD160 db96c64f9ca1f7ab74ab3a0d1205a32b4bb7c755 SHA1 70a087a8de4b6abd185cb223d738db1f5544b9d8 SHA256 b31d7f3d426b9183b354cedeb1757f05c0ad7724a97c8c1bc7cc75cbfcac80cc DIST mpd-0.13.2.tar.bz2 413347 RMD160 39825142d8f19ca04d7a2e025b59043a8adb53fa SHA1 3b826bc75c314e6db6715a978c9b405775d3478c SHA256 d98db80ec0bba7d4a82a8aecff965f6887f7b055ad064d8d5ccb55cc614cdfb5 +DIST mpd-0.14.1.tar.bz2 286850 RMD160 b3ae29717f22e4e7bf03a0356b6ca3a0c96bbb60 SHA1 e87424caafca366c15744a31cbc34197474862f9 SHA256 b7e1fc95701a84583077def6e1c507e2bfb759aa42e04d1eca498094bf0fc694 DIST mpd-0.14.tar.bz2 286017 RMD160 a9719ce539cd3a0cee7222f751b2566334a7d96d SHA1 e9de568ffd9c1d414ffaca6f84671891bfe03158 SHA256 0276e88162f6722f27ea4aa0dcd1d6cf4ebc3b535151f9e1b89ace8fc9b282db EBUILD mpd-0.13.2.ebuild 3742 RMD160 b1da179dd33276c8bbe89f25841857d720cd8f54 SHA1 c5d49608c3bf36fd067c60496c418895df10c92e SHA256 84cb728fbb51fceb26134727416986dfccde829e9213f9d21a25fd49f1f91572 +EBUILD mpd-0.14.1.ebuild 4516 RMD160 4a9265d02ca3e7511609d49b203d171e53aad6eb SHA1 b4a493f677e002e7ab85d7169f7a82bff4ea0671 SHA256 d6ba2012b9d4faa3d76980435d299e5dead59055831ba5a235cf1afc98918987 EBUILD mpd-0.14.ebuild 4514 RMD160 846783a93fbcc6d0233838ff4250e5ec5cfab711 SHA1 16bd5b180f77527e85d0c53c16987df6c7bc0a47 SHA256 52c08e2cbcfe70746b6b0bc1ecedc99a517cb04b81709d2996f1cfef6461e88c -MISC ChangeLog 22972 RMD160 b55a3ea4adcf59399eb32b53dfa8c375d139a694 SHA1 3c8b0a93ee28ead1e76614ffa37b860c6e090491 SHA256 eb85991b2f29a7d9a69c53ceea0c1e351b6ff83d603926341e253a48d50a1fb0 +MISC ChangeLog 23087 RMD160 396866a21e37caf2c739a38dc377a831e835b3fa SHA1 e91c8073e2341032bef43ed7de20c10668d166da SHA256 7816e9cd5118df8d01161a1b35e1e7ca3e9c20e1be6e645b434dc423d77e4179 MISC metadata.xml 376 RMD160 912f0c343887855312c7fd9867cba6b23291cec0 SHA1 3f59b493d6350cb20817bdb95d2283d96f8a9f50 SHA256 4db97047d3e3398f6ff4a8d7c581de110ebdd21c0f8dd64492a7e4cbbbbba853 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkluLTgACgkQKhnDs22gwa8/ZQCg4v0/t+CzCTyI3pXUBZiS1X9T -tdAAoIH0LaH3MUdDMPOX9upc35kqOKcz -=ybzs +iEYEARECAAYFAklzwn8ACgkQKhnDs22gwa/m5wCcC0wxQTp866OMsPeeRKU+UZTT +YRYAnRY/ZJvNcWVz591Y58ilgZtCKwkX +=mVcK -----END PGP SIGNATURE----- diff --git a/media-sound/mpd/mpd-0.14.1.ebuild b/media-sound/mpd/mpd-0.14.1.ebuild new file mode 100644 index 000000000000..232ac27cd561 --- /dev/null +++ b/media-sound/mpd/mpd-0.14.1.ebuild @@ -0,0 +1,161 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.14.1.ebuild,v 1.1 2009/01/18 23:59:47 angelos Exp $ + +EAPI=2 + +inherit flag-o-matic eutils + +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 curl debug doc ffmpeg flac icecast id3 ipv6 jack lame libsamplerate mad mikmod musepack ogg oss pulseaudio unicode vorbis wavpack zeroconf" + +RDEPEND="!sys-cluster/mpich2 + >=dev-libs/glib-2.4:2 + aac? ( >=media-libs/faad2-2.0_rc2 ) + alsa? ( media-sound/alsa-utils ) + ao? ( >=media-libs/libao-0.8.4 ) + audiofile? ( media-libs/audiofile ) + curl? ( net-misc/curl ) + ffmpeg? ( media-video/ffmpeg ) + flac? ( media-libs/flac + ogg? ( media-libs/flac[ogg] ) ) + icecast? ( lame? ( media-libs/libshout ) + vorbis? ( media-libs/libshout ) ) + id3? ( media-libs/libid3tag ) + jack? ( media-sound/jack-audio-connection-kit ) + lame? ( icecast? ( media-sound/lame ) ) + libsamplerate? ( media-libs/libsamplerate ) + mad? ( media-libs/libmad ) + mikmod? ( media-libs/libmikmod ) + musepack? ( media-libs/libmpcdec ) + ogg? ( media-libs/libogg ) + pulseaudio? ( media-sound/pulseaudio ) + vorbis? ( media-libs/libvorbis ) + wavpack? ( media-sound/wavpack ) + zeroconf? ( net-dns/avahi )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-text/xmlto )" + +pkg_setup() { + if use icecast && ! use lame && ! use vorbis; then + ewarn "USE=icecast enabled but lame and vorbis disabled," + ewarn "disabling icecast" + fi + + enewuser mpd "" "" "/var/lib/mpd" audio +} + +src_prepare() { + cp doc/mpdconf.example doc/mpdconf.dist + epatch "${FILESDIR}"/mpdconf1.patch +} + +src_configure() { + local myconf="" + + if ! use alsa && ! use ao && ! use icecast && ! use jack && ! use oss && \ + ! use pulseaudio; then + eerror "You did not enable any output backend." + einfo "Please enable one of the following USE flags:" + einfo "USE=alsa - output via ALSA" + einfo "USE=ao - output via media-libs/libao" + einfo "USE=icecast - output via net-misc/icecast" + einfo "USE=jack - output via media-sound/jack-audio-connection-kit" + einfo "USE=oss - output via OSS" + einfo "USE=pulseaudio - output via media-sound/pulseaudio" + die "No audio output enabled" + fi + + if use icecast; then + myconf+=" $(use_enable vorbis shout_ogg) $(use_enable lame shout_mp3) + $(use_enable lame lametest) $(use_enable lame)" + else + myconf+=" --disable-shout_ogg --disable-shout_mp3 --disable-lametest + --disable-lame" + fi + + if use ogg && use flac; then + myconf+=" --enable-oggflac --enable-libOggFLACtest" + else + myconf+=" --disable-oggflac --disable-libOggFLACtest" + fi + + append-lfs-flags + + econf \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable ao) \ + $(use_enable audiofile) \ + $(use_enable curl) \ + $(use_enable debug) \ + $(use_enable ffmpeg) \ + $(use_enable flac) \ + $(use_enable id3) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable libsamplerate lsr) \ + $(use_enable mad mp3) \ + $(use_enable mikmod mod) \ + $(use_enable musepack mpc) \ + $(use_enable oss) \ + $(use_enable pulseaudio pulse) \ + --enable-un \ + $(use_enable vorbis oggvorbis) \ + $(use_enable wavpack) \ + $(use_with zeroconf zeroconf avahi) \ + ${myconf} +} + +src_install() { + dodir /var/run/mpd + fowners mpd:audio /var/run/mpd + fperms 750 /var/run/mpd + keepdir /var/run/mpd + + emake DESTDIR="${D}" install || die "emake install failed" + rm -rf "${D}"/usr/share/doc/mpd/ + + dodoc AUTHORS NEWS README TODO UPGRADING + dodoc doc/mpdconf.dist + use doc && dohtml doc/protocol.html + + insinto /etc + newins doc/mpdconf.example mpd.conf + + newinitd "${FILESDIR}"/mpd.rc mpd + + if use unicode; then + dosed 's:^#filesystem_charset.*$:filesystem_charset "UTF-8":' \ + /etc/mpd.conf || die "dosed 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 + dodir /var/log/mpd + keepdir /var/log/mpd + + if use alsa; then + dosed 's:need :need alsasound :' /etc/init.d/mpd || die "dosed failed" + fi +} + +pkg_postinst() { + elog "If you will be starting mpd via /etc/init.d/mpd, please make" + elog "sure that MPD's pid_file is set to /var/run/mpd/mpd.pid." + + # also change the homedir if the user has existed before + usermod -d "/var/lib/mpd" mpd +} |