Browse Source

[testing] -> [multilib] 'lib32-libdrm-2.4.112-1' move

master
Nathan Owens 1 month ago
parent
commit
8b494aa25d
Signed by: ndowens
GPG Key ID: DC5A6F8092641E2D
  1. 7
      lib32-libdrm/x86_64/multilib/PKGBUILD
  2. 47
      lib32-libdrm/x86_64/testing/PKGBUILD
  3. 9
      lib32-libdrm/x86_64/testing/no-drmdevice-test.diff

7
lib32-libdrm/x86_64/multilib/PKGBUILD

@ -3,7 +3,7 @@
_pkgbasename=libdrm
pkgname=lib32-$_pkgbasename
pkgver=2.4.111
pkgver=2.4.112
pkgrel=1
pkgdesc="Userspace interface to kernel DRM services (32-bit)"
url="https://dri.freedesktop.org/"
@ -12,9 +12,8 @@ license=('custom')
depends=('lib32-libpciaccess' $_pkgbasename)
makedepends=('valgrind' 'meson')
checkdepends=('lib32-cairo')
source=(https://dri.freedesktop.org/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.xz{,.sig})
sha512sums=('17e92e9e4ded8031ac222764bed7e9ff430a1a377f5e435f6b62b4a7f45cb4c4b769b3b79fbcba11512c1ac973abf8cdcca8e0b9659ae095e915d3d5efcf5516'
'SKIP')
source=(https://dri.freedesktop.org/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.xz)
sha512sums=('df8a207d9cce220ee2cf67877eda65394733fbfd0ff85fdbadb2b20ba9bacc41421b32452506c8caecddaf8361564ca68cd6c74d4faf3b1569ab30a3243e4340')
validpgpkeys=('10A6D91DA1B05BD29F6DEBAC0C74F35979C486BE') # David Airlie <airlied@redhat.com>
#validpgpkeys=('2617F6F8DEBB0A7A15C405C983FD600E340FB5FF') # Samuel Pitoiset <samuel.pitoiset@gmail.com>

47
lib32-libdrm/x86_64/testing/PKGBUILD

@ -1,47 +0,0 @@
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
_pkgbasename=libdrm
pkgname=lib32-$_pkgbasename
pkgver=2.4.112
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)
sha512sums=('df8a207d9cce220ee2cf67877eda65394733fbfd0ff85fdbadb2b20ba9bacc41421b32452506c8caecddaf8361564ca68cd6c74d4faf3b1569ab30a3243e4340')
validpgpkeys=('10A6D91DA1B05BD29F6DEBAC0C74F35979C486BE') # David Airlie <airlied@redhat.com>
#validpgpkeys=('2617F6F8DEBB0A7A15C405C983FD600E340FB5FF') # Samuel Pitoiset <samuel.pitoiset@gmail.com>
prepare() {
cd $_pkgbasename-$pkgver
}
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
artix-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"
}

9
lib32-libdrm/x86_64/testing/no-drmdevice-test.diff

@ -1,9 +0,0 @@
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)
Loading…
Cancel
Save