Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "Generic XKB keymap library" |
| 2 | DESCRIPTION = "libxkbcommon is a keymap compiler and support library which \ |
| 3 | processes a reduced subset of keymaps as defined by the XKB specification." |
| 4 | HOMEPAGE = "http://www.xkbcommon.org" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=e525ed9809e1f8a07cf4bce8b09e8b87" |
| 6 | LICENSE = "MIT & MIT-style" |
| 7 | |
| 8 | DEPENDS = "util-macros flex-native bison-native" |
| 9 | |
| 10 | SRC_URI = "http://xkbcommon.org/download/${BPN}-${PV}.tar.xz" |
| 11 | |
| 12 | SRC_URI[md5sum] = "3c4409058dfd203f641a563358e0187d" |
| 13 | SRC_URI[sha256sum] = "60ddcff932b7fd352752d51a5c4f04f3d0403230a584df9a2e0d5ed87c486c8b" |
| 14 | |
| 15 | UPSTREAM_CHECK_URI = "http://xkbcommon.org/" |
| 16 | |
| 17 | inherit autotools pkgconfig |
| 18 | |
| 19 | EXTRA_OECONF = "--disable-docs" |
| 20 | |
| 21 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
| 22 | PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,libxcb xkeyboard-config," |
Brad Bishop | 08902b0 | 2019-08-20 09:16:51 -0400 | [diff] [blame] | 23 | |
| 24 | # Fix a following runtime error: |
| 25 | # xkbcommon: ERROR: couldn't find a Compose file for locale "C" |
| 26 | RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}" |