mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [ptxdist] [PATCH] libdisplay-info: new package
Date: Tue, 14 Feb 2023 11:32:59 +0100	[thread overview]
Message-ID: <20230214103259.1107665-1-p.zabel@pengutronix.de> (raw)

Package libdisplay-info EDID / DisplayID parsing library.
Announcement mail:

  https://lore.kernel.org/dri-devel/eUGSsAPs9QWiofs9rUjNcIffY-PZRaZwsmwUA2NYKBijdqT7cW-4Mv0Lq9k_A6ptlYC8kXnSUV257b-T8AzsfYVJK_MO9shEOyIit_HoU-g=@emersion.fr/T/#u

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/libdisplay-info.in   |  9 ++++++
 rules/libdisplay-info.make | 58 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 rules/libdisplay-info.in
 create mode 100644 rules/libdisplay-info.make

diff --git a/rules/libdisplay-info.in b/rules/libdisplay-info.in
new file mode 100644
index 000000000000..d3a6d0cbaa4d
--- /dev/null
+++ b/rules/libdisplay-info.in
@@ -0,0 +1,9 @@
+## SECTION=multimedia_libs
+
+menuconfig LIBDISPLAY_INFO
+	tristate
+	prompt "libdisplay-info               "
+	select HOST_MESON
+	select HWDATA if BUILDTIME
+	help
+	  EDID and DisplayID library
diff --git a/rules/libdisplay-info.make b/rules/libdisplay-info.make
new file mode 100644
index 000000000000..c9b4c44d2894
--- /dev/null
+++ b/rules/libdisplay-info.make
@@ -0,0 +1,58 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2023 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_LIBDISPLAY_INFO) += libdisplay-info
+
+#
+# Paths and names
+#
+LIBDISPLAY_INFO_VERSION		:= 0.1.0
+LIBDISPLAY_INFO_MD5		:= a313ab3d90aa8de3b1d9bb5460c05757
+LIBDISPLAY_INFO			:= libdisplay-info-$(LIBDISPLAY_INFO_VERSION)
+LIBDISPLAY_INFO_SUFFIX		:= tar.xz
+LIBDISPLAY_INFO_URL		:= https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/$(LIBDISPLAY_INFO_VERSION)/downloads/$(LIBDISPLAY_INFO).$(LIBDISPLAY_INFO_SUFFIX)
+LIBDISPLAY_INFO_SOURCE		:= $(SRCDIR)/$(LIBDISPLAY_INFO).$(LIBDISPLAY_INFO_SUFFIX)
+LIBDISPLAY_INFO_DIR		:= $(BUILDDIR)/$(LIBDISPLAY_INFO)
+LIBDISPLAY_INFO_LICENSE		:= MIT
+LIBDISPLAY_INFO_LICENSE_FILES	:= \
+	file://LICENSE;md5=e4426409957080ee0352128354cea2de
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# meson
+#
+LIBDISPLAY_INFO_CONF_TOOL := meson
+LIBDISPLAY_INFO_CONF_OPT := \
+	$(CROSS_MESON_USR)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libdisplay-info.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libdisplay-info)
+	@$(call install_fixup, libdisplay-info,PRIORITY,optional)
+	@$(call install_fixup, libdisplay-info,SECTION,base)
+	@$(call install_fixup, libdisplay-info,AUTHOR,"Philipp Zabel <p.zabel@pengutronix.de>")
+	@$(call install_fixup, libdisplay-info,DESCRIPTION,missing)
+
+	@$(call install_lib, libdisplay-info, 0, 0, 0644, libdisplay-info)
+
+	@$(call install_finish, libdisplay-info)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.30.2




                 reply	other threads:[~2023-02-14 10:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20230214103259.1107665-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