commit:     bf2aa5e01c6d97d1ea8c7fb1cb2a5804cd45635b
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 23 10:17:52 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 10:17:52 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2aa5e0

media-sound/darkice: Minor ebuild improvements.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-sound/darkice/darkice-1.3.ebuild | 31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)

diff --git a/media-sound/darkice/darkice-1.3.ebuild 
b/media-sound/darkice/darkice-1.3.ebuild
index b3c01b46636..5ea84fbe503 100644
--- a/media-sound/darkice/darkice-1.3.ebuild
+++ b/media-sound/darkice/darkice-1.3.ebuild
@@ -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() {

Reply via email to