1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 18:25:41 +03:00
aports/community/libevdev/APKBUILD
psykose 02c0dcd7b5 community/libevdev: fix depends_dev, add lto
it requires kernel headers to use
2023-03-07 00:44:56 +01:00

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
"