public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/mpd: metadata.xml ChangeLog mpd-0.14_beta2.ebuild mpd-0.14_alpha1.ebuild mpd-0.13.0.ebuild mpd-0.13.1.ebuild
@ 2008-12-05 22:35 Christoph Mende (angelos)
  0 siblings, 0 replies; only message in thread
From: Christoph Mende (angelos) @ 2008-12-05 22:35 UTC (permalink / raw
  To: gentoo-commits

angelos     08/12/05 22:35:37

  Modified:             metadata.xml ChangeLog
  Added:                mpd-0.14_beta2.ebuild
  Removed:              mpd-0.14_alpha1.ebuild mpd-0.13.0.ebuild
                        mpd-0.13.1.ebuild
  Log:
  Version bump and removed old
  (Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc7 x86_64)

Revision  Changes    Path
1.8                  media-sound/mpd/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/metadata.xml?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/metadata.xml?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/metadata.xml?r1=1.7&r2=1.8

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/metadata.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- metadata.xml	10 Nov 2008 16:33:06 -0000	1.7
+++ metadata.xml	5 Dec 2008 22:35:37 -0000	1.8
@@ -3,11 +3,11 @@
 <pkgmetadata>
   <herd>sound</herd>
   <maintainer>
-    <email>angelos@gentoo.org</email>
-    <name>Christoph Mende</name>
+	<email>angelos@gentoo.org</email>
+	<name>Christoph Mende</name>
   </maintainer>
   <use>
-    <flag name="icecast">Enable support for Icecast2</flag>
+	<flag name="icecast">Enable support for Icecast2</flag>
 	<flag name="id3">Support for ID3 tags</flag>
   </use>
 </pkgmetadata>



1.139                media-sound/mpd/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/ChangeLog?rev=1.139&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/ChangeLog?rev=1.139&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/ChangeLog?r1=1.138&r2=1.139

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- ChangeLog	2 Dec 2008 22:40:02 -0000	1.138
+++ ChangeLog	5 Dec 2008 22:35:37 -0000	1.139
@@ -1,6 +1,13 @@
 # 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.138 2008/12/02 22:40:02 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpd/ChangeLog,v 1.139 2008/12/05 22:35:37 angelos Exp $
+
+*mpd-0.14_beta2 (05 Dec 2008)
+
+  05 Dec 2008; Christoph Mende <angelos@gentoo.org> +files/mpdconf1.patch,
+  -files/mpd-0.14_alpha1-loglevel.patch, metadata.xml, -mpd-0.13.0.ebuild,
+  -mpd-0.13.1.ebuild, -mpd-0.14_alpha1.ebuild, +mpd-0.14_beta2.ebuild:
+  Version bump and removed old
 
   02 Dec 2008; Brent Baude <ranger@gentoo.org> mpd-0.13.2.ebuild:
   stable ppc64, bug 242128



1.1                  media-sound/mpd/mpd-0.14_beta2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.14_beta2.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpd/mpd-0.14_beta2.ebuild?rev=1.1&content-type=text/plain

Index: mpd-0.14_beta2.ebuild
===================================================================
# 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_beta2.ebuild,v 1.1 2008/12/05 22:35:37 angelos Exp $

EAPI=1

inherit flag-o-matic eutils

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 curl ffmpeg flac icecast id3 ipv6 jack lame libsamplerate mad mikmod musepack ogg oss pulseaudio sysvipc unicode vorbis wavpack zeroconf"

DEPEND="!sys-cluster/mpich2
	>=dev-libs/glib-2.4:2
	aac? ( >=media-libs/faad2-2.0_rc2 )
	alsa? ( media-sound/alsa-utils )
	ao? ( >=media-libs/libao-0.8.4 )
	audiofile? ( media-libs/audiofile )
	curl? ( net-misc/curl )
	ffmpeg? ( media-video/ffmpeg )
	flac? ( media-libs/flac )
	icecast? ( lame? ( media-libs/libshout ) )
	id3? ( media-libs/libid3tag )
	jack? ( media-sound/jack-audio-connection-kit )
	lame? ( icecast? ( media-sound/lame ) )
	libsamplerate? ( media-libs/libsamplerate )
	mad? ( media-libs/libmad )
	mikmod? ( media-libs/libmikmod )
	musepack? ( media-libs/libmpcdec )
	ogg? ( media-libs/libogg )
	pulseaudio? ( media-sound/pulseaudio )
	zeroconf? ( net-dns/avahi )
	vorbis? ( media-libs/libvorbis
		icecast? ( media-libs/libshout ) )
	wavpack? ( media-sound/wavpack )"

S="${WORKDIR}/${PN}-${PV/_/~}"

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

	if use icecast && ! use lame && ! use vorbis; then
		ewarn "USE=icecast enabled but lame and vorbis disabled,"
		ewarn "disabling icecast"
	fi

	enewuser mpd "" "" "/var/lib/mpd" audio
}

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/mpdconf1.patch
}

src_compile() {
	local myconf

	myconf=""

	if use zeroconf; then
		myconf+=" --with-zeroconf=avahi"
	else
		myconf+=" --with-zeroconf=no"
	fi

	if use ogg && use flac; then
		myconf=" --enable-oggflac --enable-libOggFLACtest"
	else
		myconf=" --disable-oggflac --disable-libOggFLACtest"
	fi

	if use icecast; then
		myconf+=" $(use_enable vorbis shout_ogg) $(use_enable lame shout_mp3)"
	else
		myconf+=" --disable-shout_ogg --disable-shout_mp3"
	fi

	append-lfs-flags

	econf \
		$(use_enable aac) \
		$(use_enable alsa) \
		$(use_enable ao) \
		$(use_enable audiofile) \
		$(use_enable curl) \
		$(use_enable ffmpeg) \
		$(use_enable flac) \
		$(use_enable id3) \
		$(use_enable ipv6) \
		$(use_enable jack) \
		$(use_enable libsamplerate lsr) \
		$(use_enable mad mp3) \
		$(use_enable mikmod mod) \
		$(use_enable musepack mpc) \
		$(use_enable oss) \
		$(use_enable pulseaudio pulse) \
		$(use_enable sysvipc un) \
		$(use_enable vorbis oggvorbis) \
		$(use_enable wavpack) \
		${myconf}

	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 NEWS README TODO UPGRADING
	dodoc 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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-05 22:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05 22:35 [gentoo-commits] gentoo-x86 commit in media-sound/mpd: metadata.xml ChangeLog mpd-0.14_beta2.ebuild mpd-0.14_alpha1.ebuild mpd-0.13.0.ebuild mpd-0.13.1.ebuild Christoph Mende (angelos)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox