mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] libtsm: new package
@ 2026-01-30  9:43 Philipp Zabel
  2026-01-30  9:43 ` [ptxdist] [PATCH 2/2] kmscon: " Philipp Zabel
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2026-01-30  9:43 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-30  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-30  9:43 [ptxdist] [PATCH 1/2] libtsm: new package Philipp Zabel
2026-01-30  9:43 ` [ptxdist] [PATCH 2/2] kmscon: " Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox