mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-09 23:54:39 +02:00
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
45 lines
1.2 KiB
BlitzBasic
45 lines
1.2 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 \
|
|
libstemmer \
|
|
libxml2 \
|
|
libxmlb \
|
|
libxslt-native \
|
|
itstool-native \
|
|
docbook-xsl-stylesheets-native \
|
|
python3-pygments-native \
|
|
"
|
|
|
|
inherit meson gobject-introspection gettext gtk-doc pkgconfig vala
|
|
|
|
GIR_MESON_OPTION = ""
|
|
|
|
SRC_URI = "https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz"
|
|
SRC_URI:append:class-target = " file://0001-fix-crosscompile.patch"
|
|
SRC_URI[sha256sum] = "cb15ed62cc2729683879a2dbf98c0a3267ea2b4d57bba6bc55e70a25500e04c2"
|
|
|
|
S = "${WORKDIR}/AppStream-${PV}"
|
|
|
|
FILES:${PN} += "${datadir}"
|
|
|
|
EXTRA_OEMESON:class-target += "--cross-file=${WORKDIR}/meson-${PN}.cross"
|
|
|
|
do_write_config:append:class-target() {
|
|
cat >${WORKDIR}/meson-${PN}.cross <<EOF
|
|
[binaries]
|
|
appstreamcli = '${STAGING_BINDIR_NATIVE}/appstreamcli'
|
|
EOF
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|