[totem/wip/hadess/flatpak-build-fixes] flatpak: Small cleanups



commit cd1c096c2a9ed11eea430be732a88c48d8518741
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Feb 15 13:04:58 2019 +0100

    flatpak: Small cleanups
    
    Update from Flathub version, mainly tidies up /bin and makes sure that
    grilo's test executables are still installed for debugging.

 flatpak/org.gnome.Totem.json | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/flatpak/org.gnome.Totem.json b/flatpak/org.gnome.Totem.json
index 07a7591e1..c7669bb48 100644
--- a/flatpak/org.gnome.Totem.json
+++ b/flatpak/org.gnome.Totem.json
@@ -53,11 +53,14 @@
         "shared-modules/lua5.3/lua-5.3.2.json",
         {
             "name": "libpeas",
-            "cleanup": [ "/bin/*", "/lib/peas-demo" ],
             "sources": [
                 {
                     "type": "git",
                     "url": "https://gitlab.gnome.org/GNOME/libpeas.git";
+                },
+                {
+                    "type": "shell",
+                    "commands" : [ "sed 's,libpeas-gtk peas-demo,libpeas-gtk,' -i Makefile.am" ]
                 }
             ]
         },
@@ -82,7 +85,7 @@
                     "url": "https://gitlab.gnome.org/GNOME/grilo.git";
                 }
             ],
-            "cleanup": [ "/include", "/bin" ]
+            "cleanup": [ "/include" ]
         },
         {
             "name": "librest",
@@ -107,6 +110,7 @@
         {
             "name": "liboauth",
             "config-opts": [ "--enable-nss" ],
+            "cleanup": [ "/bin/*oauth*", "share/man/man1/*oauth*" ],
             "sources": [
                 {
                     "type": "archive",
@@ -169,7 +173,7 @@
         },
         {
             "name": "avahi",
-            "cleanup": [ "/bin" ],
+            "cleanup": [ "/bin/*avahi*", "share/man/man1/*avahi*" ],
             "config-opts": [
                 "--with-distro=none",
                 "--enable-gobject",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]