From 32723c49adc6a855bdb1e4ca280df27b0d46639f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Dzi=C4=99giel?= Date: Mon, 30 Oct 2023 17:57:46 +0100 Subject: [PATCH] flatpak-nightly: Update to 23.08 runtime --- .github/workflows/flatpak-nightly.yml | 4 ++-- .../com.github.rafostar.Clapper-nightly.json | 17 +++++++++++++---- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/flatpak-nightly.yml b/.github/workflows/flatpak-nightly.yml index ce7630c0..e643fc62 100644 --- a/.github/workflows/flatpak-nightly.yml +++ b/.github/workflows/flatpak-nightly.yml @@ -29,8 +29,8 @@ jobs: platforms: arm64 - name: Prepare Runtime run: | - flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.rust-nightly/${{ matrix.arch }}/22.08 - flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.llvm14/${{ matrix.arch }}/22.08 + flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.rust-nightly/${{ matrix.arch }}/23.08 + flatpak --system install -y --noninteractive flathub org.freedesktop.Sdk.Extension.llvm16/${{ matrix.arch }}/23.08 - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 name: Build with: diff --git a/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json b/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json index 6afb7b4d..faa40d08 100644 --- a/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json +++ b/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json @@ -5,8 +5,17 @@ "sdk": "org.gnome.Sdk", "sdk-extensions": [ "org.freedesktop.Sdk.Extension.rust-nightly", - "org.freedesktop.Sdk.Extension.llvm14" + "org.freedesktop.Sdk.Extension.llvm16" ], + "add-extensions": { + "org.freedesktop.Platform.ffmpeg-full": { + "version": "23.08", + "directory": "lib/ffmpeg", + "add-ld-path": ".", + "no-autodownload": false, + "autodelete": false + } + }, "command": "com.github.rafostar.Clapper", "separate-locales": false, "finish-args": [ @@ -26,8 +35,8 @@ "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0" ], "build-options": { - "append-path": "/usr/lib/sdk/rust-nightly/bin:/usr/lib/sdk/llvm14/bin", - "prepend-ld-library-path": "/usr/lib/sdk/llvm14/lib" + "append-path": "/usr/lib/sdk/rust-nightly/bin:/usr/lib/sdk/llvm16/bin", + "prepend-ld-library-path": "/usr/lib/sdk/llvm16/lib" }, "modules": [ "flathub/shared-modules/gudev/gudev.json", @@ -38,7 +47,6 @@ "flathub/lib/libdvdread.json", "flathub/lib/libdvdnav.json", "flathub/lib/libass.json", - "flathub/lib/ffmpeg.json", "testing/gstreamer.json", "testing/gst-plugins-rs.json", "testing/gtuber.json", @@ -54,6 +62,7 @@ } ], "cleanup-commands": [ + "mkdir -p /app/lib/ffmpeg", "ln -s /lib/$FLATPAK_ARCH-linux-*/gstreamer-1.0/libgstpipewire.so /app/lib/gstreamer-1.0/" ] }