libwebp: do not depend on freeglut on arm*.
On arm* all packages that link against SDL2 use rpi-userland, thus no glvnd.
This commit is contained in:
parent
28ca675a65
commit
f9a733fb4f
1 changed files with 3 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'libwebp'
|
||||
pkgname=libwebp
|
||||
version=1.0.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --enable-libwebpmux
|
||||
--enable-libwebpdemux --enable-libwebpdecoder"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="giflib-devel libfreeglut-devel libpng-devel tiff-devel"
|
||||
makedepends="giflib-devel libpng-devel tiff-devel"
|
||||
short_desc="WebP image format"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="BSD-3-Clause"
|
||||
|
@ -17,6 +17,7 @@ checksum=e20a07865c8697bba00aebccc6f54912d6bc333bb4d604e6b07491c1a226b34f
|
|||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*) configure_args+=" --disable-neon";;
|
||||
armv7*) CFLAGS="-mfpu=neon";;
|
||||
*) makedepends+=" libfreeglut-devel";;
|
||||
esac
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue