for release 0.16

This commit is contained in:
darkeye 2005-10-22 10:56:08 +00:00
parent d1da91f993
commit 3a781a7cfc
2 changed files with 48 additions and 1 deletions

View File

@ -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
}

View File

@ -4,7 +4,7 @@ Summary : DarkIce live IceCast / ShoutCast streamer
Name: darkice
Vendor: Tyrell Hungary
Packager: Akos Maroy <darkeye@tyrell.hu>
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 <darkeye@tyrell.hu> 0.16-1
- rewrite the spec file for 0.16
* Tue Apr 19 2005 Akos Maroy <darkeye@tyrell.hu> 0.15-1
- rewrite the spec file for 0.15