mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 05:52:30 +01:00
39 lines
998 B
Plaintext
39 lines
998 B
Plaintext
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
|
|
pkgname=libinput
|
|
pkgver=1.14.1
|
|
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"
|
|
checkdepends="diffutils bash"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
|
|
source="https://freedesktop.org/software/libinput/$pkgname-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
meson \
|
|
--buildtype=plain \
|
|
--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="8416bab51ba1aab924fa1b41360bc2ad101fb60d3a82c73584bb1e2454554524716673e3eac7f08c18bd6a1ecdfa52ea3cfe09c7a866c59fcd47d75960e82d4c libinput-1.14.1.tar.xz"
|