From 9e58032116b5d000a24a1e65090c30df61298af6 Mon Sep 17 00:00:00 2001
From: Tim Biermann <tbier@posteo.de>
Date: Sat, 21 Oct 2023 16:04:19 +0200
Subject: [PATCH] libdrm-32: reenable libdrm-intel

---
 libdrm-32/.footprint | 4 ++++
 libdrm-32/.signature | 6 +++---
 libdrm-32/Pkgfile    | 3 ++-
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/libdrm-32/.footprint b/libdrm-32/.footprint
index 8b2f470c..9ab0bea1 100644
--- a/libdrm-32/.footprint
+++ b/libdrm-32/.footprint
@@ -6,6 +6,9 @@ lrwxrwxrwx	root/root	usr/lib32/libdrm.so.2 -> libdrm.so.2.4.0
 lrwxrwxrwx	root/root	usr/lib32/libdrm_amdgpu.so -> libdrm_amdgpu.so.1
 lrwxrwxrwx	root/root	usr/lib32/libdrm_amdgpu.so.1 -> libdrm_amdgpu.so.1.0.0
 -rwxr-xr-x	root/root	usr/lib32/libdrm_amdgpu.so.1.0.0
+lrwxrwxrwx	root/root	usr/lib32/libdrm_intel.so -> libdrm_intel.so.1
+lrwxrwxrwx	root/root	usr/lib32/libdrm_intel.so.1 -> libdrm_intel.so.1.0.0
+-rwxr-xr-x	root/root	usr/lib32/libdrm_intel.so.1.0.0
 lrwxrwxrwx	root/root	usr/lib32/libdrm_nouveau.so -> libdrm_nouveau.so.2
 lrwxrwxrwx	root/root	usr/lib32/libdrm_nouveau.so.2 -> libdrm_nouveau.so.2.0.0
 -rwxr-xr-x	root/root	usr/lib32/libdrm_nouveau.so.2.0.0
@@ -15,5 +18,6 @@ lrwxrwxrwx	root/root	usr/lib32/libdrm_radeon.so.1 -> libdrm_radeon.so.1.0.1
 drwxr-xr-x	root/root	usr/lib32/pkgconfig/
 -rw-r--r--	root/root	usr/lib32/pkgconfig/libdrm.pc
 -rw-r--r--	root/root	usr/lib32/pkgconfig/libdrm_amdgpu.pc
+-rw-r--r--	root/root	usr/lib32/pkgconfig/libdrm_intel.pc
 -rw-r--r--	root/root	usr/lib32/pkgconfig/libdrm_nouveau.pc
 -rw-r--r--	root/root	usr/lib32/pkgconfig/libdrm_radeon.pc
diff --git a/libdrm-32/.signature b/libdrm-32/.signature
index 0da08796..146ead9f 100644
--- a/libdrm-32/.signature
+++ b/libdrm-32/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/compat-32.pub
-RWSwxGo/zH7eXR7xFp8zWhJah1m/GI+aDIVVPuytl5R88pL1aAyuERyDLaONmvZBkiNaXEt2c6xpdK7DKMknr9LPOVt5I/hymQY=
-SHA256 (Pkgfile) = a849ee7b33d24e5d5dddaeea812ce4b1c1be160f680474514f30d750be228fbd
-SHA256 (.footprint) = c9479e718b1867c8cbe26f41e43e7e0ad98a8a82064e168fc0b46c9965bbf86f
+RWSwxGo/zH7eXfVeShGz17EMwUzML4EWuL+YT9cNGyl071VMnkMPvdDkY0fRWwXxufqx7oLJUuexNey/kbEOuEURNIvxYBzCJAw=
+SHA256 (Pkgfile) = 53b0f7bfdbf71f34734f477a1e88264ecc8319d8aceba61546b4becc77162c51
+SHA256 (.footprint) = 0de5e98f04b4c3e51a52b8de756c49a29c1754215b01929f6b8b07b2c74980e8
 SHA256 (libdrm-2.4.117.tar.xz) = a2888d69e3eb1c8a77adc08a75a60fbae01f0d208d26f034d1a12e362361242b
diff --git a/libdrm-32/Pkgfile b/libdrm-32/Pkgfile
index 70a05b95..36557c87 100644
--- a/libdrm-32/Pkgfile
+++ b/libdrm-32/Pkgfile
@@ -5,7 +5,7 @@
 
 name=libdrm-32
 version=2.4.117
-release=1
+release=2
 source=(https://dri.freedesktop.org/${name%-*}/${name%-*}-$version.tar.xz)
 
 build() {
@@ -13,6 +13,7 @@ build() {
 		--prefix=/usr \
 		--libdir=lib32 \
 		--buildtype=plain \
+		-D intel=enabled \
 		-D man-pages=disabled \
 		-D valgrind=disabled \
 		-D cairo-tests=disabled