Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "Library to handle input devices in Wayland compositors" |
| 2 | HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libinput/" |
| 3 | SECTION = "libs" |
| 4 | |
| 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=2184aef38ff137ed33ce9a63b9d1eb8f" |
| 7 | |
| 8 | DEPENDS = "libevdev udev mtdev" |
| 9 | |
| 10 | SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \ |
| 11 | " |
| 12 | SRC_URI[md5sum] = "8b43d07d1698fb207a0492fc67554d4f" |
| 13 | SRC_URI[sha256sum] = "0bcdbd4c4e3c2a2db322fbdf2ef3284f2e6d6fb7be3af80e6d8de7783f675190" |
| 14 | |
| 15 | UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
| 16 | inherit meson pkgconfig lib_package |
| 17 | |
| 18 | PACKAGECONFIG ??= "" |
| 19 | PACKAGECONFIG[libwacom] = "-Dlibwacom=true,-Dlibwacom=false,libwacom" |
| 20 | PACKAGECONFIG[gui] = "-Ddebug-gui=true,-Ddebug-gui=false,cairo gtk+3" |
| 21 | |
| 22 | UDEVDIR = "`pkg-config --variable=udevdir udev`" |
| 23 | |
| 24 | EXTRA_OEMESON += "-Dudev-dir=${UDEVDIR} -Ddocumentation=false -Dtests=false" |
| 25 | |
| 26 | # package name changed in 1.8.1 upgrade: make sure package upgrades work |
| 27 | RPROVIDES_${PN} = "libinput" |
| 28 | RREPLACES_${PN} = "libinput" |
| 29 | RCONFLICTS_${PN} = "libinput" |