summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-09-15 08:14:45 -0400
committerTim Harder <radhermit@gentoo.org>2018-09-15 08:22:04 -0400
commit3dd31dc605d4ccf8d114828608a35507e8357e7b (patch)
treea0d04abbe99d24251edc8840e24178ff7bd1f7c7 /media-video/mediainfo
parentmedia-libs/libmediainfo: remove old (diff)
downloadgentoo-3dd31dc605d4ccf8d114828608a35507e8357e7b.tar.gz
gentoo-3dd31dc605d4ccf8d114828608a35507e8357e7b.tar.bz2
gentoo-3dd31dc605d4ccf8d114828608a35507e8357e7b.zip
media-video/mediainfo: fix wxwidgets eclass usage
Fixes: https://bugs.gentoo.org/642600 thanks to charles17
Diffstat (limited to 'media-video/mediainfo')
-rw-r--r--media-video/mediainfo/mediainfo-18.05.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/media-video/mediainfo/mediainfo-18.05.ebuild b/media-video/mediainfo/mediainfo-18.05.ebuild
index 48b2796d9299..8f0fa38d3856 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