mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user