summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb
diff options
context:
space:
mode:
authorAndrey Zhizhikin <andrey.z@gmail.com>2020-01-22 16:33:07 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2020-01-23 17:51:00 -0300
commit38591d703677a2da81878a4148d8feaa17f30767 (patch)
tree84d28f2ab070e412067cdfed147108775733a5d9 /recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb
parent166d5ad78731bc9747baf41ca4bc6da91f884242 (diff)
downloadmeta-freescale-38591d703677a2da81878a4148d8feaa17f30767.tar.gz
imx-gpu-apitrace: update recipe to use python3
Add component patches to be able to build it with python3. Python2 has been dropped in oe-core, therefore the package source should be updated to include python3 support. Patches were cherry-picked from the upstream at [https://github.com/apitrace/apitrace] from the [python3] branch. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Diffstat (limited to 'recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb')
-rw-r--r--recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb
index 02d7ef9c..0169c26f 100644
--- a/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb
+++ b/recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb
@@ -4,12 +4,18 @@ LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50"
5DEPENDS = "imx-gpu-viv zlib libpng procps" 5DEPENDS = "imx-gpu-viv zlib libpng procps"
6 6
7SRC_URI = "git://source.codeaurora.org/external/imx/apitrace-imx.git;protocol=https;branch=imx_7.1" 7SRC_URI = "\
8 git://source.codeaurora.org/external/imx/apitrace-imx.git;protocol=https;branch=imx_7.1 \
9 file://0001-switch-from-python2-to-python3.patch \
10 file://0002-specs-Tie-Python-2-3-conversion-loose-ends.patch \
11 file://0003-scripts-Tie-Python-2-3-conversion-loose-ends.patch \
12 file://0004-scripts-Tie-a-few-more-Python-2-to-3-conversion-loos.patch \
13"
8SRCREV = "09579e67262af9c993dd082055a924c2c61cf34d" 14SRCREV = "09579e67262af9c993dd082055a924c2c61cf34d"
9 15
10S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
11 17
12inherit cmake lib_package pkgconfig perlnative pythonnative 18inherit cmake lib_package pkgconfig perlnative python3native
13 19
14PACKAGECONFIG ??= "" 20PACKAGECONFIG ??= ""
15PACKAGECONFIG_append = \ 21PACKAGECONFIG_append = \