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



commit 42bb38d9157be62e700b079da5d38710749fc02f
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]