mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libdisplay-info: new package
@ 2023-02-14 10:32 Philipp Zabel
  0 siblings, 0 replies; only message in thread
From: Philipp Zabel @ 2023-02-14 10:32 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

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




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

only message in thread, other threads:[~2023-02-14 10:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14 10:32 [ptxdist] [PATCH] libdisplay-info: new package Philipp Zabel

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