diff options
Diffstat (limited to 'meta/recipes-graphics/piglit/piglit_git.bb')
-rw-r--r-- | meta/recipes-graphics/piglit/piglit_git.bb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index b84d53f87c..9897ef1575 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb | |||
@@ -6,13 +6,19 @@ BUGTRACKER = "https://gitlab.freedesktop.org/mesa/piglit/-/issues" | |||
6 | LICENSE = "MIT & LGPLv2+ & GPLv3 & GPLv2+ & BSD-3-Clause" | 6 | LICENSE = "MIT & LGPLv2+ & GPLv3 & GPLv2+ & BSD-3-Clause" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b2beded7103a3d8a442a2a0391d607b0" |
8 | 8 | ||
9 | SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=master \ | 9 | SRC_URI = "git://gitlab.freedesktop.org/mesa/piglit.git;protocol=https;branch=main \ |
10 | file://0001-cmake-install-bash-completions-in-the-right-place.patch \ | 10 | file://0001-cmake-install-bash-completions-in-the-right-place.patch \ |
11 | file://0001-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ | 11 | file://0001-cmake-use-proper-WAYLAND_INCLUDE_DIRS-variable.patch \ |
12 | file://0001-Add-a-missing-include-for-htobe32-definition.patch \ | ||
13 | file://0001-generated_tests-gen_tcs-tes_input_tests.py-do-not-ha.patch \ | ||
14 | file://0002-tests-util-piglit-shader.c-do-not-hardcode-build-pat.patch \ | ||
15 | file://0001-serializer.py-make-.gz-files-reproducible.patch \ | ||
16 | file://0001-framework-profile.py-make-test-lists-reproducible.patch \ | ||
17 | file://0001-tests-shader.py-sort-the-file-list-before-working-on.patch \ | ||
12 | " | 18 | " |
13 | UPSTREAM_CHECK_COMMITS = "1" | 19 | UPSTREAM_CHECK_COMMITS = "1" |
14 | 20 | ||
15 | SRCREV = "6126c2d4e476c7770d216ffa1932c10e2a5a7813" | 21 | SRCREV = "83bc56abf2686e2cd9024a152e121ca4aa524985" |
16 | # (when PV goes above 1.0 remove the trailing r) | 22 | # (when PV goes above 1.0 remove the trailing r) |
17 | PV = "1.0+gitr${SRCPV}" | 23 | PV = "1.0+gitr${SRCPV}" |
18 | 24 | ||
@@ -37,7 +43,9 @@ do_compile[dirs] =+ "${B}/temp/" | |||
37 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | 43 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
38 | PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut," | 44 | PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut," |
39 | PACKAGECONFIG[x11] = "-DPIGLIT_BUILD_GL_TESTS=ON,-DPIGLIT_BUILD_GL_TESTS=OFF,${X11_DEPS}, ${X11_RDEPS}" | 45 | PACKAGECONFIG[x11] = "-DPIGLIT_BUILD_GL_TESTS=ON,-DPIGLIT_BUILD_GL_TESTS=OFF,${X11_DEPS}, ${X11_RDEPS}" |
46 | PACKAGECONFIG[vulkan] = "-DPIGLIT_BUILD_VK_TESTS=ON,-DPIGLIT_BUILD_VK_TESTS=OFF,vulkan-loader" | ||
40 | 47 | ||
48 | export PIGLIT_BUILD_DIR = "../../../../git" | ||
41 | 49 | ||
42 | do_configure_prepend() { | 50 | do_configure_prepend() { |
43 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'freeglut', 'yes', 'no', d)}" = "no" ]; then | 51 | if [ "${@bb.utils.contains('PACKAGECONFIG', 'freeglut', 'yes', 'no', d)}" = "no" ]; then |