Browse Source

build-aux: Add RNNoise Flatpak module

Replace in-tree RNNoise with a module with the same version as macOS
obs-deps
tytan652 2 years ago
parent
commit
51887595f8
2 changed files with 22 additions and 0 deletions
  1. 1 0
      build-aux/com.obsproject.Studio.json
  2. 21 0
      build-aux/modules/50-rnnoise.json

+ 1 - 0
build-aux/com.obsproject.Studio.json

@@ -60,6 +60,7 @@
         "modules/50-libqrcodegencpp.json",
         "modules/50-ntv2.json",
         "modules/50-pipewire.json",
+        "modules/50-rnnoise.json",
         "modules/50-swig.json",
         "modules/50-v4l-utils.json",
         "modules/90-asio.json",

+ 21 - 0
build-aux/modules/50-rnnoise.json

@@ -0,0 +1,21 @@
+{
+    "name": "rnnoise",
+    "config-opts": [
+        "--enable-shared",
+        "-C",
+        "--disable-dependency-tracking",
+        "--disable-doc",
+        "--disable-examples"
+    ],
+    "cleanup": [
+        "/include",
+        "/lib/pkgconfig"
+    ],
+    "sources": [
+        {
+            "type": "git",
+            "url": "https://github.com/xiph/rnnoise.git",
+            "commit": "085d8f484af6141b1b88281a4043fb9215cead01"
+        }
+    ]
+}