wiiudownloader-bin: adapt to 3.x AppImage, bump actions/checkout
This commit is contained in:
1 parent
89ee59dbb2
commit
06a99936eb
5 files changed
+23
-29
No files matched your search
@@ -38,7 +38,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
packages: ${{ steps.list.outputs.packages }}
|
packages: ${{ steps.list.outputs.packages }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
- id: list
|
- id: list
|
||||||
env:
|
env:
|
||||||
PACKAGE: ${{ inputs.package }}
|
PACKAGE: ${{ inputs.package }}
|
||||||
@@ -71,7 +71,7 @@ jobs:
|
|||||||
- name: Install base tooling
|
- name: Install base tooling
|
||||||
run: pacman -Syu --noconfirm --needed git openssh github-cli jq zstd
|
run: pacman -Syu --noconfirm --needed git openssh github-cli jq zstd
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
|
|
||||||
- name: Update ${{ matrix.package }}
|
- name: Update ${{ matrix.package }}
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -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) |
|
| `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) |
|
| `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) |
|
| `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) |
|
| `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)
|
## Setup (one-time)
|
||||||
|
|||||||
@@ -1,29 +1,18 @@
|
|||||||
pkgbase = wiiudownloader-bin
|
pkgbase = wiiudownloader-bin
|
||||||
pkgdesc = Download encrypted Wii U files from Nintendo's official servers (upstream AppImage)
|
pkgdesc = Download encrypted Wii U files from Nintendo's official servers (upstream AppImage)
|
||||||
pkgver = 2.105
|
pkgver = 3.1
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/Xpl0itU/WiiUDownloader
|
url = https://github.com/Xpl0itU/WiiUDownloader
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = GPL-3.0-or-later
|
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 = hicolor-icon-theme
|
||||||
|
depends = sh
|
||||||
provides = wiiudownloader
|
provides = wiiudownloader
|
||||||
conflicts = wiiudownloader
|
conflicts = wiiudownloader
|
||||||
noextract = wiiudownloader-bin-2.105.AppImage
|
noextract = wiiudownloader-bin-3.1.AppImage
|
||||||
options = !strip
|
options = !strip
|
||||||
options = !debug
|
options = !debug
|
||||||
source = wiiudownloader-bin-2.105.AppImage::https://github.com/Xpl0itU/WiiUDownloader/releases/download/v2.105/WiiUDownloader-Linux-x86_64.AppImage
|
source = wiiudownloader-bin-3.1.AppImage::https://github.com/Xpl0itU/WiiUDownloader/releases/download/v3.1/WiiUDownloader-Linux-x86_64.AppImage
|
||||||
sha256sums = 5e9b6fee20657fd1e3d7034a9f119ee77934b9b6613caf6a3cc8b012dfbc58a2
|
sha256sums = 49bfdb7371b650680aeb7cd799942e2802b54cf70d10acfe2cc50074af35ebf0
|
||||||
|
|
||||||
pkgname = wiiudownloader-bin
|
pkgname = wiiudownloader-bin
|
||||||
@@ -3,22 +3,21 @@
|
|||||||
# https://github.com/Felitendo/PKGBUILDS
|
# https://github.com/Felitendo/PKGBUILDS
|
||||||
|
|
||||||
pkgname=wiiudownloader-bin
|
pkgname=wiiudownloader-bin
|
||||||
pkgver=2.105
|
pkgver=3.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Download encrypted Wii U files from Nintendo's official servers (upstream AppImage)"
|
pkgdesc="Download encrypted Wii U files from Nintendo's official servers (upstream AppImage)"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="https://github.com/Xpl0itU/WiiUDownloader"
|
url="https://github.com/Xpl0itU/WiiUDownloader"
|
||||||
license=('GPL-3.0-or-later')
|
license=('GPL-3.0-or-later')
|
||||||
# the AppImage bundles GTK3 and its stack; these are what is left over
|
# the AppImage is built with sharun and carries GTK4, libadwaita, Mesa and its
|
||||||
depends=('glibc' 'libx11' 'libxcb' 'wayland' 'fontconfig' 'freetype2'
|
# own glibc and dynamic loader; only the shell that runs its AppRun.sh is left
|
||||||
'harfbuzz' 'fribidi' 'zlib' 'bzip2' 'expat' 'libgpg-error'
|
depends=('hicolor-icon-theme' 'sh')
|
||||||
'hicolor-icon-theme')
|
|
||||||
provides=('wiiudownloader')
|
provides=('wiiudownloader')
|
||||||
conflicts=('wiiudownloader')
|
conflicts=('wiiudownloader')
|
||||||
options=('!strip' '!debug')
|
options=('!strip' '!debug')
|
||||||
source=("${pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/WiiUDownloader-Linux-x86_64.AppImage")
|
source=("${pkgname}-${pkgver}.AppImage::${url}/releases/download/v${pkgver}/WiiUDownloader-Linux-x86_64.AppImage")
|
||||||
noextract=("${pkgname}-${pkgver}.AppImage")
|
noextract=("${pkgname}-${pkgver}.AppImage")
|
||||||
sha256sums=('5e9b6fee20657fd1e3d7034a9f119ee77934b9b6613caf6a3cc8b012dfbc58a2')
|
sha256sums=('49bfdb7371b650680aeb7cd799942e2802b54cf70d10acfe2cc50074af35ebf0')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
chmod +x "$srcdir/${pkgname}-${pkgver}.AppImage"
|
chmod +x "$srcdir/${pkgname}-${pkgver}.AppImage"
|
||||||
@@ -26,7 +25,8 @@ prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
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"
|
install -d "$pkgdir/opt/$pkgname"
|
||||||
cp -a "$srcdir/squashfs-root/." "$pkgdir/opt/$pkgname/"
|
cp -a "$srcdir/squashfs-root/." "$pkgdir/opt/$pkgname/"
|
||||||
rm -f "$pkgdir/opt/$pkgname/.DirIcon"
|
rm -f "$pkgdir/opt/$pkgname/.DirIcon"
|
||||||
@@ -40,10 +40,11 @@ exec /opt/$pkgname/AppRun "\$@"
|
|||||||
EOF
|
EOF
|
||||||
chmod 755 "$pkgdir/usr/bin/wiiudownloader"
|
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"
|
"$pkgdir/usr/share/icons/hicolor/512x512/apps/wiiudownloader.png"
|
||||||
install -Dm644 "$srcdir/squashfs-root/WiiUDownloader.desktop" \
|
install -Dm644 "$srcdir/squashfs-root/WiiUDownloader.desktop" \
|
||||||
"$pkgdir/usr/share/applications/wiiudownloader.desktop"
|
"$pkgdir/usr/share/applications/wiiudownloader.desktop"
|
||||||
sed -i -e 's|^Exec=.*|Exec=wiiudownloader|' -e 's|^Icon=.*|Icon=wiiudownloader|' \
|
sed -i -e 's|^Exec=.*|Exec=wiiudownloader|' -e 's|^Icon=.*|Icon=wiiudownloader|' \
|
||||||
|
-e '/^X-AppImage-/d' \
|
||||||
"$pkgdir/usr/share/applications/wiiudownloader.desktop"
|
"$pkgdir/usr/share/applications/wiiudownloader.desktop"
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,14 @@
|
|||||||
# wiiudownloader-bin - WiiUDownloader
|
# wiiudownloader-bin - WiiUDownloader
|
||||||
# (https://github.com/Xpl0itU/WiiUDownloader), a Go + GTK3 downloader for
|
# (https://github.com/Xpl0itU/WiiUDownloader), a Go + GTK4/libadwaita
|
||||||
# Wii U titles from Nintendo's official servers.
|
# downloader for Wii U titles from Nintendo's official servers.
|
||||||
#
|
#
|
||||||
# Upstream publishes an AppImage per release, which the PKGBUILD unpacks and
|
# 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
|
# installs into /opt - so there is no build step here, only pkgver and the
|
||||||
# checksum are refreshed on a new version.
|
# 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"
|
UPSTREAM_REPO="Xpl0itU/WiiUDownloader"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user