media-sound/darkice: Minor ebuild improvements.
authorLars Wendler <polynomial-c@gentoo.org>
Sat, 23 Mar 2019 10:17:52 +0000 (11:17 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Sat, 23 Mar 2019 10:17:52 +0000 (11:17 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
media-sound/darkice/darkice-1.3.ebuild

index b3c01b46636964d45c0c448656b6a95b59462fce..5ea84fbe503f0f3621caadc6497e9fae120277cc 100644 (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() {