xorg/libglvnd/Pkgfile

28 lines
755 B
Plaintext
Raw Normal View History

# 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 15:41:05 +02:00
# Depends on: xorg-libxext
name=libglvnd
2022-11-25 18:35:03 +01:00
version=1.6.0
release=1
source=(https://github.com/NVIDIA/$name/archive/v$version/$name-$version.tar.gz)
build() {
## for future references
#prt-get isinst xorg-libx11 xorg-libxext xorg-xorgproto && PKGMK_GLVND+=' -D x11=enabled -D glx=enabled'
PKGMK_GLVND+=' -D x11=enabled -D glx=enabled'
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
meson compile -C build
DESTDIR=$PKG meson install -C build
}