blob: d334cfc01374654bdca72ae3fa3a8ca477aee009 (
plain) (
tree)
|
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libinput
pkgver=1.12.2
pkgrel=0
pkgdesc="Library for handling input devices"
url="https://www.freedesktop.org/wiki/Software/libinput/"
arch="all"
license="MIT"
makedepends="eudev-dev libevdev-dev libwacom-dev meson mtdev-dev"
checkdepends="check-dev valgrind"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="https://freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
build() {
cd "$builddir"
# Docs disabled: requires sphinx now
meson --prefix=/usr \
-Ddocumentation=false \
-Dlibwacom=true \
-Ddebug-gui=false \
-Dtests=true builddir/
ninja -C builddir/
}
check() {
cd "$builddir"
ninja -C builddir/ test
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C builddir/ install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
sha512sums="f7122a1d18dd2d0072a34fd9897ebe25a065100b3754052d7ec133bddb56d5c2a5a94950cfc8366ef5d117180c28b3ff99b1a62f3ab95df5ac22f86721fbdc67 libinput-1.12.2.tar.xz"
|