mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libdisplay-info: version bump 0.1.1 -> 0.2.0
@ 2024-12-09 11:54 Michael Tretter
  0 siblings, 0 replies; only message in thread
From: Michael Tretter @ 2024-12-09 11:54 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Tretter

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-09 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-09 11:54 [ptxdist] [PATCH] libdisplay-info: version bump 0.1.1 -> 0.2.0 Michael Tretter

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