mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-29 04:21:37 +01:00
49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Daniel Sabogal <dsabogalcc@gmail.com>
|
|
pkgname=libinput
|
|
pkgver=1.18.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
|
|
$pkgname-zsh-completion
|
|
"
|
|
source="https://freedesktop.org/software/libinput/libinput-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Ddocumentation=false \
|
|
-Dlibwacom=false \
|
|
-Ddebug-gui=false \
|
|
-Dtests=false builddir/
|
|
meson compile ${JOBS:+-j ${JOBS}} -C builddir/
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild -v -C builddir
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C builddir
|
|
}
|
|
|
|
libs() {
|
|
default_libs
|
|
|
|
mv "$pkgdir"/usr/lib/udev "$subpkgdir"/usr/lib
|
|
mkdir -p "$subpkgdir"/usr/share/
|
|
mv "$pkgdir"/usr/share/libinput "$subpkgdir"/usr/share
|
|
}
|
|
|
|
sha512sums="
|
|
450e38c0f8245aa0165a8047d25aebee646332f0f2ed442bb2d1bd3e723c2082b6d00d6e3bda308981ece8e29b5cddbd56eab900d2b7497705a45fc27b281828 libinput-1.18.1.tar.xz
|
|
"
|