[gnome-software/gnome-3-20] Do not make the ODRS plugin depend on xdg-app
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-20] Do not make the ODRS plugin depend on xdg-app
- Date: Tue, 29 Mar 2016 19:12:43 +0000 (UTC)
commit 21c98f0740db25dbf7ac97912954c39db2a466b2
Author: Richard Hughes <richard hughsie com>
Date: Tue Mar 22 09:24:04 2016 +0000
Do not make the ODRS plugin depend on xdg-app
configure.ac | 8 ++++++++
src/plugins/Makefile.am | 5 ++++-
2 files changed, 12 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0f00591..df8aa15 100644
--- a/configure.ac
+++ b/configure.ac
@@ -201,6 +201,13 @@ AS_IF([test "x$have_limba" = "xyes"], [
])
AM_CONDITIONAL(HAVE_LIMBA, test x$enable_limba = xyes)
+# Open Desktop Ratings Service
+AC_ARG_ENABLE(odrs,
+ [AS_HELP_STRING([--enable-odrs],
+ [enable ODRS support [default=yes]])],,
+ have_odrs=yes)
+AM_CONDITIONAL(HAVE_ODRS, test "$have_odrs" != no)
+
# this refers to the gnome-software plugin API version
# this is not in any way related to a package or soname version
GS_PLUGIN_API_VERSION=9
@@ -250,4 +257,5 @@ echo "
Firmware support: ${have_firmware}
Limba support: ${have_limba}
XDG-APP support: ${have_xdg_app}
+ ODRS support: ${have_odrs}
"
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am
index 07546c4..5ea32be 100644
--- a/src/plugins/Makefile.am
+++ b/src/plugins/Makefile.am
@@ -61,13 +61,16 @@ endif
if HAVE_XDG_APP
plugin_LTLIBRARIES += libgs_plugin_xdg_app.la
-plugin_LTLIBRARIES += libgs_plugin_xdg_app_reviews.la
endif
if HAVE_LIMBA
plugin_LTLIBRARIES += libgs_plugin_limba.la
endif
+if HAVE_ODRS
+plugin_LTLIBRARIES += libgs_plugin_xdg_app_reviews.la
+endif
+
libgs_plugin_dummy_la_SOURCES = gs-plugin-dummy.c
libgs_plugin_dummy_la_LIBADD = $(GS_PLUGIN_LIBS)
libgs_plugin_dummy_la_LDFLAGS = -module -avoid-version
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]