media-sound/darkice: Minor ebuild improvements.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
Lars Wendler
2019-03-23 11:17:52 +01:00
parent 88571d4146
commit bf2aa5e01c
+14 -17
View File
@@ -1,8 +1,7 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils
DESCRIPTION="A live audio streamer"
HOMEPAGE="http://www.darkice.org/"
@@ -28,23 +27,21 @@ DEPEND="${RDEPEND}"
REQUIRED_USE="|| ( aac aacplus mp3 opus twolame vorbis )
|| ( alsa jack pulseaudio )"
#PATCHES=(
# "${FILESDIR}"/${PN}-1.2-gcc47.patch
#)
src_configure() {
econf \
$(use_enable debug) \
$(use_with aac faac) \
$(use_with aacplus) \
$(use_with alsa) \
$(use_with jack) \
$(use_with libsamplerate samplerate) \
$(use_with mp3 lame) \
$(use_with opus) \
$(use_with pulseaudio) \
$(use_with twolame) \
local myeconfargs=(
$(use_enable debug)
$(use_with aac faac)
$(use_with aacplus)
$(use_with alsa)
$(use_with jack)
$(use_with libsamplerate samplerate)
$(use_with mp3 lame)
$(use_with opus)
$(use_with pulseaudio)
$(use_with twolame)
$(use_with vorbis)
)
econf "${myeconfargs[@]}"
}
src_install() {