diff options
author | Martin Holzer <mholzer@gentoo.org> | 2004-08-08 13:17:50 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2004-08-08 13:17:50 +0000 |
commit | 15c46d7c54feacc6935003ba84da4659df6ea972 (patch) | |
tree | 4210b43b510047c53e2e3c7aa756d0c2cd098ce4 /media-sound/mpd | |
parent | Stable on alpha. (Manifest recommit) (diff) | |
download | gentoo-2-15c46d7c54feacc6935003ba84da4659df6ea972.tar.gz gentoo-2-15c46d7c54feacc6935003ba84da4659df6ea972.tar.bz2 gentoo-2-15c46d7c54feacc6935003ba84da4659df6ea972.zip |
Version bumped. Closes 58022
Diffstat (limited to 'media-sound/mpd')
-rw-r--r-- | media-sound/mpd/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/mpd/Manifest | 10 | ||||
-rw-r--r-- | media-sound/mpd/files/digest-mpd-0.11.4 | 1 | ||||
-rw-r--r-- | media-sound/mpd/mpd-0.11.4.ebuild | 87 |
4 files changed, 100 insertions, 5 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog index b9019bb34e0f..1f8984c3fc39 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.40 2004/07/27 22:22:44 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.41 2004/08/08 13:17:50 mholzer Exp $ + +*mpd-0.11.4 (08 Aug 2004) + + 08 Aug 2004; Martin Holzer <mholzer@gentoo.org> +mpd-0.11.4.ebuild: + Version bumped. Closes 58022 *mpd-0.11.3 (28 Jul 2004) diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest index 51f985dddc3a..363c0381b90b 100644 --- a/media-sound/mpd/Manifest +++ b/media-sound/mpd/Manifest @@ -1,11 +1,13 @@ -MD5 61f060096738b08887a6e78ffdda9f48 ChangeLog 6656 +MD5 502961c32dafdf8f9a7c352f0b843b74 ChangeLog 6785 MD5 ab49b3978e51630cd199bddd4321bd49 metadata.xml 221 -MD5 50121b6de1f3e801fb4f7f8b1f04c002 mpd-0.11.3.ebuild 2819 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 50121b6de1f3e801fb4f7f8b1f04c002 mpd-0.11.3.ebuild 2819 +MD5 dd52c4f76513835145ab3e4c249d9871 mpd-0.11.4.ebuild 2826 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 43f2a5bef136d6572b63c1a32de542fc files/digest-mpd-0.11.3 63 +MD5 e1942b96aae7fa8cbc9b738857b5988f files/mpd.rc6 870 +MD5 59c974273bb1408f7c525f068a3bf6d5 files/digest-mpd-0.11.4 63 diff --git a/media-sound/mpd/files/digest-mpd-0.11.4 b/media-sound/mpd/files/digest-mpd-0.11.4 new file mode 100644 index 000000000000..79b28230df37 --- /dev/null +++ b/media-sound/mpd/files/digest-mpd-0.11.4 @@ -0,0 +1 @@ +MD5 e38bbb31e07920bac90f5c6f3825aa8e mpd-0.11.4.tar.gz 1120087 diff --git a/media-sound/mpd/mpd-0.11.4.ebuild b/media-sound/mpd/mpd-0.11.4.ebuild new file mode 100644 index 000000000000..e057a7a07f9a --- /dev/null +++ b/media-sound/mpd/mpd-0.11.4.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.4.ebuild,v 1.1 2004/08/08 13:17:50 mholzer Exp $ + +inherit eutils + +IUSE="oggvorbis mad aac audiofile ipv6 flac droproot mikmod alsa" + +DESCRIPTION="Music Player Daemon (mpd)" +SRC_URI="http://mercury.chem.pitt.edu/~shank/${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." +} |