mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [ptxdist] [PATCH] libdisplay-info: version bump 0.1.1 -> 0.2.0
Date: Mon,  9 Dec 2024 12:54:48 +0100	[thread overview]
Message-ID: <20241209115448.1515487-1-m.tretter@pengutronix.de> (raw)

Add the LIBDISPLAY_INFO_EDID_DECODE to install the di-edid-decode tool.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 rules/libdisplay-info.in   | 10 ++++++++++
 rules/libdisplay-info.make |  8 ++++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/rules/libdisplay-info.in b/rules/libdisplay-info.in
index d3a6d0cbaa4d..8048f6f5e088 100644
--- a/rules/libdisplay-info.in
+++ b/rules/libdisplay-info.in
@@ -7,3 +7,13 @@ menuconfig LIBDISPLAY_INFO
 	select HWDATA if BUILDTIME
 	help
 	  EDID and DisplayID library
+
+if LIBDISPLAY_INFO
+
+config LIBDISPLAY_INFO_EDID_DECODE
+	bool
+	prompt "install 'di-edid-decode'"
+	help
+	  di-edid-decode commandline tool to decode EDID with libdisplay-info
+
+endif
diff --git a/rules/libdisplay-info.make b/rules/libdisplay-info.make
index b66867bf51b7..ba4bd985753c 100644
--- a/rules/libdisplay-info.make
+++ b/rules/libdisplay-info.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_LIBDISPLAY_INFO) += libdisplay-info
 #
 # Paths and names
 #
-LIBDISPLAY_INFO_VERSION		:= 0.1.1
-LIBDISPLAY_INFO_MD5		:= 56e8d2213d2aefd7defaaddfd9cb80e1
+LIBDISPLAY_INFO_VERSION		:= 0.2.0
+LIBDISPLAY_INFO_MD5		:= 160d4159a7805823cf0b3b4f86dfa8d4
 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)
@@ -50,6 +50,10 @@ $(STATEDIR)/libdisplay-info.targetinstall:
 	@$(call install_fixup, libdisplay-info,DESCRIPTION,missing)
 
 	@$(call install_lib, libdisplay-info, 0, 0, 0644, libdisplay-info)
+ifdef PTXCONF_LIBDISPLAY_INFO_EDID_DECODE
+	@$(call install_copy, libdisplay-info, 0, 0, 0755, -, \
+		/usr/bin/di-edid-decode)
+endif
 
 	@$(call install_finish, libdisplay-info)
 
-- 
2.39.5




                 reply	other threads:[~2024-12-09 11:54 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=20241209115448.1515487-1-m.tretter@pengutronix.de \
    --to=m.tretter@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