diff options
author | Andrey Zhizhikin <andrey.z@gmail.com> | 2020-01-22 16:33:07 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-01-23 17:51:00 -0300 |
commit | 38591d703677a2da81878a4148d8feaa17f30767 (patch) | |
tree | 84d28f2ab070e412067cdfed147108775733a5d9 /recipes-graphics/imx-gpu-apitrace/imx-gpu-apitrace_7.1.0.bb | |
parent | 166d5ad78731bc9747baf41ca4bc6da91f884242 (diff) | |
download | meta-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.bb | 10 |
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" | |||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50" |
5 | DEPENDS = "imx-gpu-viv zlib libpng procps" | 5 | DEPENDS = "imx-gpu-viv zlib libpng procps" |
6 | 6 | ||
7 | SRC_URI = "git://source.codeaurora.org/external/imx/apitrace-imx.git;protocol=https;branch=imx_7.1" | 7 | SRC_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 | " | ||
8 | SRCREV = "09579e67262af9c993dd082055a924c2c61cf34d" | 14 | SRCREV = "09579e67262af9c993dd082055a924c2c61cf34d" |
9 | 15 | ||
10 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
11 | 17 | ||
12 | inherit cmake lib_package pkgconfig perlnative pythonnative | 18 | inherit cmake lib_package pkgconfig perlnative python3native |
13 | 19 | ||
14 | PACKAGECONFIG ??= "" | 20 | PACKAGECONFIG ??= "" |
15 | PACKAGECONFIG_append = \ | 21 | PACKAGECONFIG_append = \ |