Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [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 | file://0001-tools-Fix-race-in-autotools-install.patch \ |
| 12 | " |
| 13 | |
| 14 | SRC_URI[md5sum] = "8247f0bb67052ffb272c50c3cb9c5998" |
| 15 | SRC_URI[sha256sum] = "e3590a9037e561a5791c8bd3b34bfd30fad5cacd8cbefc0d75fafe3a41d07147" |
| 16 | |
| 17 | inherit autotools pkgconfig lib_package |
| 18 | |
| 19 | PACKAGECONFIG ??= "" |
| 20 | PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind" |
| 21 | PACKAGECONFIG[libwacom] = "--enable-libwacom,--disable-libwacom,libwacom" |
| 22 | PACKAGECONFIG[gui] = "--enable-debug-gui,--disable-debug-gui,cairo gtk+3" |
| 23 | |
| 24 | UDEVDIR = "`pkg-config --variable=udevdir udev`" |
| 25 | |
| 26 | EXTRA_OECONF += "--with-udev-dir=${UDEVDIR} --disable-documentation --disable-tests" |
| 27 | |
| 28 | # package name changed in 1.8.1 upgrade: make sure package upgrades work |
| 29 | RPROVIDES_${PN} = "libinput" |
| 30 | RREPLACES_${PN} = "libinput" |
| 31 | RCONFLICTS_${PN} = "libinput" |