forked from ports/compat-32
27 lines
650 B
Plaintext
27 lines
650 B
Plaintext
# Description: Wrapper library for evdev devices
|
|
# URL: https://xorg.freedesktop.org/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: xorg-libevdev
|
|
|
|
name=xorg-libevdev-32
|
|
version=1.13.1
|
|
release=1
|
|
source=(https://www.freedesktop.org/software/libevdev/libevdev-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup build libevdev-$version \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32 \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D tests=disabled \
|
|
-D documentation=disabled
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/{bin,include,share}
|
|
}
|