With USE="ncurses -qt4 -qt5", media-video/vlc-2.2.1 does not build and configure leads to the following error: checking for QT... no configure: error: Package requirements (Qt5Core >= 5.1.0 Qt5Widgets Qt5Gui) were not met: No package 'Qt5Core' found No package 'Qt5Widgets' found No package 'Qt5Gui' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables QT_CFLAGS and QT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/media-video/vlc-2.2.1/work/vlc-2.2.1/config.log * ERROR: media-video/vlc-2.2.1::gentoo failed (configure phase): * econf failed full log and emerge --info attached Reproducible: Always
Created attachment 403070 [details] build.log
Created attachment 403072 [details] emerge --info
Confirmed, I see the same behaviour (despite vlc itself being quite capable of being built without a GUI).
Ah, good find, I believe I just need to add the following two lines to the ebuild: elif ! use qt4 && ! use qt5; then qt_flag="--disable-qt" Updated ebuild here: https://bpaste.net/show/3cd55605dda6 Patch to ebuild attached in case anyone wants it.
Created attachment 403096 [details, diff] vlc-2.2.1-qt_select_update.patch
12 May 2015; Ian Delaney <idella4@gentoo.org> vlc-2.2.0.ebuild, vlc-2.2.1.ebuild: finalise config option for qt in src_configure, fixes bug #549212
(In reply to Ian Delaney from comment #6) > 12 May 2015; Ian Delaney <idella4@gentoo.org> vlc-2.2.0.ebuild, > vlc-2.2.1.ebuild: > finalise config option for qt in src_configure, fixes bug #549212 Works for me. Thanks !