mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 21:51:34 +02:00
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libevdev
|
|
pkgver=1.12.1
|
|
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 $pkgname-tools"
|
|
source="https://freedesktop.org/software/libevdev/libevdev-$pkgver.tar.xz
|
|
./install-missing-manpage.patch
|
|
"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Dtests=disabled \
|
|
-Ddocumentation=enabled \
|
|
-Dcoverity=false \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
tools() {
|
|
pkgdesc="$pkgdesc (tools)"
|
|
amove usr/bin
|
|
}
|
|
|
|
sha512sums="
|
|
eefce287a665e4f89eb2e0437dfefd45ecf8925c7dac35a1bdd46158541f77f2032c6146900a30a01321751d55a9b537bd1d61777cca9cfa02c39a6e31c97be4 libevdev-1.12.1.tar.xz
|
|
5b522fe62a0ecf3ef218366d297259cf26ef6df40efa3b256fafa8f587efeb487c6d7e593f5b1857d76f9d09d44faf99a92a0596b13562fa2c14d531a4a05e82 install-missing-manpage.patch
|
|
"
|