[proaudio] [1724] Stuff I'm playing around with.

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


Revision: 1724
Author:   emery
Date:     2010-08-17 02:54:18 +0200 (Tue, 17 Aug 2010)
Log Message:
-----------
Stuff I'm playing around with.

Added Paths:
-----------
    trunk/overlays/proaudio-dev/media-radio/rivendell/
    trunk/overlays/proaudio-dev/media-radio/rivendell/Manifest
    trunk/overlays/proaudio-dev/media-radio/rivendell/files/
    trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-1.7.2.patch
    trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-init.patch
    trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-sandbox.patch
    trunk/overlays/proaudio-dev/media-radio/rivendell/rivendell-1.7.2.ebuild
    trunk/overlays/proaudio-dev/media-radio/rivendell/rivendell-2.0.ebuild

Added: trunk/overlays/proaudio-dev/media-radio/rivendell/Manifest
===================================================================
--- trunk/overlays/proaudio-dev/media-radio/rivendell/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-radio/rivendell/Manifest	2010-08-17 00:54:18 UTC (rev 1724)
@@ -0,0 +1,6 @@
+AUX rivendell-1.7.2.patch 2481 RMD160 65c77c2d3271329c4c3c0ef9d44247ecfdb45e75 SHA1 a55b8990248bbf7d73ba632b306bca3b2e791128 SHA256 d14ffcee3e91227a18b9e02fb6ca8a2795a01427e0a9989daa3dd261536e36a7
+AUX rivendell-init.patch 773 RMD160 dacb60a287448502de5b4854b8e60eadbbe36061 SHA1 e84b3b5f490176ed4c0af10318eae9db5ae5f4b0 SHA256 6a8b57a99eaf450aafa5a4c4943c6907bcde5144478d938f83b1c7ca83858179
+AUX rivendell-sandbox.patch 677 RMD160 f0f526f949bc77eecd1d39226171c1dff0ee92d0 SHA1 13a27d6e2a2acad3a40d6fc9b0441f60347abb84 SHA256 a2d3f93d396a2094098bd5140ec8c193a83471939c0c918e31563a1f7343c3b3
+DIST rivendell-1.7.2.tar.gz 2297938 RMD160 5179c2bf85a5c8735cdd684121bb3b64cf812e6d SHA1 becfd7908f4e2e91e3a8f89f962147abc5456a4a SHA256 20af379c6484c943023a162d0a95dbfd84e33d87519858c252a16d9b5ea4fb62
+EBUILD rivendell-1.7.2.ebuild 1982 RMD160 3f40e5d6852d21b9d04ddfb9426934091398a45b SHA1 4554375c3dc19187a79e1b11def672381edde94c SHA256 65f2576ef6f9069433cc31fcb217a5d08c2080f19d693e211c88acc7a71a7bdc
+EBUILD rivendell-2.0.ebuild 2562 RMD160 2472e65abaf0fa554bb3407c136706ce1782ab9c SHA1 59e84106e6b86df8b9b2b49cae05698d2cd47c18 SHA256 ca8bea037cf921c3020ebc7bd8217d4982f0c1f41802a852b37a5f2c9501d296

Added: trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-1.7.2.patch
===================================================================
--- trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-1.7.2.patch	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-1.7.2.patch	2010-08-17 00:54:18 UTC (rev 1724)
@@ -0,0 +1,61 @@
+diff -urN rivendell-1.7.2/install-init.sh rivendell-1.7.2.new/install-init.sh
+--- install-init.sh	2007-10-03 06:24:06.000000000 -0500
++++ rivendell-1.7.2.new/install-init.sh	2010-08-10 16:52:52.000000000 -0500
+@@ -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
+diff -urN rivendell-1.7.2/rlm/Makefile.am rivendell-1.7.2.new/rlm/Makefile.am
+--- utils/rlm/Makefile.am	2010-06-04 09:04:44.000000000 -0500
++++ rivendell-1.7.2.new/rlm/Makefile.am	2010-08-10 16:46:06.000000000 -0500
+@@ -35,8 +35,8 @@
+ install:	all
+ 	mkdir -p $(DESTDIR)$(prefix)/@RD_LIB_PATH@/rivendell
+ 	cp $(RLM_MODULES) $(DESTDIR)$(prefix)/@RD_LIB_PATH@/rivendell/
+-	mkdir -p $(headerdir)
+-	cp rlm.h $(headerdir)
++	mkdir -p $(DESTDIR)$(headerdir)
++	cp rlm.h $(DESTDIR)$(headerdir)
+ 
+ headerdir = $(includedir)/rlm
+ header_HEADERS = rlm.h
+diff -urN rivendell-1.7.2/utils/rmlsend/Makefile.am rivendell-1.7.2.new/utils/rmlsend/Makefile.am
+--- utils/rmlsend/Makefile.am	2010-01-21 11:11:48.000000000 -0600
++++ rivendell-1.7.2.new/utils/rmlsend/Makefile.am	2010-08-10 21:40:48.000000000 -0500
+@@ -46,7 +46,7 @@
+ 
+ dist_rmlsend_SOURCES = rmlsend.cpp rmlsend.h
+ nodist_rmlsend_SOURCES = moc_rmlsend.cpp
+-rmlsend_LDADD = -lqui -lid3 -lFLAC @LIBVORBIS@ -lrd
++rmlsend_LDADD = -lqui -lrd -lid3 -lFLAC @LIBVORBIS@
+ 
+ EXTRA_DIST = rmlsend.pro rmlsend_es.ts rmlsend_fr.ts rmlsend_de.ts\
+              rmlsend_nb.ts rmlsend_nn.ts
+diff -urN rivendell-1.7.2/utils/rmlsend/Makefile.in rivendell-1.7.2.new/utils/rmlsend/Makefile.in
+--- utils/rmlsend/Makefile.in	2010-06-04 09:16:02.000000000 -0500
++++ rivendell-1.7.2.new/utils/rmlsend/Makefile.in	2010-08-10 21:57:34.000000000 -0500
+@@ -220,7 +220,7 @@
+ MOC = @QT_MOC@
+ dist_rmlsend_SOURCES = rmlsend.cpp rmlsend.h
+ nodist_rmlsend_SOURCES = moc_rmlsend.cpp
+-rmlsend_LDADD = -lqui -lid3 -lFLAC @LIBVORBIS@ -lrd
++rmlsend_LDADD = -lqui -lrd -lid3 -lFLAC @LIBVORBIS@
+ EXTRA_DIST = rmlsend.pro rmlsend_es.ts rmlsend_fr.ts rmlsend_de.ts\
+              rmlsend_nb.ts rmlsend_nn.ts
+ 

Added: trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-init.patch
===================================================================
--- trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-init.patch	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-init.patch	2010-08-17 00:54:18 UTC (rev 1724)
@@ -0,0 +1,23 @@
+--- 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 $?
+ }
+ 

Added: trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-sandbox.patch
===================================================================
--- trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-sandbox.patch	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-radio/rivendell/files/rivendell-sandbox.patch	2010-08-17 00:54:18 UTC (rev 1724)
@@ -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-dev/media-radio/rivendell/rivendell-1.7.2.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-radio/rivendell/rivendell-1.7.2.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-radio/rivendell/rivendell-1.7.2.ebuild	2010-08-17 00:54:18 UTC (rev 1724)
@@ -0,0 +1,86 @@
+# Copyright 1999-2010 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 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/libvorbis
+	media-libs/libsamplerate
+	virtual/mysql
+	x11-libs/qt:3[mysql]"
+RDEPEND="${DEPEND}
+	pam? ( sys-libs/pam )
+	app-cdr/cdrkit
+	media-sound/cdparanoia
+	media-sound/lame
+	media-sound/mpg321
+	media-sound/vorbis-tools
+	net-ftp/lftp
+	net-misc/wget"
+
+pkg_setup() {
+	enewgroup ${PN} 585
+	enewuser ${PN} 585 -1 /var/lib/${PN} "${PN},audio"
+}
+
+src_prepare() {
+	unpack ${A}
+	cd "${S}"
+	epatch "${FILESDIR}/${PN}-init.patch"
+	epatch "${FILESDIR}/${P}.patch"
+}
+
+src_configure() {
+	local myconf="--libexecdir=/usr/libexec/rd-bin"
+
+	use alsa || myconf="${myconf} --disable-alsa"
+	use jack || myconf="${myconf} --disable-jack"
+	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
+	fperms 775 /var/snd
+
+	dodoc AUTHORS ChangeLog INSTALL NEWS README SupportedCards docs/*.txt
+	prepalldocs
+}
+
+pkg_postinst() {
+	elog "If you would like ASI or GPIO hardware support,"
+	elog "install their drivers and re-emerge this package."
+	einfo
+	einfo "See http://rivendell.tryphon.org/wiki/index.php/Install_under_Gentoo";
+	einfo "for Gentoo specific instructions."
+	einfo
+	ewarn "If ${P} is an update, it may use a new database schema, run rdadmin to ensure your schema is current."
+}

Added: trunk/overlays/proaudio-dev/media-radio/rivendell/rivendell-2.0.ebuild
===================================================================
--- trunk/overlays/proaudio-dev/media-radio/rivendell/rivendell-2.0.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio-dev/media-radio/rivendell/rivendell-2.0.ebuild	2010-08-17 00:54:18 UTC (rev 1724)
@@ -0,0 +1,107 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit base cvs eutils
+
+DESCRIPTION="An automated system for acquisition, management, scheduling and playout of audio content."
+HOMEPAGE="http://rivendellaudio.org/";
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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/libvorbis
+	media-libs/libsamplerate
+	media-libs/libsndfile
+	media-libs/libsoundtouch
+	virtual/mysql
+	x11-libs/qt:3[mysql]"
+RDEPEND="${DEPEND}
+	pam? ( sys-libs/pam )
+	app-cdr/cdrkit
+	media-sound/cdparanoia
+	media-sound/lame
+	media-sound/mpg321
+	media-sound/vorbis-tools
+	net-misc/curl
+	sys-apps/ivman
+	sys-devel/bc"
+
+pkg_setup() {
+	enewgroup ${PN} 150
+	enewuser ${PN} 150 -1 /var/lib/${PN} "${PN},audio"
+}
+
+src_unpack() {
+	ECVS_SERVER="cvs.rivendellaudio.org:/home/cvs/cvsroot"
+	ECVS_USER="cvs"
+	EVCS_PASS="cvs"
+	ECVS_MODULE="rivendell"
+	ECVS_CVS_OPTIONS="-d"
+	cvs_src_unpack
+}
+
+
+
+src_prepare() {
+	unpack ${A}
+	cd "${S}"
+	epatch "${FILESDIR}/${PN}-init.patch"
+}
+
+src_configure() {
+	local myconf="--libexecdir=/usr/libexec/rd-bin"
+
+	use alsa || myconf="${myconf} --disable-alsa"
+	use jack || myconf="${myconf} --disable-jack"
+	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
+	fperms 0775 /var/snd
+	fperms 0664 /var/snd/*
+
+	dodoc AUTHORS ChangeLog INSTALL NEWS README SupportedCards docs/*.txt
+	prepalldocs
+}
+
+pkg_postinst() {
+	elog "If you would like ASI or GPIO hardware support,"
+	elog "install their drivers and re-emerge this package."
+	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."
+
+	ewarn "If ${P} is an update, it may use a new database schema, run rdadmin to ensure your schema is current."
+}


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