[gnome-build-meta/pwithnall/gnome-software-appstream: 1/2] sdk/appstream.bst: Add libappstream for use in gnome-software
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/pwithnall/gnome-software-appstream: 1/2] sdk/appstream.bst: Add libappstream for use in gnome-software
- Date: Wed, 10 Feb 2021 19:32:05 +0000 (UTC)
commit 065b359846a082f69d0c2e3210aadadb6d00b883
Author: Philip Withnall <pwithnall endlessos org>
Date: Tue Feb 9 18:14:56 2021 +0000
sdk/appstream.bst: Add libappstream for use in gnome-software
See https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/583
Signed-off-by: Philip Withnall <pwithnall endlessos org>
elements/core-deps.bst | 2 ++
elements/core-deps/appstream.bst | 36 ++++++++++++++++++++++++++++++++++++
elements/core-deps/lmdb.bst | 25 +++++++++++++++++++++++++
3 files changed, 63 insertions(+)
---
diff --git a/elements/core-deps.bst b/elements/core-deps.bst
index b0876a43..30f01d44 100644
--- a/elements/core-deps.bst
+++ b/elements/core-deps.bst
@@ -8,6 +8,7 @@ depends:
- core-deps/NetworkManager.bst
- core-deps/accountsservice.bst
- core-deps/amtk.bst
+- core-deps/appstream.bst
- core-deps/atkmm-1.6.bst
- core-deps/babl.bst
- core-deps/berkeleydb.bst
@@ -82,6 +83,7 @@ depends:
- core-deps/libvirt-glib.bst
- core-deps/libvirt.bst
- core-deps/libxklavier.bst
+- core-deps/lmdb.bst
- core-deps/malcontent.bst
- core-deps/mm-common.bst
- core-deps/mobile-broadband-provider-info.bst
diff --git a/elements/core-deps/appstream.bst b/elements/core-deps/appstream.bst
new file mode 100644
index 00000000..e1aefb32
--- /dev/null
+++ b/elements/core-deps/appstream.bst
@@ -0,0 +1,36 @@
+kind: meson
+
+sources:
+- kind: git_tag
+ url: github_com:ximion/appstream.git
+ track: master
+
+build-depends:
+- freedesktop-sdk.bst:components/docbook-xsl.bst
+- freedesktop-sdk.bst:components/gperf.bst
+- freedesktop-sdk.bst:components/libxslt.bst
+- freedesktop-sdk.bst:public-stacks/buildsystem-meson.bst
+
+depends:
+- core-deps/lmdb.bst
+- sdk/gdk-pixbuf.bst
+- sdk/glib.bst
+- sdk/gobject-introspection.bst
+- sdk/libsoup.bst
+- freedesktop-sdk.bst:components/libarchive.bst
+- freedesktop-sdk.bst:components/libxml2.bst
+- freedesktop-sdk.bst:components/libyaml.bst
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+variables:
+ meson-local: >-
+ -Dapidocs=false
+ -Dinstall-docs=false
+ -Dstemming=false
+
+public:
+ bst:
+ split-rules:
+ devel:
+ (>):
+ - '%{libdir}/libappstream.so'
diff --git a/elements/core-deps/lmdb.bst b/elements/core-deps/lmdb.bst
new file mode 100644
index 00000000..1d30cb4b
--- /dev/null
+++ b/elements/core-deps/lmdb.bst
@@ -0,0 +1,25 @@
+kind: manual
+
+depends:
+- freedesktop-sdk.bst:bootstrap-import.bst
+
+config:
+ build-commands:
+ - |
+ cd libraries/liblmdb
+ make prefix="%{prefix}" libdir="%{libdir}" bindir="%{bindir}" XCFLAGS="${CFLAGS}"
+ install-commands:
+ - |
+ cd libraries/liblmdb
+ make install prefix="%{prefix}" libdir="%{libdir}" bindir="%{bindir}" DESTDIR='%{install-root}'
+
+sources:
+- kind: tar
+ url: github_com:LMDB/lmdb/archive/LMDB_0.9.28.tar.gz
+
+public:
+ bst:
+ split-rules:
+ devel:
+ (>):
+ - '%{libdir}/liblmdb.so'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]