summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2004-10-29 08:13:23 +0000
committerBrian Harring <ferringb@gentoo.org>2004-10-29 08:13:23 +0000
commitbea475738f25c5b05ce7d92b1cd1a86fda96b2f1 (patch)
tree9f997a68bb31db589ed289133708119cb78ae1b6 /media-sound/mpd
parentbump (diff)
downloadhistorical-bea475738f25c5b05ce7d92b1cd1a86fda96b2f1.tar.gz
historical-bea475738f25c5b05ce7d92b1cd1a86fda96b2f1.tar.bz2
historical-bea475738f25c5b05ce7d92b1cd1a86fda96b2f1.zip
added default install of a couple of files, (#64558)
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.4-r21
-rw-r--r--media-sound/mpd/mpd-0.11.4-r2.ebuild85
4 files changed, 95 insertions, 2 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog
index d00bc03e9a08..82d4ba7ff791 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.47 2004/10/20 13:36:57 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.48 2004/10/29 08:13:23 ferringb Exp $
+
+*mpd-0.11.4-r2 (29 Oct 2004)
+
+ 29 Oct 2004; Brian Harring <ferringb@gentoo.org> +mpd-0.11.4-r2.ebuild:
+ Create the initial log files/directories w/ appropriate perms. (#64558)
20 Oct 2004; Guy Martin <gmsoft@gentoo.org> mpd-0.11.4-r1.ebuild:
Stable on hppa.
diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest
index 3c44eb1e274b..0427b64062e2 100644
--- a/media-sound/mpd/Manifest
+++ b/media-sound/mpd/Manifest
@@ -1,7 +1,9 @@
-MD5 448df19a94788af1b006f2380cc06bc8 ChangeLog 7664
+MD5 cc76b99f7438c847beff038ebae987ac ChangeLog 7845
MD5 ab49b3978e51630cd199bddd4321bd49 metadata.xml 221
MD5 4013c88890727287e5fe3aa3359e735c mpd-0.11.4-r1.ebuild 2436
MD5 f767a55ce84340b2ef2ea218867c2995 mpd-0.11.4.ebuild 2827
+MD5 3a2a101c1c32c02af204241ca2c91637 mpd-0.11.4-r2.ebuild 2642
MD5 59c974273bb1408f7c525f068a3bf6d5 files/digest-mpd-0.11.4 63
MD5 59c974273bb1408f7c525f068a3bf6d5 files/digest-mpd-0.11.4-r1 63
MD5 e1942b96aae7fa8cbc9b738857b5988f files/mpd.rc6 870
+MD5 59c974273bb1408f7c525f068a3bf6d5 files/digest-mpd-0.11.4-r2 63
diff --git a/media-sound/mpd/files/digest-mpd-0.11.4-r2 b/media-sound/mpd/files/digest-mpd-0.11.4-r2
new file mode 100644
index 000000000000..79b28230df37
--- /dev/null
+++ b/media-sound/mpd/files/digest-mpd-0.11.4-r2
@@ -0,0 +1 @@
+MD5 e38bbb31e07920bac90f5c6f3825aa8e mpd-0.11.4.tar.gz 1120087
diff --git a/media-sound/mpd/mpd-0.11.4-r2.ebuild b/media-sound/mpd/mpd-0.11.4-r2.ebuild
new file mode 100644
index 000000000000..da867920bb72
--- /dev/null
+++ b/media-sound/mpd/mpd-0.11.4-r2.ebuild
@@ -0,0 +1,85 @@
+# 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.4-r2.ebuild,v 1.1 2004/10/29 08:13:23 ferringb Exp $
+
+IUSE="oggvorbis mad aac audiofile ipv6 flac mikmod alsa"
+
+inherit eutils
+
+DESCRIPTION="Music Player Daemon (mpd)"
+HOMEPAGE="http://www.musicpd.org"
+SRC_URI="http://mercury.chem.pitt.edu/~shank/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 hppa ~ppc sparc x86"
+
+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"
+
+pkg_setup() {
+ enewuser mpd '' '' '' audio || die "problem adding user mpd"
+}
+
+src_compile() {
+ 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
+
+ dosed 's:^#user.*$:user "mpd":' /etc/mpd.conf
+ 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
+ diropts -m0755 -o mpd -g audio
+ dodir /usr/share/mpd/music
+ dodir /usr/share/mpd/
+ insinto /var/log
+ touch ${T}/blah
+ diropts -m0640 -o mpd -g audio
+ doins ${T}/blah mpd.log
+ doins ${T}/blah mpd.error.log
+}
+
+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 "The default config now binds the daemon strictly to localhost, rather then all available IPs."
+}