diff options
author | Christoph Mende <angelos@gentoo.org> | 2008-11-03 15:14:39 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2008-11-03 15:14:39 +0000 |
commit | a8d5e9455ce61884d402f0876153b6f8890736dc (patch) | |
tree | 37a6712ee66526000d7b153da3e3594f8d9cdc64 /media-sound | |
parent | Version bump. (diff) | |
download | historical-a8d5e9455ce61884d402f0876153b6f8890736dc.tar.gz historical-a8d5e9455ce61884d402f0876153b6f8890736dc.tar.bz2 historical-a8d5e9455ce61884d402f0876153b6f8890736dc.zip |
New snapshot for bug 230661
Package-Manager: portage-2.2_rc13/cvs/Linux 2.6.28-rc3 x86_64
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mpd/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/mpd/Manifest | 14 | ||||
-rw-r--r-- | media-sound/mpd/mpd-0.14.0_pre20081103.ebuild | 137 |
3 files changed, 157 insertions, 2 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog index c307ee2af380..dc1f885450d4 100644 --- a/media-sound/mpd/ChangeLog +++ b/media-sound/mpd/ChangeLog @@ -1,6 +1,12 @@ # 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.129 2008/10/18 16:56:16 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.130 2008/11/03 15:14:39 angelos Exp $ + +*mpd-0.14.0_pre20081103 (03 Nov 2008) + + 03 Nov 2008; Christoph Mende <angelos@gentoo.org> + +mpd-0.14.0_pre20081103.ebuild: + New snapshot for bug 230661 18 Oct 2008; nixnut <nixnut@gentoo.org> mpd-0.13.2.ebuild: Stable on ppc wrt bug 242128 diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest index 3307706d95b9..47673a269155 100644 --- a/media-sound/mpd/Manifest +++ b/media-sound/mpd/Manifest @@ -1,12 +1,24 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX mpd.rc 659 RMD160 56b7161cb0310a25c0164cd2abeeba13a9c60625 SHA1 bafa73ef83107a606f27e1a0c11761cb56eb72bd SHA256 c5895f9124474dfbec572d69dd31bc54c0c46d3bcf2ddd0c0e67c182af025664 AUX mpdconf.patch 2034 RMD160 6cd9198056b813e8c6015275db800fc99da63f6f SHA1 e7321b8125088cc77bffa2553fbd9783da4d242f SHA256 b7ed811c9e72d5ff18a0fe27845dc8a52259ffcfcde14306a00b390dbfaebc7e DIST mpd-0.13.0.tar.bz2 410927 RMD160 cce5507070c3ccc58f2d8ad6330cd6adff91a747 SHA1 5d69d5ec6da8e4a26797017f682e54789691395c SHA256 84ed71327eb733d7e7521eceee89b235b909456bae923eba100d84b51df14a89 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.0_pre20081015.tar.bz2 463385 RMD160 e848508ed3efa2b9fe1be89eaaa6cc1111ce2c4c SHA1 097e7dc03116a2f46b72b227b13f67931f19dc91 SHA256 7d77e07ff7f192bfe759b432f2f6853be5091ac263c739474401857e5e17b5ab +DIST mpd-0.14.0_pre20081103.tar.bz2 401584 RMD160 cc9a1c59f6fcb527765a58afa88b947da03403fd SHA1 04ba6ef65fb227fa8364e63953e046a6276c7592 SHA256 421ce54b5fc322314e399901f485b51df81d5c72e85d4f446bd9fa0b7068d510 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 3703 RMD160 8b1a0a86c91108a668ec7836e3ef0e122bc6ce3f SHA1 de2861d89ccd9e7bdd36e2f9f38974881991fb0f SHA256 bb9e4940b4113d8a2252be8addf8e4218e25a03c1ea16aa71480c4eae83ac0b7 EBUILD mpd-0.14.0_pre20081015.ebuild 3767 RMD160 6a7ceb61f94df57f4f22a3ea7e662469368dec4f SHA1 81f9a43fd900361a32459a199be02dc9c8a1eb40 SHA256 5a62e212ee015846d8dbfbbef55dbfe0de6229c3bdf7c999dba2d23ed7a6818a -MISC ChangeLog 19619 RMD160 e108295f4f6cf6677fb6c642dec015390f6c753f SHA1 99c081fd50989efdc90a46a4f6381e458a4f8d59 SHA256 126de1d81bd0361489424bee86722c5b0d551d0835082b15e8b88c3cca7de63f +EBUILD mpd-0.14.0_pre20081103.ebuild 3767 RMD160 57b71a1d9d7ac4526e056b2bdd8599bdc8cfdb0d SHA1 43fa16a803163797211de776b9fbc1d8275c9de3 SHA256 a070ffbd6a406b46e05b77609a71249ecdbac4e449437cabba05158e2dca3a08 +MISC ChangeLog 19776 RMD160 65739f71f969809e0a81d3ec01117ef78d7e3cff SHA1 99cdd82d769b8ef25b95d53332116758e689e69c SHA256 e365a2b34799d1c1e96de792696afab4168851ede2fe30cc3bbd5765f6193418 MISC metadata.xml 339 RMD160 4cacc5b8dde301314d9d4455ed0fe88d376091ab SHA1 99d4b79763665d2e64dc14ea76b2c189f7210be9 SHA256 a9a824502f0043532587486fe4bc620d920e008c56b7e3e344f3a11256bb51d0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkkPFWcACgkQKhnDs22gwa99XgCZAa6CmbCUxIvKfeduJd26wDLm +8ikAoNjbvIOy/hiLxAWsgsKWmkwaQf1o +=+yOV +-----END PGP SIGNATURE----- diff --git a/media-sound/mpd/mpd-0.14.0_pre20081103.ebuild b/media-sound/mpd/mpd-0.14.0_pre20081103.ebuild new file mode 100644 index 000000000000..298e31cc6d74 --- /dev/null +++ b/media-sound/mpd/mpd-0.14.0_pre20081103.ebuild @@ -0,0 +1,137 @@ +# 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.0_pre20081103.ebuild,v 1.1 2008/11/03 15:14:39 angelos Exp $ + +inherit eutils + +DESCRIPTION="The Music Player Daemon (mpd)" +HOMEPAGE="http://www.musicpd.org" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="aac alsa ao audiofile avahi flac icecast iconv ipv6 jack libsamplerate mp3 mikmod musepack ogg oss pulseaudio unicode vorbis wavpack" + +DEPEND="!sys-cluster/mpich2 + aac? ( >=media-libs/faad2-2.0_rc2 ) + alsa? ( media-sound/alsa-utils ) + ao? ( >=media-libs/libao-0.8.4 ) + audiofile? ( media-libs/audiofile ) + avahi? ( net-dns/avahi ) + flac? ( media-libs/flac ) + icecast? ( media-libs/libshout ) + iconv? ( virtual/libiconv ) + jack? ( media-sound/jack-audio-connection-kit ) + libsamplerate? ( media-libs/libsamplerate ) + mp3? ( media-libs/libmad + media-libs/libid3tag ) + mikmod? ( media-libs/libmikmod ) + musepack? ( media-libs/libmpcdec ) + ogg? ( media-libs/libogg ) + pulseaudio? ( media-sound/pulseaudio ) + vorbis? ( media-libs/libvorbis ) + wavpack? ( media-sound/wavpack )" + +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 + + enewuser mpd "" "" "/var/lib/mpd" audio +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/mpdconf.patch || die "epatch for config file failed" +} + +src_compile() { + local myconf + + myconf="" + + if use avahi; then + myconf="${myconf} --with-zeroconf=avahi" + else + myconf="${myconf} --with-zeroconf=no" + fi + + if use ogg && use flac; then + myconf="${myconf} --enable-oggflac --enable-libOggFLACtest" + else + myconf="${myconf} --disable-oggflac --disable-libOggFLACtest" + fi + + econf \ + $(use_enable aac) \ + $(use_enable alsa) \ + $(use_enable alsa alsatest) \ + $(use_enable ao) \ + $(use_enable ao aotest) \ + $(use_enable audiofile) \ + $(use_enable audiofile audiofiletest) \ + $(use_enable flac) \ + $(use_enable flac libFLACtest) \ + $(use_enable icecast shout) \ + $(use_enable iconv) \ + $(use_enable ipv6) \ + $(use_enable jack) \ + $(use_enable libsamplerate lsr) \ + $(use_enable mp3) \ + $(use_enable mp3 id3) \ + $(use_enable mikmod mod) \ + $(use_enable mikmod libmikmodtest) \ + $(use_enable musepack mpc) \ + $(use_enable oss) \ + $(use_enable ogg oggtest) \ + $(use_enable pulseaudio pulse) \ + $(use_enable vorbis oggvorbis) \ + $(use_enable vorbis vorbistest) \ + $(use_enable wavpack) \ + ${myconf} || die "could not configure" + + 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 ChangeLog INSTALL 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 +} |