mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-06 00:13:37 +01:00
32 lines
881 B
Plaintext
32 lines
881 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libevdev
|
|
pkgver=1.9.0
|
|
pkgrel=0
|
|
pkgdesc="Kernel Evdev Device Wrapper Library"
|
|
url="https://www.freedesktop.org/wiki/Software/libevdev"
|
|
arch="all"
|
|
license="MIT"
|
|
options="!check" # Requires CONFIG_INPUT_UINPUT in kernel
|
|
makedepends="meson python3 linux-headers doxygen"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
source="https://freedesktop.org/software/libevdev/libevdev-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
meson \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var \
|
|
--buildtype=plain \
|
|
-Dtests=disabled \
|
|
-Ddocumentation=enabled \
|
|
. output
|
|
ninja -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" ninja -C output install
|
|
}
|
|
|
|
sha512sums="6e7589b5776437ac23fbf65b3194fb1dd3a68a294696145060cdd97bcdeb9b04f355f2be028dc1a5efe98ef2cafca15e4f61115edf5d62591e3a8944dc95942a libevdev-1.9.0.tar.xz"
|