diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-02-22 16:51:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-01 23:27:09 +0000 |
commit | 22c56bd9827c5e0e022e95916852065dc9ecf37c (patch) | |
tree | d01271234de5c3f4e334843f00a783e02d551135 /meta/recipes-core/kbd/kbd_2.0.4.bb | |
parent | 3e7f9d8aba9d8c251dc74b96622b71cea6604796 (diff) | |
download | poky-22c56bd9827c5e0e022e95916852065dc9ecf37c.tar.gz |
kbd: update to 2.0.4
(From OE-Core rev: 40b19c1710aff449b8c7cf93f2b635b44fa85e7d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/kbd/kbd_2.0.4.bb')
-rw-r--r-- | meta/recipes-core/kbd/kbd_2.0.4.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-core/kbd/kbd_2.0.4.bb b/meta/recipes-core/kbd/kbd_2.0.4.bb new file mode 100644 index 0000000000..65325c0ea7 --- /dev/null +++ b/meta/recipes-core/kbd/kbd_2.0.4.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | SUMMARY = "Keytable files and keyboard utilities" | ||
2 | # everything minus console-fonts is GPLv2+ | ||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a5fcc36121d93e1f69d96a313078c8b5" | ||
5 | DEPENDS = "libcheck" | ||
6 | |||
7 | inherit autotools gettext ptest pkgconfig | ||
8 | |||
9 | RREPLACES_${PN} = "console-tools" | ||
10 | RPROVIDES_${PN} = "console-tools" | ||
11 | RCONFLICTS_${PN} = "console-tools" | ||
12 | |||
13 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \ | ||
14 | file://run-ptest \ | ||
15 | ${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'file://set-proper-path-of-resources.patch', '', d)} \ | ||
16 | " | ||
17 | |||
18 | SRC_URI[md5sum] = "c1635a5a83b63aca7f97a3eab39ebaa6" | ||
19 | SRC_URI[sha256sum] = "5fd90af6beb225a9bb9b9fb414c090fba53c9a55793e172f508cd43652e59a88" | ||
20 | |||
21 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | ||
22 | PACKAGECONFIG[pam] = "--enable-vlock, --disable-vlock, libpam," | ||
23 | |||
24 | do_compile_ptest() { | ||
25 | oe_runmake -C ${B}/tests dumpkeys-fulltable alt-is-meta | ||
26 | } | ||
27 | |||
28 | do_install_ptest() { | ||
29 | install -D ${B}/tests/Makefile ${D}${PTEST_PATH}/tests/Makefile | ||
30 | sed -i -e '/Makefile:/,/^$/d' -e '/%: %.in/,/^$/d' \ | ||
31 | -e '/libkeymap_.*_SOURCES =/d' -e '/$(EXEEXT):/,/^$/d' ${D}${PTEST_PATH}/tests/Makefile | ||
32 | |||
33 | find ${B}/tests -executable -exec install {} ${D}${PTEST_PATH}/tests \; | ||
34 | find ${S}/tests \( -name \*.map -o -name \*.bin -o -name \*.output \) -exec install {} ${D}${PTEST_PATH}/tests \; | ||
35 | |||
36 | install -D -m 755 ${S}/config/test-driver ${D}${PTEST_PATH}/config/test-driver | ||
37 | } | ||
38 | |||
39 | PACKAGES += "${PN}-consolefonts ${PN}-keymaps ${PN}-unimaps ${PN}-consoletrans" | ||
40 | |||
41 | FILES_${PN}-consolefonts = "${datadir}/consolefonts" | ||
42 | FILES_${PN}-consoletrans = "${datadir}/consoletrans" | ||
43 | FILES_${PN}-keymaps = "${datadir}/keymaps" | ||
44 | FILES_${PN}-unimaps = "${datadir}/unimaps" | ||
45 | |||
46 | RDEPENDS_${PN}-ptest = "make" | ||
47 | |||
48 | inherit update-alternatives | ||
49 | |||
50 | ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt" | ||
51 | ALTERNATIVE_PRIORITY = "100" | ||
52 | |||
53 | BBCLASSEXTEND = "native" | ||