2018-08-11 14:10:03 -05:00
|
|
|
# Description: The GL Vendor-Neutral Dispatch library
|
|
|
|
# URL: https://github.com/NVIDIA/libglvnd
|
|
|
|
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
|
2019-08-25 23:41:05 +10:00
|
|
|
# Depends on: xorg-libxext
|
2018-08-11 14:10:03 -05:00
|
|
|
|
|
|
|
name=libglvnd
|
2023-09-12 23:00:27 +02:00
|
|
|
version=1.7.0
|
2022-11-25 18:35:03 +01:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/NVIDIA/$name/archive/v$version/$name-$version.tar.gz)
|
2018-08-11 14:10:03 -05:00
|
|
|
|
|
|
|
build() {
|
2022-09-19 23:59:36 +10:00
|
|
|
## for future references
|
|
|
|
#prt-get isinst xorg-libx11 xorg-libxext xorg-xorgproto && PKGMK_GLVND+=' -D x11=enabled -D glx=enabled'
|
2021-09-19 20:07:18 +02:00
|
|
|
PKGMK_GLVND+=' -D x11=enabled -D glx=enabled'
|
2019-10-28 13:45:31 -05:00
|
|
|
|
2021-09-19 20:07:18 +02:00
|
|
|
meson setup $name-$version build $PKGMK_GLVND \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D gles1=false \
|
|
|
|
-D egl=true \
|
2022-01-03 15:03:41 +01:00
|
|
|
-D tls=false
|
2021-09-19 20:07:18 +02:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2018-08-11 14:10:03 -05:00
|
|
|
}
|