[gnome-builder] flatpak: be more aggressive ignoring runtimes
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] flatpak: be more aggressive ignoring runtimes
- Date: Mon, 25 Sep 2017 04:18:19 +0000 (UTC)
commit f5d5a6e08434e8df0983125914a57f903cbc8351
Author: Christian Hergert <chergert redhat com>
Date: Sun Sep 24 21:16:16 2017 -0700
flatpak: be more aggressive ignoring runtimes
There might be a better way to check for this in the metadata,
but that takes more effort right now.
src/plugins/flatpak/gbp-flatpak-util.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-util.c b/src/plugins/flatpak/gbp-flatpak-util.c
index b920201..7364fd5 100644
--- a/src/plugins/flatpak/gbp-flatpak-util.c
+++ b/src/plugins/flatpak/gbp-flatpak-util.c
@@ -19,6 +19,7 @@
#define G_LOG_DOMAIN "gbp-flatpak-util"
#include <flatpak.h>
+#include <string.h>
#include "gbp-flatpak-util.h"
@@ -82,8 +83,15 @@ gbp_flatpak_is_ignored (const gchar *name)
return g_str_has_suffix (name, ".Locale") ||
g_str_has_suffix (name, ".Debug") ||
+ g_str_has_suffix (name, ".Docs") ||
g_str_has_suffix (name, ".Sources") ||
g_str_has_suffix (name, ".Var") ||
- g_str_has_prefix (name, "org.gtk.Gtk3theme.");
+ g_str_has_prefix (name, "org.gtk.Gtk3theme.") ||
+ strstr (name, ".GL.nvidia") != NULL ||
+ strstr (name, ".GL32.nvidia") != NULL ||
+ strstr (name, ".VAAPI") != NULL ||
+ strstr (name, ".Icontheme") != NULL ||
+ strstr (name, ".Extension") != NULL ||
+ strstr (name, ".Gtk3theme") != NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]