summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-05-26 18:56:21 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-05-26 18:56:21 +0000
commit2c71ca84537177134a837ff878ffef0d40928831 (patch)
tree6d66ac0da6797c56d03931744386be076e1103e3 /media-sound/mpd
parentadd -m32 to the list of allowed flags on x86 so that -march=k8 and -mtune=k8 ... (diff)
downloadgentoo-2-2c71ca84537177134a837ff878ffef0d40928831.tar.gz
gentoo-2-2c71ca84537177134a837ff878ffef0d40928831.tar.bz2
gentoo-2-2c71ca84537177134a837ff878ffef0d40928831.zip
Version bumped.
Diffstat (limited to 'media-sound/mpd')
-rw-r--r--media-sound/mpd/ChangeLog7
-rw-r--r--media-sound/mpd/Manifest6
-rw-r--r--media-sound/mpd/files/digest-mpd-0.10.41
-rw-r--r--media-sound/mpd/mpd-0.10.4.ebuild64
4 files changed, 75 insertions, 3 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog
index 5d09d50a4ee3..3b4db8adc11d 100644
--- a/media-sound/mpd/ChangeLog
+++ b/media-sound/mpd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/mpd
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.27 2004/05/24 22:04:03 ferringb Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.28 2004/05/26 18:56:21 mholzer Exp $
+
+*mpd-0.10.4 (26 May 2004)
+
+ 26 May 2004; Martin Holzer <mholzer@gentoo.org> mpd-0.10.4.ebuild:
+ Version bumped.
*mpd-0.9.4-r1 (24 May 2004)
diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest
index 9480a977f0ec..a131db11a524 100644
--- a/media-sound/mpd/Manifest
+++ b/media-sound/mpd/Manifest
@@ -1,7 +1,9 @@
MD5 f8a680515b3714554c80af443be1f7f1 ChangeLog 4143
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
-MD5 b23693f9344820d5f0eefa12bdbb2bb4 mpd-0.10.3-r1.ebuild 1932
MD5 3a82f703941ebed688a50b4194558dd4 mpd-0.9.4-r1.ebuild 1676
-MD5 b26df5fab168ac4c9bca171911b4dc8c files/digest-mpd-0.9.4-r1 62
+MD5 6db622d196a0a42e5e1ecfa5b63ac9d7 mpd-0.10.4.ebuild 1919
+MD5 b23693f9344820d5f0eefa12bdbb2bb4 mpd-0.10.3-r1.ebuild 1932
MD5 727c4148fc9939fdbb4ba6770d2b1249 files/digest-mpd-0.10.3-r1 62
+MD5 b26df5fab168ac4c9bca171911b4dc8c files/digest-mpd-0.9.4-r1 62
MD5 db666a8ec9423c6c881827c23e41ecdf files/mpd.rc6 869
+MD5 c211dd1fcfbc2b64395fd728cc572621 files/digest-mpd-0.10.4 62
diff --git a/media-sound/mpd/files/digest-mpd-0.10.4 b/media-sound/mpd/files/digest-mpd-0.10.4
new file mode 100644
index 000000000000..f0e8afb0129f
--- /dev/null
+++ b/media-sound/mpd/files/digest-mpd-0.10.4
@@ -0,0 +1 @@
+MD5 6f9bbcffb2e79d851b91478a1f28ad67 mpd-0.10.4.tar.gz 815439
diff --git a/media-sound/mpd/mpd-0.10.4.ebuild b/media-sound/mpd/mpd-0.10.4.ebuild
new file mode 100644
index 000000000000..56001717c3ca
--- /dev/null
+++ b/media-sound/mpd/mpd-0.10.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.10.4.ebuild,v 1.1 2004/05/26 18:56:21 mholzer Exp $
+
+IUSE="oggvorbis mad aac audiofile ipv6 flac"
+
+DESCRIPTION="Music Player Daemon (mpd)"
+SRC_URI="mirror://sourceforge/musicpd/${P}.tar.gz"
+HOMEPAGE="http://www.musicpd.org"
+
+KEYWORDS="~x86 ~amd64 ~sparc"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="oggvorbis? ( media-libs/libvorbis )
+ mad? ( media-sound/madplay )
+ aac? ( >=media-libs/faad2-2.0_rc2 )
+ audiofile? ( media-libs/audiofile )
+ flac? ( >=media-libs/flac-1.1.0 )
+ media-libs/libid3tag
+ >=media-libs/libao-0.8.4
+ sys-libs/zlib"
+
+src_compile() {
+ local myconf
+
+ use oggvorbis \
+ || myconf="${myconf} --disable-ogg --disable-oggtest \
+ --disable-vorbistest"
+ use mad || myconf="${myconf} --enable-mpd-mad --enable-mpd-id3tag"
+
+ econf `use_enable aac` \
+ `use_enable audiofile` \
+ `use_enable ipv6` \
+ `use_enable flac` \
+ ${myconf} || die "could not configure"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR=${D} || die
+ rm -rf ${D}/usr/share/doc/mpd/
+ dodoc COPYING ChangeLog INSTALL README TODO UPGRADING
+ dodoc doc/COMMANDS doc/mpdconf.example
+
+ insinto /etc
+ newins doc/mpdconf.example mpd.conf
+
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/mpd.rc6 mpd
+
+ dosed 's:^port.*$:port "2100":' /etc/mpd.conf
+ dosed 's:^music_directory.*$:music_directory "/usr/share/mpd/music":' /etc/mpd.conf
+ dosed 's:^playlist_directory.*$:playlist_directory "/usr/share/mpd/playlists":' /etc/mpd.conf
+ dosed 's:^log_file.*$:log_file "/var/log/mpd.log":' /etc/mpd.conf
+ dosed 's:^error_file.*$:error_file "/var/log/mpd.error.log":' /etc/mpd.conf
+}
+
+pkg_postinst() {
+ einfo "libao prior to 0.8.4 has issues with the ALSA drivers"
+ einfo "please refer to the FAQ"
+ einfo "http://musicpd.sourceforge.net/faq.php if you are having problems."
+}