Browse Source

flatpak: Reenable browser source

It seems that the browser source works inside a Flatpak sandbox and/or
Wayland with CEF 4280, so let's try and reenable it.

This reverts commit e64c61710fb064ca87341f091ac55cb5861fc202.
Georges Basile Stavracas Neto 4 years ago
parent
commit
495687294b
1 changed files with 27 additions and 0 deletions
  1. 27 0
      CI/flatpak/com.obsproject.Studio.json

+ 27 - 0
CI/flatpak/com.obsproject.Studio.json

@@ -220,6 +220,31 @@
         }
       ]
     },
+    {
+      "name": "cef",
+      "buildsystem": "cmake-ninja",
+      "no-make-install": true,
+      "make-args": [
+        "libcef_dll_wrapper"
+      ],
+      "build-commands": [
+        "mkdir -p /app/cef/libcef_dll_wrapper",
+        "cp -R ./include /app/cef",
+        "cp -R ./Release /app/cef",
+        "cp -R ./Resources /app/cef",
+        "cp -R ./libcef_dll_wrapper/libcef_dll_wrapper.a /app/cef/libcef_dll_wrapper"
+      ],
+      "cleanup": [
+        "./*"
+      ],
+      "sources": [
+        {
+          "type": "archive",
+          "url": "https://cdn-fastly.obsproject.com/downloads/cef_binary_4280_linux64.tar.bz2",
+          "sha256": "d91c78349ecbfbfdfc18d5f882dc28b939028f1a631191c603b5d0d938ada972"
+        }
+      ]
+    },
     {
       "name": "obs",
       "buildsystem": "cmake-ninja",
@@ -227,6 +252,8 @@
       "config-opts": [
         "-DCMAKE_BUILD_TYPE=Release",
         "-DENABLE_WAYLAND=ON",
+        "-DBUILD_BROWSER=ON",
+        "-DCEF_ROOT_DIR=/app/cef",
         "-DUNIX_STRUCTURE=ON",
         "-DUSE_XDG=ON",
         "-DDISABLE_ALSA=ON",