commit:     3dd31dc605d4ccf8d114828608a35507e8357e7b
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 15 12:14:45 2018 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat Sep 15 12:22:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dd31dc6

media-video/mediainfo: fix wxwidgets eclass usage

Fixes: https://bugs.gentoo.org/642600 thanks to charles17

 media-video/mediainfo/mediainfo-18.05.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/media-video/mediainfo/mediainfo-18.05.ebuild 
b/media-video/mediainfo/mediainfo-18.05.ebuild
index 48b2796d929..8f0fa38d385 100644
--- a/media-video/mediainfo/mediainfo-18.05.ebuild
+++ b/media-video/mediainfo/mediainfo-18.05.ebuild
@@ -26,11 +26,14 @@ S=${WORKDIR}/MediaInfo
 
 pkg_setup() {
        TARGETS="CLI"
-       use wxwidgets && TARGETS+=" GUI"
+       if use wxwidgets; then
+               TARGETS+=" GUI"
+               setup-wxwidgets
+       fi
 }
 
 src_prepare() {
-       eapply_user
+       default
 
        local target
        for target in ${TARGETS}; do

Reply via email to