summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2008-11-30 19:23:45 +0000
committerChristoph Mende <angelos@gentoo.org>2008-11-30 19:23:45 +0000
commit76a2bfcb117adef9caf2351df64f8ca1cf1054b5 (patch)
tree358a4f3af70e5e23eb5758a6baef672575b5f00e /media-sound
parentRemove obsolete versions. (diff)
downloadhistorical-76a2bfcb117adef9caf2351df64f8ca1cf1054b5.tar.gz
historical-76a2bfcb117adef9caf2351df64f8ca1cf1054b5.tar.bz2
historical-76a2bfcb117adef9caf2351df64f8ca1cf1054b5.zip
Version bump
Package-Manager: portage-2.2_rc16/cvs/Linux 2.6.28-rc6-00007-ged31348 x86_64
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/mpd/ChangeLog7
-rw-r--r--media-sound/mpd/Manifest10
-rw-r--r--media-sound/mpd/mpd-0.14_beta1.ebuild152
3 files changed, 164 insertions, 5 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog
index b4775d2c9ce2..741625acade5 100644
--- a/media-sound/mpd/ChangeLog
+++ b/media-sound/mpd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/mpd
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.135 2008/11/14 11:53:47 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.136 2008/11/30 19:23:45 angelos Exp $
+
+*mpd-0.14_beta1 (30 Nov 2008)
+
+ 30 Nov 2008; Christoph Mende <angelos@gentoo.org> +mpd-0.14_beta1.ebuild:
+ Version bump
14 Nov 2008; Alexis Ballier <aballier@gentoo.org> mpd-0.14_alpha1.ebuild:
fixup econf call (missing backslash)
diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest
index 1e1f3f60e2ff..a5654c102559 100644
--- a/media-sound/mpd/Manifest
+++ b/media-sound/mpd/Manifest
@@ -8,16 +8,18 @@ DIST mpd-0.13.0.tar.bz2 410927 RMD160 cce5507070c3ccc58f2d8ad6330cd6adff91a747 S
DIST mpd-0.13.1.tar.bz2 435425 RMD160 30416258a750c4238443c5d2fe895bcb70fa9daa SHA1 0a760bafb608ea5ecde28433dfef8f25a4a12a56 SHA256 678ce25c57c10afdfafe9e88d5d5100ba1bba112a82f1a044b1f1d0472e6960e
DIST mpd-0.13.2.tar.bz2 413347 RMD160 39825142d8f19ca04d7a2e025b59043a8adb53fa SHA1 3b826bc75c314e6db6715a978c9b405775d3478c SHA256 d98db80ec0bba7d4a82a8aecff965f6887f7b055ad064d8d5ccb55cc614cdfb5
DIST mpd-0.14_alpha1.tar.bz2 326436 RMD160 c116872c8119ae0961d0034cc071def4fed62559 SHA1 fb97ced101892f460a299dda47fd1343013e58cd SHA256 3b8fb57194926da004c8f46bc5828fa66c406137689261e8d24b644bbaae01e4
+DIST mpd-0.14_beta1.tar.bz2 282741 RMD160 c49a140d74b98b895e6093e95fa9b680cf548c77 SHA1 103c5b0495230363f484a2dbbb4f98cd4c0b3106 SHA256 f2b253fbc8d6c14effaeabb8b00d21b381a36dafb61cf56163c415b4a0941797
EBUILD mpd-0.13.0.ebuild 3701 RMD160 b075d4030edbac302f6eca50ae5c487ce13f5f2e SHA1 128fee8146368fc1f04f1e35d5f34cab7da6a15e SHA256 d22c19776da3f7823ea64e7532384c14fb4e3ce32ca16c575acb8f923ed0b39e
EBUILD mpd-0.13.1.ebuild 3702 RMD160 55da67178ab6d17b4a1f990e7258c5b1a469dc6e SHA1 dc7c90d83abab447f84183fb46c56293ae03d155 SHA256 1f904c1a9fea3e8d17b14aab80eccb9acf5a986754669b9aafdce4d80173b118
EBUILD mpd-0.13.2.ebuild 3701 RMD160 ccea9e368d68fd8d9eeb64ed39b23905613177c0 SHA1 5edade24e22f98f9d23710939ea5daf0c6004b76 SHA256 066c46f41dd6edf49aa01f8ebf57af52148d16c2f586864b68ddcf0e4b462146
EBUILD mpd-0.14_alpha1.ebuild 4023 RMD160 72916412f7741964706a3637d13b820c3e5975f3 SHA1 eb6e78a42501defb984a4b7a9fbd984b774c4b2e SHA256 933543010d3ce3a00ba7bf07736da83efeea833ff1eab7c10db3cabae41d03f6
-MISC ChangeLog 20889 RMD160 b657ed6605215321f534678834cf780c79c55a13 SHA1 6648ca818b1de433334c668a0b639eb1b47c6191 SHA256 f862b00288c42d3ae158f64de62b84efa14bfa771fa82b8325a4ba79faaad7db
+EBUILD mpd-0.14_beta1.ebuild 3983 RMD160 2752ade32a0377192b63c91e77e2c8a04a90a34d SHA1 4f0cb0b9a1f400260f54990bfb0d486396b4db56 SHA256 ce8acdb2c63a1bc0bad3f9b2d81ff92ef99a255eb5a8c17ba513703a31309d4b
+MISC ChangeLog 21011 RMD160 7d3358a41f33c442e432025bfb40a686c0b30616 SHA1 803cd31aba49602074c99f2d16b8a088d82e3279 SHA256 9c254a60f60147a72c8258410d5ec224fbcb1e40a44c59251a336827b40b6058
MISC metadata.xml 385 RMD160 be2001d9b9400c5b6a277d9d651dc6c513a110a6 SHA1 79fdb8b82643ebf3250f320af394c1451e72e6c3 SHA256 4f06e5aeb5dd3503b96d9ac1b0b50d03db319e5ec550fd8ecc3720ef66d05e7b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkkdZtEACgkQvFcC4BYPU0r18wCfR9u1AobNfhx4h0HISpycHkRx
-7oMAoMbCf0pJ/HvQkhfi3GXcAv7v9omj
-=/aQT
+iEYEARECAAYFAkky6EkACgkQKhnDs22gwa+r7wCg09MUTNRqgm41FHmmG8iEQBpw
+a+gAoOfeFUbsuAlQ9TRlcntUe64bdmND
+=4JQM
-----END PGP SIGNATURE-----
diff --git a/media-sound/mpd/mpd-0.14_beta1.ebuild b/media-sound/mpd/mpd-0.14_beta1.ebuild
new file mode 100644
index 000000000000..9c2c88a8b1e1
--- /dev/null
+++ b/media-sound/mpd/mpd-0.14_beta1.ebuild
@@ -0,0 +1,152 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.14_beta1.ebuild,v 1.1 2008/11/30 19:23:45 angelos Exp $
+
+EAPI=1
+
+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 ffmpeg flac icecast id3 ipv6 jack lame libsamplerate mad mikmod musepack ogg oss pulseaudio sysvipc unicode vorbis wavpack zeroconf"
+
+DEPEND="!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 )
+ icecast? ( lame? ( 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 )
+ zeroconf? ( net-dns/avahi )
+ vorbis? ( media-libs/libvorbis
+ icecast? ( media-libs/libshout ) )
+ wavpack? ( media-sound/wavpack )"
+
+S="${WORKDIR}/${PN}-${PV/_/~}"
+
+pkg_setup() {
+ if use ogg && use flac && ! built_with_use media-libs/flac ogg; then
+ eerror "To be able to play OggFlac files you need to build"
+ eerror "media-libs/flac with +ogg, to build libOggFLAC."
+ die "Missing libOggFLAC library."
+ fi
+
+ 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_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/mpdconf.patch
+}
+
+src_compile() {
+ local myconf
+
+ myconf=""
+
+ if use zeroconf; then
+ myconf+=" --with-zeroconf=avahi"
+ else
+ myconf+=" --with-zeroconf=no"
+ fi
+
+ if use ogg && use flac; then
+ myconf=" --enable-oggflac --enable-libOggFLACtest"
+ else
+ myconf=" --disable-oggflac --disable-libOggFLACtest"
+ fi
+
+ if use icecast; then
+ myconf+=" $(use_enable vorbis shout_ogg) $(use_enable lame shout_mp3)"
+ else
+ myconf+=" --disable-shout_ogg --disable-shout_mp3"
+ fi
+
+ append-lfs-flags
+
+ econf \
+ $(use_enable aac) \
+ $(use_enable alsa) \
+ $(use_enable ao) \
+ $(use_enable audiofile) \
+ $(use_enable curl) \
+ $(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) \
+ $(use_enable sysvipc un) \
+ $(use_enable vorbis oggvorbis) \
+ $(use_enable wavpack) \
+ ${myconf}
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ dodir /var/run/mpd
+ fowners mpd:audio /var/run/mpd
+ fperms 750 /var/run/mpd
+ keepdir /var/run/mpd
+
+ emake install DESTDIR="${D}" || die
+ rm -rf "${D}"/usr/share/doc/mpd/
+ dodoc AUTHORS NEWS README TODO UPGRADING
+ dodoc doc/COMMANDS doc/mpdconf.example
+
+ 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
+ fi
+ diropts -m0755 -o mpd -g audio
+ 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
+
+ use alsa && \
+ dosed 's:need :need alsasound :' /etc/init.d/mpd
+}
+
+pkg_postinst() {
+ elog "If you will be starting mpd via /etc/init.d/mpd initscript, 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
+}