[gnome-music/wip/mschraal/tageditor: 9/21] flatpak: Build gst-plugins-bad with chromaprint support



commit d32e383626e4060519a991ad4f5e854fa5ca9ffb
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 TagEditorDialog, 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..905b4fb5 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.0.tar.xz";,
+                    "sha256": "22139de35626ada6090bdfa3423b27b7fc15a0198331d25c95e6b12cb1072b05"
+                }
+            ]
+        },
         {
             "name": "gnome-music",
             "config-opts" : [


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