[sound-juicer/wip/hadess/fix-libcanberra] flatpak: Fix libcanberra crash on Wayland




commit cf435036dc19c40b5f244e4053f7c30dcae0def2
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 11 16:55:00 2021 +0100

    flatpak: Fix libcanberra crash on Wayland
    
    Include git upstream fix that never made it into a release to avoid
    crashes in non-X11 environments, eg. Wayland.
    
    Closes: #19

 build-aux/org.gnome.SoundJuicer.json | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/build-aux/org.gnome.SoundJuicer.json b/build-aux/org.gnome.SoundJuicer.json
index dae7a19e..caadd624 100644
--- a/build-aux/org.gnome.SoundJuicer.json
+++ b/build-aux/org.gnome.SoundJuicer.json
@@ -181,14 +181,36 @@
         },
         {
             "name": "libcanberra",
+            "cleanup": [
+                "*.la",
+                "/bin",
+                "/etc",
+                "/include",
+                "/libexec",
+                "/share/gtk-doc",
+                "/share/man"
+            ],
             "config-opts": [
-                "--enable-pulse"
+                "--disable-static",
+                "--disable-gtk-doc",
+                "--disable-oss",
+                "--enable-pulse",
+                "--disable-udev",
+                "--disable-gtk",
+                "--enable-gtk3",
+                "--disable-lynx"
             ],
             "sources": [
                 {
                     "type": "archive",
                     "url": "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz";,
-                    "sha256": "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72"
+                    "sha256": "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72",
+                    "git-init" : true
+                },
+                {
+                    "type": "patch",
+                    "path": "0001-gtk-Don-t-assume-all-GdkDisplays-are-GdkX11Displays-.patch",
+                    "use-git-am": true
                 }
             ]
         },


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