From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [ptxdist] [PATCH 1/2] libtsm: new package
Date: Fri, 30 Jan 2026 10:43:08 +0100 [thread overview]
Message-ID: <20260130094309.1792050-1-p.zabel@pengutronix.de> (raw)
https://github.com/kmscon/libtsm/releases/tag/v4.4.1
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
rules/libtsm.in | 11 +++++++++
rules/libtsm.make | 60 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 71 insertions(+)
create mode 100644 rules/libtsm.in
create mode 100644 rules/libtsm.make
diff --git a/rules/libtsm.in b/rules/libtsm.in
new file mode 100644
index 000000000000..83fa0811fcd9
--- /dev/null
+++ b/rules/libtsm.in
@@ -0,0 +1,11 @@
+## SECTION=project_specific
+
+config LIBTSM
+ tristate
+ select HOST_MESON
+ select LIBXKBCOMMON
+ prompt "libtsm"
+ help
+ Terminal-emulator State Machine
+
+# vim: ft=kconfig tw=80
diff --git a/rules/libtsm.make b/rules/libtsm.make
new file mode 100644
index 000000000000..2986d2d05c54
--- /dev/null
+++ b/rules/libtsm.make
@@ -0,0 +1,60 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2026 by Philipp Zabel <p.zabel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBTSM) += libtsm
+
+#
+# Paths and names
+#
+LIBTSM_VERSION := 4.4.1
+LIBTSM_MD5 := b821ba5e7f55b0c1118ac23a1668ce41
+LIBTSM := libtsm-$(LIBTSM_VERSION)
+LIBTSM_SUFFIX := tar.gz
+LIBTSM_URL := https://github.com/kmscon/libtsm/archive/refs/tags/v$(LIBTSM_VERSION).$(LIBTSM_SUFFIX)
+LIBTSM_SOURCE := $(SRCDIR)/$(LIBTSM).$(LIBTSM_SUFFIX)
+LIBTSM_DIR := $(BUILDDIR)/$(LIBTSM)
+LIBTSM_LICENSE := MIT and BSD-2-Clause
+LIBTSM_LICENSE_FILES := file://COPYING;md5=69e8256cdc4e949f86fedf94b1b320b4
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# meson
+#
+LIBTSM_CONF_TOOL := meson
+LIBTSM_CONF_OPT := \
+ $(CROSS_MESON_USR) \
+ -Dextra_debug=false \
+ -Dtests=false \
+ -Dgtktsm=false
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libtsm.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libtsm)
+ @$(call install_fixup, libtsm,PRIORITY,optional)
+ @$(call install_fixup, libtsm,SECTION,base)
+ @$(call install_fixup, libtsm,AUTHOR,"Philipp Zabel <p.zabel@pengutronix.de>")
+ @$(call install_fixup, libtsm,DESCRIPTION,missing)
+
+ @$(call install_lib, libtsm, 0, 0, 0644, libtsm)
+
+ @$(call install_finish, libtsm)
+
+ @$(call touch)
+
+# vim: ft=make
--
2.47.3
next reply other threads:[~2026-01-30 9:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-30 9:43 Philipp Zabel [this message]
2026-01-30 9:43 ` [ptxdist] [PATCH 2/2] kmscon: " Philipp Zabel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260130094309.1792050-1-p.zabel@pengutronix.de \
--to=p.zabel@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox