[proaudio] An ebuild for ices-jack

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


You all may be interested in the ebuild I wrote to install a version of
the ice cast source client, ices, that supports jack.  I think it's
rather neato, could be used to do live web casts of jack jams and the like.

please consider adding it to this overlay.

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ices/ices-2.0.60a.ebuild,v
1.3 2006/04/03 19:56:34 tcort Exp $

IUSE=""

DESCRIPTION="icecast OGG streaming client. supports on the fly
re-encoding, and
the jack-audio-connection-kit"
SRC_URI="http://www.mediacast1.com/~karl/ices-2.0-kh60a.tar.bz2";
HOMEPAGE="http://www.icecast.org/ices.php";

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc amd64 ppc64"

DEPEND="dev-libs/libxml2
	dev-util/pkgconfig
	>=media-libs/libshout-2.0
	>=media-libs/libvorbis-1.0"
	
S="${WORKDIR}/ices-2.0-kh60a"

src_compile ()
{
	echo $S
	econf --sysconfdir=/etc/ices2 || die "configure failed"

	emake || die "make failed"
}

src_install ()
{
	make DESTDIR=${D} install || die "make install failed"

	dodoc AUTHORS README TODO

	# Add the stock configs...
	dodir /etc/ices2
	mv ${D}usr/share/ices/ices-live.xml \
		${D}etc/ices2/ices-live.xml.dist
	mv ${D}usr/share/ices/ices-playlist.xml \
		${D}etc/ices2/ices-playlist.xml.dist

	# Move the html to it's proper location...
	dodir /usr/share/doc/${P}/html
	mv ${D}usr/share/ices/*.html ${D}usr/share/doc/${P}/html
	mv ${D}usr/share/ices/style.css ${D}usr/share/doc/${P}/html

	# Nothing is left here after things are moved...
	rmdir ${D}usr/share/ices
}



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