[gnome-music/wip/jfelder/songeditor-gtk4: 15/32] flatpak: Build gst-plugins-bad with chromaprint support




commit 388c35cff0b2b4c51ef0696e41903d545f7374e1
Author: Jean Felder <jfelder src gnome org>
Date:   Sat Sep 21 12:29:34 2019 +0200

    flatpak: Build gst-plugins-bad with chromaprint support
    
    gst-plugins-bad provided by the freedesktop sdk does not have
    chromaprint support. But the chromaprint plugin from Grilo, which will
    be used by SongEditorDialog, needs it.
    
    Fix the issue by building gst-plugins-bad with chromaprint support.

 org.gnome.Music.json | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
---
diff --git a/org.gnome.Music.json b/org.gnome.Music.json
index e4d730702..6ae49dafc 100644
--- a/org.gnome.Music.json
+++ b/org.gnome.Music.json
@@ -124,6 +124,43 @@
             ],
             "cleanup": [ "/include" ]
         },
+        {
+            "name": "chromaprint",
+            "config-opts": [
+                 "-DCMAKE_BUILD_TYPE=Release",
+                 "-DBUILD_TESTS=off",
+                 "-DBUILD_TOOLS=off",
+                 "-DAUDIO_PROCESSOR_LIB=dummy"
+            ],
+            "buildsystem": "cmake",
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": 
"https://github.com/acoustid/chromaprint/releases/download/v1.5.1/chromaprint-1.5.1.tar.gz";,
+                    "sha256": "a1aad8fa3b8b18b78d3755b3767faff9abb67242e01b478ec9a64e190f335e1c"
+                }
+            ],
+            "cleanup": [
+                "/include",
+                "/lib/pkgconfig"
+            ]
+        },
+        {
+            "name": "gst-plugins-bad",
+            "config-opts": [
+                "-Dchromaprint=enabled",
+                "-Dopenh264=disabled",
+                "-Dvulkan=disabled"
+            ],
+            "buildsystem": "meson",
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": 
"https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.18.5.tar.xz";,
+                    "sha256": "a164923b94f0d08578a6fcaeaac6e0c05da788a46903a1086870e9ca45ad678e"
+                }
+            ]
+        },
         {
             "name": "gnome-music",
             "config-opts" : [


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