From f03381094d5a1f90a77937db8cc78e5c806ee54f Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 15 Nov 2019 01:04:51 +0100 Subject: [PATCH] media-plugins/audacious-plugins: Move ewarn to pkg_setup Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner --- .../audacious-plugins/audacious-plugins-9999.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild index 02a3be387140..940ec18ab531 100644 --- a/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild +++ b/media-plugins/audacious-plugins/audacious-plugins-9999.ebuild @@ -113,6 +113,10 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${MY_P}" +pkg_setup() { + use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" +} + src_prepare() { default if ! use nls; then @@ -122,8 +126,6 @@ src_prepare() { } src_configure() { - use mp3 || ewarn "MP3 support is optional, you may want to enable the mp3 USE-flag" - local myeconfargs=( --enable-mpris2 --enable-songchange -- 2.26.2