diff options
author | Richard Hughes <richard@hughsie.com> | 2014-06-24 14:36:46 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-06-24 14:36:46 +0100 |
commit | dca6242bb7d6cd1800b92ddcc31c70ebb44fedd6 (patch) | |
tree | a7d993ac008c6976d0a75d2b9288b794aab9b9f1 | |
parent | 2bbf1a3cc5ef050f829444f7d2d4bdbcde98e458 (diff) | |
download | appstream-glib-dca6242bb7d6cd1800b92ddcc31c70ebb44fedd6.tar.gz |
Don't include applications that depend on GLib1
-rw-r--r-- | libappstream-builder/plugins/asb-plugin-hardcoded.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libappstream-builder/plugins/asb-plugin-hardcoded.c b/libappstream-builder/plugins/asb-plugin-hardcoded.c index ba42dce..7394151 100644 --- a/libappstream-builder/plugins/asb-plugin-hardcoded.c +++ b/libappstream-builder/plugins/asb-plugin-hardcoded.c @@ -237,6 +237,10 @@ asb_plugin_process_app (AsbPlugin *plugin, asb_app_add_veto (app, "Uses obsolete GTK1 toolkit"); break; } + if (g_strcmp0 (deps[i], "libglib-1.2.so.0") == 0) { + asb_app_add_veto (app, "Uses obsolete GLib library"); + break; + } if (g_strcmp0 (deps[i], "libqt-mt.so.3") == 0) { asb_app_add_veto (app, "Uses obsolete QT3 toolkit"); break; |