edid-decode: add package
authorDaniel Golle <daniel@makrotopia.org>
Tue, 5 Nov 2024 19:09:04 +0000 (19:09 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 5 Dec 2024 01:15:41 +0000 (01:15 +0000)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libs/edid-decode/Makefile [new file with mode: 0644]

diff --git a/libs/edid-decode/Makefile b/libs/edid-decode/Makefile
new file mode 100644 (file)
index 0000000..54f6cc5
--- /dev/null
@@ -0,0 +1,37 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=edid-decode
+PKG_RELEASE:=1
+
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_DATE:=2024-10-12
+PKG_SOURCE_VERSION:=8fd97f32c8f25b6560a5766066218a72ad2e2a01
+PKG_SOURCE_URL:=https://git.linuxtv.org/edid-decode.git
+PKG_MIRROR_HASH:=b850202de0b0a5ad2e703d45c8a683ffefcbd8e9e09bd64caebd891f5710681e
+
+PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/meson.mk
+
+define Package/edid-decode
+  SECTION:=libs
+  CATEGORY:=Libraries
+  SUBMENU:=Video
+  TITLE:=EDID decode
+  DEPENDS:=+libstdcpp
+  URL:=https://www.linuxtv.org
+endef
+
+define Package/edid-decode/description
+ Display EDID decoder application
+endef
+
+define Package/edid-decode/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,edid-decode))