Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/audacious-plugins/
Date: Fri, 15 Nov 2019 00:36:45
Message-Id: 1573778155.f03381094d5a1f90a77937db8cc78e5c806ee54f.asturm@gentoo
1 commit: f03381094d5a1f90a77937db8cc78e5c806ee54f
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 15 00:04:51 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 15 00:35:55 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0338109
7
8 media-plugins/audacious-plugins: Move ewarn to pkg_setup
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.18
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 media-plugins/audacious-plugins/audacious-plugins-9999.ebuild | 6 ++++--
14 1 file changed, 4 insertions(+), 2 deletions(-)
15
16 diff --git a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
17 index 02a3be38714..940ec18ab53 100644
18 --- a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
19 +++ b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild
20 @@ -113,6 +113,10 @@ RDEPEND="${DEPEND}"
21
22 S="${WORKDIR}/${MY_P}"
23
24 +pkg_setup() {
25 + use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
26 +}
27 +
28 src_prepare() {
29 default
30 if ! use nls; then
31 @@ -122,8 +126,6 @@ src_prepare() {
32 }
33
34 src_configure() {
35 - use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag"
36 -
37 local myeconfargs=(
38 --enable-mpris2
39 --enable-songchange