Big clean-up. Retrieve sources from upstream.

This commit is contained in:
a821 2021-07-06 10:28:37 +02:00
parent 322bbc310a
commit 7db5837cdd
5 changed files with 44 additions and 44 deletions

View file

@ -1,29 +1,23 @@
pkgbase = yuzu-mainline-bin
pkgdesc = Yuzu emulator 'mainline' branch binaries for Arch Linux
pkgdesc = Nintendo Switch emulator - mainline branch
pkgver = 0.678
pkgrel = 1
url = https://github.com/linux-gamers/arch-yuzu-mainline
pkgrel = 2
url = https://github.com/yuzu-emu/yuzu-mainline
arch = x86_64
license = GNU General Public License v2.0
depends = shared-mime-info
depends = desktop-file-utils
depends = sdl2
license = GPL2
depends = qt5-base
depends = qt5-multimedia
depends = qt5-tools
depends = qt5-webengine
depends = libxkbcommon-x11
depends = libfdk-aac
depends = fmt
depends = libzip
depends = ffmpeg
optdepends = qt5-wayland: for Wayland support
provides = yuzu
provides = yuzu-cmd
conflicts = yuzu-git
conflicts = yuzu-canary-git
conflicts = yuzu-mainline-git
source = https://github.com/linux-gamers/arch-yuzu-mainline/archive/0-678.tar.gz
sha512sums = 3a62cfd082d2f7cab52f486b8d80b6e0ede2b43b82bf4f2c258093ed241ed85956e3473b9dc1189b6265a290142eb5b491a5558b10971f92372eb0e5516078c0
source = https://github.com/yuzu-emu/yuzu-mainline/releases/download/mainline-0-678/yuzu-linux-20210705-804235fac.tar.xz
source = yuzu.svg
source = yuzu.desktop
sha512sums = b2af9199613b30802e96677871c4a875f29cb7b17400cde15011801fbd0837344414ae48be8956d29dfe3edb55767f74f0fbcb7c21d00a98f57cd7e8a9a94c7f
sha512sums = 8e9f442436bd5f89a99c902960b51a3dd124ba17119422cca1ae792da0bcf3c757862bc88cb3d229b1f6a3b8b36c73f47f2c7266a11f91ebb38265777a2ba6b3
sha512sums = 0b2383b87abbb80a26a7926b5b64121ec0399832aee474ebfdb9f2b001fee6cf4b90d0a8625028f05273e95e2c94f692291a98d769fac5a1f2ad598e168811a1
pkgname = yuzu-mainline-bin

View file

@ -1,30 +1,25 @@
# Maintainer: Linux Gamers <linuxgamers@protonmail.com>
_pkgname=yuzu-mainline
pkgname="${_pkgname}-bin"
# Contributor: Linux Gamers <linuxgamers@protonmail.com>
_version=20210705-804235fac
pkgname=yuzu-mainline-bin
provides=('yuzu' 'yuzu-cmd')
conflicts=('yuzu-git' 'yuzu-canary-git' 'yuzu-mainline-git')
_pkgver=678
pkgver="0.${_pkgver}"
pkgrel=1
pkgdesc="Yuzu emulator 'mainline' branch binaries for Arch Linux"
pkgver=0.678
pkgrel=2
pkgdesc="Nintendo Switch emulator - mainline branch"
arch=('x86_64')
url="https://github.com/linux-gamers/arch-yuzu-mainline"
license=('GNU General Public License v2.0')
depends=('shared-mime-info' 'desktop-file-utils' 'sdl2' 'qt5-base' 'qt5-multimedia' 'qt5-tools' 'qt5-webengine' 'libxkbcommon-x11' 'libfdk-aac' 'fmt' 'libzip')
url="https://github.com/yuzu-emu/yuzu-mainline"
license=('GPL2')
depends=('qt5-base' 'ffmpeg')
optdepends=('qt5-wayland: for Wayland support')
source=("${url}/archive/0-${_pkgver}.tar.gz")
sha512sums=('3a62cfd082d2f7cab52f486b8d80b6e0ede2b43b82bf4f2c258093ed241ed85956e3473b9dc1189b6265a290142eb5b491a5558b10971f92372eb0e5516078c0')
source=("${url}/releases/download/mainline-${pkgver/./-}/yuzu-linux-${_version}.tar.xz"
# icon and desktop from upstream not included in sources
"yuzu.svg"
"yuzu.desktop")
sha512sums=('b2af9199613b30802e96677871c4a875f29cb7b17400cde15011801fbd0837344414ae48be8956d29dfe3edb55767f74f0fbcb7c21d00a98f57cd7e8a9a94c7f'
'8e9f442436bd5f89a99c902960b51a3dd124ba17119422cca1ae792da0bcf3c757862bc88cb3d229b1f6a3b8b36c73f47f2c7266a11f91ebb38265777a2ba6b3'
'0b2383b87abbb80a26a7926b5b64121ec0399832aee474ebfdb9f2b001fee6cf4b90d0a8625028f05273e95e2c94f692291a98d769fac5a1f2ad598e168811a1')
package() {
cd "${srcdir}/arch-${_pkgname}-0-${_pkgver}"
mkdir -p $pkgdir/usr/bin
mv dist/yuzu $pkgdir/usr/bin/
mv dist/yuzu-cmd $pkgdir/usr/bin/
mkdir -p $pkgdir/usr/share/icons/hicolor/scalable/apps
mv dist/yuzu.svg $pkgdir/usr/share/icons/hicolor/scalable/apps/
mkdir -p $pkgdir/usr/share/applications
mv dist/yuzu.desktop $pkgdir/usr/share/applications/
}
install -Dm644 yuzu.desktop -t "$pkgdir/usr/share/applications"
install -Dm644 yuzu.svg -t "$pkgdir/usr/share/icons/hicolor/scalable/apps"
install -Dm755 yuzu-linux-${_version}/yuzu{,-cmd} -t "$pkgdir/usr/bin"
}

View file

@ -1,2 +0,0 @@
makepkg --printsrcinfo > .SRCINFO
git add -f PKGBUILD .SRCINFO

12
yuzu.desktop Normal file
View file

@ -0,0 +1,12 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=yuzu
GenericName=Switch Emulator
Comment=Nintendo Switch video game console emulator
Icon=yuzu
TryExec=yuzu
Exec=yuzu %f
Categories=Game;Emulator;Qt;
MimeType=application/x-nx-nro;application/x-nx-nso;
Keywords=Switch;Nintendo;

1
yuzu.svg Normal file
View file

@ -0,0 +1 @@
<svg id="svg815" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 614.4 682.67"><defs><style>.cls-1{fill:none;}.cls-2{clip-path:url(#clip-path);}.cls-3{fill:#ff3c28;}.cls-4{fill:#0ab9e6;}</style><clipPath id="clip-path"><rect class="cls-1" x="-43" y="-46.67" width="699.6" height="777.33"/></clipPath></defs><title>Artboard 1</title><g id="g823"><g id="right"><g class="cls-2"><g id="g827"><g id="g833"><path id="path835" class="cls-3" d="M340.81,138V682.08c150.26,0,272.06-121.81,272.06-272.06S491.07,138,340.81,138M394,197.55a219.06,219.06,0,0,1,0,424.94V197.55"/></g></g></g></g><g id="left"><g class="cls-2"><g id="g839"><g id="g845"><path id="path847" class="cls-4" d="M272.79,1.92C122.53,1.92.73,123.73.73,274s121.8,272.07,272.06,272.07ZM219.65,61.51v425A219,219,0,0,1,118,119.18,217.51,217.51,0,0,1,219.65,61.51"/></g></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 889 B