libGL: update to 17.3.2.

Closes: #10642 [via git-merge-pr]
This commit is contained in:
maxice8 2018-01-10 01:54:32 -02:00 committed by Jürgen Buchmüller
parent ec46f2e6ea
commit 91d6b7c994

View file

@ -1,6 +1,6 @@
# Template build file for 'libGL'.
pkgname=libGL
version=17.3.1
version=17.3.2
revision=1
wrksrc="mesa-${version}"
build_style=gnu-configure
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.mesa3d.org/"
license="MIT, LGPL-2.1"
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
checksum=9ae607e0998a586fb2c866cfc8e45e6f52d1c56cb1b41288253ea83eada824c1
checksum=e2844a13f2d6f8f24bee65804a51c42d8dc6ae9c36cff7ee61d0940e796d64c6
hostmakedepends="
automake libtool flex pkg-config llvm python-Mako libxml2-python
@ -61,15 +61,13 @@ armv7l*)
configure_args+=" --disable-xa"
;;
esac
if [ "$XBPS_GCC_VERSION_MAJOR" -ge 7 ]; then
case "$XBPS_TARGET_MACHINE" in
armv[5-6]*)
# Enable MISSING_64BIT_ATOMICS for armv6*
CFLAGS+=" -DMISSING_64BIT_ATOMICS=1"
CXXFLAGS+=" -DMISSING_64BIT_ATOMICS=1"
;;
esac
fi
case "$XBPS_TARGET_MACHINE" in
armv[5-6]*)
# Enable MISSING_64BIT_ATOMICS for armv[56]*
CFLAGS+=" -DMISSING_64BIT_ATOMICS=1"
CXXFLAGS+=" -DMISSING_64BIT_ATOMICS=1"
;;
esac
# -devel must be the last one for proper order.
subpackages+=" MesaLib-devel"
@ -96,6 +94,7 @@ pre_configure() {
esac
}
post_install() {
vlicense docs/license.html
vmkdir usr/lib/xorg/modules/extensions
ln -s libglx-xorg.so ${DESTDIR}/usr/lib/xorg/modules/extensions/libglx.so
if [ -d "$DESTDIR/usr/lib32" ]; then