[gnome-music/wip/mschraal/tageditor-13feb2020: 12/25] flatpak: Build gst-plugins-bad with chromaprint support



commit 2cbd862ba4b971db40c56602376345797b95e54a
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 | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
---
diff --git a/org.gnome.Music.json b/org.gnome.Music.json
index 30a2ccab..e347e66b 100644
--- a/org.gnome.Music.json
+++ b/org.gnome.Music.json
@@ -136,6 +136,38 @@
             ],
             "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.4.3/chromaprint-1.4.3.tar.gz";,
+                    "sha256": "ea18608b76fb88e0203b7d3e1833fb125ce9bb61efe22c6e169a50c52c457f82"
+                }
+            ]
+        },
+        {
+            "name": "gst-plugins-bad",
+            "config-opts": [
+                "-Dchromaprint=enabled",
+                "-Dopenh264=disabled"
+            ],
+            "buildsystem": "meson",
+            "sources": [
+                {
+                    "type": "archive",
+                    "url": 
"https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.16.2.tar.xz";,
+                    "sha256": "f1cb7aa2389569a5343661aae473f0a940a90b872001824bc47fa8072a041e74"
+                }
+            ]
+        },
         {
             "name": "gnome-music",
             "config-opts" : [


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