[gnome-software/wip/mak/libas: 13/14] Add Meson wrap file for AppStream




commit f0f97cde3c44b797b1e57a46662c048829db6033
Author: Matthias Klumpp <matthias tenstral net>
Date:   Thu Jan 7 04:10:46 2021 +0100

    Add Meson wrap file for AppStream

 meson.build                | 2 +-
 subprojects/appstream.wrap | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index b56f7188b..fcf80f8c4 100644
--- a/meson.build
+++ b/meson.build
@@ -98,7 +98,7 @@ add_project_arguments('-D_GNU_SOURCE', language : 'c')
 
 conf.set('HAVE_LINUX_UNISTD_H', cc.has_header('linux/unistd.h'))
 
-appstream = dependency('appstream', version : '>= 0.14.0')
+appstream = dependency('appstream', version : '>= 0.14.0', fallback : ['appstream', 'appstream_dep'])
 gdk_pixbuf = dependency('gdk-pixbuf-2.0', version : '>= 2.32.0')
 libxmlb = dependency('xmlb', version : '>= 0.1.7', fallback : ['libxmlb', 'libxmlb_dep'])
 gio_unix = dependency('gio-unix-2.0', version : '>= 2.56.0')
diff --git a/subprojects/appstream.wrap b/subprojects/appstream.wrap
new file mode 100644
index 000000000..4f0a0ed7b
--- /dev/null
+++ b/subprojects/appstream.wrap
@@ -0,0 +1,4 @@
+[wrap-git]
+directory = appstream
+url = https://github.com/ximion/appstream.git
+revision = master


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]