mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Subject: [ptxdist] [PATCH] platsch: new package
Date: Wed, 22 Jan 2025 11:08:13 +0100	[thread overview]
Message-ID: <20250122100813.4059044-1-r.czerwinski@pengutronix.de> (raw)

Add platsch, a simple splash screen application which uses libdrm during
early boot to display a splash image and than hands over execution to
/sbin/init. For advanced usecases liplatsch is installed as well.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 rules/platsch.in   |  9 ++++++
 rules/platsch.make | 68 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)
 create mode 100644 rules/platsch.in
 create mode 100644 rules/platsch.make

diff --git a/rules/platsch.in b/rules/platsch.in
new file mode 100644
index 000000000..afb169998
--- /dev/null
+++ b/rules/platsch.in
@@ -0,0 +1,9 @@
+## SECTION=multimedia_tools
+
+config PLATSCH
+	tristate
+	select HOST_MESON
+	select LIBDRM
+	prompt "platsch"
+	help
+	  Splash Screen Application using libdrm.
diff --git a/rules/platsch.make b/rules/platsch.make
new file mode 100644
index 000000000..6640e5729
--- /dev/null
+++ b/rules/platsch.make
@@ -0,0 +1,68 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2025 by Rouven Czerwinski <r.czerwinski@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PLATSCH) += platsch
+
+#
+# Paths and names
+#
+PLATSCH_VERSION	:= v2024.08.0
+PLATSCH_MD5		:= f71c2c60acb8ef221f3cc5612e6a920e
+PLATSCH		:= platsch-$(PLATSCH_VERSION)
+PLATSCH_SUFFIX	:= tar.gz
+PLATSCH_URL		:= https://github.com/pengutronix/platsch/archive/refs/tags//$(PLATSCH_VERSION).$(PLATSCH_SUFFIX)
+PLATSCH_SOURCE	:= $(SRCDIR)/$(PLATSCH).$(PLATSCH_SUFFIX)
+PLATSCH_DIR		:= $(BUILDDIR)/$(PLATSCH)
+PLATSCH_LICENSE	:= unknown
+PLATSCH_LICENSE_FILES	:=
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PLATSCH_CONF_ENV	:= $(CROSS_ENV)
+
+#
+# meson
+#
+PLATSCH_CONF_TOOL	:= meson
+PLATSCH_CONF_OPT	:=  \
+	$(CROSS_MESON_USR)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/platsch.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, platsch)
+	@$(call install_fixup, platsch,PRIORITY,optional)
+	@$(call install_fixup, platsch,SECTION,base)
+	@$(call install_fixup, platsch,AUTHOR,"Rouven Czerwinski <r.czerwinski@pengutronix.de>")
+	@$(call install_fixup, platsch,DESCRIPTION,missing)
+
+	@$(call install_lib, platsch, 0, 0, 0755, libplatsch)
+	@$(call install_copy, platsch, 0, 0, 0755, -, /usr/sbin/platsch)
+
+	@$(call install_finish, platsch)
+
+	@$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/platsch.clean:
+#	@$(call targetinfo)
+#	@$(call clean_pkg, PLATSCH)
+
+# vim: syntax=make
-- 
2.39.5




             reply	other threads:[~2025-01-22 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22 10:08 Rouven Czerwinski [this message]
2025-01-22 10:47 ` Rouven Czerwinski

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=20250122100813.4059044-1-r.czerwinski@pengutronix.de \
    --to=r.czerwinski@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