summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2021-10-14 15:51:38 -0300
committerDaniel Bermond2021-10-14 15:51:38 -0300
commit3bfed2ae965581ae0dc42871642e60f0de8dc929 (patch)
tree140a75675ee541710b4764c5b6de87b57aed70d2
parentb1eb20788e14fa65f4a2b359a5e2b9a4a0b92a21 (diff)
downloadaur-3bfed2ae965581ae0dc42871642e60f0de8dc929.tar.gz
Add nvidia gbm egl config file
gbm egl is supported by the proprietary nvidia driver since its version 495.29.05.
-rw-r--r--.SRCINFO4
-rw-r--r--15_nvidia_gbm.json6
-rw-r--r--PKGBUILD9
3 files changed, 15 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 714205432ec4..9f5d95992c90 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = egl-wayland-git
pkgdesc = EGLStream-based Wayland external platform (git version)
pkgver = 1.1.8.r0.gce4c963
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/NVIDIA/egl-wayland/
arch = x86_64
license = MIT
@@ -16,7 +16,9 @@ pkgbase = egl-wayland-git
conflicts = egl-wayland
source = git+https://github.com/NVIDIA/egl-wayland.git
source = 10_nvidia_wayland.json
+ source = 15_nvidia_gbm.json
sha256sums = SKIP
sha256sums = 5cccf1905a266e8e34d5ad4aad4be85390e60b1a0850a29dd9d64adc641de412
+ sha256sums = be0e01a28300d80ea9a326718d4bdc45eb1ec5d80482a8f6e69e9e1594a5f196
pkgname = egl-wayland-git
diff --git a/15_nvidia_gbm.json b/15_nvidia_gbm.json
new file mode 100644
index 000000000000..2654bebddcca
--- /dev/null
+++ b/15_nvidia_gbm.json
@@ -0,0 +1,6 @@
+{
+ "file_format_version" : "1.0.0",
+ "ICD" : {
+ "library_path" : "libnvidia-egl-gbm.so.1"
+ }
+}
diff --git a/PKGBUILD b/PKGBUILD
index 5cec650ad1ce..5f9be59a309f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=egl-wayland-git
pkgver=1.1.8.r0.gce4c963
-pkgrel=1
+pkgrel=2
pkgdesc='EGLStream-based Wayland external platform (git version)'
arch=('x86_64')
url='https://github.com/NVIDIA/egl-wayland/'
@@ -13,9 +13,11 @@ makedepends=('git' 'meson' 'eglexternalplatform' 'libglvnd>=1.3.4' 'wayland-prot
provides=('egl-wayland' 'libnvidia-egl-wayland.so')
conflicts=('egl-wayland')
source=('git+https://github.com/NVIDIA/egl-wayland.git'
- '10_nvidia_wayland.json')
+ '10_nvidia_wayland.json'
+ '15_nvidia_gbm.json')
sha256sums=('SKIP'
- '5cccf1905a266e8e34d5ad4aad4be85390e60b1a0850a29dd9d64adc641de412')
+ '5cccf1905a266e8e34d5ad4aad4be85390e60b1a0850a29dd9d64adc641de412'
+ 'be0e01a28300d80ea9a326718d4bdc45eb1ec5d80482a8f6e69e9e1594a5f196')
pkgver() {
git -C egl-wayland describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
@@ -34,5 +36,6 @@ package() {
DESTDIR="$pkgdir" ninja install -C build
cp -dr --no-preserve='ownership' egl-wayland/include "${pkgdir}/usr"
install -D -m644 10_nvidia_wayland.json -t "${pkgdir}/usr/share/egl/egl_external_platform.d"
+ install -D -m644 15_nvidia_gbm.json -t "${pkgdir}/usr/share/egl/egl_external_platform.d"
install -D -m644 egl-wayland/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}