qt5: fix armv6* build
Remove dependency on libvpx-devel for armv6* as it can't be cross compiled.
This commit is contained in:
parent
d82038216e
commit
3c1ba3adc5
1 changed files with 6 additions and 1 deletions
|
@ -19,7 +19,7 @@ makedepends="
|
|||
fontconfig-devel libXi-devel libXv-devel libXinerama-devel libXrandr-devel
|
||||
libXcursor-devel libXScrnSaver-devel dbus-devel glib-devel icu-devel
|
||||
cups-devel libjpeg-turbo-devel sqlite-devel alsa-lib-devel tiff-devel
|
||||
libmng-devel libsrtp-devel libvpx-devel snappy-devel minizip-devel
|
||||
libmng-devel libsrtp-devel snappy-devel minizip-devel
|
||||
libxshmfence-devel libSM-devel xcb-util-keysyms-devel
|
||||
xcb-util-image-devel xcb-util-renderutil-devel xcb-util-wm-devel
|
||||
libXcomposite-devel libwebp-devel libxkbcommon-devel harfbuzz-devel gtk+-devel
|
||||
|
@ -37,6 +37,11 @@ CXXFLAGS="-DOPENSSL_NO_SSL3_METHOD"
|
|||
# Required for musl libc
|
||||
LDFLAGS="-pthread"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv[5-6]*) ;; # Can't cross compile libvpx
|
||||
*) makedepends+=" libvpx-devel"
|
||||
esac
|
||||
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
# Need some devel packages in the host to build qmake, moc, uic, rcc
|
||||
# wayland-devel contains /usr/bin/wayland-scanner
|
||||
|
|
Loading…
Reference in a new issue