Files
poky/meta/recipes-gnome/gi-docgen/gi-docgen_git.bb
Carlos Alberto Lopez Perez b83f2bfe81 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>
2022-12-21 10:16:31 +00:00

23 lines
974 B
BlitzBasic

SUMMARY = "Documentation tool for GObject-based libraries"
DESCRIPTION = "GI-DocGen is a document generator for GObject-based libraries. GObject is \
the base type system of the GNOME project. GI-Docgen reuses the \
introspection data generated by GObject-based libraries to generate the API \
reference of these libraries, as well as other ancillary documentation."
HOMEPAGE = "https://gnome.pages.gitlab.gnome.org/gi-docgen/"
LICENSE = "GPL-3.0-or-later & Apache-2.0"
LIC_FILES_CHKSUM = "file://gi-docgen.py;beginline=1;endline=5;md5=2dc0f1f01202478cfe813c0e7f80b326"
SRC_URI = "git://gitlab.gnome.org/GNOME/gi-docgen.git;protocol=https;branch=main"
PV = "2022.2"
SRCREV = "bddd024b08650efdd24704c670f586eb12cec9c9"
S = "${WORKDIR}/git"
inherit setuptools3
RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json python3-markdown python3-markupsafe python3-pygments python3-toml python3-typogrify python3-xml"
BBCLASSEXTEND = "native nativesdk"