Brad Bishop | c342db3 | 2019-05-15 21:57:59 -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=1f2ea9ebff3a2c6d458faf58492efb63" |
| 7 | |
| 8 | DEPENDS = "libevdev udev mtdev" |
| 9 | |
| 10 | SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz" |
Brad Bishop | a34c030 | 2019-09-23 22:34:48 -0400 | [diff] [blame^] | 11 | SRC_URI[md5sum] = "da29a704dc6f7ea2d5aac754db046340" |
| 12 | SRC_URI[sha256sum] = "e333a3242835c019ca37d2cef8b51a87d3138eb47444119c0153dc7a8656ee70" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 13 | |
| 14 | UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
| 15 | |
| 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 | |
Brad Bishop | a34c030 | 2019-09-23 22:34:48 -0400 | [diff] [blame^] | 24 | EXTRA_OEMESON += "-Dudev-dir=${UDEVDIR} \ |
| 25 | -Ddocumentation=false \ |
| 26 | -Dtests=false \ |
| 27 | -Dzshcompletiondir=no" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 28 | |
| 29 | # package name changed in 1.8.1 upgrade: make sure package upgrades work |
| 30 | RPROVIDES_${PN} = "libinput" |
| 31 | RREPLACES_${PN} = "libinput" |
| 32 | RCONFLICTS_${PN} = "libinput" |