Open-source download manager & offline media toolbox for YouTube, music, social media, learning platforms & 1,800+ sites. Built with Tauri 2.0, Rust & Svelte.
Rust downloadmanagerguihacktoberfesthomebrewlightweightlinuxlinux-distributionlocal-firstmacosmacos-packagemedia-toolboxopen-sourcerustsveltetauritrendingtrending-repositorieswindowswindows-desktopytdlp
fix: add support for aarch64 architecture in Flatpak build and release workflows
Tonho374229f44f7b
diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.ymlindex 5a32054a..aad3d08b 100644--- a/.github/workflows/flatpak.yml+++ b/.github/workflows/flatpak.yml@@ -42,3 +42,40 @@ jobs:uses: softprops/action-gh-release@v2with:files: omniget.flatpak++ flatpak-aarch64:+ name: Build Flatpak Bundle (aarch64)+ runs-on: ubuntu-24.04-arm+ container:+ image: bilelmoussaoui/flatpak-github-actions:gnome-47+ options: --privileged++ steps:+ - name: Checkout+ uses: actions/checkout@v4++ - name: Generate offline sources+ run: |+ python3 -m ensurepip --upgrade+ python3 -m pip install aiohttp tomlkit+ python3 -m pip install "git+https://github.com/flatpak/flatpak-builder-tools.git#subdirectory=node"++ wget -q https://raw.githubusercontent.com/flatpak/flatpak-builder-tools/refs/heads/master/cargo/flatpak-cargo-generator.py+ python3 flatpak-cargo-generator.py src-tauri/Cargo.lock -o flatpak/cargo-sources.json++ npm install --package-lock-only --ignore-scripts+ python3 -m flatpak_node_generator npm package-lock.json -o flatpak/node-sources.json++ - name: Build Flatpak+ uses: flatpak/flatpak-github-actions/flatpak-builder@v6+ with:+ manifest-path: flatpak/wtf.tonho.omniget.yml+ bundle: omniget-aarch64.flatpak+ upload-artifact: true+ cache-key: flatpak-builder-aarch64-${{ github.sha }}++ - name: Upload Flatpak to Release+ if: github.event_name == 'release'+ uses: softprops/action-gh-release@v2+ with:+ files: omniget-aarch64.flatpakdiff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 2a7d81ed..116b383e 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -19,6 +19,8 @@ jobs:args: '--target x86_64-apple-darwin'- platform: 'ubuntu-22.04'args: ''+ - platform: 'ubuntu-24.04-arm'+ args: ''- platform: 'windows-latest'args: ''@@ -28,7 +30,7 @@ jobs:- uses: actions/checkout@v4- name: Install dependencies (Ubuntu only)- if: matrix.platform == 'ubuntu-22.04'+ if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-24.04-arm'run: |sudo apt-get updatesudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelfdiff --git a/flatpak/wtf.tonho.omniget.yml b/flatpak/wtf.tonho.omniget.ymlindex 379170b7..6b6bf345 100644--- a/flatpak/wtf.tonho.omniget.yml+++ b/flatpak/wtf.tonho.omniget.yml@@ -58,6 +58,13 @@ modules:- type: fileurl: https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlpdest-filename: yt-dlp+ only-arches:+ - x86_64+ - type: file+ url: https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_linux_aarch64+ dest-filename: yt-dlp+ only-arches:+ - aarch64- name: omnigetbuildsystem: simple