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




commit b7132ccbb886dd1d824c060c182886c6887794c6
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 72f122a3..5e642e7e 100644
--- a/org.gnome.Music.json
+++ b/org.gnome.Music.json
@@ -141,6 +141,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.0/chromaprint-1.5.0.tar.gz";,
+                    "sha256": "573a5400e635b3823fc2394cfa7a217fbb46e8e50ecebd4a61991451a8af766a"
+                }
+            ],
+            "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.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]