summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb
diff options
context:
space:
mode:
authorAdam Duskett <adam.duskett@amarulasolutions.com>2026-02-05 09:50:34 +0100
committerKhem Raj <raj.khem@gmail.com>2026-02-06 10:06:25 -0800
commit800998234a3b3989b09714c5ad2474e2e3571e66 (patch)
treef1771b4da9019b1576f409be8aa5230815de705f /meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb
parent83bf29198b4852e4001d63705504f21d38fa1a99 (diff)
downloadmeta-openembedded-800998234a3b3989b09714c5ad2474e2e3571e66.tar.gz
kmscon: bump version to 9.3.1
- Remove upstreamed patch (commit ID: a1fc510a) - backspace_sends_delete is now a runtime option as of commit 0d6d85a8b865cac17529d049ae9a561db782ac59 - The kmscon.conf file in the source is renamed to kms.conf.example To keep the same behavior as the previous versions, kms.conf.example is moved to ${sysconfdir}/kmscon/kmscon.conf before running sed. - The render-engine config option has been removed as of commit 59eef2a154f78101195ad8ff08376e2418e773f0. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb')
-rw-r--r--meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb67
1 files changed, 67 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb b/meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb
new file mode 100644
index 0000000000..4e27ba218a
--- /dev/null
+++ b/meta-oe/recipes-graphics/kmscon/kmscon_9.3.1.bb
@@ -0,0 +1,67 @@
1SUMMARY = "Simple terminal emulator based on linux kernel mode setting (KMS)."
2DESCRIPTION = "\
3 Kmscon is a simple terminal emulator based on linux kernel mode setting \
4 (KMS). It is an attempt to replace the in-kernel VT implementation with \
5 a userspace console. \
6"
7HOMEPAGE = "https://github.com/kmscon/kmscon"
8BUGTRACKER = "https://github.com/kmscon/kmscon/issues"
9CVE_PRODUCT = "kmscon"
10
11SECTION = "graphics"
12
13LICENSE = "MIT"
14LIC_FILES_CHKSUM = "file://COPYING;md5=6d4602d249f8a3401040238e98367d9e"
15
16DEPENDS = "\
17 libtsm \
18 libxkbcommon \
19 udev \
20"
21
22SRC_URI = "git://github.com/kmscon/kmscon;protocol=https;branch=main;tag=v${PV}"
23SRCREV = "e44ff728e51c5a38b56392abe9bc3e8306db86cc"
24
25inherit meson pkgconfig systemd
26
27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
28
29PACKAGECONFIG[font_pango] = "-Dfont_pango=enabled, -Dfont_pango=disabled, pango"
30PACKAGECONFIG[multi_seat] = "-Dmulti_seat=enabled, -Dmulti_seat=disabled, systemd"
31PACKAGECONFIG[opengl] = "-Drenderer_gltex=enabled -Dvideo_drm3d=enabled, -Drenderer_gltex=disabled -Dvideo_drm3d=disabled, libdrm virtual/egl virtual/libgles2 virtual/libgbm"
32PACKAGECONFIG[video_drm2d] = "-Dvideo_drm2d=enabled, -Dvideo_drm2d=disabled, libdrm"
33
34EXTRA_OEMESON = "\
35 -Delogind=disabled \
36 -Dextra_debug=false \
37 -Dfont_unifont=enabled \
38 -Dsession_dummy=enabled \
39 -Dsession_terminal=enabled \
40 -Dtests=false \
41 -Dvideo_fbdev=enabled \
42"
43
44SYSTEMD_SERVICE:${PN} = "kmscon.service"
45FILES:${PN} += "${systemd_system_unitdir}/kmsconvt@.service"
46
47do_install:append() {
48 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
49 install -d ${D}${sysconfdir}/systemd/system
50 ln -sf ${systemd_system_unitdir}/kmsconvt@.service \
51 ${D}${sysconfdir}/systemd/system/autovt@.service
52 else
53 # kmscon always installs service files.
54 # If systemd and usrmerge are not in DISTRO_FEATURES, packaging errors
55 # occur because service files are installed to /usr/lib/systemd/system/kmscon.service.
56 rm -rf ${D}${libdir}/systemd
57 fi
58
59 if ${@bb.utils.contains('PACKAGECONFIG', 'opengl', 'true', 'false', d)}; then
60 mv ${D}${sysconfdir}/kmscon/kmscon.conf.example ${D}${sysconfdir}/kmscon/kmscon.conf
61 sed -e "s@#drm@drm@g" \
62 -e "s@#hwaccel@hwaccel@g" \
63 -i ${D}${sysconfdir}/kmscon/kmscon.conf
64 fi
65}
66
67RDEPENDS:${PN} = "xkeyboard-config"