summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLW-archlinux2019-09-28 22:54:21 +0200
committerLW-archlinux2019-09-28 22:54:21 +0200
commit97b9a07ff357e3169aa52d8e8d2c81f2069d9431 (patch)
treebb01330ba0230be662c814c1eec5d0a48cae29fb /PKGBUILD
parent6ddefddc83cf3292ca6ca0a11ee6480bd8057eb9 (diff)
downloadaur-97b9a07ff357e3169aa52d8e8d2c81f2069d9431.tar.gz
switch from extra/libglvnd to aur libglvnd12
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cdb7be59cc4..7af1c5bfdba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,14 +11,14 @@
pkgname=mesa-git
pkgdesc="an open-source implementation of the OpenGL specification, git version"
-pkgver=19.3.0_devel.115092.3f5b541fc8b
-pkgrel=1
+pkgver=19.3.0_devel.115749.336b021d36f
+pkgrel=2
arch=('x86_64')
makedepends=('git' 'python-mako' 'xorgproto'
'libxml2' 'libx11' 'libvdpau' 'libva' 'elfutils' 'libomxil-bellagio' 'libxrandr'
'ocl-icd' 'vulkan-icd-loader' 'libgcrypt' 'wayland' 'wayland-protocols' 'meson' 'ninja')
depends=('libdrm' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf'
- 'libomxil-bellagio' 'libunwind' 'libglvnd' 'wayland' 'lm_sensors' 'libclc' 'glslang')
+ 'libomxil-bellagio' 'libunwind' 'libglvnd12' 'wayland' 'lm_sensors' 'libclc' 'glslang')
optdepends=('opengl-man-pages: for the OpenGL API man pages')
provides=(mesa=$pkgver-$pkgrel vulkan-intel=$pkgver-$pkgrel vulkan-radeon=$pkgver-$pkgrel vulkan-mesa-layer=$pkgver-$pkgrel libva-mesa-driver=$pkgver-$pkgrel mesa-vdpau=$pkgver-$pkgrel vulkan-driver opencl- opengl-driver opencl-driver)
conflicts=('mesa' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-mesa-layer' 'libva-mesa-driver' 'mesa-vdpau')
@@ -130,10 +130,13 @@ build () {
}
package() {
- DESTDIR="$pkgdir" ninja $NINJAFLAGS -C _build install
+ DESTDIR="${pkgdir}" ninja $NINJAFLAGS -C _build install
- # indirect rendering
- ln -s /usr/lib/libGLX_mesa.so.0 ${pkgdir}/usr/lib/libGLX_indirect.so.0
-
- install -Dt "$pkgdir"/usr/share/licenses/$pkgname "$srcdir"/LICENSE
+ # indirect rendering
+ ln -s /usr/lib/libGLX_mesa.so.0 "${pkgdir}/usr/lib/libGLX_indirect.so.0"
+
+ # remove files provided by libglvnd 1.2.0 and later
+# rm ${pkgdir}/usr/lib/pkgconfig/{e,}gl.pc
+
+ install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${srcdir}/LICENSE"
}