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:
* ERROR: media-video/vlc-2.2.1::gentoo failed (configure phase):
* econf failed
full log and emerge --info attached
Created attachment 403070 [details]
Created attachment 403072 [details]
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
Updated ebuild here: https://bpaste.net/show/3cd55605dda6
Patch to ebuild attached in case anyone wants it.
Created attachment 403096 [details, diff]
12 May 2015; Ian Delaney <firstname.lastname@example.org> vlc-2.2.0.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 <email@example.com> vlc-2.2.0.ebuild,
> finalise config option for qt in src_configure, fixes bug #549212
Works for me. Thanks !