[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 128/331] APT plugin depends on appstream to set source information



commit af80dc9f8332dab60e854b4aefc4d67fedfbaaee
Author: Robert Ancell <robert ancell canonical com>
Date:   Wed Mar 2 21:10:30 2016 +1300

    APT plugin depends on appstream to set source information

 src/plugins/gs-plugin-apt.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.c b/src/plugins/gs-plugin-apt.c
index 707bf12..56605f5 100644
--- a/src/plugins/gs-plugin-apt.c
+++ b/src/plugins/gs-plugin-apt.c
@@ -53,6 +53,15 @@ gs_plugin_get_name (void)
        return "apt";
 }
 
+const gchar **
+gs_plugin_get_deps (GsPlugin *plugin)
+{
+       static const gchar *deps[] = {
+               "appstream",            /* need pkgname */
+               NULL };
+       return deps;
+}
+
 static void
 free_package_info (gpointer data)
 {


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