From 3a781a7cfc17c75cc6fabbd823000189c2e5c1f1 Mon Sep 17 00:00:00 2001 From: darkeye Date: Sat, 22 Oct 2005 10:56:08 +0000 Subject: [PATCH] for release 0.16 --- darkice/trunk/etc/ebuild/darkice-0.16.ebuild | 45 ++++++++++++++++++++ darkice/trunk/etc/rpm/darkice.spec | 4 +- 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 darkice/trunk/etc/ebuild/darkice-0.16.ebuild diff --git a/darkice/trunk/etc/ebuild/darkice-0.16.ebuild b/darkice/trunk/etc/ebuild/darkice-0.16.ebuild new file mode 100644 index 0000000..276cd3f --- /dev/null +++ b/darkice/trunk/etc/ebuild/darkice-0.16.ebuild @@ -0,0 +1,45 @@ +IUSE="encode oggvorbis faac alsa jack" + +DESCRIPTION="IceCast live streamer delivering Ogg, mp3 or faac streams simultaneously to multiple hosts." +HOMEPAGE="http://darkice.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +RESTRICT="nomirror" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64" + +DEPEND="encode? ( >=media-sound/lame-3.89 ) + oggvorbis? ( >=media-libs/libvorbis-1.0 ) + faac? ( >=media-libs/faac-1.24 ) + alsa? ( >=media-libs/alsa-lib-1.0.0 ) + jack? ( media-sound/jack-audio-connection-kit )" + +src_compile() { + if ! use encode && ! use oggvorbis && ! use faac + then + + eerror "You need support for mp3, Ogg Vorbis or FAAC enconding for this" + eerror "package. Please merge again with at least one of the " + eerror "\`encode', \`oggvorbis' or \'faac' USE flags enabled:" + eerror + eerror " # USE=\"encode\" emerge darkice" + eerror " # USE=\"oggvorbis\" emerge darkice" + eerror " # USE=\"faac\" emerge darkice" + die "Won't build without support for lame, vorbis or faac" + fi + + econf `use_with alsa` \ + `use_with encode lame` \ + `use_with oggvorbis vorbis` \ + `use_with faac` \ + `use_with jack` || die + + emake || die "Compilation failed" +} + +src_install() { + einstall darkicedocdir=${D}/usr/share/doc/${PF} || die + + dodoc AUTHORS ChangeLog COPYING NEWS README TODO +} diff --git a/darkice/trunk/etc/rpm/darkice.spec b/darkice/trunk/etc/rpm/darkice.spec index 987ac8f..f99a7aa 100644 --- a/darkice/trunk/etc/rpm/darkice.spec +++ b/darkice/trunk/etc/rpm/darkice.spec @@ -4,7 +4,7 @@ Summary : DarkIce live IceCast / ShoutCast streamer Name: darkice Vendor: Tyrell Hungary Packager: Akos Maroy -Version: 0.15 +Version: 0.16 Release: 1.%{dist} Copyright: GPL Group: Applications/Multimedia @@ -52,5 +52,7 @@ rm -rf %{buildroot} %changelog +* Tue Apr 19 2005 Akos Maroy 0.16-1 +- rewrite the spec file for 0.16 * Tue Apr 19 2005 Akos Maroy 0.15-1 - rewrite the spec file for 0.15