diff --git a/srcpkgs/libinput-debug-gui b/srcpkgs/libinput-debug-gui new file mode 120000 index 0000000000..b8bfebd151 --- /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 ab2b0db758..118f703d92 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" -hostmakedepends="pkg-config" +configure_args="-Dtests=false" +hostmakedepends="pkg-config wayland-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" 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 + } +}