[arch-commits] Commit in libinput/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Andreas Radke
andyrtr at gemini.archlinux.org
Sun Jun 12 10:37:12 UTC 2022
Date: Sunday, June 12, 2022 @ 10:37:12
Author: andyrtr
Revision: 448239
archrelease: copy trunk to testing-x86_64
Added:
libinput/repos/testing-x86_64/
libinput/repos/testing-x86_64/PKGBUILD
(from rev 448238, libinput/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: libinput/repos/testing-x86_64/PKGBUILD (from rev 448238, libinput/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-06-12 10:37:12 UTC (rev 448239)
@@ -0,0 +1,41 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=libinput
+pkgver=1.21.0
+pkgrel=1
+pkgdesc="Input device management and event handling library"
+url="https://gitlab.freedesktop.org/libinput"
+arch=(x86_64)
+license=(custom:X11)
+depends=('mtdev' 'systemd' 'libevdev' 'libwacom')
+# upstream doesn't recommend building docs
+makedepends=('gtk4' 'meson' 'wayland-protocols' 'check') # 'doxygen' 'graphviz' 'python-sphinx' 'python-recommonmark'
+optdepends=('gtk4: libinput debug-gui'
+ 'python-pyudev: libinput measure'
+ 'python-libevdev: libinput measure')
+options=(debug)
+source=(https://gitlab.freedesktop.org/libinput/libinput/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2)
+sha256sums=('3173d83e0f5a686606d2780129c802b865b6a0750c86db88d56097afc016a2dd')
+#validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office at who-t.net>
+
+build() {
+ arch-meson $pkgname-$pkgver build \
+ -D udev-dir=/usr/lib/udev \
+ -D documentation=false
+
+ # Print config
+ meson configure build
+
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+
+ install -Dvm644 $pkgname-$pkgver/COPYING \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list