diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2020-04-16 18:52:11 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-04-24 09:27:46 -0300 |
commit | b56a86871bd75a547b9fd1ad9176306d838a5afc (patch) | |
tree | f59e73a5f0eee268aa0c5b5d640f18b4d85f3468 /recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb | |
parent | 83fbc86016b68d6d84854af1762401c7e2eea729 (diff) | |
download | meta-freescale-b56a86871bd75a547b9fd1ad9176306d838a5afc.tar.gz |
imx-gpu-apitrace: Rebase fork on 9.0.0
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb')
-rw-r--r-- | recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb new file mode 100644 index 00000000..ae0249ae --- /dev/null +++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | # Copyright 2018 (C) O.S. Systems Software LTDA. | ||
2 | SUMMARY = "Samples for OpenGL ES" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" | ||
5 | DEPENDS = "imx-gpu-viv zlib libpng procps" | ||
6 | |||
7 | SRC_URI = "git://source.codeaurora.org/external/imx/apitrace-imx.git;protocol=https;branch=imx_9.0" | ||
8 | SRCREV = "8636fa989d8e914a7986916b058878761a981a6f" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | inherit cmake lib_package pkgconfig perlnative python3native | ||
13 | |||
14 | PACKAGECONFIG ??= "" | ||
15 | PACKAGECONFIG_append = \ | ||
16 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \ | ||
17 | bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', \ | ||
18 | '', d), d)}" | ||
19 | PACKAGECONFIG_append_imxgpu2d = " vivante" | ||
20 | # For 8M, which has 3D but no 2D, eglretrace is not available | ||
21 | # on Wayland except through X11 and waffle. | ||
22 | PACKAGECONFIG_IMXGPU3D = \ | ||
23 | "${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', ' waffle x11 x11-egl', '', d)}" | ||
24 | PACKAGECONFIG_IMXGPU3D_imxgpu2d = "" | ||
25 | PACKAGECONFIG_append_imxgpu3d = "${PACKAGECONFIG_IMXGPU3D}" | ||
26 | |||
27 | PACKAGECONFIG[multiarch] = "-DENABLE_MULTIARCH=ON,-DENABLE_MULTIARCH=OFF" | ||
28 | PACKAGECONFIG[waffle] = "-DENABLE_WAFFLE=ON,-DENABLE_WAFFLE=OFF,waffle" | ||
29 | PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF" | ||
30 | PACKAGECONFIG[x11-egl] = "-Dwaffle_has_x11_egl=ON,-Dwaffle_has_x11_egl=OFF" | ||
31 | PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d" | ||
32 | |||
33 | FILES_${PN} = "${bindir} ${libdir}" | ||
34 | FILES_${PN}-dbg += "${libdir}/*/*/.debug" | ||
35 | |||
36 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
37 | COMPATIBLE_MACHINE = "(imxgpu)" | ||