summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_9.0.0.bb
diff options
context:
space:
mode:
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.bb37
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.
2SUMMARY = "Samples for OpenGL ES"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50"
5DEPENDS = "imx-gpu-viv zlib libpng procps"
6
7SRC_URI = "git://source.codeaurora.org/external/imx/apitrace-imx.git;protocol=https;branch=imx_9.0"
8SRCREV = "8636fa989d8e914a7986916b058878761a981a6f"
9
10S = "${WORKDIR}/git"
11
12inherit cmake lib_package pkgconfig perlnative python3native
13
14PACKAGECONFIG ??= ""
15PACKAGECONFIG_append = \
16 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
17 bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', \
18 '', d), d)}"
19PACKAGECONFIG_append_imxgpu2d = " vivante"
20# For 8M, which has 3D but no 2D, eglretrace is not available
21# on Wayland except through X11 and waffle.
22PACKAGECONFIG_IMXGPU3D = \
23 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland x11', ' waffle x11 x11-egl', '', d)}"
24PACKAGECONFIG_IMXGPU3D_imxgpu2d = ""
25PACKAGECONFIG_append_imxgpu3d = "${PACKAGECONFIG_IMXGPU3D}"
26
27PACKAGECONFIG[multiarch] = "-DENABLE_MULTIARCH=ON,-DENABLE_MULTIARCH=OFF"
28PACKAGECONFIG[waffle] = "-DENABLE_WAFFLE=ON,-DENABLE_WAFFLE=OFF,waffle"
29PACKAGECONFIG[x11] = "-DENABLE_X11=ON,-DENABLE_X11=OFF"
30PACKAGECONFIG[x11-egl] = "-Dwaffle_has_x11_egl=ON,-Dwaffle_has_x11_egl=OFF"
31PACKAGECONFIG[vivante] = "-DENABLE_VIVANTE=ON,-DENABLE_VIVANTE=OFF,virtual/libg2d"
32
33FILES_${PN} = "${bindir} ${libdir}"
34FILES_${PN}-dbg += "${libdir}/*/*/.debug"
35
36PACKAGE_ARCH = "${MACHINE_SOCARCH}"
37COMPATIBLE_MACHINE = "(imxgpu)"