void-packages/srcpkgs/libinput-debug-gui/template

30 lines
1.3 KiB
Bash

# Template file for 'libinput-debug-gui'
# keep in sync with libinput
# split to avoid cycle: gst-plugins-bad1 -> zbar -> qt5 -> libinput -> gtk4 -> gst-plugins-bad1
pkgname=libinput-debug-gui
version=1.26.2
revision=1
build_style=meson
configure_args="-Db_ndebug=false -Dtests=false -Ddebug-gui=true"
hostmakedepends="pkg-config wayland-devel"
makedepends="libevdev-devel libwacom-devel mtdev-devel eudev-libudev-devel
gtk4-devel"
checkdepends="valgrind check-devel python3-pytest"
short_desc="Provides handling input devices in Wayland compositors and X"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://www.freedesktop.org/wiki/Software/libinput"
distfiles="https://gitlab.freedesktop.org/libinput/libinput/-/archive/${version}/libinput-${version}.tar.gz"
checksum=5c1c4150f217fea1db2d1fd88e2607b2f1928cfde65c34da65a9f24dcfd69464
post_install() {
mv ${DESTDIR}/usr/libexec/libinput/libinput-debug-gui ${DESTDIR}/libinput-debug-gui
mv ${DESTDIR}/usr/share/man/man1/libinput-debug-gui.1 ${DESTDIR}/libinput-debug-gui.1
rm -r ${DESTDIR}/usr
vmkdir usr/libexec/libinput
mv ${DESTDIR}/libinput-debug-gui ${DESTDIR}/usr/libexec/libinput/libinput-debug-gui
vmkdir usr/share/man/man1
mv ${DESTDIR}/libinput-debug-gui.1 ${DESTDIR}/usr/share/man/man1/libinput-debug-gui.1
vlicense COPYING
}