Sfoglia il codice sorgente

build-aux: Update Flatpak CEF from 103/5060 to 127/6533

The CEF module is also modified to:
- Use the pre-built wrapper included in the tarball
- Preserve debug symbols inside its binaries
  - The copy done later by OBS Studio build-system will be split from
    its debug symbols
tytan652 1 anno fa
parent
commit
b7dbaf4eee
2 ha cambiato i file con 9 aggiunte e 12 eliminazioni
  1. 2 1
      build-aux/com.obsproject.Studio.json
  2. 7 11
      build-aux/modules/99-cef.json

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

@@ -98,7 +98,8 @@
             ],
             "post-install": [
                 "install -d /app/plugins",
-                "install -d /app/extensions/Plugins"
+                "install -d /app/extensions/Plugins",
+                "rm -rf /app/cef # Skip stripping original CEF library"
             ],
             "sources": [
                 {

+ 7 - 11
build-aux/modules/99-cef.json

@@ -1,19 +1,15 @@
 {
     "name": "cef",
-    "buildsystem": "cmake-ninja",
-    "config-opts": [
-        "-DCMAKE_BUILD_TYPE=Release"
-    ],
-    "no-make-install": true,
-    "make-args": [
-        "libcef_dll_wrapper"
-    ],
+    "build-options": {
+        "no-debuginfo": true
+    },
+    "buildsystem": "simple",
     "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"
+        "cp -R ./build/libcef_dll_wrapper/libcef_dll_wrapper.a /app/cef/libcef_dll_wrapper"
     ],
     "cleanup": [
         "*"
@@ -21,8 +17,8 @@
     "sources": [
         {
             "type": "archive",
-            "url": "https://cdn-fastly.obsproject.com/downloads/cef_binary_5060_linux_x86_64_v3.tar.xz",
-            "sha256": "1253a6a36c3b8ac5b5ece9bfdb6eae6ab75e49516375fc475e2e871795ad9bea"
+            "url": "https://cdn-fastly.obsproject.com/downloads/cef_binary_6533_linux_x86_64.tar.xz",
+            "sha256": "fab66dfc9cfd2e26fb87798f855aef30c2004edc8e19570d37af555644ae1655"
         }
     ]
 }