mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-17 06:32:36 +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.13.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 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="26f11c5274c26acc38b9b5729195010c0799a9563f1eb0e0cd67e323f8ed73b0fc8db8584ec8fdf1b726417f64c2daeb54832167079832626c8c1190fccf459f libinput-1.13.2.tar.xz"
|