diff options
author | Richard Hughes <richard@hughsie.com> | 2017-06-07 13:40:13 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-06-07 13:40:26 +0100 |
commit | b5b4a855acb5c0a5b64e12d3a280309117fb7864 (patch) | |
tree | 238cedd6a8e96b4ac4c8fa551d4cc42846365134 /client/as-builder.c | |
parent | fa2fa8d6c53155db4a11e848f6dc93d8f47617c8 (diff) | |
download | appstream-glib-b5b4a855acb5c0a5b64e12d3a280309117fb7864.tar.gz |
Do not add the GNOME-Software-specific categories or icons by default
This is better done client side. Add a build flag so we can still build metadata
for old versions of Fedora.
Diffstat (limited to 'client/as-builder.c')
-rw-r--r-- | client/as-builder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/as-builder.c b/client/as-builder.c index cf68fd0..3b58115 100644 --- a/client/as-builder.c +++ b/client/as-builder.c @@ -231,6 +231,10 @@ main (int argc, char **argv) flags |= ASB_CONTEXT_FLAG_USE_FALLBACKS; continue; } + if (g_strcmp0 (veto_ignore[i], "add-default-icons") == 0) { + flags |= ASB_CONTEXT_FLAG_ADD_DEFAULT_ICONS; + continue; + } g_warning ("Unknown flag name: %s, " "expected 'missing-info' or 'missing-parents'", veto_ignore[i]); |