mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-06 14:12:23 +01:00
37 lines
983 B
Plaintext
37 lines
983 B
Plaintext
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
|
|
pkgname=libinput
|
|
pkgver=1.12.6
|
|
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 meson mtdev-dev bash"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
|
|
source="https://freedesktop.org/software/libinput/$pkgname-$pkgver.tar.xz"
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
meson --prefix=/usr \
|
|
--libdir=lib \
|
|
-Ddocumentation=false \
|
|
-Dlibwacom=false \
|
|
-Ddebug-gui=false \
|
|
-Dtests=false builddir/
|
|
ninja -C builddir/
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir/builddir"
|
|
ninja test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
DESTDIR="$pkgdir" ninja -C builddir/ install
|
|
}
|
|
|
|
sha512sums="02ad90c77a0c8c27fd96ec34e1546c5f0947ced49bad386372c1ef7c41b3b2157c39020f0766f20aaf2ab3c97128567e169279bea21115ced39499dda325d2ef libinput-1.12.6.tar.xz"
|