From 80cb6af94c20759421e28e8283287c93b8441770 Mon Sep 17 00:00:00 2001 From: Andrej Kacian Date: Wed, 11 Oct 2006 00:24:12 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.1.2_pre2-r5 --- media-sound/mpd/ChangeLog | 7 +- media-sound/mpd/Manifest | 22 +++-- media-sound/mpd/files/digest-mpd-0.12.1 | 3 + media-sound/mpd/mpd-0.12.1.ebuild | 126 ++++++++++++++++++++++++ 4 files changed, 150 insertions(+), 8 deletions(-) create mode 100644 media-sound/mpd/files/digest-mpd-0.12.1 create mode 100644 media-sound/mpd/mpd-0.12.1.ebuild diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog index 35f6b6d7969e..de16618c7c55 100644 --- a/media-sound/mpd/ChangeLog +++ b/media-sound/mpd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/mpd # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.83 2006/10/07 13:26:08 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.84 2006/10/11 00:24:12 ticho Exp $ + +*mpd-0.12.1 (11 Oct 2006) + + 11 Oct 2006; +mpd-0.12.1.ebuild: + Version bump. 07 Oct 2006; Andrej Kacian mpd-0.12.0.ebuild: Depend on >=flac-1.1.1. Fixes bug #149738, reported by Bill Skellenger diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest index 13d30a27f1bb..ba677258257a 100644 --- a/media-sound/mpd/Manifest +++ b/media-sound/mpd/Manifest @@ -19,6 +19,7 @@ DIST mpd-0.12.0rc1.tar.bz2 396642 RMD160 7bbd7d35d3c0c7c35e12c304a9ae5ec78ddb8fb DIST mpd-0.12.0rc2.tar.bz2 396746 RMD160 3b81ecf6f3954ac41e61432ba25cd8142e8edbaf SHA1 77846c5fefe508891487ec78d4a4c10ad0493859 SHA256 edbcdfa8dd3cdfd63fd6b5208962abb637cd4a1b7500b708ace4cab943260f0a DIST mpd-0.12.0rc3.tar.bz2 396856 RMD160 ccc75718fa1a1e861bc87341b51f5079638653f1 SHA1 ca781bbf6fca01fc1908df8f911c8fb2257465d5 SHA256 50d40854f6d94fa4d1ac38d09951146876a03e71ec28cce1ed2dca489aa2d760 DIST mpd-0.12.0rc4.tar.bz2 397210 RMD160 a4f7b0b9304005979cbf415dba2c7c4850e0c5c9 SHA1 79a0fefc59e18f3f1242be26e3ae3b778fa4b468 SHA256 a6c8492e1ba3bb271f6e33ecbd2a3efc0511ece2f7c277aadb2aa4d43effce65 +DIST mpd-0.12.1.tar.bz2 397761 RMD160 3352e60ead352bac0b4776f4b784c9f9505bc9bc SHA1 8b124bfcf4b1b2c23abd40661bd0ad0b33fadbfe SHA256 eefac7e55f86716f1f5fbc1f33688cfc8f1c8cde12b1d76b18f17144ea5285ba EBUILD mpd-0.11.5-r2.ebuild 3324 RMD160 3d426cde4d70a809ce166d935d5a40d7f89dfa81 SHA1 66762dd96755b937fbc145bf6e9fe81b76ecd121 SHA256 d2572f4f41dd31f3f93ae484105e84e33ed75817cf06d9d4d9738527a99da61f MD5 60454f9406f0a9f021bde598ab3fb0b5 mpd-0.11.5-r2.ebuild 3324 RMD160 3d426cde4d70a809ce166d935d5a40d7f89dfa81 mpd-0.11.5-r2.ebuild 3324 @@ -43,10 +44,14 @@ EBUILD mpd-0.12.0_rc4.ebuild 3488 RMD160 7d76fec02e20124eab9dc91f2de2e2c36b692ab MD5 f990d706ba8419afb98b77c952239919 mpd-0.12.0_rc4.ebuild 3488 RMD160 7d76fec02e20124eab9dc91f2de2e2c36b692abd mpd-0.12.0_rc4.ebuild 3488 SHA256 3277454fdb7cbd3fb0ecb2442207c8d2f5156229b3334f64a076c90da9b93c37 mpd-0.12.0_rc4.ebuild 3488 -MISC ChangeLog 13096 RMD160 c7be4547024cae907905ec77a068f84857b1ed07 SHA1 030de4bc05e7292732e5f282704576c3fda59515 SHA256 cb5b88adadadb07e9eee8beb4d1b4c00c3a3c25f186bfde218e81d77d29a9818 -MD5 8f831296da678ccc59272b446df0ba11 ChangeLog 13096 -RMD160 c7be4547024cae907905ec77a068f84857b1ed07 ChangeLog 13096 -SHA256 cb5b88adadadb07e9eee8beb4d1b4c00c3a3c25f186bfde218e81d77d29a9818 ChangeLog 13096 +EBUILD mpd-0.12.1.ebuild 3442 RMD160 98565b0fafa7340aae6965f80edda416a2d89b7e SHA1 79d70e09ee71ebcc784215574c931766746ac184 SHA256 d42dd1b065d457e1db5752ad7dbe1a07d1073a91241d65a700dd9cc981e4b047 +MD5 c92767dbb5ef83ddb8ae5e8d8c354397 mpd-0.12.1.ebuild 3442 +RMD160 98565b0fafa7340aae6965f80edda416a2d89b7e mpd-0.12.1.ebuild 3442 +SHA256 d42dd1b065d457e1db5752ad7dbe1a07d1073a91241d65a700dd9cc981e4b047 mpd-0.12.1.ebuild 3442 +MISC ChangeLog 13194 RMD160 a520aa08a6ff716d999a024294a7a1565b5acefb SHA1 b8458ac50c3505686386e343347713b59be88e6f SHA256 68ec99ef14ccd9f67ecd8bc3133f328cdfb0c0b22b3d41a3543fabe34378924d +MD5 a13aca7a9351f797997d92e39a568bc8 ChangeLog 13194 +RMD160 a520aa08a6ff716d999a024294a7a1565b5acefb ChangeLog 13194 +SHA256 68ec99ef14ccd9f67ecd8bc3133f328cdfb0c0b22b3d41a3543fabe34378924d ChangeLog 13194 MISC metadata.xml 252 RMD160 32292cee0438108fffaacf9d07b2b4b4f65d5b5d SHA1 3c81d53044fd315d5f10d2c46e3aa078c45d3384 SHA256 86a9454895a5e4e636f9da9f557de3525ed6e606f95ffe92ca1e79c005d3b4b9 MD5 9fd12e4e26817b28026335eff94d2fde metadata.xml 252 RMD160 32292cee0438108fffaacf9d07b2b4b4f65d5b5d metadata.xml 252 @@ -69,10 +74,13 @@ SHA256 3bf0fb5cd58403cd9b3071a65b7390f31c35fbef0d0bef598bf2c83b36194ff8 files/di MD5 b3d1df7bc351f9e0d12b2ee00b06a0b8 files/digest-mpd-0.12.0_rc4 244 RMD160 b0742cbac6ac01227f8c9365b90b8894b78ac9e1 files/digest-mpd-0.12.0_rc4 244 SHA256 1421172074ed5457b16eea9f498dee15545c5bfd0bdeebc11db6c147559f44d0 files/digest-mpd-0.12.0_rc4 244 +MD5 57188080fc165abdd4cccf308be10c1d files/digest-mpd-0.12.1 235 +RMD160 8e15c4b37c98a733439b81bc3ebe6d442fdcb99d files/digest-mpd-0.12.1 235 +SHA256 4c8759285775ccbac09920b738beac80d7ec87da489e4e3276c7f0dca6ff52e8 files/digest-mpd-0.12.1 235 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFJ6sDQlM6RnzZP+IRAqUpAJ92jO6TRsdqlEM13KeXGcjub65tXgCZAVfw -+8Z/kzPhlSfv9UUUezRkX4I= -=twvV +iD8DBQFFLDm4QlM6RnzZP+IRAkr5AKCRzaZTQzVQ6YQbl0Fmefm7/hMtOQCghIjL +kpPgORFrjClzhRoedZvkpXw= +=mUc5 -----END PGP SIGNATURE----- diff --git a/media-sound/mpd/files/digest-mpd-0.12.1 b/media-sound/mpd/files/digest-mpd-0.12.1 new file mode 100644 index 000000000000..c5fb0bb55974 --- /dev/null +++ b/media-sound/mpd/files/digest-mpd-0.12.1 @@ -0,0 +1,3 @@ +MD5 c980cf373fafacdab6734f2ebfb13cbd mpd-0.12.1.tar.bz2 397761 +RMD160 3352e60ead352bac0b4776f4b784c9f9505bc9bc mpd-0.12.1.tar.bz2 397761 +SHA256 eefac7e55f86716f1f5fbc1f33688cfc8f1c8cde12b1d76b18f17144ea5285ba mpd-0.12.1.tar.bz2 397761 diff --git a/media-sound/mpd/mpd-0.12.1.ebuild b/media-sound/mpd/mpd-0.12.1.ebuild new file mode 100644 index 000000000000..8dd10ffd8d65 --- /dev/null +++ b/media-sound/mpd/mpd-0.12.1.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.12.1.ebuild,v 1.1 2006/10/11 00:24:12 ticho Exp $ + +inherit eutils + +DESCRIPTION="A development version of Music Player Daemon (mpd)" +HOMEPAGE="http://www.musicpd.org" +SRC_URI="http://musicpd.org/uploads/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="aac alsa ao audiofile flac icecast ipv6 mp3 mikmod mp3 musepack oss +pulseaudio unicode vorbis" + +DEPEND="dev-util/gperf + !media-sound/mpd-svn + !sys-cluster/mpich2 + sys-libs/zlib + aac? ( >=media-libs/faad2-2.0_rc2 ) + alsa? ( media-sound/alsa-utils ) + ao? ( >=media-libs/libao-0.8.4 ) + audiofile? ( media-libs/audiofile ) + flac? ( >=media-libs/flac-1.1.1 ) + icecast? ( media-libs/libshout ) + mp3? ( media-libs/libmad + media-libs/libid3tag ) + mikmod? ( media-libs/libmikmod ) + musepack? ( media-libs/libmpcdec ) + pulseaudio? ( media-sound/pulseaudio ) + vorbis? ( media-libs/libvorbis )" + +upgrade_warning() { + echo + ewarn "Home directory of user mpd, as well as default locations in mpd.conf have" + ewarn "been changed to /var/lib/mpd, please bear that in mind while updating" + ewarn "your mpd.conf file." + echo + epause 5 +} + +pkg_setup() { + upgrade_warning + enewuser mpd '' '' "/var/lib/mpd" audio || die "problem adding user mpd" + + # also change the homedir if the user has existed before + usermod -d "/var/lib/mpd" mpd +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/mpd-${PV%.*}-conf.patch || die "epatch for config file + failed" +} + +src_compile() { + econf \ + $(use_enable alsa) \ + $(use_enable alsa alsatest) \ + $(use_enable oss) \ + $(use_enable mp3) \ + $(use_enable aac) \ + $(use_enable ao) \ + $(use_enable ao aotest) \ + $(use_enable audiofile) \ + $(use_enable audiofile audiofiletest) \ + $(use_enable flac libFLACtest) \ + $(use_enable flac) \ + $(use_enable flac oggflac) \ + $(use_enable icecast shout) \ + $(use_enable ipv6) \ + $(use_enable mp3) \ + $(use_enable mp3 id3) \ + $(use_enable mikmod libmikmodtest) \ + $(use_enable mikmod mod) \ + $(use_enable musepack mpc) \ + $(use_enable pulseaudio pulse) \ + $(use_enable vorbis oggvorbis) \ + $(use_enable vorbis vorbistest) \ + || 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 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-0.12.rc6 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() { + upgrade_warning + elog "If you are upgrading from 0.11.x, check the configuration file carefully," + elog "the format has changed. See the example config file installed as" + elog "/usr/share/doc/${PF}/mpdconf.example.gz, and mpd.conf manual page." + elog "" + elog "Please make sure that MPD's pid_file is set to /var/run/mpd/mpd.pid." +} -- 2.26.2