[proaudio] [1986] Package bump.

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1986
Author:   emery
Date:     2011-06-01 19:56:40 +0200 (Wed, 01 Jun 2011)
Log Message:
-----------
Package bump. Initscript patch was committed to upstream.

(Portage version: 2.1.9.42/svn/Linux i686, RepoMan options: --force)

Modified Paths:
--------------
    trunk/overlays/proaudio/media-radio/rivendell/ChangeLog
    trunk/overlays/proaudio/media-radio/rivendell/Manifest

Added Paths:
-----------
    trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.2.ebuild

Removed Paths:
-------------
    trunk/overlays/proaudio/media-radio/rivendell/files/initscript.patch
    trunk/overlays/proaudio/media-radio/rivendell/files/rivendell-initscript-r1.patch
    trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1-r1.ebuild
    trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1-r2.ebuild
    trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1.ebuild

Modified: trunk/overlays/proaudio/media-radio/rivendell/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/ChangeLog	2011-05-25 20:03:15 UTC (rev 1985)
+++ trunk/overlays/proaudio/media-radio/rivendell/ChangeLog	2011-06-01 17:56:40 UTC (rev 1986)
@@ -2,6 +2,14 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*rivendell-2.0.2 (01 Jun 2011)
+
+  01 Jun 2011; Emery Hemingway <emery@xxxxxxxxx> -rivendell-2.0.1.ebuild,
+  -rivendell-2.0.1-r1.ebuild, -rivendell-2.0.1-r2.ebuild,
+  +rivendell-2.0.2.ebuild, -files/initscript.patch,
+  -files/rivendell-initscript-r1.patch:
+  Package bump. Initscript patch was committed to upstream.
+
 *rivendell-2.0.1-r2 (02 May 2011)
 
   02 May 2011; Emery Hemingway <emery@xxxxxxxxx> +rivendell-2.0.1-r2.ebuild:

Modified: trunk/overlays/proaudio/media-radio/rivendell/Manifest
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/Manifest	2011-05-25 20:03:15 UTC (rev 1985)
+++ trunk/overlays/proaudio/media-radio/rivendell/Manifest	2011-06-01 17:56:40 UTC (rev 1986)
@@ -1,9 +1,5 @@
-AUX initscript.patch 773 RMD160 dacb60a287448502de5b4854b8e60eadbbe36061 SHA1 e84b3b5f490176ed4c0af10318eae9db5ae5f4b0 SHA256 6a8b57a99eaf450aafa5a4c4943c6907bcde5144478d938f83b1c7ca83858179
-AUX rivendell-initscript-r1.patch 2172 RMD160 511c51c0a65c4286d8beae33d6e4bafa017c0ec1 SHA1 728ce444ffb0273c60b5c0a6c614c62d39754292 SHA256 2404c3111f104432ed85ee004af85e98ad89abc16f40594256e91ed0ce29f3f2
 AUX sandbox.patch 1730 RMD160 f53714899cfa2521713d7825e19fd8a3ef9aa04f SHA1 42c7b989f8435fa87038751fa1883c0357613b6e SHA256 9e2d0cd5184c8fac65fd24a1ffe2588d321fa1879d5f12516cf1237590f95032
-DIST rivendell-2.0.1.tar.gz 2510586 RMD160 e787b9f46ef26a45d8b2df65de92d8d4d7662a92 SHA1 82214fc029babd7ada9774e13937602c5b03edd2 SHA256 b3a91159d4f25b2c6ae0bdd45b526ac4f3987c2fbb8f442724742df00496085f
-EBUILD rivendell-2.0.1-r1.ebuild 2657 RMD160 820179510beaf9052b920aae343562a6cd6ef667 SHA1 e9eee7a81cd02d47924ac025a9ed1798a762cdbc SHA256 02cc431443ae92449209a0330ba7d18f152c5be226eafaf83a5986b5e0f70ecc
-EBUILD rivendell-2.0.1-r2.ebuild 2498 RMD160 a47da7b36d7baeb8dc728d8359108f93042d20af SHA1 da635e245978b182b9b2ae1bb0fd08e4e3d44d0a SHA256 651fbc865ccc00a6af570cb2c00252fcbf5f09178b9efe1749a2fa92a7105a3c
-EBUILD rivendell-2.0.1.ebuild 2648 RMD160 2c1d2cdbbf6b5c152cf31e18cc1486149dcbab08 SHA1 68d1c05ca4fc75c5b8547449bb26c454c01ae561 SHA256 dbdaf835aec4d4263a78f8b8093f02b63287a1f051e7b6f5a4ba9efa3923f1ff
-MISC ChangeLog 3209 RMD160 f6b574aaaeb41a2ee3e5549af4974942a21ba25e SHA1 ff01d15734dcf72db79652c98617dda753864d66 SHA256 62c0b995fffed348aedf67ed55d1ae3c2566c27f5765477d945e2ba7c1d9079b
+DIST rivendell-2.0.2.tar.gz 2428668 RMD160 b1e41de96525c5fbae98e93f85c746a4b39bdd92 SHA1 55a762d9d4d5adbefb68e4d59c5b104cc1aba227 SHA256 2851318002c4ac571311c1a73ede5c19a33850eb95414469c4cef1e1f08e1527
+EBUILD rivendell-2.0.2.ebuild 2450 RMD160 57efffeadae23eea52f87e6917d8e06e3e356382 SHA1 09093fc6832b070c3aa3eefd5501e16b0d44300d SHA256 6cb3561252f34bdb77665c65001d0b49db0cd598c819d4943a5f9bcc5f830ea3
+MISC ChangeLog 3526 RMD160 024e16c336e926d7ebeafb3bc24c12c5a777a033 SHA1 d42a5e70c133cf9a7d5c819bab04f0bc06691a65 SHA256 c1831932fe67d4dcefcfafbcbfe6913b8ee7a6afb5c5320724128b65db01d15a
 MISC metadata.xml 1114 RMD160 1258b026ab51d639fd876a72c03974550ccf20bc SHA1 01472a094a074df3c38e84eb17bbd3a3d04463bf SHA256 8cc0b302a7ecbcbff60b4dc939be681d1a00eccb4c1475b359e2bd0f1bdbd8b3

Deleted: trunk/overlays/proaudio/media-radio/rivendell/files/initscript.patch
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/files/initscript.patch	2011-05-25 20:03:15 UTC (rev 1985)
+++ trunk/overlays/proaudio/media-radio/rivendell/files/initscript.patch	2011-06-01 17:56:40 UTC (rev 1986)
@@ -1,23 +0,0 @@
---- rivendell-gentoo	2007-10-05 09:31:21.000000000 -0500
-+++ rivendell-gentoo.new	2009-08-16 12:52:05.000000000 -0500
-@@ -26,17 +26,16 @@
- ##
- 
- depend() {
--        need jackd
-         use mysql
- }
- 
- start() {
-         ebegin "Starting Rivendell"
-         ipcrm -M 0x5005 2> /dev/null
--        start-stop-daemon --start --quiet --exec /usr/bin/caed
--        start-stop-daemon --start --quiet --exec /usr/bin/ripcd
-+        start-stop-daemon --start --quiet --chuid rivendell --exec /usr/bin/caed
-+        start-stop-daemon --start --quiet --chuid rivendell --exec /usr/bin/ripcd
-         sleep 1
--        start-stop-daemon --start --quiet --exec /usr/bin/rdcatchd
-+        start-stop-daemon --start --quiet --chuid rivendell --exec /usr/bin/rdcatchd
-         eend $?
- }
- 

Deleted: trunk/overlays/proaudio/media-radio/rivendell/files/rivendell-initscript-r1.patch
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/files/rivendell-initscript-r1.patch	2011-05-25 20:03:15 UTC (rev 1985)
+++ trunk/overlays/proaudio/media-radio/rivendell/files/rivendell-initscript-r1.patch	2011-06-01 17:56:40 UTC (rev 1986)
@@ -1,66 +0,0 @@
-## Submitted to upstream - http://mantis.rivendellaudio.org/view.php?id=10
-
---- /usr/src/rivendell-2.0.1/rivendell-gentoo	2007-10-05 09:31:21.000000000 -0500
-+++ /etc/init.d/rivendell	2011-04-19 19:48:44.734040835 -0500
-@@ -10,6 +10,8 @@
- ##    Adapted from the Gentoo init script for Rivendell 
- ##    by Andres Toomsalu <andres@xxxxxxxxx>
- ##
-+##    Modified 2011 by Emery Hemingway <emery@xxxxxxxxx>
-+##
- ##    This program is free software; you can redistribute it and/or modify
- ##    it under the terms of version 2 of the GNU General Public License as
- ##    published by the Free Software Foundation;
-@@ -25,26 +27,43 @@
- ##    Boston, MA  02111-1307  USA
- ##
- 
-+description="Rivendell system daemons"
-+
-+user="rivendell"
-+group="rivendell"
-+pid_dir="/var/run/rivendell"
-+
-+daemons="caed ripcd rdcatchd"
-+
- depend() {
--        need jackd
--        use mysql
-+        use alsasound apache2 jackd mysql
- }
- 
- start() {
-         ebegin "Starting Rivendell"
-+
-+        checkpath --directory --mode 0775 --owner $user:$group /var/snd
-+        checkpath --file --mode 0664 --owner $user:$group /var/snd/*
-+        
-         ipcrm -M 0x5005 2> /dev/null
--        start-stop-daemon --start --quiet --exec /usr/bin/caed
--        start-stop-daemon --start --quiet --exec /usr/bin/ripcd
--        sleep 1
--        start-stop-daemon --start --quiet --exec /usr/bin/rdcatchd
-+
-+        for daemon in $daemons
-+            do 
-+                veinfo "Starting $daemon"
-+                start-stop-daemon --start --pidfile $pid_dir/$daemon.pid \
-+			--user $user:$group --umask 0113 \
-+                        	--exec /usr/bin/$daemon
-+            done
-         eend $?
- }
- 
- stop() {
-         ebegin "Stopping Rivendell"
-         killall rdimport > /dev/null 2> /dev/null
--        start-stop-daemon --stop --quiet --pidfile /var/run/rivendell/caed.pid
--        start-stop-daemon --stop --quiet --pidfile /var/run/rivendell/ripcd.pid
--        start-stop-daemon --stop --quiet --pidfile /var/run/rivendell/rdcatchd.pid
-+
-+        for daemon in $daemons
-+            do 
-+                start-stop-daemon --stop --pidfile $pid_dir/$daemon.pid
-+            done
-         eend $?
- }

Deleted: trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1-r1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1-r1.ebuild	2011-05-25 20:03:15 UTC (rev 1985)
+++ trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1-r1.ebuild	2011-06-01 17:56:40 UTC (rev 1986)
@@ -1,96 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-inherit base eutils
-
-DESCRIPTION="An automated system for acquisition, management, scheduling and playout of audio content."
-HOMEPAGE="http://rivendellaudio.org/";
-SRC_URI="http://rivendellaudio.org/ftpdocs/${PN}/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa flac gpio hpi jack lame mad pam twolame"
-
-DEPEND="alsa? ( media-libs/alsa-lib )
-	flac? ( media-libs/flac )
-	jack? ( media-sound/jack-audio-connection-kit )
-	mad? ( media-libs/libmad )
-	media-libs/id3lib
-	media-libs/libogg
-	media-libs/libvorbis
-	media-libs/libsamplerate
-	media-libs/libsndfile
-	media-libs/libsoundtouch
-	virtual/mysql
-	x11-libs/qt-meta:3[mysql]"
-RDEPEND="${DEPEND}
-	lame? ( media-sound/lame )
-	twolame? ( media-sound/twolame )
-	pam? ( sys-libs/pam )
-	app-cdr/cdrkit
-	media-sound/cdparanoia
-	net-misc/curl"
-
-pkg_setup() {
-	enewgroup ${PN} 150
-	enewuser ${PN} 150 -1 /var/lib/${PN} "${PN},audio"
-}
-
-src_prepare() {
-	epatch "${FILESDIR}/${PN}-initscript-r1.patch"
-	epatch "${FILESDIR}/sandbox.patch"
-}
-
-src_configure() {
-	local myconf="--libexecdir=/usr/libexec/${PN}"
-
-	use alsa || myconf="${myconf} --disable-alsa"
-	use gpio || myconf="${myconf} --disable-gpio"
-	use hpi || myconf="${myconf} --disable-hpi"
-	use jack || myconf="${myconf} --disable-jack"
-	use mad || myconf="${myconf} --disable-mad"
-	use twolame || myconf="${myconf} --disable-twolame"
-	use lame || myconf="${myconf} --disable-lame"
-	use pam || myconf="${myconf} --disable-pam"
-
-	econf ${myconf}
-}
-
-src_compile () {
-	emake || die "make failed"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die "install failed"
-
-	insinto /etc
-	doins conf/rd.conf-sample
-
-	keepdir /var/snd
-	fowners ${PN}:${PN} /var/snd
-
-	newicon icons/rivendell-48x48.xpm ${PN}.xpm
-	domenu xdg/${PN}-*.desktop
-
-	dodoc AUTHORS ChangeLog NEWS README UPGRADING docs/*.txt conf/*.conf
-}
-
-pkg_postinst() {
-
-	einfo
-	einfo "See http://rivendell.tryphon.org/wiki/index.php/Install_under_Gentoo";
-	einfo "for Gentoo specific instructions."
-	einfo
-	einfo "This version of Rivendell makes use of a web services protocol to"
-	einfo "accomplish many functions (audio import, export, ripping, etc)."
-	einfo "These services require that a CGI-compliant web server be installed"
-	einfo "and active on the system. Any server that complies with CGI-1.1"
-	einfo "should work, although as of this writing only Apache 2.2 has been"
-	einfo "well tested."
-	einfo "A configuration for apache is in /usr/share/doc/${P}/rd-bin.conf.bz2"
-	einfo
-	ewarn "If this is an update, read /usr/share/doc/${P}/UPGRADING.bz2"
-}

Deleted: trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1-r2.ebuild
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1-r2.ebuild	2011-05-25 20:03:15 UTC (rev 1985)
+++ trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1-r2.ebuild	2011-06-01 17:56:40 UTC (rev 1986)
@@ -1,99 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-inherit base eutils depend.apache
-
-DESCRIPTION="An automated system for acquisition, management, scheduling and playout of audio content."
-HOMEPAGE="http://rivendellaudio.org/";
-SRC_URI="http://rivendellaudio.org/ftpdocs/${PN}/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa flac gpio hpi jack lame mad pam twolame"
-
-DEPEND="alsa? ( media-libs/alsa-lib )
-	flac? ( media-libs/flac )
-	jack? ( media-sound/jack-audio-connection-kit )
-	mad? ( media-libs/libmad )
-	media-libs/id3lib
-	media-libs/libogg
-	media-libs/libvorbis
-	media-libs/libsamplerate
-	media-libs/libsndfile
-	media-libs/libsoundtouch
-	virtual/mysql
-	x11-libs/qt-meta:3[mysql]"
-RDEPEND="${DEPEND}
-	lame? ( media-sound/lame )
-	twolame? ( media-sound/twolame )
-	pam? ( sys-libs/pam )
-	app-cdr/cdrkit
-	media-sound/cdparanoia
-	net-misc/curl"
-need_apache2
-
-pkg_setup() {
-	enewgroup ${PN} 150
-	enewuser ${PN} 150 -1 /var/lib/${PN} "${PN},audio"
-}
-
-src_prepare() {
-	epatch "${FILESDIR}/${PN}-initscript-r1.patch"
-	epatch "${FILESDIR}/sandbox.patch"
-}
-
-src_configure() {
-	local myconf="--libexecdir=/usr/libexec/${PN}"
-
-	use alsa || myconf="${myconf} --disable-alsa"
-	use gpio || myconf="${myconf} --disable-gpio"
-	use hpi || myconf="${myconf} --disable-hpi"
-	use jack || myconf="${myconf} --disable-jack"
-	use mad || myconf="${myconf} --disable-mad"
-	use twolame || myconf="${myconf} --disable-twolame"
-	use lame || myconf="${myconf} --disable-lame"
-	use pam || myconf="${myconf} --disable-pam"
-
-	econf ${myconf}
-}
-
-src_compile () {
-	emake || die "make failed"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die "install failed"
-
-	insinto /etc
-	doins conf/rd.conf-sample
-
-	keepdir /var/snd
-	fowners ${PN}:${PN} /var/snd
-
-	echo "<IfDefine RIVENDELL>" > 50_${PN}.conf
-	sed '/^\#/d' conf/rd-bin.conf >> 50_${PN}.conf
-	echo "</IfDefine>" >> 50_${PN}.conf
-
-	insinto ${APACHE_MODULES_CONFDIR}
-	doins 50_${PN}.conf
-
-	newicon icons/rivendell-48x48.xpm ${PN}.xpm
-	domenu xdg/${PN}-*.desktop
-
-	dodoc AUTHORS ChangeLog NEWS README UPGRADING docs/*.txt conf/*.conf
-}
-
-pkg_postinst() {
-
-	einfo
-	einfo "See http://rivendell.tryphon.org/wiki/index.php/Install_under_Gentoo";
-	einfo "for Gentoo specific instructions."
-	einfo
-	einfo "To enable web services, add '-D RIVENDELL'"
-	einfo "to APACHE2_OPTS in /etc/conf.d/apache"
-	einfo
-	ewarn "If this is an update, read /usr/share/doc/${P}/UPGRADING.bz2"
-}

Deleted: trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1.ebuild	2011-05-25 20:03:15 UTC (rev 1985)
+++ trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.1.ebuild	2011-06-01 17:56:40 UTC (rev 1986)
@@ -1,96 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-inherit base eutils
-
-DESCRIPTION="An automated system for acquisition, management, scheduling and playout of audio content."
-HOMEPAGE="http://rivendellaudio.org/";
-SRC_URI="http://rivendellaudio.org/ftpdocs/${PN}/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa flac gpio hpi jack lame mad pam twolame"
-
-DEPEND="alsa? ( media-libs/alsa-lib )
-	flac? ( media-libs/flac )
-	jack? ( media-sound/jack-audio-connection-kit )
-	mad? ( media-libs/libmad )
-	media-libs/id3lib
-	media-libs/libogg
-	media-libs/libvorbis
-	media-libs/libsamplerate
-	media-libs/libsndfile
-	media-libs/libsoundtouch
-	virtual/mysql
-	x11-libs/qt-meta:3[mysql]"
-RDEPEND="${DEPEND}
-	lame? ( media-sound/lame )
-	twolame? ( media-sound/twolame )
-	pam? ( sys-libs/pam )
-	app-cdr/cdrkit
-	media-sound/cdparanoia
-	net-misc/curl"
-
-pkg_setup() {
-	enewgroup ${PN} 150
-	enewuser ${PN} 150 -1 /var/lib/${PN} "${PN},audio"
-}
-
-src_prepare() {
-	epatch "${FILESDIR}/initscript.patch"
-	epatch "${FILESDIR}/sandbox.patch"
-}
-
-src_configure() {
-	local myconf="--libexecdir=/usr/libexec/${PN}"
-
-	use alsa || myconf="${myconf} --disable-alsa"
-	use gpio || myconf="${myconf} --disable-gpio"
-	use hpi || myconf="${myconf} --disable-hpi"
-	use jack || myconf="${myconf} --disable-jack"
-	use mad || myconf="${myconf} --disable-mad"
-	use twolame || myconf="${myconf} --disable-twolame"
-	use lame || myconf="${myconf} --disable-lame"
-	use pam || myconf="${myconf} --disable-pam"
-
-	econf ${myconf}
-}
-
-src_compile () {
-	emake || die "make failed"
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die "install failed"
-
-	insinto /etc
-	doins conf/rd.conf-sample
-
-	keepdir /var/snd
-	fowners ${PN}:${PN} /var/snd
-
-	newicon icons/rivendell-48x48.xpm ${PN}.xpm
-	domenu xdg/${PN}-*.desktop
-
-	dodoc AUTHORS ChangeLog NEWS README UPGRADING docs/*.txt conf/*.conf
-}
-
-pkg_postinst() {
-
-	einfo
-	einfo "See http://rivendell.tryphon.org/wiki/index.php/Install_under_Gentoo";
-	einfo "for Gentoo specific instructions."
-	einfo
-	einfo "This version of Rivendell makes use of a web services protocol to"
-	einfo "accomplish many functions (audio import, export, ripping, etc)."
-	einfo "These services require that a CGI-compliant web server be installed"
-	einfo "and active on the system. Any server that complies with CGI-1.1"
-	einfo "should work, although as of this writing only Apache 2.2 has been"
-	einfo "well tested."
-	einfo "A configuration for apache is in /usr/share/doc/${P}/rd-bin.conf.bz2"
-	einfo
-	ewarn "If this is an update, read /usr/share/doc/${P}/UPGRADING.bz2"
-}

Added: trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.2.ebuild
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.2.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-radio/rivendell/rivendell-2.0.2.ebuild	2011-06-01 17:56:40 UTC (rev 1986)
@@ -0,0 +1,98 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+inherit base eutils depend.apache
+
+DESCRIPTION="An automated system for acquisition, management, scheduling and playout of audio content."
+HOMEPAGE="http://rivendellaudio.org/";
+SRC_URI="http://rivendellaudio.org/ftpdocs/${PN}/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa flac gpio hpi jack lame mad pam twolame"
+
+DEPEND="alsa? ( media-libs/alsa-lib )
+	flac? ( media-libs/flac )
+	jack? ( media-sound/jack-audio-connection-kit )
+	mad? ( media-libs/libmad )
+	media-libs/id3lib
+	media-libs/libogg
+	media-libs/libvorbis
+	media-libs/libsamplerate
+	media-libs/libsndfile
+	media-libs/libsoundtouch
+	virtual/mysql
+	x11-libs/qt-meta:3[mysql]"
+RDEPEND="${DEPEND}
+	lame? ( media-sound/lame )
+	twolame? ( media-sound/twolame )
+	pam? ( sys-libs/pam )
+	app-cdr/cdrkit
+	media-sound/cdparanoia
+	net-misc/curl"
+need_apache2
+
+pkg_setup() {
+	enewgroup ${PN} 150
+	enewuser ${PN} 150 -1 /var/lib/${PN} "${PN},audio"
+}
+
+src_prepare() {
+	epatch "${FILESDIR}/sandbox.patch"
+}
+
+src_configure() {
+	local myconf="--libexecdir=/usr/libexec/${PN}"
+
+	use alsa || myconf="${myconf} --disable-alsa"
+	use gpio || myconf="${myconf} --disable-gpio"
+	use hpi || myconf="${myconf} --disable-hpi"
+	use jack || myconf="${myconf} --disable-jack"
+	use mad || myconf="${myconf} --disable-mad"
+	use twolame || myconf="${myconf} --disable-twolame"
+	use lame || myconf="${myconf} --disable-lame"
+	use pam || myconf="${myconf} --disable-pam"
+
+	econf ${myconf}
+}
+
+src_compile () {
+	emake || die "make failed"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "install failed"
+
+	insinto /etc
+	doins conf/rd.conf-sample
+
+	keepdir /var/snd
+	fowners ${PN}:${PN} /var/snd
+
+	echo "<IfDefine RIVENDELL>" > 50_${PN}.conf
+	sed '/^\#/d' conf/rd-bin.conf >> 50_${PN}.conf
+	echo "</IfDefine>" >> 50_${PN}.conf
+
+	insinto ${APACHE_MODULES_CONFDIR}
+	doins 50_${PN}.conf
+
+	newicon icons/rivendell-48x48.xpm ${PN}.xpm
+	domenu xdg/${PN}-*.desktop
+
+	dodoc AUTHORS ChangeLog NEWS README UPGRADING docs/*.txt conf/*.conf
+}
+
+pkg_postinst() {
+
+	einfo
+	einfo "See http://rivendell.tryphon.org/wiki/index.php/Install_under_Gentoo";
+	einfo "for Gentoo specific instructions."
+	einfo
+	einfo "To enable web services, add '-D RIVENDELL'"
+	einfo "to APACHE2_OPTS in /etc/conf.d/apache"
+	einfo
+	ewarn "If this is an update, read /usr/share/doc/${P}/UPGRADING.bz2"
+}


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/