Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "Xlib: Compose data files for libx11" |
| 2 | DESCRIPTION = "This package provides the compose data files for libx11." |
| 3 | |
| 4 | python () { |
| 5 | if bb.utils.contains('DISTRO_FEATURES', 'x11', True, False, d): |
| 6 | raise bb.parse.SkipRecipe("libx11-compose-data is incompatible with x11 distro feature, use libx11 instead.") |
| 7 | } |
| 8 | |
| 9 | require xorg-lib-common.inc |
| 10 | |
| 11 | LICENSE = "MIT & BSD-1-Clause & HPND & HPND-sell-variant & ISC" |
| 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=1d49cdd2b386c5db11ec636d680b7116" |
| 13 | |
| 14 | XORG_PN = "libX11" |
| 15 | |
| 16 | SRC_URI += "file://0001-Drop-x11-dependencies.patch \ |
| 17 | " |
| 18 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame] | 19 | SRC_URI[sha256sum] = "c9a287a5aefa9804ce3cfafcf516fe96ed3f7e8e45c0e2ee59e84c86757df518" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 20 | |
| 21 | REQUIRED_DISTRO_FEATURES = "" |
| 22 | |
| 23 | EXTRA_OECONF += "--disable-xkb" |
| 24 | |
| 25 | do_compile() { |
| 26 | oe_runmake -C nls |
| 27 | } |
| 28 | |
| 29 | do_install() { |
| 30 | oe_runmake DESTDIR=${D} -C nls install |
| 31 | } |
| 32 | |
| 33 | PACKAGES = "${PN}" |
| 34 | |
| 35 | FILES:${PN} = "${datadir}/X11/locale ${libdir}/X11/locale" |