libinput: update to 1.19.3.

* split debug_gui to a subpackage
This commit is contained in:
Michal Vasilek 2021-12-03 00:03:12 +01:00 committed by paper
parent de37820c6b
commit a1cf22dc19
2 changed files with 15 additions and 9 deletions

1
srcpkgs/libinput-debug-gui Symbolic link
View file

@ -0,0 +1 @@
libinput

View file

@ -1,22 +1,19 @@
# Template file for 'libinput' # Template file for 'libinput'
pkgname=libinput pkgname=libinput
version=1.19.1 version=1.19.3
revision=1 revision=1
build_style=meson build_style=meson
configure_args="$(vopt_bool debug_gui debug-gui) -Ddocumentation=false -Dtests=false" configure_args="-Dtests=false"
hostmakedepends="pkg-config" hostmakedepends="pkg-config wayland-devel"
makedepends="libevdev-devel libwacom-devel mtdev-devel eudev-libudev-devel makedepends="libevdev-devel libwacom-devel mtdev-devel eudev-libudev-devel
$(vopt_if debug_gui gtk+3-devel)" gtk+3-devel"
checkdepends="valgrind check-devel" checkdepends="valgrind check-devel"
short_desc="Provides handling input devices in Wayland compositors and X" short_desc="Provides handling input devices in Wayland compositors and X"
maintainer="bra1nwave <bra1nwave@protonmail.com>" maintainer="Michal Vasilek <michal@vasilek.cz>"
license="MIT" license="MIT"
homepage="https://www.freedesktop.org/wiki/Software/libinput" homepage="https://www.freedesktop.org/wiki/Software/libinput"
distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=0bdcf5b1783b737854b7af1ca22df67bc36a6fe7c9cfa71f01e9149f9220446d checksum=3cae78ccde19d7d0f387e58bc734d4d17ab5f6426f54a9e8b728c90b17baa068
build_options="debug_gui"
desc_option_debug_gui="Build with debug GUI (GTK+3)"
CFLAGS="-UNDEBUG" CFLAGS="-UNDEBUG"
@ -37,3 +34,11 @@ libinput-devel_package() {
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
} }
} }
libinput-debug-gui_package() {
short_desc+=" - debug GUI"
pkg_install() {
vmove usr/libexec/libinput/libinput-debug-gui
vmove usr/share/man/man1/libinput-debug-gui.1
}
}