From 63de3bb6eab655071ec9918546bdf88abee79ca8 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Fri, 3 Dec 2021 00:03:12 +0100 Subject: [PATCH] libinput: update to 1.19.3. * split debug_gui to a subpackage * adopt --- srcpkgs/libinput-debug-gui | 1 + srcpkgs/libinput/template | 21 +++++++++++++-------- 2 files changed, 14 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/libinput-debug-gui diff --git a/srcpkgs/libinput-debug-gui b/srcpkgs/libinput-debug-gui new file mode 120000 index 000000000000..b8bfebd1511c --- /dev/null +++ b/srcpkgs/libinput-debug-gui @@ -0,0 +1 @@ +libinput \ No newline at end of file diff --git a/srcpkgs/libinput/template b/srcpkgs/libinput/template index ab2b0db758ef..ba7425df81da 100644 --- a/srcpkgs/libinput/template +++ b/srcpkgs/libinput/template @@ -1,22 +1,19 @@ # Template file for 'libinput' pkgname=libinput -version=1.19.1 +version=1.19.3 revision=1 build_style=meson -configure_args="$(vopt_bool debug_gui debug-gui) -Ddocumentation=false -Dtests=false" +configure_args="-Dtests=false" hostmakedepends="pkg-config" makedepends="libevdev-devel libwacom-devel mtdev-devel eudev-libudev-devel - $(vopt_if debug_gui gtk+3-devel)" + gtk+3-devel" checkdepends="valgrind check-devel" short_desc="Provides handling input devices in Wayland compositors and X" -maintainer="bra1nwave " +maintainer="Michal Vasilek " license="MIT" homepage="https://www.freedesktop.org/wiki/Software/libinput" distfiles="${FREEDESKTOP_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" -checksum=0bdcf5b1783b737854b7af1ca22df67bc36a6fe7c9cfa71f01e9149f9220446d - -build_options="debug_gui" -desc_option_debug_gui="Build with debug GUI (GTK+3)" +checksum=3cae78ccde19d7d0f387e58bc734d4d17ab5f6426f54a9e8b728c90b17baa068 CFLAGS="-UNDEBUG" @@ -37,3 +34,11 @@ libinput-devel_package() { 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 + } +}