forked from brl/citadel
Bruce Leidl
4831a46764
Recipes updated: adwaita-icon-theme 43 --> 46.0 cairomm 1.12.0 --> 1.18 gdm 42.0 --> 45.0 glibmm 2.62.0 --> 2.78.0 gjs 1.77.90 --> 1.80.0 gnome-backgrounds 45.0 --> 46.0 gnome-bluetooth 42.4 --> 46.0 gnome-control-center 45.0 --> 46.0 gnome-disk-utility 42.0 --> 46.0 gnome-session 42.0 --> 46.0 gnome-settings-daemon 45.0 --> 46.0 gnome-shell 45.0 --> 46.0 gnome-system-monitor 42.0 --> 46.0 gsettings-desktop-schemas 45.0 --> 46.0 gtk4 4.12.1 --> 4.14.1 gvfs 1.50.2 --> 1.54.0 libadwaita 1.4.0 --> 1.5.0 libgtop 2.40.0 --> 2.41.3 libgweather4 4.2.0 --> 4.4.2 libwacom 0.26 --> 2.8.0 mutter 45.0 --> 46.0 pangomm 2.46.2 --> 2.50.1 New recipes added: pipewire 1.0.4 wireplumber 0.5.0 doxygen 1.9.3 gcr 4.2.0 rtkit 0.13 libopus 1.5.1 libjxl 0.10.2 wayland gtkmm4 4.14.0
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"
|
|
|
|
SRC_URI = "git://gitlab.freedesktop.org/libinput/libinput.git;protocol=https;branch=main \
|
|
file://run-ptest \
|
|
"
|
|
SRCREV = "3fd38d89276b679ac3565efd7c2150fd047902cb"
|
|
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 ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
|
|
PACKAGECONFIG[libwacom] = "-Dlibwacom=true,-Dlibwacom=false,libwacom"
|
|
PACKAGECONFIG[gui] = "-Ddebug-gui=true,-Ddebug-gui=false,cairo gtk+3"
|
|
PACKAGECONFIG[tests] = "-Dtests=true -Dinstall-tests=true,-Dtests=false -Dinstall-tests=false,libcheck"
|
|
|
|
UDEVDIR = "`pkg-config --variable=udevdir udev`"
|
|
|
|
EXTRA_OEMESON += "-Dudev-dir=${UDEVDIR} \
|
|
-Ddocumentation=false \
|
|
-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"
|