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