diff options
author | Carlos Alberto Lopez Perez <clopez@igalia.com> | 2022-12-20 04:56:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-21 10:16:31 +0000 |
commit | b83f2bfe81a6a92926b8bf5ecafc7a050bba2b96 (patch) | |
tree | 7f2561536ae4fa8e0a16c0058737ebb8df8229b4 /meta/recipes-devtools | |
parent | 13150992fb3407876aa8c49e20caf76fc9c75a3e (diff) | |
download | poky-b83f2bfe81a6a92926b8bf5ecafc7a050bba2b96.tar.gz |
recipes: Enable nativesdk for gperf, unifdef, gi-docgen and its dependencies
I'm building a SDK (bitbake task: populate_sdk) for WPE/WebKit
development [1] and I need the tools below to be extended with the class
nativesdk. They work fine on the SDK after this change.
The needs are because:
1) gperf and unifdef are required by the WebKit build system at build
time.
2) gi-docgen is required by the WebKit build system when CMake option
'ENABLE_DOCUMENTATION' is enabled, and gi-docgen itself depends on
the following python modules that also need to enable nativesdk:
python3-markdown, python3-smartypants and python3-typogrify
[1]
See:
- https://github.com/Igalia/meta-webkit/pull/436
- https://bugs.webkit.org/show_bug.cgi?id=249604
(From OE-Core rev: 6cb38fd632a161bea7b9a04de400d8be8d565b07)
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
5 files changed, 6 insertions, 5 deletions
diff --git a/meta/recipes-devtools/python/python3-markdown_3.4.1.bb b/meta/recipes-devtools/python/python3-markdown_3.4.1.bb index e99c3310ac..b398cd8bc4 100644 --- a/meta/recipes-devtools/python/python3-markdown_3.4.1.bb +++ b/meta/recipes-devtools/python/python3-markdown_3.4.1.bb | |||
@@ -8,6 +8,6 @@ inherit pypi python_setuptools_build_meta | |||
8 | PYPI_PACKAGE = "Markdown" | 8 | PYPI_PACKAGE = "Markdown" |
9 | SRC_URI[sha256sum] = "3b809086bb6efad416156e00a0da66fe47618a5d6918dd688f53f40c8e4cfeff" | 9 | SRC_URI[sha256sum] = "3b809086bb6efad416156e00a0da66fe47618a5d6918dd688f53f40c8e4cfeff" |
10 | 10 | ||
11 | BBCLASSEXTEND = "native" | 11 | BBCLASSEXTEND = "native nativesdk" |
12 | 12 | ||
13 | RDEPENDS:${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools" | 13 | RDEPENDS:${PN} += "${PYTHON_PN}-logging ${PYTHON_PN}-setuptools" |
diff --git a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb b/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb index 05c94c390f..d089a89b95 100644 --- a/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb +++ b/meta/recipes-devtools/python/python3-smartypants_2.0.0.bb | |||
@@ -9,6 +9,6 @@ PYPI_PACKAGE = "smartypants" | |||
9 | SRC_URI += "file://0001-Change-hash-bang-to-python3.patch" | 9 | SRC_URI += "file://0001-Change-hash-bang-to-python3.patch" |
10 | SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36" | 10 | SRC_URI[sha256sum] = "7812353a32022699a1aa8cd5626e01c94a946dcaeedaee2d0b382bae4c4cbf36" |
11 | 11 | ||
12 | BBCLASSEXTEND = "native" | 12 | BBCLASSEXTEND = "native nativesdk" |
13 | 13 | ||
14 | UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(?!2\.0\.1)(\d+[\.\-_]*)+)/" | 14 | UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(?!2\.0\.1)(\d+[\.\-_]*)+)/" |
diff --git a/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb b/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb index 83e9b5eadb..826f126ad9 100644 --- a/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb +++ b/meta/recipes-devtools/python/python3-typogrify_2.0.7.bb | |||
@@ -8,7 +8,7 @@ inherit pypi setuptools3 | |||
8 | PYPI_PACKAGE = "typogrify" | 8 | PYPI_PACKAGE = "typogrify" |
9 | SRC_URI[sha256sum] = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38" | 9 | SRC_URI[sha256sum] = "8be4668cda434163ce229d87ca273a11922cb1614cb359970b7dc96eed13cb38" |
10 | 10 | ||
11 | BBCLASSEXTEND = "native" | 11 | BBCLASSEXTEND = "native nativesdk" |
12 | 12 | ||
13 | RDEPENDS:${PN} += "${PYTHON_PN}-smartypants" | 13 | RDEPENDS:${PN} += "${PYTHON_PN}-smartypants" |
14 | 14 | ||
diff --git a/meta/recipes-devtools/ruby/ruby_3.1.3.bb b/meta/recipes-devtools/ruby/ruby_3.1.3.bb index c8454da3a9..85d6184a04 100644 --- a/meta/recipes-devtools/ruby/ruby_3.1.3.bb +++ b/meta/recipes-devtools/ruby/ruby_3.1.3.bb | |||
@@ -15,6 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \ | |||
15 | 15 | ||
16 | DEPENDS = "zlib openssl libyaml gdbm readline libffi" | 16 | DEPENDS = "zlib openssl libyaml gdbm readline libffi" |
17 | DEPENDS:append:class-target = " ruby-native" | 17 | DEPENDS:append:class-target = " ruby-native" |
18 | DEPENDS:append:class-nativesdk = " ruby-native" | ||
18 | 19 | ||
19 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" | 20 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
20 | SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ | 21 | SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ |
@@ -139,4 +140,4 @@ FILES:${PN}-ptest:append:class-target = "\ | |||
139 | ${libdir}/ruby/${SHRT_VER}.0/*/-test- \ | 140 | ${libdir}/ruby/${SHRT_VER}.0/*/-test- \ |
140 | " | 141 | " |
141 | 142 | ||
142 | BBCLASSEXTEND = "native" | 143 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-devtools/unifdef/unifdef_2.12.bb b/meta/recipes-devtools/unifdef/unifdef_2.12.bb index b42051b8b6..3e08b3a0a4 100644 --- a/meta/recipes-devtools/unifdef/unifdef_2.12.bb +++ b/meta/recipes-devtools/unifdef/unifdef_2.12.bb | |||
@@ -18,4 +18,4 @@ do_install() { | |||
18 | oe_runmake install DESTDIR=${D} prefix=${prefix} | 18 | oe_runmake install DESTDIR=${D} prefix=${prefix} |
19 | } | 19 | } |
20 | 20 | ||
21 | BBCLASSEXTEND = "native" | 21 | BBCLASSEXTEND = "native nativesdk" |