| SUMMARY = "Library to handle input devices in Wayland compositors" |
| HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libinput/" |
| SECTION = "libs" |
| |
| LICENSE = "MIT" |
| LIC_FILES_CHKSUM = "file://COPYING;md5=2184aef38ff137ed33ce9a63b9d1eb8f" |
| |
| DEPENDS = "libevdev udev mtdev" |
| |
| SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \ |
| " |
| SRC_URI[md5sum] = "8b43d07d1698fb207a0492fc67554d4f" |
| SRC_URI[sha256sum] = "0bcdbd4c4e3c2a2db322fbdf2ef3284f2e6d6fb7be3af80e6d8de7783f675190" |
| |
| UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
| inherit meson pkgconfig lib_package |
| |
| 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 -Dtests=false" |
| |
| # package name changed in 1.8.1 upgrade: make sure package upgrades work |
| RPROVIDES_${PN} = "libinput" |
| RREPLACES_${PN} = "libinput" |
| RCONFLICTS_${PN} = "libinput" |