mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +02:00
Changelog:
==========
keymaps:
-------
Fix pt-latin1 failing to load due to euro2 include.
tests:
--------
The tests do not depend on the data in srcdir/data.
(From OE-Core rev: 750a4d2204dcad60e911d76f20abbc778c208b93)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
47 lines
1.6 KiB
BlitzBasic
47 lines
1.6 KiB
BlitzBasic
SUMMARY = "Keytable files and keyboard utilities"
|
||
HOMEPAGE = "http://www.kbd-project.org/"
|
||
DESCRIPTION = "The kbd project contains tools for managing Linux console (Linux console, virtual terminals, keyboard, etc.) – mainly, what they do is loading console fonts and keyboard maps."
|
||
# everything minus console-fonts is GPL-2.0-or-later
|
||
LICENSE = "GPL-2.0-or-later"
|
||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||
|
||
inherit autotools gettext pkgconfig
|
||
|
||
DEPENDS += "flex-native"
|
||
|
||
RREPLACES:${PN} = "console-tools"
|
||
RPROVIDES:${PN} = "console-tools"
|
||
RCONFLICTS:${PN} = "console-tools"
|
||
|
||
SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \
|
||
"
|
||
|
||
SRC_URI[sha256sum] = "ccdf452387a6380973d2927363e9cbb939fa2068915a6f937ff9d24522024683"
|
||
|
||
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
|
||
"
|
||
|
||
PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam,"
|
||
|
||
PACKAGES += "${PN}-consolefonts ${PN}-keymaps ${PN}-unimaps ${PN}-consoletrans"
|
||
|
||
FILES:${PN}-consolefonts = "${datadir}/consolefonts"
|
||
FILES:${PN}-consoletrans = "${datadir}/consoletrans"
|
||
FILES:${PN}-keymaps = "${datadir}/keymaps"
|
||
FILES:${PN}-unimaps = "${datadir}/unimaps"
|
||
|
||
do_install:append () {
|
||
if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'yes', 'no', d)}" = "yes" ] \
|
||
&& [ -f ${D}${sysconfdir}/pam.d/vlock ]; then
|
||
mv -f ${D}${sysconfdir}/pam.d/vlock ${D}${sysconfdir}/pam.d/vlock.kbd
|
||
fi
|
||
}
|
||
|
||
inherit update-alternatives
|
||
|
||
ALTERNATIVE:${PN} = "chvt deallocvt fgconsole openvt showkey \
|
||
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'vlock','', d)}"
|
||
ALTERNATIVE_PRIORITY = "100"
|
||
|
||
BBCLASSEXTEND = "native"
|