mirror of
https://git.yoctoproject.org/poky
synced 2026-02-14 12:43:03 +01:00
Changelog: ============ Features: * qt: Expose markup conversion utils * desktop-styles: Add android and iOS * validator: Check for xml:lang="en" being used on description template elements * validator: Flag cases of raw text in "description" elements * metadata: Add more known extensions into as_metadata_file_guess_style() Specification: * docs: Clarify that the style segment of a screenshot environment is optional * docs: Explain consequences of defining an icon for desktop-app metainfo * docs: Clarify that description content must be in p/li elements Bugfixes: * validator: mark as_validator_issue_tag_list static * docs: Add workaround for gi-docgen misnaming devhelp files * compose: Do not permit SVG images as screenshots * compose: Don't "forget" to scan remaining paths when re-encountering a dir * pool: Try explicit singular term match if we only have low-quality tokens * utils: Provide compatibility with Fedora icon tarballs when installing them * utils: Remove leftover g_chmod() * zstd-decompressor: Pass output/written data when decompression finished * utils: Expect a dash in icons file name * utils: Recognize .yml* and .yaml* file extension variants, and .zst extension * utils: Rename the appstream file when re-saving it on install (From OE-Core rev: 75f749b3e1c5bc04bcebace716e188812c2e4f30) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
54 lines
1.7 KiB
BlitzBasic
54 lines
1.7 KiB
BlitzBasic
SUMMARY = "AppStream is a collaborative effort for making machine-readable software metadata easily available."
|
|
HOMEPAGE = "https://github.com/ximion/appstream"
|
|
LICENSE = "LGPL-2.1-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da"
|
|
|
|
DEPENDS = " \
|
|
appstream-native \
|
|
curl-native \
|
|
curl \
|
|
docbook-xml-dtd4-native \
|
|
gperf-native \
|
|
glib-2.0 \
|
|
libyaml \
|
|
libxml2 \
|
|
libxmlb \
|
|
libxslt-native \
|
|
itstool-native \
|
|
docbook-xsl-stylesheets-native \
|
|
python3-pygments-native \
|
|
"
|
|
|
|
inherit meson gobject-introspection gettext gi-docgen pkgconfig vala
|
|
|
|
GIR_MESON_OPTION = "gir"
|
|
GIDOCGEN_MESON_OPTION = "apidocs"
|
|
|
|
SRC_URI = " \
|
|
https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz \
|
|
file://0001-remove-hardcoded-path.patch \
|
|
file://0002-Do-not-build-qt-tests.patch \
|
|
file://0003-Fix-PACKAGE_PREFIX_DIR-in-qt-cmake-AppStreamQtConfig.patch \
|
|
"
|
|
SRC_URI[sha256sum] = "ce0ed29e89abd5f0cf790ea87d792f1967c3413060beb30e63a979578d975121"
|
|
|
|
S = "${WORKDIR}/AppStream-${PV}"
|
|
|
|
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
|
|
|
|
PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
|
|
PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer"
|
|
PACKAGECONFIG[qt6] = "-Dqt=true,-Dqt=false,qtbase"
|
|
|
|
FILES:${PN} += "${datadir}"
|
|
|
|
EXTRA_OEMESON += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}"
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
# Fix meson not finding the Qt build tools in cross-compilation
|
|
# setups. See: https://github.com/mesonbuild/meson/issues/13018
|
|
do_configure:prepend:class-target() {
|
|
export PATH=${STAGING_DIR_NATIVE}${libexecdir}:$PATH
|
|
}
|