summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mpd')
-rw-r--r--media-sound/mpd/ChangeLog7
-rw-r--r--media-sound/mpd/Manifest4
-rw-r--r--media-sound/mpd/files/digest-mpd-0.11.31
-rw-r--r--media-sound/mpd/mpd-0.11.3.ebuild87
4 files changed, 97 insertions, 2 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog
index 6c965543b3df..b9019bb34e0f 100644
--- a/media-sound/mpd/ChangeLog
+++ b/media-sound/mpd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/mpd
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.39 2004/07/26 18:39:16 ferringb Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.40 2004/07/27 22:22:44 mholzer Exp $
+
+*mpd-0.11.3 (28 Jul 2004)
+
+ 28 Jul 2004; Martin Holzer <mholzer@gentoo.org> mpd-0.11.3.ebuild:
+ Version bumped.
26 Jul 2004; Brian Harring <ferringb@gentoo.org> mpd-0.11.0-r2.ebuild,
mpd-0.11.1-r2.ebuild, mpd-0.11.2-r2.ebuild:
diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest
index c6af6f0e4b4e..a37472943e43 100644
--- a/media-sound/mpd/Manifest
+++ b/media-sound/mpd/Manifest
@@ -1,9 +1,11 @@
MD5 913153602247158250d980b0731965ae ChangeLog 6542
MD5 ab49b3978e51630cd199bddd4321bd49 metadata.xml 221
+MD5 6b43fc0647741ede59e886ef6c8ba6b7 mpd-0.11.3.ebuild 2823
MD5 b2d78ed41faf3b6e13a571e2d9c7e4d5 mpd-0.11.0-r2.ebuild 2806
MD5 cee97e0408ef738782333544611c9781 mpd-0.11.1-r2.ebuild 2823
MD5 6b43fc0647741ede59e886ef6c8ba6b7 mpd-0.11.2-r2.ebuild 2823
MD5 12b5b0ad7c2d89bfa754775e3a984aad files/digest-mpd-0.11.0-r2 63
+MD5 43f2a5bef136d6572b63c1a32de542fc files/digest-mpd-0.11.3 63
+MD5 e1942b96aae7fa8cbc9b738857b5988f files/mpd.rc6 870
MD5 268d1b619a63dd6c824afc1c63b97b50 files/digest-mpd-0.11.1-r2 63
MD5 721443952b6dfa20f262595b919c626b files/digest-mpd-0.11.2-r2 63
-MD5 e1942b96aae7fa8cbc9b738857b5988f files/mpd.rc6 870
diff --git a/media-sound/mpd/files/digest-mpd-0.11.3 b/media-sound/mpd/files/digest-mpd-0.11.3
new file mode 100644
index 000000000000..1b20039a561c
--- /dev/null
+++ b/media-sound/mpd/files/digest-mpd-0.11.3
@@ -0,0 +1 @@
+MD5 f62a1ac1d026535ca2010de0893151c6 mpd-0.11.3.tar.gz 1119773
diff --git a/media-sound/mpd/mpd-0.11.3.ebuild b/media-sound/mpd/mpd-0.11.3.ebuild
new file mode 100644
index 000000000000..55a89a915aad
--- /dev/null
+++ b/media-sound/mpd/mpd-0.11.3.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.11.3.ebuild,v 1.1 2004/07/27 22:22:44 mholzer Exp $
+
+inherit eutils
+
+IUSE="oggvorbis mad aac audiofile ipv6 flac droproot mikmod alsa"
+
+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-libs/libmad
+ media-libs/libid3tag )
+ aac? ( >=media-libs/faad2-2.0_rc2 )
+ audiofile? ( media-libs/audiofile )
+ flac? ( >=media-libs/flac-1.1.0 )
+ mikmod? ( media-libs/libmikmod )
+ alsa? ( media-libs/alsa-lib )
+ >=media-libs/libao-0.8.4
+ sys-libs/zlib"
+
+src_compile() {
+ #flip on/off the support, and test.
+ econf `use_enable aac` \
+ `use_enable oggvorbis ogg` \
+ `use_enable oggvorbis oggtest` \
+ `use_enable oggvorbis vorbistest` \
+ `use_enable audiofile` \
+ `use_enable audiofile audiofiletest` \
+ `use_enable ipv6` \
+ `use_enable flac libFLACtest` \
+ `use_enable flac` \
+ `use_enable !mad mpd-mad` \
+ `use_enable !mad id3tag` \
+ `use_enable mikmod libmikmodtest` \
+ `use_enable mikmod mod` || 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
+
+ if use droproot; then
+ dosed 's:^#user.*$:user "mpd":' /etc/mpd.conf
+ fi
+ dosed 's:^#bind.*$:bind_to_address "localhost":' /etc/mpd.conf
+ dosed 's:^port.*$:port "6600":' /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_preinst() {
+ if use droproot; then
+ echo "adding user"
+ enewuser mpd '' '' '' audio || die "problem adding user mpd"
+ fi
+}
+
+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."
+ einfo
+ einfo "There have been a few changes to the default config as of late for security reason."
+ einfo "If the use flag droproot is enabled, mpd runs as user mpd rather then root; this will be a default"
+ einfo "in later versions, rather then enabled via use flag."
+ einfo
+ einfo "Also, the default config now binds the daemon strictly to localhost, rather then all available IPs."
+}