vlc: enable qt for cross builds

This commit is contained in:
Duncaen 2022-01-29 02:08:01 +01:00
parent 3720f0b364
commit 0cc35a9fbb
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,7 +1,7 @@
# Template file for 'vlc'
pkgname=vlc
version=3.0.16
revision=4
revision=5
build_style=gnu-configure
configure_args="--disable-gme --disable-libtar --enable-jack
--enable-live555 --disable-fluidsynth --enable-dvdread
@ -47,7 +47,7 @@ make_check=ci-skip
# Package build options
build_options="lua notify opengl qt rpi smb svg v4l2 vaapi vdpau x265 sndio chromecast"
build_options_default="lua smb v4l2 x265 sndio chromecast"
build_options_default="lua smb v4l2 x265 sndio chromecast qt"
CFLAGS="-fcommon"
CXXFLAGS="-fcommon"
@ -68,8 +68,8 @@ case "$XBPS_TARGET_MACHINE" in
;;
esac
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" qt"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools"
fi
if [ "$build_option_rpi" ]; then