# Description: The GL Vendor-Neutral Dispatch library # URL: https://github.com/NVIDIA/libglvnd # Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu # Depends on: xorg-libxext name=libglvnd version=1.7.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 \ -D tls=false meson compile -C build DESTDIR=$PKG meson install -C build }