[arch-commits] Commit in lib32-libdrm/repos (3 files)
Laurent Carlier
lcarlier at archlinux.org
Wed May 19 14:18:15 UTC 2021
Date: Wednesday, May 19, 2021 @ 14:18:14
Author: lcarlier
Revision: 936450
archrelease: copy trunk to multilib-testing-x86_64
Added:
lib32-libdrm/repos/multilib-testing-x86_64/
lib32-libdrm/repos/multilib-testing-x86_64/PKGBUILD
(from rev 936449, lib32-libdrm/trunk/PKGBUILD)
lib32-libdrm/repos/multilib-testing-x86_64/no-drmdevice-test.diff
(from rev 936449, lib32-libdrm/trunk/no-drmdevice-test.diff)
------------------------+
PKGBUILD | 62 +++++++++++++++++++++++++++++++++++++++++++++++
no-drmdevice-test.diff | 9 ++++++
2 files changed, 71 insertions(+)
Copied: lib32-libdrm/repos/multilib-testing-x86_64/PKGBUILD (from rev 936449, lib32-libdrm/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD (rev 0)
+++ multilib-testing-x86_64/PKGBUILD 2021-05-19 14:18:14 UTC (rev 936450)
@@ -0,0 +1,62 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+_pkgbasename=libdrm
+pkgname=lib32-$_pkgbasename
+pkgver=2.4.106
+pkgrel=1
+pkgdesc="Userspace interface to kernel DRM services (32-bit)"
+url="https://dri.freedesktop.org/"
+arch=(x86_64)
+license=('custom')
+depends=('lib32-libpciaccess' $_pkgbasename)
+makedepends=('valgrind' 'meson')
+checkdepends=('lib32-cairo')
+source=(https://dri.freedesktop.org/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.xz # {,.sig}
+ no-drmdevice-test.diff)
+sha512sums=('33140e579906ab54b716149056af500c628ce41cd9ae3b0c33496693d2f5903fbcfccee8a942dd1560e1591111ed240da42612d5af5e75558db6f6a85d14617d'
+ 'f1dd5d8c2270c092ccb8e4f92a0da9ab27706dfa22dcedd3fb2414b968ced9333c8bf62baf0219b822e43dce0d804d1dd5cc27d09b0afe8c01967c1784d4a4bb')
+validpgpkeys=('B97BD6A80CAC4981091AE547FE558C72A67013C3') # Maarten Lankhorst <maarten.lankhorst at canonical.com>
+validpgpkeys+=('215DEE688925CCB965BE5DA97C03D7797B6E1AE2') # Damien Lespiau <damien.lespiau at intel.com>
+validpgpkeys+=('10A6D91DA1B05BD29F6DEBAC0C74F35979C486BE') # David Airlie <airlied at redhat.com>
+validpgpkeys+=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # Emil Velikov <emil.l.velikov at gmail.com>
+validpgpkeys+=('D6285B5E899299F3DA746184191C9B905522B045') # Rob Clark <robclark at freedesktop.org>
+validpgpkeys+=('E8EB5B34081CE1EEA26EFE195B5BDA071D49CC38') # Kenneth Graunke <kenneth.w.graunke at intel.com>
+validpgpkeys+=('FC9BAE1435A9F7F664B82057B5D62936D1FC9EE8') # Eric Anholt <eric at anholt.net>
+validpgpkeys+=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88 at gmail.com>
+validpgpkeys+=('C20F5C4490D7D64B4C9A09998CD1DF552975297B') # Robert Bragg <robert at sixbynine.org>
+validpgpkeys+=('CD47C5341A375F33BEF7BAFAFDD15D5ACEF0F2B1') # Marek Olšák <maraeo at gmail.com>
+validpgpkeys+=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # Daniel Stone <daniels at collabora.com>
+validpgpkeys+=('CFD0E654BCBE5DD2D030D222CFCC297C6D0A120B') # Lucas Stach <l.stach at pengutronix.de>
+validpgpkeys+=('E9E246A89E65374EB8355796B8B5FA0EFC1EC2FE') # "Leo Liu <leo.liu at amd.com>"
+
+prepare() {
+ cd $_pkgbasename-$pkgver
+
+ # Fails in a container; autotools skipped this one already
+ patch -Np1 -i ../no-drmdevice-test.diff
+}
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ arch-meson $_pkgbasename-$pkgver build \
+ --libdir=/usr/lib32 \
+ -Dudev=false \
+ -Dvalgrind=false
+ ninja -C build
+}
+
+check() {
+ cd build
+ meson test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+ mkdir -p "$pkgdir/usr/share/licenses"
+ ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
+}
Copied: lib32-libdrm/repos/multilib-testing-x86_64/no-drmdevice-test.diff (from rev 936449, lib32-libdrm/trunk/no-drmdevice-test.diff)
===================================================================
--- multilib-testing-x86_64/no-drmdevice-test.diff (rev 0)
+++ multilib-testing-x86_64/no-drmdevice-test.diff 2021-05-19 14:18:14 UTC (rev 936450)
@@ -0,0 +1,9 @@
+diff --git i/tests/meson.build w/tests/meson.build
+index fdf950b7..a6a2f1f1 100644
+--- i/tests/meson.build
++++ w/tests/meson.build
+@@ -83,4 +83,3 @@ drmdevice = executable(
+ test('random', random, timeout : 240)
+ test('hash', hash)
+ test('drmsl', drmsl)
+-test('drmdevice', drmdevice)
More information about the arch-commits
mailing list