diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-lib/libxkbcommon_0.10.0.bb')
-rw-r--r-- | meta/recipes-graphics/xorg-lib/libxkbcommon_0.10.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon_0.10.0.bb b/meta/recipes-graphics/xorg-lib/libxkbcommon_0.10.0.bb new file mode 100644 index 0000000000..16d9c36eae --- /dev/null +++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_0.10.0.bb | |||
@@ -0,0 +1,27 @@ | |||
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] = "2d9ad3a46b317138b5e72a91cf105451" | ||
13 | SRC_URI[sha256sum] = "57c3630cdc38fb4734cd57fa349e92244f5ae3862813e533cedbd86721a0b6f2" | ||
14 | |||
15 | UPSTREAM_CHECK_URI = "http://xkbcommon.org/" | ||
16 | |||
17 | inherit meson pkgconfig | ||
18 | |||
19 | EXTRA_OEMESON = "-Denable-docs=false" | ||
20 | |||
21 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11 wayland', d)}" | ||
22 | PACKAGECONFIG[x11] = "-Denable-x11=true,-Denable-x11=false,libxcb xkeyboard-config," | ||
23 | PACKAGECONFIG[wayland] = "-Denable-wayland=true,-Denable-wayland=false,wayland-native wayland wayland-protocols," | ||
24 | |||
25 | # Fix a following runtime error: | ||
26 | # xkbcommon: ERROR: couldn't find a Compose file for locale "C" | ||
27 | RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}" | ||