diff --git a/.github/workflows/flatpak-nightly.yml b/.github/workflows/flatpak-nightly.yml index e643fc62..68018609 100644 --- a/.github/workflows/flatpak-nightly.yml +++ b/.github/workflows/flatpak-nightly.yml @@ -16,7 +16,8 @@ jobs: arch: [x86_64, aarch64] fail-fast: false steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v4 with: submodules: recursive - name: Install Docker @@ -24,15 +25,15 @@ jobs: dnf -y install docker - name: Setup QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 with: platforms: arm64 - name: Prepare Runtime run: | 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 + - name: Build + uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6 with: bundle: com.github.rafostar.Clapper.flatpak manifest-path: pkgs/flatpak/com.github.rafostar.Clapper-nightly.json diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml index 69560ccd..5e203cde 100644 --- a/.github/workflows/flatpak.yml +++ b/.github/workflows/flatpak.yml @@ -20,7 +20,8 @@ jobs: arch: [x86_64, aarch64] fail-fast: false steps: - - uses: actions/checkout@v2 + - name: Checkout + uses: actions/checkout@v4 with: submodules: recursive - name: Install Docker @@ -28,11 +29,11 @@ jobs: dnf -y install docker - name: Setup QEMU id: qemu - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 with: platforms: arm64 - - uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4 - name: "Build" + - name: Build + uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6 with: bundle: com.github.rafostar.Clapper.flatpak manifest-path: pkgs/flatpak/com.github.rafostar.Clapper.json diff --git a/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json b/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json index 6d2de5b2..c54b0331 100644 --- a/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json +++ b/pkgs/flatpak/com.github.rafostar.Clapper-nightly.json @@ -16,7 +16,7 @@ "autodelete": false } }, - "command": "com.github.rafostar.Clapper", + "command": "clapper", "separate-locales": false, "finish-args": [ "--share=ipc", @@ -46,6 +46,8 @@ "flathub/lib/libdvdread.json", "flathub/lib/libdvdnav.json", "flathub/lib/libass.json", + "testing/libmicrodns.json", + "testing/dav1d.json", "testing/gstreamer.json", "testing/gst-plugins-rs.json", "testing/gtuber.json", diff --git a/pkgs/flatpak/testing/dav1d.json b/pkgs/flatpak/testing/dav1d.json new file mode 100644 index 00000000..840fb4dc --- /dev/null +++ b/pkgs/flatpak/testing/dav1d.json @@ -0,0 +1,25 @@ +{ + "name": "dav1d", + "buildsystem": "meson", + "only-arches": [ + "x86_64" + ], + "config-opts": [ + "-Denable_tools=false", + "-Denable_examples=false", + "-Denable_tests=false", + "-Denable_docs=false", + "-Dlogging=false" + ], + "cleanup": [ + "/include", + "/lib/pkgconfig" + ], + "sources": [ + { + "type": "git", + "url": "https://code.videolan.org/videolan/dav1d.git", + "branch": "master" + } + ] +}