From: Andrej Kacian Date: Tue, 20 Mar 2007 23:53:08 +0000 (+0000) Subject: Version bump. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3bd1bf423f2bcb4edacdf21a1f290637d86e8a66;p=gentoo.git Version bump. Package-Manager: portage-2.1.2.2 --- diff --git a/media-sound/mpd/ChangeLog b/media-sound/mpd/ChangeLog index 7514a24c12a7..689926840c48 100644 --- a/media-sound/mpd/ChangeLog +++ b/media-sound/mpd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/mpd # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.93 2007/02/20 18:42:04 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.94 2007/03/20 23:53:08 ticho Exp $ + +*mpd-0.12.2 (20 Mar 2007) + + 20 Mar 2007; Andrej Kacian +mpd-0.12.2.ebuild: + Version bump. 20 Feb 2007; Markus Rothe mpd-0.12.1.ebuild: Added ~ppc64 diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest index 7b2c488343c5..245d7e009780 100644 --- a/media-sound/mpd/Manifest +++ b/media-sound/mpd/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX mpd-0.12-conf.patch 2034 RMD160 6cd9198056b813e8c6015275db800fc99da63f6f SHA1 e7321b8125088cc77bffa2553fbd9783da4d242f SHA256 b7ed811c9e72d5ff18a0fe27845dc8a52259ffcfcde14306a00b390dbfaebc7e MD5 14008de3b007a1fd65dd073ca2ab1aa8 files/mpd-0.12-conf.patch 2034 RMD160 6cd9198056b813e8c6015275db800fc99da63f6f files/mpd-0.12-conf.patch 2034 @@ -8,6 +11,7 @@ RMD160 2b5ccd3a9cdf02118a1d0e72705b7fec11440709 files/mpd-0.12.rc6 669 SHA256 e5193c77e4c66b59112f560a6fd498473ac6712c893af802234b544a4a1dfd04 files/mpd-0.12.rc6 669 DIST mpd-0.12.0.tar.bz2 397497 RMD160 834f7d16a319abf504825066dce065689fd25415 SHA1 2818d9544e2f9124cc2879fce75e7a2c03dafd3c SHA256 89a89a13c8d65d8488887d57cb4b87c6b0cb0d4d31e31cb836c73b1d45dbc5b1 DIST mpd-0.12.1.tar.bz2 397761 RMD160 3352e60ead352bac0b4776f4b784c9f9505bc9bc SHA1 8b124bfcf4b1b2c23abd40661bd0ad0b33fadbfe SHA256 eefac7e55f86716f1f5fbc1f33688cfc8f1c8cde12b1d76b18f17144ea5285ba +DIST mpd-0.12.2.tar.bz2 396894 RMD160 f8d56e052a0ca799165f2184cdc4c6f80f4db54a SHA1 789cfda24c682695155e34907edf31c2b52c8eaa SHA256 45b62783595ccd6c24f49be9c366eac4273b1378fb6add89dd978518362090a5 EBUILD mpd-0.12.0.ebuild 3441 RMD160 1be705d6e757b53bf3c6dcbce94da6baed85446d SHA1 39943664e9f8fe85a6e4e71d2c02acef5064375e SHA256 836582d9842b65bb241cb312e6453ab22e364229581210457997dc44ef745a73 MD5 e70282545f4ada9a40735469c0116583 mpd-0.12.0.ebuild 3441 RMD160 1be705d6e757b53bf3c6dcbce94da6baed85446d mpd-0.12.0.ebuild 3441 @@ -16,10 +20,14 @@ EBUILD mpd-0.12.1.ebuild 3452 RMD160 3a74d21daad7c42aac8525e36846cf4c1b75d618 SH MD5 435a909f2d0a4344cceadf4b5ba95a17 mpd-0.12.1.ebuild 3452 RMD160 3a74d21daad7c42aac8525e36846cf4c1b75d618 mpd-0.12.1.ebuild 3452 SHA256 0f74ea3de3a852ed86ead93249f6e852fd478a0805d0fe16dc1297d6129f22f6 mpd-0.12.1.ebuild 3452 -MISC ChangeLog 14540 RMD160 a0ff76e4a27bd9daec53ccb1a19e0854a48483a5 SHA1 f6c5d3afaccec19acf15f877093a59cfc0fb180f SHA256 277e8f3422e0dbdeb19c20142dcecac1f5b5bc0db9365d891c112dabee4f446b -MD5 151b900ddce6a08bc6cd305a5b6c2130 ChangeLog 14540 -RMD160 a0ff76e4a27bd9daec53ccb1a19e0854a48483a5 ChangeLog 14540 -SHA256 277e8f3422e0dbdeb19c20142dcecac1f5b5bc0db9365d891c112dabee4f446b ChangeLog 14540 +EBUILD mpd-0.12.2.ebuild 3466 RMD160 f0ce05571eb90138e12c7c2166905e871e299595 SHA1 b49cd963d17332cb78a803687fbf17f1a2fe7793 SHA256 5ec5fb5f4263b14018a1395ceaf1df6b93b6aef6c48a100ed9c949556ae1e8da +MD5 13521dcefe4f6714ce06a7ec617d5ae2 mpd-0.12.2.ebuild 3466 +RMD160 f0ce05571eb90138e12c7c2166905e871e299595 mpd-0.12.2.ebuild 3466 +SHA256 5ec5fb5f4263b14018a1395ceaf1df6b93b6aef6c48a100ed9c949556ae1e8da mpd-0.12.2.ebuild 3466 +MISC ChangeLog 14650 RMD160 bcce90b4c30316aba3433d8dc90320adf45fb3c8 SHA1 c10997d5e8381933a96cca638d77e1c1f09c288a SHA256 35f8c2281016d340a780a21273b6e97ef39c28aa75e4ad9c23ceb2bf17fd8b0c +MD5 d97bbd04c5740e009e673a72c00e9424 ChangeLog 14650 +RMD160 bcce90b4c30316aba3433d8dc90320adf45fb3c8 ChangeLog 14650 +SHA256 35f8c2281016d340a780a21273b6e97ef39c28aa75e4ad9c23ceb2bf17fd8b0c ChangeLog 14650 MISC metadata.xml 252 RMD160 32292cee0438108fffaacf9d07b2b4b4f65d5b5d SHA1 3c81d53044fd315d5f10d2c46e3aa078c45d3384 SHA256 86a9454895a5e4e636f9da9f557de3525ed6e606f95ffe92ca1e79c005d3b4b9 MD5 9fd12e4e26817b28026335eff94d2fde metadata.xml 252 RMD160 32292cee0438108fffaacf9d07b2b4b4f65d5b5d metadata.xml 252 @@ -30,3 +38,13 @@ SHA256 5b7c8adfe74ea59598cb464c76e3c5ea2adf5e69ba785494ab2524f4e1a7deda files/di 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 +MD5 1bea757e747b0d7f3b59dddf53429f80 files/digest-mpd-0.12.2 235 +RMD160 6139d2c1b9dd68facc0b8fa4018abe15b38c7993 files/digest-mpd-0.12.2 235 +SHA256 8d159e7a7ddead47f9bbeab89b9a8d15bb998adeb82c9b6f01eac06906fdc005 files/digest-mpd-0.12.2 235 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFGAHPqQlM6RnzZP+IRAlV1AJsHsEMmCeLJXYFda/dXqDTFTrkeDQCgiIk4 +QVpH0nl7A4LLJ05/x6mnFXo= +=J3lU +-----END PGP SIGNATURE----- diff --git a/media-sound/mpd/files/digest-mpd-0.12.2 b/media-sound/mpd/files/digest-mpd-0.12.2 new file mode 100644 index 000000000000..c8391bdcf426 --- /dev/null +++ b/media-sound/mpd/files/digest-mpd-0.12.2 @@ -0,0 +1,3 @@ +MD5 22f1240afdfac5c32056c2a0f3b3a02f mpd-0.12.2.tar.bz2 396894 +RMD160 f8d56e052a0ca799165f2184cdc4c6f80f4db54a mpd-0.12.2.tar.bz2 396894 +SHA256 45b62783595ccd6c24f49be9c366eac4273b1378fb6add89dd978518362090a5 mpd-0.12.2.tar.bz2 396894 diff --git a/media-sound/mpd/mpd-0.12.2.ebuild b/media-sound/mpd/mpd-0.12.2.ebuild new file mode 100644 index 000000000000..474db15d6c4c --- /dev/null +++ b/media-sound/mpd/mpd-0.12.2.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/mpd-0.12.2.ebuild,v 1.1 2007/03/20 23:53:08 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 ~arm ~hppa ~ppc ~ppc64 ~sh ~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.2 ) + 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 "In 0.12, home directory of user mpd, as well as default locations in mpd.conf" + ewarn "have 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." +}