mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
glmark2: updated build for all WSI
This commit is contained in:
parent
8aafe035c3
commit
44c1d43fe5
@ -4,17 +4,29 @@
|
|||||||
PKG_NAME="glmark2"
|
PKG_NAME="glmark2"
|
||||||
PKG_VERSION="2021.12"
|
PKG_VERSION="2021.12"
|
||||||
PKG_SHA256="9f111284b2ef1d3fce91928e249e6ca00796a036831b063a549a0f3b03557a95"
|
PKG_SHA256="9f111284b2ef1d3fce91928e249e6ca00796a036831b063a549a0f3b03557a95"
|
||||||
PKG_LICENSE="GPLv3"
|
PKG_LICENSE="GPL-3.0-or-later"
|
||||||
PKG_SITE="https://github.com/glmark2/glmark2"
|
PKG_SITE="https://github.com/glmark2/glmark2"
|
||||||
PKG_URL="https://github.com/glmark2/glmark2/archive/${PKG_VERSION}.tar.gz"
|
PKG_URL="https://github.com/glmark2/glmark2/archive/${PKG_VERSION}.tar.gz"
|
||||||
PKG_DEPENDS_TARGET="toolchain"
|
PKG_DEPENDS_TARGET="toolchain libjpeg-turbo libpng"
|
||||||
PKG_LONGDESC="glmark2 is an OpenGL 2.0 and ES 2.0 benchmark"
|
PKG_LONGDESC="glmark2 is an OpenGL 2.0 and ES 2.0 benchmark"
|
||||||
|
|
||||||
if [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
if [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
||||||
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
|
||||||
PKG_MESON_OPTS_TARGET="-Dflavors=drm-glesv2"
|
|
||||||
elif [ "${OPENGL_SUPPORT}" = "yes" ]; then
|
|
||||||
PKG_DEPENDS_TARGET+=" ${OPENGL}"
|
PKG_DEPENDS_TARGET+=" ${OPENGL}"
|
||||||
PKG_MESON_OPTS_TARGET="-Dflavors=drm-gl"
|
elif [ "${OPENGLES_SUPPORT}" = "yes" ]; then
|
||||||
|
PKG_DEPENDS_TARGET+=" ${OPENGLES}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
case ${DISPLAYSERVER} in
|
||||||
|
wl)
|
||||||
|
PKG_DEPENDS_TARGET+=" wayland wayland-protocols"
|
||||||
|
PKG_MESON_OPTS_TARGET="-Dflavors=wayland-glesv2"
|
||||||
|
;;
|
||||||
|
x11)
|
||||||
|
PKG_DEPENDS_TARGET+=" libX11"
|
||||||
|
PKG_MESON_OPTS_TARGET="-Dflavors=x11-gl"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
PKG_DEPENDS_TARGET+=" systemd libdrm"
|
||||||
|
PKG_MESON_OPTS_TARGET="-Dflavors=drm-glesv2"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user