From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44876138334 for ; Mon, 19 Nov 2018 22:53:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D7400E08E5; Mon, 19 Nov 2018 22:53:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FEBDE08E5 for ; Mon, 19 Nov 2018 22:53:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B01C6335CA6 for ; Mon, 19 Nov 2018 22:53:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA105471 for ; Mon, 19 Nov 2018 22:53:51 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1542667674.004d0ed46fdc06dea52671cf44ef5d4778a7b002.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/audacious-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild media-plugins/audacious-plugins/audacious-plugins-9999.ebuild X-VCS-Directories: media-plugins/audacious-plugins/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 004d0ed46fdc06dea52671cf44ef5d4778a7b002 X-VCS-Branch: master Date: Mon, 19 Nov 2018 22:53:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 94dd632c-e168-42dd-802a-e00c3b655693 X-Archives-Hash: 4e80459088f7e221eee6ccbd5f5cd285 commit: 004d0ed46fdc06dea52671cf44ef5d4778a7b002 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Nov 19 22:32:37 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Nov 19 22:47:54 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=004d0ed4 media-plugins/audacious-plugins: Modernise src_configure Use myeconfargs array. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> .../audacious-plugins-3.10.ebuild | 90 +++++++++++----------- .../audacious-plugins-9999.ebuild | 88 ++++++++++----------- 2 files changed, 89 insertions(+), 89 deletions(-) diff --git a/media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild b/media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild index 6cbc7f32165..01c53d0961d 100644 --- a/media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild +++ b/media-plugins/audacious-plugins/audacious-plugins-3.10.ebuild @@ -103,51 +103,51 @@ PATCHES=( "${FILESDIR}/${P}-fix-slow-search.patch" ) S="${WORKDIR}/${MY_P}" src_configure() { - if ! use mp3 ; then - ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" - fi + use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" - econf \ - --enable-mpris2 \ - --enable-qt \ - --enable-songchange \ - --disable-aosd \ - --disable-coreaudio \ - --disable-gtk \ - --disable-hotkey \ - --disable-notify \ - --disable-oss4 \ - --disable-qtglspectrum \ - --disable-sndio \ - $(use_enable aac) \ - $(use_enable alsa) \ - $(use_enable ampache) \ - $(use_enable bs2b) \ - $(use_enable cdda cdaudio) \ - $(use_enable cue) \ - $(use_enable flac) \ - $(use_enable flac filewriter) \ - $(use_enable fluidsynth amidiplug) \ - $(use_enable gme console) \ - $(use_enable http neon) \ - $(use_enable jack) \ - $(use_enable lame filewriter_mp3) \ - $(use_enable libnotify notify) \ - $(use_enable libsamplerate resample) \ - $(use_enable lirc) \ - $(use_enable mms) \ - $(use_enable modplug) \ - $(use_enable mp3 mpg123) \ - $(use_enable nls) \ - $(use_enable pulseaudio pulse) \ - $(use_enable qtmedia qtaudio) \ - $(use_enable scrobbler scrobbler2) \ - $(use_enable sdl sdlout) \ - $(use_enable sid) \ - $(use_enable sndfile) \ - $(use_enable soxr) \ - $(use_enable speedpitch) \ - $(use_enable vorbis) \ - $(use_enable wavpack) \ + local myeconfargs=( + --enable-mpris2 + --enable-qt + --enable-songchange + --disable-aosd + --disable-coreaudio + --disable-gtk + --disable-hotkey + --disable-notify + --disable-oss4 + --disable-qtglspectrum + --disable-sndio + $(use_enable aac) + $(use_enable alsa) + $(use_enable ampache) + $(use_enable bs2b) + $(use_enable cdda cdaudio) + $(use_enable cue) + $(use_enable flac) + $(use_enable flac filewriter) + $(use_enable fluidsynth amidiplug) + $(use_enable gme console) + $(use_enable http neon) + $(use_enable jack) + $(use_enable lame filewriter_mp3) + $(use_enable libnotify notify) + $(use_enable libsamplerate resample) + $(use_enable lirc) + $(use_enable mms) + $(use_enable modplug) + $(use_enable mp3 mpg123) + $(use_enable nls) + $(use_enable pulseaudio pulse) + $(use_enable qtmedia qtaudio) + $(use_enable scrobbler scrobbler2) + $(use_enable sdl sdlout) + $(use_enable sid) + $(use_enable sndfile) + $(use_enable soxr) + $(use_enable speedpitch) + $(use_enable vorbis) + $(use_enable wavpack) $(use_with ffmpeg ffmpeg $(usex libav libav ffmpeg)) + ) + econf "${myeconfargs[@]}" } diff --git a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild index 944bc654f1d..bcc581ce8a0 100644 --- a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild +++ b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild @@ -117,50 +117,50 @@ src_prepare() { } src_configure() { - if ! use mp3 ; then - ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" - fi + use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" - econf \ - --enable-mpris2 \ - --enable-songchange \ - --disable-oss4 \ - --disable-qtglspectrum \ - --disable-coreaudio \ - --disable-sndio \ - $(use_enable aac) \ - $(use_enable alsa) \ - $(use_enable ampache) \ - $(use_enable aosd) \ - $(use_enable bs2b) \ - $(use_enable cdda cdaudio) \ - $(use_enable cue) \ - $(use_enable flac) \ - $(use_enable flac filewriter) \ - $(use_enable fluidsynth amidiplug) \ - $(use_enable gme console) \ - $(use_enable gtk) \ - $(use_enable hotkeys hotkey) \ - $(use_enable http neon) \ - $(use_enable jack) \ - $(use_enable lame filewriter_mp3) \ - $(use_enable libnotify notify) \ - $(use_enable libsamplerate resample) \ - $(use_enable lirc) \ - $(use_enable mms) \ - $(use_enable modplug) \ - $(use_enable mp3 mpg123) \ - $(use_enable nls) \ - $(use_enable pulseaudio pulse) \ - $(use_enable qt5 qt) \ - $(use_enable qtmedia qtaudio) \ - $(use_enable scrobbler scrobbler2) \ - $(use_enable sdl sdlout) \ - $(use_enable sid) \ - $(use_enable sndfile) \ - $(use_enable soxr) \ - $(use_enable speedpitch) \ - $(use_enable vorbis) \ - $(use_enable wavpack) \ + local myeconfargs=( + --enable-mpris2 + --enable-songchange + --disable-oss4 + --disable-qtglspectrum + --disable-coreaudio + --disable-sndio + $(use_enable aac) + $(use_enable alsa) + $(use_enable ampache) + $(use_enable aosd) + $(use_enable bs2b) + $(use_enable cdda cdaudio) + $(use_enable cue) + $(use_enable flac) + $(use_enable flac filewriter) + $(use_enable fluidsynth amidiplug) + $(use_enable gme console) + $(use_enable gtk) + $(use_enable hotkeys hotkey) + $(use_enable http neon) + $(use_enable jack) + $(use_enable lame filewriter_mp3) + $(use_enable libnotify notify) + $(use_enable libsamplerate resample) + $(use_enable lirc) + $(use_enable mms) + $(use_enable modplug) + $(use_enable mp3 mpg123) + $(use_enable nls) + $(use_enable pulseaudio pulse) + $(use_enable qt5 qt) + $(use_enable qtmedia qtaudio) + $(use_enable scrobbler scrobbler2) + $(use_enable sdl sdlout) + $(use_enable sid) + $(use_enable sndfile) + $(use_enable soxr) + $(use_enable speedpitch) + $(use_enable vorbis) + $(use_enable wavpack) $(use_with ffmpeg ffmpeg $(usex libav libav ffmpeg)) + ) + econf "${myeconfargs[@]}" }