forked from brl/citadel
Bruce Leidl
e20e601129
Updated Recipes: gcr4 3.92 -> 4.0.0 geoclue 2.5.7 -> 2.7.0 gjs 1.73.2 -> 1.77.90 gnome-backgrounds 42.0 -> 45.0 gnome-control-center 43.0 -> 45.0 gnome-desktop 43.rc -> 44.0 gsettings-desktop-schema 43.0 -> 45.0 libblockdev 2.26 -> 2.28 libgweather4 4.0.0 -> 4.2.0 libnma 1.8.38 -> 1.10.6 mozjs 102 -> 115 nss 3.64 -> 3.74 ovmf 202205 -> 202211 New recipes: appstream 0.16.3 libei 1.1.0 libxmlb 0.3.14 tecla 45.0 webm/libvpx 1.13 Recipes updated to replace poky recipes with insufficient version: glib-2.0 2.78.0 gtk+/gtk+3 3.24.38 gtk+/gtk4 4.12.1 icu 73_2 wayland/wayland 1.22.0 wayland/wayland-protocols 1.32 wayland/libinput 1.24.0 libadwaita 1.4.0
50 lines
1.8 KiB
BlitzBasic
50 lines
1.8 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 = "git://gitlab.freedesktop.org/libinput/libinput.git;protocol=https;branch=main \
|
|
file://run-ptest \
|
|
"
|
|
SRCREV = "1680f2fbaa63a91739012c6b57988ab1918ea0b7"
|
|
S = "${WORKDIR}/git"
|
|
|
|
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"
|