summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-04-27 11:48:15 +0100
committerRichard Hughes <richard@hughsie.com>2016-04-29 17:43:55 +0100
commit0a474d3c4445e1943dfe3a1dbf0f0f1140c8c434 (patch)
tree2a95ff3f4937976d1dd54d6f32ecbc6409c2b538
parent628e3cfb1c62c3177d6decd86102217f2546e0a2 (diff)
downloadappstream-glib-0a474d3c4445e1943dfe3a1dbf0f0f1140c8c434.tar.gz
trivial: Add a work-around for the new libreoffice in the builder
-rw-r--r--libappstream-builder/asb-task.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libappstream-builder/asb-task.c b/libappstream-builder/asb-task.c
index 8a8b2cc..56dbdef 100644
--- a/libappstream-builder/asb-task.c
+++ b/libappstream-builder/asb-task.c
@@ -183,6 +183,11 @@ asb_task_explode_extra_packages (AsbTask *task, GError **error)
continue;
if (g_strcmp0 (tmp, asb_package_get_name (priv->pkg)) == 0)
continue;
+
+ /* libreoffice making things complicated */
+ if (g_strcmp0 (tmp, "libreoffice-core") == 0)
+ g_ptr_array_add (array, g_strdup ("libreoffice-data"));
+
/* if an app depends on kde-runtime, that means the
* oxygen icon set is available to them */
if (g_strcmp0 (tmp, "oxygen-icon-theme") == 0 ||