diff options
| author | zangrc <zangrc.fnst@cn.fujitsu.com> | 2020-12-04 10:30:43 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-09 12:20:33 +0000 |
| commit | 11aeb11ba66aa801b50ffd24a4744cd085f6370c (patch) | |
| tree | 03c6a2a6234339a90b414d733a6d4c4ade6bb969 /meta/recipes-graphics/wayland/libinput_1.16.4.bb | |
| parent | 2dcbc66e17794a79b9d2117eb866a3b548f177de (diff) | |
| download | poky-11aeb11ba66aa801b50ffd24a4744cd085f6370c.tar.gz | |
libinput: upgrade 1.16.3 -> 1.16.4
(From OE-Core rev: 4d3ebeef202d9c0544749b64d47e269d939a5124)
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland/libinput_1.16.4.bb')
| -rw-r--r-- | meta/recipes-graphics/wayland/libinput_1.16.4.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/libinput_1.16.4.bb b/meta/recipes-graphics/wayland/libinput_1.16.4.bb new file mode 100644 index 0000000000..17b73e3827 --- /dev/null +++ b/meta/recipes-graphics/wayland/libinput_1.16.4.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | SUMMARY = "Library to handle input devices in Wayland compositors" | ||
| 2 | DESCRIPTION = "libinput is a library to handle input devices in Wayland \ | ||
| 3 | compositors and to provide a generic X.Org input driver. It provides \ | ||
| 4 | device detection, device handling, input device event processing and \ | ||
| 5 | abstraction so minimize the amount of custom input code compositors need to \ | ||
| 6 | provide the common set of functionality that users expect." | ||
| 7 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libinput/" | ||
| 8 | SECTION = "libs" | ||
| 9 | |||
| 10 | LICENSE = "MIT" | ||
| 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=1f2ea9ebff3a2c6d458faf58492efb63" | ||
| 12 | |||
| 13 | DEPENDS = "libevdev udev mtdev libcheck" | ||
| 14 | |||
| 15 | SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \ | ||
| 16 | file://run-ptest \ | ||
| 17 | file://determinism.patch \ | ||
| 18 | " | ||
| 19 | SRC_URI[sha256sum] = "65923a06d5a8970e4a999c4668797b9b689614b62b1d44432ab1c87b65e39e29" | ||
| 20 | |||
| 21 | UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | ||
| 22 | |||
| 23 | inherit meson pkgconfig lib_package ptest | ||
| 24 | |||
| 25 | # Patch out build directory, otherwise it leaks into ptest binary | ||
| 26 | do_configure_append() { | ||
| 27 | sed -i -e "s,${WORKDIR},,g" config.h | ||
| 28 | if [ -e "litest-config.h" ]; then | ||
| 29 | sed -i -e "s,${WORKDIR},,g" litest-config.h | ||
| 30 | fi | ||
| 31 | } | ||
| 32 | |||
| 33 | PACKAGECONFIG ??= "" | ||
| 34 | PACKAGECONFIG[libwacom] = "-Dlibwacom=true,-Dlibwacom=false,libwacom" | ||
| 35 | PACKAGECONFIG[gui] = "-Ddebug-gui=true,-Ddebug-gui=false,cairo gtk+3" | ||
| 36 | |||
| 37 | UDEVDIR = "`pkg-config --variable=udevdir udev`" | ||
| 38 | |||
| 39 | EXTRA_OEMESON += "-Dudev-dir=${UDEVDIR} \ | ||
| 40 | -Ddocumentation=false \ | ||
| 41 | ${@bb.utils.contains('PTEST_ENABLED', '1', '-Dtests=true -Dinstall-tests=true', '-Dtests=false -Dinstall-tests=false', d)} \ | ||
| 42 | -Dzshcompletiondir=no" | ||
| 43 | |||
| 44 | # package name changed in 1.8.1 upgrade: make sure package upgrades work | ||
| 45 | RPROVIDES_${PN} = "libinput" | ||
| 46 | RREPLACES_${PN} = "libinput" | ||
| 47 | RCONFLICTS_${PN} = "libinput" | ||
| 48 | |||
| 49 | FILES_${PN}-ptest += "${libexecdir}/libinput/libinput-test-suite" | ||
