summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-12-31 14:12:57 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2022-12-31 14:12:57 +0100
commit54e3687418a9471d6059cfd7a64604619b3d6f04 (patch)
tree89c7caf063395e5fc2a88230ded1d156fdf39482
parent8ef16935b9e60e52546d780eaef11d4f4ead52b6 (diff)
mesa-demos: update to 8.5.0, add glxgears subpackage
-rw-r--r--package/mesa-demos/Makefile25
1 files changed, 18 insertions, 7 deletions
diff --git a/package/mesa-demos/Makefile b/package/mesa-demos/Makefile
index e1addc2ba..fec8cb4d3 100644
--- a/package/mesa-demos/Makefile
+++ b/package/mesa-demos/Makefile
@@ -4,28 +4,39 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= mesa-demos
-PKG_VERSION:= 8.2.0
+PKG_VERSION:= 8.5.0
PKG_RELEASE:= 1
-PKG_HASH:= 5f0e76215ffc6acdaa80c7aadf02e448cb95d0ae8f69dbb894382b9c349a19e2
+PKG_HASH:= 2472818cea452a34229d03084e7c81f94267d14a39c5287379de0fb1dc02caab
PKG_DESCR:= opengl demo apps
PKG_SECTION:= mm/video
-PKG_DEPENDS:= mesa
+PKG_DEPENDS:= mesa libglew libglu
PKG_BUILDDEP:= mesa libglew glu
PKG_SITES:= ftp://ftp.freedesktop.org/pub/mesa/demos/${PKG_VERSION}/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el arm
+PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el arm aarch64
-PKG_SUBPKGS:= GLXINFO
+PKG_SUBPKGS:= GLXINFO GLXGEARS
+PKGSD_GLXGEARS:= opengl demo app
PKGSD_GLXINFO:= command-line tool for diagnosing problems with your 3D acceleration card
-PKGSS_GLXINFO:= libxt libxau libxdmcp libxcb libx11 libxext libglew
+PKGSS_GLXINFO:= libxt libxau libxdmcp libxcb libx11 libxext libglew
+PKGSS_GLXINFO+= libxxf86vm
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GLXINFO,glxinfo,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,GLXGEARS,glxgears,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_ARGS+= --disable-egl
+WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
+CONFIG_STYLE:= meson
+BUILD_STYLE:= meson
+INSTALL_STYLE:= meson
+
+glxgears-install:
+ $(INSTALL_DIR) $(IDIR_GLXGEARS)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/glxgears \
+ $(IDIR_GLXGEARS)/usr/bin
glxinfo-install:
$(INSTALL_DIR) $(IDIR_GLXINFO)/usr/bin