[gnome-software/wip/mak/libas: 3/13] meson: Adjust dependency for AppStream, replacing appstream-glib
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/mak/libas: 3/13] meson: Adjust dependency for AppStream, replacing appstream-glib
- Date: Wed, 10 Feb 2021 15:16:28 +0000 (UTC)
commit 06f3100b17b345ced3234a199da413ac57a050c0
Author: Matthias Klumpp <matthias tenstral net>
Date: Tue Feb 9 23:38:33 2021 +0100
meson: Adjust dependency for AppStream, replacing appstream-glib
contrib/gnome-software.spec.in | 6 +++---
lib/meson.build | 6 +++---
meson.build | 2 +-
plugins/dummy/meson.build | 2 +-
plugins/external-appstream/meson.build | 2 +-
plugins/meson.build | 2 +-
src/meson.build | 4 ++--
7 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/contrib/gnome-software.spec.in b/contrib/gnome-software.spec.in
index 0eb686106..0d0d6c74b 100644
--- a/contrib/gnome-software.spec.in
+++ b/contrib/gnome-software.spec.in
@@ -2,7 +2,7 @@
%global gtk3_version 3.22.4
%global json_glib_version 1.2.0
%global packagekit_version 1.1.1
-%global appstream_glib_version 0.7.15
+%global appstream_version 0.14.0
%global libsoup_version 2.52.0
%global gsettings_desktop_schemas_version 3.12.0
%global fwupd_version 1.2.10
@@ -33,7 +33,7 @@ BuildRequires: gspell-devel
BuildRequires: gtk3-devel >= %{gtk3_version}
BuildRequires: gtk-doc
BuildRequires: json-glib-devel >= %{json_glib_version}
-BuildRequires: libappstream-glib-devel >= %{appstream_glib_version}
+BuildRequires: libappstream-devel >= %{appstream_version}
BuildRequires: libdnf-devel
BuildRequires: libsoup-devel
BuildRequires: libxmlb-devel >= %{libxmlb_version}
@@ -58,7 +58,7 @@ Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_versi
Requires: gtk3%{?_isa} >= %{gtk3_version}
Requires: json-glib%{?_isa} >= %{json_glib_version}
Requires: iso-codes
-Requires: libappstream-glib%{?_isa} >= %{appstream_glib_version}
+Requires: libappstream%{?_isa} >= %{appstream_version}
# librsvg2 is needed for gdk-pixbuf svg loader
Requires: librsvg2%{?_isa}
Requires: libsoup%{?_isa} >= %{libsoup_version}
diff --git a/lib/meson.build b/lib/meson.build
index 95d2a4f4c..2c318dfbf 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -28,7 +28,7 @@ install_headers(libgnomesoftware_public_headers,
)
librarydeps = [
- appstream_glib,
+ appstream,
gio_unix,
glib,
gmodule,
@@ -111,7 +111,7 @@ executable(
include_directories('..'),
],
dependencies : [
- appstream_glib,
+ appstream,
gio_unix,
glib,
gmodule,
@@ -140,7 +140,7 @@ if get_option('tests')
include_directories('..'),
],
dependencies : [
- appstream_glib,
+ appstream,
gio_unix,
glib,
gmodule,
diff --git a/meson.build b/meson.build
index 673e17f23..7de3149d6 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_glib = dependency('appstream-glib', version : '>= 0.7.14')
+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/plugins/dummy/meson.build b/plugins/dummy/meson.build
index 5b098db6b..3e91cdf18 100644
--- a/plugins/dummy/meson.build
+++ b/plugins/dummy/meson.build
@@ -12,7 +12,7 @@ shared_module(
install : true,
install_dir: plugin_dir,
c_args : cargs,
- dependencies : [plugin_libs],
+ dependencies : [plugin_libs]
)
if get_option('tests')
diff --git a/plugins/external-appstream/meson.build b/plugins/external-appstream/meson.build
index 95831c5c5..e94dcb422 100644
--- a/plugins/external-appstream/meson.build
+++ b/plugins/external-appstream/meson.build
@@ -31,5 +31,5 @@ shared_module(
install : true,
install_dir: plugin_dir,
c_args : cargs,
- dependencies : [gio_unix, appstream_glib, libsoup, plugin_libs],
+ dependencies : [gio_unix, appstream, libsoup, plugin_libs]
)
diff --git a/plugins/meson.build b/plugins/meson.build
index 44f6a24b0..6e70d09d8 100644
--- a/plugins/meson.build
+++ b/plugins/meson.build
@@ -1,6 +1,6 @@
plugin_dir = join_paths(get_option('libdir'), 'gs-plugins-' + gs_plugin_api_version)
plugin_libs = [
- appstream_glib,
+ appstream,
gio_unix,
goa,
gtk,
diff --git a/src/meson.build b/src/meson.build
index edb8f5e1a..21a354084 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -72,7 +72,7 @@ gnome_software_sources = [
]
gnome_software_dependencies = [
- appstream_glib,
+ appstream,
gio_unix,
glib,
gmodule,
@@ -238,7 +238,7 @@ if get_option('tests')
include_directories('../lib'),
],
dependencies : [
- appstream_glib,
+ appstream,
gio_unix,
glib,
gmodule,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]