Add qt6 package

This commit is contained in:
Fijxu 2024-03-11 01:05:39 -03:00
parent cca68da715
commit 2c52ab5a14
Signed by: Fijxu
SSH key fingerprint: SHA256:NEA9cr0sNsA6h9p9u4xJATHKUkhL1wfRIBC7o75eG9c
3 changed files with 28 additions and 16 deletions

View file

@ -1,9 +1,9 @@
pkgbase = suyu-dev-git
pkgdesc = suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (dev branch)
pkgver = r27175.bd5bdbe6c
pkgbase = suyu-dev-qt6-git
pkgdesc = suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (dev branch with QT6)
pkgver = r27175.bd5bdbe6c7
pkgrel = 1
url = https://gitlab.com/suyu-emu/suyu
install = suyu-dev-git.install
install = suyu-dev-qt6-git.install
arch = x86_64
license = GPL-3.0-or-later
makedepends = boost
@ -15,7 +15,7 @@ pkgbase = suyu-dev-git
makedepends = llvm
makedepends = ninja
makedepends = nlohmann-json
makedepends = qt5-tools
makedepends = qt6-tools
makedepends = shaderc
makedepends = spirv-headers
makedepends = vulkan-headers
@ -41,9 +41,9 @@ pkgbase = suyu-dev-git
depends = libva.so
depends = libzstd.so
depends = lz4
depends = qt5-base
depends = qt5-multimedia
depends = qt5-webengine
depends = qt6-base
depends = qt6-multimedia
depends = qt6-webengine
depends = sdl2
depends = zlib
provides = suyu
@ -78,4 +78,4 @@ pkgbase = suyu-dev-git
b2sums = SKIP
b2sums = SKIP
pkgname = suyu-dev-git
pkgname = suyu-dev-qt6-git

View file

@ -2,14 +2,15 @@
_pkgname=suyu
_branch=dev
pkgname=suyu-dev-git
pkgver=r27175.bd5bdbe6c
pkgname=suyu-dev-qt6-git
pkgver=r27175.bd5bdbe6c7
pkgrel=1
pkgdesc="suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (dev branch)"
pkgdesc="suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (dev branch with QT6)"
arch=(x86_64)
url=https://gitlab.com/suyu-emu/suyu
license=(GPL-3.0-or-later)
provides=('suyu')
conflics=(suyu-dev-git suyu-git)
install=$pkgname.install
depends=(
brotli
@ -30,9 +31,9 @@ depends=(
libva.so
libzstd.so
lz4
qt5-base
qt5-multimedia
qt5-webengine
qt6-base
qt6-multimedia
qt6-webengine
sdl2
zlib
)
@ -46,7 +47,7 @@ makedepends=(
llvm
ninja
nlohmann-json
qt5-tools
qt6-tools
shaderc
spirv-headers
vulkan-headers

11
suyu-dev-qt6-git.install Normal file
View file

@ -0,0 +1,11 @@
pre_install() {
cat << EOF
==> WARNING: suyu uses a completly different directory to store their data.
You will need to copy all the files from the ./local/share/yuzu directory to ./local/share/suyu
You can do it using this command: mkdir -p ~/.local/share/suyu && cp -ra ~/.local/share/yuzu/* ~/.local/share/suyu/*
EOF
}