From: Andreas Sturmlechner Date: Fri, 15 Nov 2019 00:04:51 +0000 (+0100) Subject: media-plugins/audacious-plugins: Move ewarn to pkg_setup X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f03381094d5a1f90a77937db8cc78e5c806ee54f;p=gentoo.git media-plugins/audacious-plugins: Move ewarn to pkg_setup Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner --- 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