mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-10-22 23:32:16 +02:00

The NXP BSP is moving from CAF to github, so update the recipes URLs and set PREMIRRORS to override the SRC_URIs. Also update the paths to point to git.codelinaro.org Signed-off-by: Valentin Jec <jec.valentin@nxp.com>
60 lines
1.8 KiB
PHP
60 lines
1.8 KiB
PHP
SUMMARY = "dEQP OpenGL and OpenGL ES Conformance Tests"
|
|
DESCRIPTION = "OpenGL and OpenGL ES conformance tests from the Khronos GPU testing suite called \
|
|
dEQP (drawElements Quality Program). The tests are expanded versions of the OpenGL \
|
|
ES 2.x Conformance Test."
|
|
HOMEPAGE = "https://github.com/KhronosGroup/VK-GL-CTS"
|
|
SECTION = "graphics"
|
|
|
|
LICENSE = "Apache-2.0"
|
|
|
|
DEPENDS = "libpng zlib"
|
|
|
|
VKGLCTS_SRC ?= "git://github.com/nxp-imx/vk-gl-cts-imx.git;protocol=https"
|
|
SRC_URI = "${VKGLCTS_SRC};name=vk-gl-cts;branch=imx-${BP}"
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit pkgconfig cmake distro_features_check
|
|
|
|
ANY_OF_DISTRO_FEATURES = "x11 wayland"
|
|
|
|
PACKAGECONFIG ??= " \
|
|
egl \
|
|
gles2 \
|
|
${@bb.utils.filter('DISTRO_FEATURES', 'opengl wayland x11', d)} \
|
|
"
|
|
|
|
PACKAGECONFIG[egl] = ",,virtual/egl"
|
|
PACKAGECONFIG[gles1] = ",,virtual/libgles1"
|
|
PACKAGECONFIG[gles2] = ",,virtual/libgles2"
|
|
PACKAGECONFIG[opengl] = ",,virtual/libgl"
|
|
PACKAGECONFIG[x11] = ",,libxcb libx11 libxrandr"
|
|
PACKAGECONFIG[wayland] = "-DDEQP_TARGET=wayland,,wayland"
|
|
|
|
do_install() {
|
|
dest_dir=${D}/opt/${PN}
|
|
install -d $dest_dir
|
|
src_dir=external/openglcts/modules
|
|
for src in cts-runner glcts; do
|
|
install -m 0755 $src_dir/$src $dest_dir
|
|
done
|
|
for src in gl_cts gles2 gles3 gles31; do
|
|
install -d $dest_dir/$src
|
|
# Install data sub-folder
|
|
cp -R --no-dereference --preserve=mode,links -v $src_dir/$src/data $dest_dir/$src
|
|
# Install shaders sub-folder
|
|
case $src in
|
|
gles2|gles3|gles31)
|
|
cp -R --no-dereference --preserve=mode,links -v $src_dir/$src/shaders $dest_dir/$src
|
|
;;
|
|
esac
|
|
# Install graphicsfuzz sub-folder
|
|
case $src in
|
|
gles3)
|
|
cp -R --no-dereference --preserve=mode,links -v $src_dir/$src/graphicsfuzz $dest_dir/$src
|
|
;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
FILES_${PN} = "/opt"
|