mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
41 lines
961 B
Text
41 lines
961 B
Text
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libevdev
|
|
pkgver=1.13.0
|
|
pkgrel=1
|
|
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
|
|
depends_dev="linux-headers"
|
|
makedepends="
|
|
$depends_dev
|
|
doxygen
|
|
meson
|
|
python3
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
|
|
source="https://freedesktop.org/software/libevdev/libevdev-$pkgver.tar.xz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-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="
|
|
f30f14c44ef4d4829625aa4c28f10555f333905486f9d39c18cd3ca35e87128a0c24c1bc18ca37b6bf98bc8f7fad27e1bc68678a58e6e6fff3b8d99502ac6905 libevdev-1.13.0.tar.xz
|
|
"
|