Bruce Leidl
8bb03a0582
yocto yocto-3.3 -> yocto-3.3.3 kernel 5.12.4 -> 5.14.9 cryptsetup 2.3.5 -> 2.3.6 libblockdev 2.25 -> 2.26 libbytesize 1.4 -> 2.6 nano 5.6 -> 5.8 udisks2 2.9.2 -> 2.9.3 iwd 1.13 -> 1.17 modemmanager 1.8.2 -> 1.16.8 networkmanager 1.30.2 -> 1.32.10 libgusb 0.2.11 -> 0.3.7 upower 0.99.11 -> 0.99.13 gdm 40.0 -> 41.0 gjs 1.68.0 -> 1.70.0 glib 2.68.0 -> 2.70.0 gnome-backgrounds 40.0 -> 41.0 gnome-control-center 40.0 -> 41.0 gnome-desktop 40.0 -> 41.0 gnome-disk-utility 40.1 -> 41.0 gnome-system-monitor 40.1 -> 41.0 gnome-settings-daemon 40.0.1 -> 41.0 gnome-shell 40.0 -> 41.0 mutter 40.0 -> 41.0 gsettings-desktop-schemas 40.0 -> 41.0 gtk4 4.1.12 -> 4.4.0 gvfs 1.46.1 -> 1.48.1 gnome-terminal 3.40.1 -> 3.41.1 ell 0.39 -> 0.44 mozjs 78.0.1 -> 78.11.0 vte 0.64.0 -> 0.64.2
50 lines
1.9 KiB
BlitzBasic
50 lines
1.9 KiB
BlitzBasic
SUMMARY = "Library to handle input devices in Wayland compositors"
|
|
DESCRIPTION = "libinput is a library to handle input devices in Wayland \
|
|
compositors and to provide a generic X.Org input driver. It provides \
|
|
device detection, device handling, input device event processing and \
|
|
abstraction so minimize the amount of custom input code compositors need to \
|
|
provide the common set of functionality that users expect."
|
|
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libinput/"
|
|
SECTION = "libs"
|
|
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=bab4ac7dc1c10bc0fb037dc76c46ef8a"
|
|
|
|
DEPENDS = "libevdev udev mtdev libcheck"
|
|
|
|
SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \
|
|
file://run-ptest \
|
|
file://determinism.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "0bdcf5b1783b737854b7af1ca22df67bc36a6fe7c9cfa71f01e9149f9220446d"
|
|
|
|
UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
|
|
|
|
inherit meson pkgconfig lib_package ptest
|
|
|
|
# Patch out build directory, otherwise it leaks into ptest binary
|
|
do_configure_append() {
|
|
sed -i -e "s,${WORKDIR},,g" config.h
|
|
if [ -e "litest-config.h" ]; then
|
|
sed -i -e "s,${WORKDIR},,g" litest-config.h
|
|
fi
|
|
}
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[libwacom] = "-Dlibwacom=true,-Dlibwacom=false,libwacom"
|
|
PACKAGECONFIG[gui] = "-Ddebug-gui=true,-Ddebug-gui=false,cairo gtk+3"
|
|
|
|
UDEVDIR = "`pkg-config --variable=udevdir udev`"
|
|
|
|
EXTRA_OEMESON += "-Dudev-dir=${UDEVDIR} \
|
|
-Ddocumentation=false \
|
|
${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true -Dinstall-tests=true', '-Dtests=false -Dinstall-tests=false', d)} \
|
|
-Dzshcompletiondir=no"
|
|
|
|
# package name changed in 1.8.1 upgrade: make sure package upgrades work
|
|
RPROVIDES_${PN} = "libinput"
|
|
RREPLACES_${PN} = "libinput"
|
|
RCONFLICTS_${PN} = "libinput"
|
|
|
|
FILES_${PN}-ptest += "${libexecdir}/libinput/libinput-test-suite"
|