updated ebuild to have proper use flag for aac
This commit is contained in:
parent
334b849fff
commit
f9eecd27b8
|
@ -1,6 +1,6 @@
|
||||||
IUSE="encode oggvorbis faac alsa jack"
|
IUSE="encode oggvorbis aac alsa jack"
|
||||||
|
|
||||||
DESCRIPTION="IceCast live streamer delivering Ogg, mp3 or faac streams simultaneously to multiple hosts."
|
DESCRIPTION="IceCast live streamer delivering Ogg, mp3 or aac streams simultaneously to multiple hosts."
|
||||||
HOMEPAGE="http://darkice.sourceforge.net/"
|
HOMEPAGE="http://darkice.sourceforge.net/"
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||||
RESTRICT="nomirror"
|
RESTRICT="nomirror"
|
||||||
|
@ -11,28 +11,28 @@ KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
|
||||||
|
|
||||||
DEPEND="encode? ( >=media-sound/lame-3.89 )
|
DEPEND="encode? ( >=media-sound/lame-3.89 )
|
||||||
oggvorbis? ( >=media-libs/libvorbis-1.0 )
|
oggvorbis? ( >=media-libs/libvorbis-1.0 )
|
||||||
faac? ( >=media-libs/faac-1.24 )
|
aac? ( >=media-libs/faac-1.24 )
|
||||||
alsa? ( >=media-libs/alsa-lib-1.0.0 )
|
alsa? ( >=media-libs/alsa-lib-1.0.0 )
|
||||||
jack? ( media-sound/jack-audio-connection-kit )"
|
jack? ( media-sound/jack-audio-connection-kit )"
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
if ! use encode && ! use oggvorbis && ! use faac
|
if ! use encode && ! use oggvorbis && ! use aac
|
||||||
then
|
then
|
||||||
|
|
||||||
eerror "You need support for mp3, Ogg Vorbis or FAAC enconding for this"
|
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 "package. Please merge again with at least one of the "
|
||||||
eerror "\`encode', \`oggvorbis' or \'faac' USE flags enabled:"
|
eerror "\`encode', \`oggvorbis' or \'aac' USE flags enabled:"
|
||||||
eerror
|
eerror
|
||||||
eerror " # USE=\"encode\" emerge darkice"
|
eerror " # USE=\"encode\" emerge darkice"
|
||||||
eerror " # USE=\"oggvorbis\" emerge darkice"
|
eerror " # USE=\"oggvorbis\" emerge darkice"
|
||||||
eerror " # USE=\"faac\" emerge darkice"
|
eerror " # USE=\"aac\" emerge darkice"
|
||||||
die "Won't build without support for lame, vorbis or faac"
|
die "Won't build without support for lame, vorbis or aac"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
econf `use_with alsa` \
|
econf `use_with alsa` \
|
||||||
`use_with encode lame` \
|
`use_with encode lame` \
|
||||||
`use_with oggvorbis vorbis` \
|
`use_with oggvorbis vorbis` \
|
||||||
`use_with faac` \
|
`use_with aac faac` \
|
||||||
`use_with jack` || die
|
`use_with jack` || die
|
||||||
|
|
||||||
emake || die "Compilation failed"
|
emake || die "Compilation failed"
|
||||||
|
|
Loading…
Reference in New Issue