From: Daniel Golle Date: Sun, 22 Aug 2021 20:13:12 +0000 (+0100) Subject: kmscube: add Mesa3D KMS/DRM demo program X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b59206dda5331a0970399b93c4852212191293da;p=feed%2Fvideo.git kmscube: add Mesa3D KMS/DRM demo program Signed-off-by: Daniel Golle --- diff --git a/libs/kmscube/Makefile b/libs/kmscube/Makefile new file mode 100644 index 0000000..25891d7 --- /dev/null +++ b/libs/kmscube/Makefile @@ -0,0 +1,37 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=kmscube +PKG_RELEASE:=$(AUTORELEASE) + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_DATE:=2021-02-07 +PKG_SOURCE_VERSION:=9f63f359fab1b5d8e862508e4e51c9dfe339ccb0 +PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mesa/kmscube +PKG_MIRROR_HASH:=9b95a45789d81db6661be38d2c24181d7d90082edc5689225a6073d587f1235f + +PKG_MAINTAINER:=Daniel Golle +PKG_LICENSE:=MIT + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/meson.mk + +define Package/kmscube + SECTION:=libs + CATEGORY:=Libraries + SUBMENU:=Video + DEPENDS:=+glib2 +libmesa +libpng +gstreamer1-plugins-base +libgstreamer1 +libgst1allocators +libgst1video +libgst1app + TITLE:=kmscube KMS/DRM/EGL example + URL:=https://www.mesa3d.org +endef + +define Package/kmscube/description +endef + +define Package/kmscube/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,kmscube))