diff options
author | Christoph Mende <angelos@gentoo.org> | 2009-10-30 16:40:35 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2009-10-30 16:40:35 +0000 |
commit | 40afe4a1daa6ca4d8014c30f050a62ac63782b39 (patch) | |
tree | 3f8332450b9cece39bb9d4aed9da304c881a480e /media-sound | |
parent | add missing doc to IUSE (diff) | |
download | historical-40afe4a1daa6ca4d8014c30f050a62ac63782b39.tar.gz historical-40afe4a1daa6ca4d8014c30f050a62ac63782b39.tar.bz2 historical-40afe4a1daa6ca4d8014c30f050a62ac63782b39.zip |
Version bump
Package-Manager: portage-2.1.7.1/cvs/Linux x86_64
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mpd/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/mpd/Manifest | 4 | ||||
-rw-r--r-- | media-sound/mpd/mpd-0.15.5.ebuild | 159 |
3 files changed, 168 insertions, 2 deletions
diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog index f56dc2ed9270..462ea6e302f1 100644 --- a/media-sound/mpd/ChangeLog +++ b/media-sound/mpd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/mpd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.186 2009/10/17 10:07:33 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.187 2009/10/30 16:40:35 angelos Exp $ + +*mpd-0.15.5 (30 Oct 2009) + + 30 Oct 2009; Christoph Mende <angelos@gentoo.org> +mpd-0.15.5.ebuild: + Version bump 17 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> mpd-0.15.ebuild, mpd-0.15.3.ebuild: diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest index 1d9073f3f1fa..6977ae95528a 100644 --- a/media-sound/mpd/Manifest +++ b/media-sound/mpd/Manifest @@ -2,8 +2,10 @@ AUX 0.15.1-mpdconf.patch 2912 RMD160 6683618151f0f10dc94b5563a48be3729919ef08 SH AUX 0.15_beta2-mpdconf.patch 3125 RMD160 4e48dfaee8d7fbb9b0615efb19b223c74f0b0b34 SHA1 45df89770e81e74eae18a8ae6f9ab66671320c95 SHA256 706ff3f0f46ab3d71fd29f1c16b781dfd44dee5cde8091b52ccd2f2fd9af0058 AUX mpd.rc 672 RMD160 278e4f59433656b930a9f35e59747681a2e4918d SHA1 06cf045b9d994aff0653f085761871e44fe3aebc SHA256 6b0c65dc4394108b3720afdc865f8692aa80c94ed12f351dce5f11537ffd84a8 DIST mpd-0.15.3.tar.bz2 386521 RMD160 9d33e2ad3cd524428e1e786276f70a50a6c08456 SHA1 f53f984d8ffcc58d83268f30afb11b8342118d22 SHA256 b829b592667ec29da050b44da5fa343c3f008ea9c721a84150110f68d83e6584 +DIST mpd-0.15.5.tar.bz2 388223 RMD160 fcf0007952a09a1c4f711af87eaffc86d7d9ef31 SHA1 11dd020363d0c1ba1aa883d074a6c0e1d9df09fd SHA256 c1ccbc7976d923b46ebf2c1d4a8eaca2694fac04fc343228184a168d65978dbf DIST mpd-0.15.tar.bz2 385833 RMD160 abb0fb12aa0d8c0f7e6f13f3ec9cba24e1f6e09e SHA1 05707b007a2fd51885aa301922c0ac15dcbf9c86 SHA256 38d4c4073e81585c0f0b1a3b4909f7fecd0305de90f373a9a1c087090e6ddc20 EBUILD mpd-0.15.3.ebuild 4924 RMD160 9a24531367191eafa37a6b01f4355c73aad0cf76 SHA1 50e2d8284e26d83cabb52c8615d404543e61b94f SHA256 2b25fd6348b7a14dbbccf950f204a449bd42500e000aaaba68e6c3ec39c54b90 +EBUILD mpd-0.15.5.ebuild 4922 RMD160 a207c8a01cd603c71e8a33ae5f69bd72fc8b31a5 SHA1 294eadfb014bd37ed4eeebad2b1693b7f78635dc SHA256 2210ec9ed4f5832b9d1f6ea443c71eb8df1bf43dcced4c88c1be2ca129dc93d8 EBUILD mpd-0.15.ebuild 4920 RMD160 5520d170bfd917380571306aa0dd7cb5d910c8e8 SHA1 86d32184850f893c3420e8be727e527a1b993b50 SHA256 9109705734c8abeb241eedce9d244fc686d59239738d86c4f4f12adf0431b81f -MISC ChangeLog 28026 RMD160 1385eb56c407796f9cfcad116bc004dca5c5364e SHA1 780f6da6a7641e76b5ad91ba3561fa54af988387 SHA256 cb12ae925da5a818cef54e2f0376694fbdad251f319fc8ebae7689d86911894f +MISC ChangeLog 28139 RMD160 6de9b59cb1e8ed576044af30a4deec457f3c8ba7 SHA1 9a7a2882ab861deaf4fc2b5cb41538755b2e4376 SHA256 bef587e97f0c4cc63dd888d7e9770b9e8930a9448b2dc4698373f52b98315dee MISC metadata.xml 1102 RMD160 88cdb7b7217f759eb993ff82589c74115213add4 SHA1 3ddf0689c3e5d2afc7371cad27c7f873aab5cb9f SHA256 4fe3d580f53a860190580caad66ed95ca02f05ea21228983d83ca26418410206 diff --git a/media-sound/mpd/mpd-0.15.5.ebuild b/media-sound/mpd/mpd-0.15.5.ebuild new file mode 100644 index 000000000000..55f913fe9ad0 --- /dev/null +++ b/media-sound/mpd/mpd-0.15.5.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.15.5.ebuild,v 1.1 2009/10/30 16:40:35 angelos Exp $ + +EAPI=2 +inherit eutils flag-o-matic multilib + +DESCRIPTION="The Music Player Daemon (mpd)" +HOMEPAGE="http://www.musicpd.org" +SRC_URI="mirror://sourceforge/musicpd/${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 bzip2 cdio cue +curl debug +fifo +ffmpeg flac +fluidsynth profile +id3 ipv6 jack lame lastfmradio libmms libsamplerate +mad +mikmod modplug musepack +network ogg oss pipe pulseaudio sid sqlite unicode +vorbis wavpack zip" + +RDEPEND="!sys-cluster/mpich2 + >=dev-libs/glib-2.4:2 + aac? ( >=media-libs/faad2-2 ) + alsa? ( media-sound/alsa-utils ) + ao? ( >=media-libs/libao-0.8.4[alsa?,pulseaudio?] ) + audiofile? ( media-libs/audiofile ) + bzip2? ( app-arch/bzip2 ) + cdio? ( dev-libs/libcdio ) + cue? ( >=media-libs/libcue-0.13 ) + curl? ( net-misc/curl ) + ffmpeg? ( media-video/ffmpeg ) + flac? ( media-libs/flac[ogg?] ) + fluidsynth? ( media-sound/fluidsynth ) + network? ( >=media-libs/libshout-2 + !lame? ( !vorbis? ( media-libs/libvorbis ) ) ) + id3? ( media-libs/libid3tag ) + jack? ( media-sound/jack-audio-connection-kit ) + lame? ( network? ( media-sound/lame ) ) + libmms? ( >=media-libs/libmms-0.4 ) + libsamplerate? ( media-libs/libsamplerate ) + mad? ( media-libs/libmad ) + mikmod? ( media-libs/libmikmod ) + modplug? ( media-libs/libmodplug ) + musepack? ( >=media-sound/musepack-tools-444 ) + ogg? ( media-libs/libogg ) + pulseaudio? ( media-sound/pulseaudio ) + sid? ( >=media-libs/libsidplay-2.1.1-r2:2 ) + sqlite? ( dev-db/sqlite:3 ) + vorbis? ( media-libs/libvorbis ) + wavpack? ( media-sound/wavpack ) + avahi? ( net-dns/avahi ) + zip? ( dev-libs/zziplib )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +pkg_setup() { + use network || ewarn "Icecast and Shoutcast streaming needs networking." + use fluidsynth && ewarn "Using fluidsynth is discouraged by upstream." + + enewuser mpd "" "" "/var/lib/mpd" audio +} + +src_prepare() { + cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed" + epatch "${FILESDIR}"/0.15.1-mpdconf.patch +} + +src_configure() { + use profile && filter-flags -fomit-frame-pointer + + local mpdconf="--enable-tcp --enable-un --disable-wildmidi + --disable-libOggFLACtest --disable-documentation" + + if use network; then + mpdconf+=" --enable-shout $(use_enable vorbis vorbis-encoder) + --enable-httpd-output $(use_enable lame lame-encoder)" + if ! use lame && ! use vorbis; then + ewarn "At least one encoder is required, enabling vorbis for you." + mpdconf+=" --enable-vorbis-encoder" + fi + else + mpdconf+=" --disable-shout --disable-vorbis-encoder + --disable-httpd-output --disable-lame-encoder" + fi + + if use flac && use ogg; then + mpdconf+=" --enable-oggflac" + else + mpdconf+=" --disable-oggflac" + fi + + append-lfs-flags + append-ldflags "-L/usr/$(get_libdir)/sidplay/builders" + + cd "${S}" + + econf \ + $(use_enable ipv6) $(use_enable cue) \ + $(use_enable sqlite) $(use_enable curl) \ + $(use_enable lastfmradio lastfm) $(use_enable libmms mms) \ + $(use_enable bzip2) $(use_enable zip) \ + $(use_enable cdio iso9660) $(use_enable id3) \ + $(use_enable audiofile) $(use_enable ffmpeg) \ + $(use_enable flac) $(use_enable mad) \ + $(use_enable mikmod) $(use_enable modplug) \ + $(use_enable musepack mpc) $(use_enable vorbis) \ + $(use_enable sid sidplay) $(use_enable fluidsynth) \ + $(use_enable wavpack) $(use_enable libsamplerate lsr) \ + $(use_enable alsa) $(use_enable ao) \ + $(use_enable fifo) $(use_enable pipe pipe-output) \ + $(use_enable jack) $(use_enable oss) \ + $(use_enable pulseaudio pulse) $(use_enable aac) \ + $(use_enable debug) $(use_enable profile gprof) \ + $(use_with avahi zeroconf avahi) \ + ${mpdconf} +} + +src_install() { + dodir /var/run/mpd + fowners mpd:audio /var/run/mpd + fperms 750 /var/run/mpd + keepdir /var/run/mpd + + emake DESTDIR="${D}" install || die "emake install failed" + rm -rf "${D}"/usr/share/doc/mpd + + dodoc AUTHORS NEWS README UPGRADING doc/mpdconf.dist + + 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 || die "dosed failed" + fi + + diropts -m0755 -o mpd -g audio + dodir /var/lib/mpd + keepdir /var/lib/mpd + 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 + + if use alsa; then + dosed 's:need :need alsasound :' /etc/init.d/mpd || die "dosed failed" + fi +} + +pkg_postinst() { + elog "If you will be starting mpd via /etc/init.d/mpd, 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 +} |