mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
libinput: split libinput-debug-gui to avoid a cycle
gst-plugins-bad1 -> zbar -> qt5 -> libinput -> gtk4 -> gst-plugins-bad1
This commit is contained in:
parent
4b5c662918
commit
d3c3ea352a
3 changed files with 32 additions and 13 deletions
|
@ -1 +0,0 @@
|
||||||
libinput
|
|
29
srcpkgs/libinput-debug-gui/template
Normal file
29
srcpkgs/libinput-debug-gui/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# 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.21.0
|
||||||
|
revision=1
|
||||||
|
wrksrc="libinput-${version}"
|
||||||
|
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"
|
||||||
|
short_desc="Provides handling input devices in Wayland compositors and X"
|
||||||
|
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://www.freedesktop.org/wiki/Software/libinput"
|
||||||
|
distfiles="https://gitlab.freedesktop.org/libinput/libinput/-/archive/${version}/libinput-${version}.tar.gz"
|
||||||
|
checksum=1b23c180f5b297303ed36f5a549910f5d320b0eb21052eac67a966d4eaa4e01d
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
|
@ -3,10 +3,9 @@ pkgname=libinput
|
||||||
version=1.21.0
|
version=1.21.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Db_ndebug=false"
|
configure_args="-Db_ndebug=false -Ddebug-gui=false"
|
||||||
hostmakedepends="pkg-config wayland-devel"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libevdev-devel libwacom-devel mtdev-devel eudev-libudev-devel
|
makedepends="libevdev-devel libwacom-devel mtdev-devel eudev-libudev-devel"
|
||||||
gtk4-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="Michal Vasilek <michal@vasilek.cz>"
|
maintainer="Michal Vasilek <michal@vasilek.cz>"
|
||||||
|
@ -34,11 +33,3 @@ 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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue