Skip to content

Commit

Permalink
package/glmark2: bump to version 2023.01
Browse files Browse the repository at this point in the history
Convert the package to a meson package as recommanded by upstream.
Drop no longer needed patchs.

Fixes: http://autobuild.buildroot.net/results/b32/b3245c4ee8e0b3592b09e0bc57bc0928018936c2
Signed-off-by: Sébastien Szymanski <[email protected]>
[[email protected]:
  - drop --prefix=/usr, already passed by the meson-package infra
  - regenerate .checkpackageignore for removed patches
]
Signed-off-by: Yann E. MORIN <[email protected]>
  • Loading branch information
sebszymanski authored and pcercuei committed Jun 5, 2023
1 parent 77c9810 commit 9e5f8f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 89 deletions.

This file was deleted.

30 changes: 0 additions & 30 deletions package/glmark2/0002-libmatrix-Add-missing-utility-include.patch

This file was deleted.

2 changes: 1 addition & 1 deletion package/glmark2/glmark2.hash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Locally computed
sha256 12aef3ce80406bc723542979b9818886a28d0a4c93f62379eaadfd830974790d glmark2-06e78b67702b5413335ecdf1ae816da9c20f6ed9.tar.gz
sha256 8fece3fc323b643644a525be163dc4931a4189971eda1de8ad4c1712c5db3d67 glmark2-2023.01.tar.gz
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
sha256 16fbc228292bd774b263b212ae422c524cbf3b2078bcf21b22f8bdd4373be617 COPYING.SGI
11 changes: 3 additions & 8 deletions package/glmark2/glmark2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@
#
################################################################################

GLMARK2_VERSION = 06e78b67702b5413335ecdf1ae816da9c20f6ed9
GLMARK2_VERSION = 2023.01
GLMARK2_SITE = $(call github,glmark2,glmark2,$(GLMARK2_VERSION))
GLMARK2_LICENSE = GPL-3.0+, SGIv1
GLMARK2_LICENSE_FILES = COPYING COPYING.SGI
GLMARK2_DEPENDENCIES = host-pkgconf jpeg libegl libpng

# The bundled waf script is too old for >= python3.11
GLMARK2_NEEDS_EXTERNAL_WAF = YES

ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2),y)
GLMARK2_DEPENDENCIES += libdrm libgbm libgles udev
GLMARK2_FLAVORS += drm-glesv2
Expand Down Expand Up @@ -43,8 +40,6 @@ GLMARK2_DEPENDENCIES += libgl wayland wayland-protocols
GLMARK2_FLAVORS += wayland-gl
endif

GLMARK2_CONF_OPTS += \
--prefix=/usr \
--with-flavors=$(subst $(space),$(comma),$(GLMARK2_FLAVORS))
GLMARK2_CONF_OPTS = -Dflavors=$(subst $(space),$(comma),$(GLMARK2_FLAVORS))

$(eval $(waf-package))
$(eval $(meson-package))

0 comments on commit 9e5f8f1

Please sign in to comment.