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