blob: 091c94866316c7665b70e4e0f6d16fd6acfcef00 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libinput
pkgver=1.26.2
pkgrel=0
pkgdesc="Library for handling input devices"
url="https://www.freedesktop.org/wiki/Software/libinput/"
arch="all"
options="!check" # wow, such broken
license="MIT"
depends=""
checkdepends="check-dev valgrind"
makedepends="doxygen eudev-dev graphviz libevdev-dev libwacom-dev meson
mtdev-dev ninja py3-recommonmark py3-sphinx py3-sphinx-rtd-theme"
subpackages="$pkgname-dev $pkgname-doc"
replaces="$pkgname-libs"
source="https://gitlab.freedesktop.org/libinput/libinput/-/archive/$pkgver/$pkgname-$pkgver.tar.bz2"
build() {
meson --prefix=/usr \
-Dlibwacom=true \
-Ddebug-gui=false \
-Dtests=false builddir/
ninja -C builddir/
}
check() {
ninja -C builddir/ test
}
package() {
DESTDIR="$pkgdir" ninja -C builddir/ install
}
sha512sums="51fab62e1bfb6007287e1219bf458a351806ce685e6e7ba5360062c863f0811da75acc6ec92aef7f9e0556dac0413fbe43a4744885f7449e38036130112907a6 libinput-1.26.2.tar.bz2"
|