[gnome-music/wip/carlosg/tracker3: 29/68] flatpak: Build gst-plugins-bad with chromaprint support



commit d3ccdfbf8d697034f8845d80b1239223a6c08a79
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 | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
---
diff --git a/org.gnome.Music.json b/org.gnome.Music.json
index 97b6c74f..ce78f5d4 100644
--- a/org.gnome.Music.json
+++ b/org.gnome.Music.json
@@ -136,6 +136,42 @@
             ],
             "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.0/chromaprint-1.5.0.tar.gz";,
+                    "sha256": "573a5400e635b3823fc2394cfa7a217fbb46e8e50ecebd4a61991451a8af766a"
+                }
+            ],
+            "cleanup": [
+                "/include",
+                "/lib/pkgconfig"
+            ]
+        },
+        {
+            "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]