diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 136c2bf..390d0bf 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -38,7 +38,7 @@ jobs: outputs: packages: ${{ steps.list.outputs.packages }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - id: list env: PACKAGE: ${{ inputs.package }} @@ -71,7 +71,7 @@ jobs: - name: Install base tooling run: pacman -Syu --noconfirm --needed git openssh github-cli jq zstd - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Update ${{ matrix.package }} env: diff --git a/README.md b/README.md index 9b29c8d..db61b13 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ source in the `PKGBUILD` (and drop the `-bin` suffix), or don't package it. | `timetable` | [ostfriese4/untis](https://codeberg.org/ostfriese4/untis) — "Timetable", a GTK4 + LibAdwaita client for WebUntis | *built from source* | [timetable](https://aur.archlinux.org/packages/timetable) | | `vacuumtube-bin` | [shy1132/VacuumTube](https://github.com/shy1132/VacuumTube) — YouTube Leanback (TV UI) with built-in adblocker | `.deb` | [vacuumtube-bin](https://aur.archlinux.org/packages/vacuumtube-bin) | | `waydroid-helper-bin` | [ayasa520/waydroid-helper](https://github.com/ayasa520/waydroid-helper) — GTK4 GUI for Waydroid configuration and extensions | AppImage | [waydroid-helper-bin](https://aur.archlinux.org/packages/waydroid-helper-bin) | -| `wiiudownloader-bin` | [Xpl0itU/WiiUDownloader](https://github.com/Xpl0itU/WiiUDownloader) — Wii U title downloader (Go + GTK3) | AppImage | [wiiudownloader-bin](https://aur.archlinux.org/packages/wiiudownloader-bin) | +| `wiiudownloader-bin` | [Xpl0itU/WiiUDownloader](https://github.com/Xpl0itU/WiiUDownloader) — Wii U title downloader (Go + GTK4) | AppImage | [wiiudownloader-bin](https://aur.archlinux.org/packages/wiiudownloader-bin) | | `zapzap-bin` | [rafatosta/zapzap](https://github.com/rafatosta/zapzap) — WhatsApp desktop client (PyQt6 + WebEngine) | wheel | [zapzap-bin](https://aur.archlinux.org/packages/zapzap-bin) | ## Setup (one-time) diff --git a/wiiudownloader-bin/.SRCINFO b/wiiudownloader-bin/.SRCINFO index 3324e1b..b675b51 100644 --- a/wiiudownloader-bin/.SRCINFO +++ b/wiiudownloader-bin/.SRCINFO @@ -1,29 +1,18 @@ pkgbase = wiiudownloader-bin pkgdesc = Download encrypted Wii U files from Nintendo's official servers (upstream AppImage) - pkgver = 2.105 + pkgver = 3.1 pkgrel = 1 url = https://github.com/Xpl0itU/WiiUDownloader arch = x86_64 license = GPL-3.0-or-later - depends = glibc - depends = libx11 - depends = libxcb - depends = wayland - depends = fontconfig - depends = freetype2 - depends = harfbuzz - depends = fribidi - depends = zlib - depends = bzip2 - depends = expat - depends = libgpg-error depends = hicolor-icon-theme + depends = sh provides = wiiudownloader conflicts = wiiudownloader - noextract = wiiudownloader-bin-2.105.AppImage + noextract = wiiudownloader-bin-3.1.AppImage options = !strip options = !debug - source = wiiudownloader-bin-2.105.AppImage::https://github.com/Xpl0itU/WiiUDownloader/releases/download/v2.105/WiiUDownloader-Linux-x86_64.AppImage - sha256sums = 5e9b6fee20657fd1e3d7034a9f119ee77934b9b6613caf6a3cc8b012dfbc58a2 + source = wiiudownloader-bin-3.1.AppImage::https://github.com/Xpl0itU/WiiUDownloader/releases/download/v3.1/WiiUDownloader-Linux-x86_64.AppImage + sha256sums = 49bfdb7371b650680aeb7cd799942e2802b54cf70d10acfe2cc50074af35ebf0 pkgname = wiiudownloader-bin diff --git a/wiiudownloader-bin/PKGBUILD b/wiiudownloader-bin/PKGBUILD index 20f7cab..29c27d8 100644 --- a/wiiudownloader-bin/PKGBUILD +++ b/wiiudownloader-bin/PKGBUILD @@ -3,22 +3,21 @@ # https://github.com/Felitendo/PKGBUILDS pkgname=wiiudownloader-bin -pkgver=2.105 +pkgver=3.1 pkgrel=1 pkgdesc="Download encrypted Wii U files from Nintendo's official servers (upstream AppImage)" arch=('x86_64') url="https://github.com/Xpl0itU/WiiUDownloader" license=('GPL-3.0-or-later') -# the AppImage bundles GTK3 and its stack; these are what is left over -depends=('glibc' 'libx11' 'libxcb' 'wayland' 'fontconfig' 'freetype2' - 'harfbuzz' 'fribidi' 'zlib' 'bzip2' 'expat' 'libgpg-error' - 'hicolor-icon-theme') +# the AppImage is built with sharun and carries GTK4, libadwaita, Mesa and its +# own glibc and dynamic loader; only the shell that runs its AppRun.sh is left +depends=('hicolor-icon-theme' 'sh') provides=('wiiudownloader') conflicts=('wiiudownloader') options=('!strip' '!debug') source=("${pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/WiiUDownloader-Linux-x86_64.AppImage") noextract=("${pkgname}-${pkgver}.AppImage") -sha256sums=('5e9b6fee20657fd1e3d7034a9f119ee77934b9b6613caf6a3cc8b012dfbc58a2') +sha256sums=('49bfdb7371b650680aeb7cd799942e2802b54cf70d10acfe2cc50074af35ebf0') prepare() { chmod +x "$srcdir/${pkgname}-${pkgver}.AppImage" @@ -26,7 +25,8 @@ prepare() { } package() { - # upstream's AppImage payload, installed unchanged + # upstream's AppImage payload, installed unchanged; its self-updater hook + # only acts when started from an AppImage ($APPIMAGE), so it stays inert install -d "$pkgdir/opt/$pkgname" cp -a "$srcdir/squashfs-root/." "$pkgdir/opt/$pkgname/" rm -f "$pkgdir/opt/$pkgname/.DirIcon" @@ -40,10 +40,11 @@ exec /opt/$pkgname/AppRun "\$@" EOF chmod 755 "$pkgdir/usr/bin/wiiudownloader" - install -Dm644 "$srcdir/squashfs-root/usr/share/icons/hicolor/512x512/apps/WiiUDownloader.png" \ + install -Dm644 "$srcdir/squashfs-root/WiiUDownloader.png" \ "$pkgdir/usr/share/icons/hicolor/512x512/apps/wiiudownloader.png" install -Dm644 "$srcdir/squashfs-root/WiiUDownloader.desktop" \ "$pkgdir/usr/share/applications/wiiudownloader.desktop" sed -i -e 's|^Exec=.*|Exec=wiiudownloader|' -e 's|^Icon=.*|Icon=wiiudownloader|' \ + -e '/^X-AppImage-/d' \ "$pkgdir/usr/share/applications/wiiudownloader.desktop" } diff --git a/wiiudownloader-bin/pkg.sh b/wiiudownloader-bin/pkg.sh index c7d0f33..a7ca359 100644 --- a/wiiudownloader-bin/pkg.sh +++ b/wiiudownloader-bin/pkg.sh @@ -1,10 +1,14 @@ # wiiudownloader-bin - WiiUDownloader -# (https://github.com/Xpl0itU/WiiUDownloader), a Go + GTK3 downloader for -# Wii U titles from Nintendo's official servers. +# (https://github.com/Xpl0itU/WiiUDownloader), a Go + GTK4/libadwaita +# downloader for Wii U titles from Nintendo's official servers. # # Upstream publishes an AppImage per release, which the PKGBUILD unpacks and # installs into /opt - so there is no build step here, only pkgver and the # checksum are refreshed on a new version. +# +# Since v3.0 the AppImage is built with sharun (pkgforge-dev/Anylinux-AppImages) +# and bundles everything down to glibc, which is why the PKGBUILD depends on +# little more than a shell. Icon and desktop entry sit at the top of the image. UPSTREAM_REPO="Xpl0itU/WiiUDownloader"