diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2024-03-06 07:42:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-07 17:25:02 +0000 |
commit | a4a5569b7872387bdc48104dae2043333a440652 (patch) | |
tree | a605bc28436cde5b7d9615b7771da00462f2b221 /meta/recipes-support/appstream/appstream_1.0.2.bb | |
parent | d92454308b0dc8d404b025b4421cea4f8f3366a6 (diff) | |
download | poky-a4a5569b7872387bdc48104dae2043333a440652.tar.gz |
appstream: upgrade 1.0.0 -> 1.0.2
(From OE-Core rev: 2fbff79d223ea6a0887a80f38ed902aae61639c4)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/appstream/appstream_1.0.2.bb')
-rw-r--r-- | meta/recipes-support/appstream/appstream_1.0.2.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-support/appstream/appstream_1.0.2.bb b/meta/recipes-support/appstream/appstream_1.0.2.bb new file mode 100644 index 0000000000..7eb12a04c5 --- /dev/null +++ b/meta/recipes-support/appstream/appstream_1.0.2.bb | |||
@@ -0,0 +1,44 @@ | |||
1 | SUMMARY = "AppStream is a collaborative effort for making machine-readable software metadata easily available." | ||
2 | HOMEPAGE = "https://github.com/ximion/appstream" | ||
3 | LICENSE = "LGPL-2.1-only" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da" | ||
5 | |||
6 | DEPENDS = " \ | ||
7 | appstream-native \ | ||
8 | curl-native \ | ||
9 | curl \ | ||
10 | docbook-xml-dtd4-native \ | ||
11 | gperf-native \ | ||
12 | glib-2.0 \ | ||
13 | libyaml \ | ||
14 | libxml2 \ | ||
15 | libxmlb \ | ||
16 | libxslt-native \ | ||
17 | itstool-native \ | ||
18 | docbook-xsl-stylesheets-native \ | ||
19 | python3-pygments-native \ | ||
20 | " | ||
21 | |||
22 | inherit meson gobject-introspection gettext gi-docgen pkgconfig vala | ||
23 | |||
24 | GIR_MESON_OPTION = "gir" | ||
25 | GIDOCGEN_MESON_OPTION = "apidocs" | ||
26 | |||
27 | SRC_URI = " \ | ||
28 | https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz \ | ||
29 | file://0001-remove-hardcoded-path.patch \ | ||
30 | " | ||
31 | SRC_URI[sha256sum] = "1a5148ca97dcbf5eb6e9c380278bb0d20938569292ea8652df1b3cac8bd2736b" | ||
32 | |||
33 | S = "${WORKDIR}/AppStream-${PV}" | ||
34 | |||
35 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" | ||
36 | |||
37 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd" | ||
38 | PACKAGECONFIG[stemming] = "-Dstemming=true,-Dstemming=false,libstemmer" | ||
39 | |||
40 | FILES:${PN} += "${datadir}" | ||
41 | |||
42 | EXTRA_OEMESON += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}" | ||
43 | |||
44 | BBCLASSEXTEND = "native" | ||