[proaudio] [1496] Rivendell ebuild, please test and report.

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


Revision: 1496
Author:   dominique
Date:     2009-07-23 01:20:48 +0200 (Thu, 23 Jul 2009)

Log Message:
-----------
Rivendell ebuild, please test and report.

Added Paths:
-----------
    trunk/overlays/proaudio/media-radio/
    trunk/overlays/proaudio/media-radio/rivendell/
    trunk/overlays/proaudio/media-radio/rivendell/ChangeLog
    trunk/overlays/proaudio/media-radio/rivendell/Manifest
    trunk/overlays/proaudio/media-radio/rivendell/files/
    trunk/overlays/proaudio/media-radio/rivendell/files/rivendell-1.5.0-sandbox.patch
    trunk/overlays/proaudio/media-radio/rivendell/metadata.xml
    trunk/overlays/proaudio/media-radio/rivendell/rivendell-1.5.0.ebuild


Added: trunk/overlays/proaudio/media-radio/rivendell/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-radio/rivendell/ChangeLog	2009-07-22 23:20:48 UTC (rev 1496)
@@ -0,0 +1,6 @@
+# ChangeLog for media-radio/rivendell
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  23 Juln 2009; Dominique Michel <dominique.michel@xxxxxxxxx;
+  rivendell-1.5.9.ebuild,

Added: trunk/overlays/proaudio/media-radio/rivendell/Manifest
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-radio/rivendell/Manifest	2009-07-22 23:20:48 UTC (rev 1496)
@@ -0,0 +1,5 @@
+AUX rivendell-1.5.0-sandbox.patch 677 RMD160 f0f526f949bc77eecd1d39226171c1dff0ee92d0 SHA1 13a27d6e2a2acad3a40d6fc9b0441f60347abb84 SHA256 a2d3f93d396a2094098bd5140ec8c193a83471939c0c918e31563a1f7343c3b3
+DIST rivendell-1.5.0.tar.gz 2100832 RMD160 ffdf1e96d1a71f2dae4c033821c0256e087e30a6 SHA1 5423d5a9a72b7b46595574383e9f9bd799bf73c1 SHA256 ccddbaad185048220f29ceb75c72edb2e130d78dc16fa045ea9327de2b3e5b8d
+EBUILD rivendell-1.5.0.ebuild 2401 RMD160 aba2151fe56dbd96269571b220606417c26efe34 SHA1 f488b52dc8d52509fdd4970ace82dfe3e4a73d7b SHA256 05857ba74289038eec4ffff7ad4217bfefa5f701e39a0562269334f19f9f32b7
+MISC ChangeLog 210 RMD160 b59afa272d2dc8b6fc59f7f97b6155184d1922f0 SHA1 91043be9cec52462e9b0f9b6af35aee1a47101bc SHA256 9bbd00e237b7e9f92215d1c19c88a2e0d412d91419f5905d6763fa62dcdcbb08
+MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-radio/rivendell/files/rivendell-1.5.0-sandbox.patch
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/files/rivendell-1.5.0-sandbox.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-radio/rivendell/files/rivendell-1.5.0-sandbox.patch	2009-07-22 23:20:48 UTC (rev 1496)
@@ -0,0 +1,22 @@
+--- install-init.sh-orig	2007-10-03 13:24:06.000000000 +0200
++++ install-init.sh	2009-07-23 00:50:51.000000000 +0200
+@@ -23,13 +23,12 @@
+ #
+ 
+ if test ! -f ./building-debian ; then
+-  mkdir -p /etc/init.d
+-  cp rivendell /etc/init.d/rivendell
+-  mkdir -p /etc/sysconfig
+-  cp rivendell.sys /etc/sysconfig/rivendell
+-  mkdir -p /var/run/rivendell
+-  chmod 777 /var/run/rivendell
+-  ldconfig
++  mkdir -p ${DESTDIR}/etc/init.d
++  cp rivendell ${DESTDIR}/etc/init.d/rivendell
++  mkdir -p ${DESTDIR}/etc/sysconfig
++  cp rivendell.sys ${DESTDIR}/etc/sysconfig/rivendell
++  mkdir -p ${DESTDIR}/var/run/rivendell
++  chmod 777 ${DESTDIR}/var/run/rivendell
+ fi
+ 
+ chmod 4755 $1/bin/caed

Added: trunk/overlays/proaudio/media-radio/rivendell/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/metadata.xml	                        (rev 0)
+++ trunk/overlays/proaudio/media-radio/rivendell/metadata.xml	2009-07-22 23:20:48 UTC (rev 1496)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+	<herd>no-herd</herd>
+	<maintainer>
+		<email>proaudio@xxxxxxxxxxxxx</email>
+		<name>pro-audio overlay team</name>
+	</maintainer>
+</pkgmetadata>

Added: trunk/overlays/proaudio/media-radio/rivendell/rivendell-1.5.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-radio/rivendell/rivendell-1.5.0.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-radio/rivendell/rivendell-1.5.0.ebuild	2009-07-22 23:20:48 UTC (rev 1496)
@@ -0,0 +1,95 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="1"
+inherit  base eutils autotools
+
+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"
+IUSE="alsa jack pam"
+
+RESTRICT="nomirror"
+
+DEPEND="alsa? ( media-libs/alsa-lib )
+	jack? ( media-sound/jack-audio-connection-kit )
+	media-libs/flac
+	media-libs/id3lib
+	media-libs/libogg
+	media-libs/libsamplerate
+	media-libs/libvorbis
+	virtual/mysql
+	x11-libs/qt:3"
+RDEPEND="${DEPEND}
+	pam? ( sys-libs/pam )
+	app-cdr/cdrkit
+	media-sound/cdparanoia
+	media-sound/lame
+	media-sound/mpg321
+	media-sound/sox
+	media-sound/vorbis-tools
+	net-ftp/lftp
+	net-misc/wget
+	sys-devel/bc"
+
+src_unpack() {
+	unpack "${A}"
+	cd "${S}"
+	epatch "${FILESDIR}/${P}-sandbox.patch" || die "epatch failed" || die "epatch failed"
+
+
+#PATCHES=( "${FILESDIR}/${PN}-init.patch"
+#	"${FILESDIR}/${PN}-sox.patch" )
+}
+
+src_compile() {
+#	eautoreconf || die "autoreconf failed"
+	local myconf=""
+
+	use alsa || myconf="${myconf} --disable-alsa"
+	use jack || myconf="${myconf} --disable-jack"
+	use pam || myconf="${myconf} --disable-pam"
+
+	econf ${myconf}
+	emake || die "make failed"
+}
+
+src_install() {
+	emake DESTDIR="${D}" install || die "install failed"
+
+	insinto /etc
+	doins conf/rd.conf-sample || die "install /etc/rd.conf failed"
+
+	keepdir /var/snd || die "keepdir failed"
+	fowners ${PN}:${PN} /var/snd || die "fowners failed"
+
+	dodoc AUTHORS ChangeLog INSTALL NEWS README SupportedCards docs/*.txt || die "install doc failed"
+	prepalldocs || die "prepalldocs failed"
+}
+
+pkg_preinst() {
+	enewgroup ${PN}
+	enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},audio"
+}
+
+
+pkg_postinst() {
+	elog "If you would like ASI or GPIO hardware support,"
+	elog "install their drivers and re-emerge this package."
+	einfo
+	einfo "If this is a fresh install you will need to modify"
+	einfo "the /etc/rd.conf file and use rdadmin to initialize"
+	einfo "the Rivendell database before starting"
+	einfo "/etc/init.d/rivendell."
+	einfo "/var/snd is owned by ${PN}:${PN}."
+	einfo "Set AudioOwner aand AudioGroup into /etc/rd.conf"
+	einfo "accordingly."
+	einfo
+	ewarn "If this is an upgrade, run rdadmin to ensure your"
+	ewarn "database schema is up to date"
+}


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