mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Merge pull request #4951 from chewitt/glmark2
glmark2: bump to latest meson commit
This commit is contained in:
commit
70ec0ac39a
@ -2,31 +2,19 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="glmark2"
|
||||
PKG_VERSION="12977017a538abaa18d57e844f3bf3b95ed633f9"
|
||||
PKG_SHA256="b84d0a2c0600ad0d0423aa35b546c0997b59717163ee11d27451ed67dbaf4474"
|
||||
PKG_VERSION="dab3e7d8ab185a59e7475845d189f9a2d7d67ad0"
|
||||
PKG_SHA256="01dc8adb82ae01e248e3d16f7510356bae87900e119089f7402e4915824fcd75"
|
||||
PKG_LICENSE="GPLv3"
|
||||
PKG_SITE="https://github.com/glmark2/glmark2"
|
||||
PKG_URL="https://github.com/glmark2/glmark2/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="glmark2 is an OpenGL 2.0 and ES 2.0 benchmark"
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
if [ "$OPENGLES_SUPPORT" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" $OPENGLES"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-flavors=drm-glesv2"
|
||||
PKG_MESON_OPTS_TARGET="-Dflavors=drm-glesv2"
|
||||
elif [ "$OPENGL_SUPPORT" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET+=" $OPENGL"
|
||||
PKG_CONFIGURE_OPTS_TARGET="--with-flavors=drm-gl"
|
||||
PKG_MESON_OPTS_TARGET="-Dflavors=drm-gl"
|
||||
fi
|
||||
|
||||
configure_target() {
|
||||
./waf configure $PKG_CONFIGURE_OPTS_TARGET --prefix=/usr
|
||||
}
|
||||
|
||||
make_target() {
|
||||
./waf
|
||||
}
|
||||
|
||||
makeinstall_target() {
|
||||
./waf install --destdir=$INSTALL
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user