Signed-off-by: Andreas Müller <[email protected]> --- .../0001-Do-not-use-host-include-path.patch | 32 +++++++++++++++ .../appstream/appstream_0.12.6.bb | 41 +++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 meta-oe/recipes-support/appstream/appstream/0001-Do-not-use-host-include-path.patch create mode 100644 meta-oe/recipes-support/appstream/appstream_0.12.6.bb
diff --git a/meta-oe/recipes-support/appstream/appstream/0001-Do-not-use-host-include-path.patch b/meta-oe/recipes-support/appstream/appstream/0001-Do-not-use-host-include-path.patch new file mode 100644 index 000000000..47f4e7aed --- /dev/null +++ b/meta-oe/recipes-support/appstream/appstream/0001-Do-not-use-host-include-path.patch @@ -0,0 +1,32 @@ +From 0cf0a05bf5e8c49debfccb5a8ac1ab5024478eeb Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> +Date: Mon, 6 May 2019 22:42:07 +0200 +Subject: [PATCH] Do not use host include path +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [OE specific] + +Signed-off-by: Andreas Müller <[email protected]> +--- + src/meson.build | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/meson.build b/src/meson.build +index 93896ae..40b92d7 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -140,8 +140,7 @@ appstream_lib = library ('appstream', + soversion: as_api_level, + version: as_version, + dependencies: [aslib_deps], +- include_directories: [stemmer_inc_dirs, +- include_directories ('..')], ++ include_directories: [include_directories ('..')], + install: true + ) + +-- +2.20.1 + diff --git a/meta-oe/recipes-support/appstream/appstream_0.12.6.bb b/meta-oe/recipes-support/appstream/appstream_0.12.6.bb new file mode 100644 index 000000000..8a0d18864 --- /dev/null +++ b/meta-oe/recipes-support/appstream/appstream_0.12.6.bb @@ -0,0 +1,41 @@ +SUMMARY = "Utilities to generate, maintain and access the AppStream database" +HOMEPAGE = "https://www.freedesktop.org/wiki/Distributions/AppStream/" +LICENSE = "LGPLv2.1 & GPLv2" +LIC_FILES_CHKSUM = " \ + file://LICENSE.GPLv2;md5=4641e94ec96f98fabc56ff9cc48be14b \ + file://LICENSE.LGPLv2.1;md5=435ed639f84d4585d93824e7da3d85da \ +" + + +inherit meson gobject-introspection + +SRC_URI = " \ + https://www.freedesktop.org/software/appstream/releases/AppStream-${PV}.tar.xz \ + file://0001-Do-not-use-host-include-path.patch \ +" +SRC_URI[md5sum] = "ffd1555953828656971424ca5329f352" +SRC_URI[sha256sum] = "ab20067036207aa0708608f87d6e2043ec46fad0b55b411eb1f242b8b9ab0d14" +S = "${WORKDIR}/AppStream-${PV}" + +DEPENDS += " \ + xmlto-native docbook-xml-dtd4-native docbook-xsl-stylesheets-native \ + gperf-native \ + libxslt-native \ + glib-2.0 \ + libyaml \ + libxml2 \ +" + +GIR_MESON_OPTION = 'gir' +EXTRA_OEMESON = " \ + -Dstemming=false \ + -Dapidocs=false \ +" + +FILES_${PN} += " \ + ${datadir}/metainfo \ + ${datadir}/gettext \ +" + +BBCLASSEXTEND = "native" + -- 2.20.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
