From 2c52ab5a146bdd80c7178098e4bec563776be808 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Mon, 11 Mar 2024 01:05:39 -0300 Subject: [PATCH] Add qt6 package --- .SRCINFO | 18 +++++++++--------- PKGBUILD | 15 ++++++++------- suyu-dev-qt6-git.install | 11 +++++++++++ 3 files changed, 28 insertions(+), 16 deletions(-) create mode 100644 suyu-dev-qt6-git.install diff --git a/.SRCINFO b/.SRCINFO index e52db9d..5718612 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 6549e72..49e9d69 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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 diff --git a/suyu-dev-qt6-git.install b/suyu-dev-qt6-git.install new file mode 100644 index 0000000..9addba5 --- /dev/null +++ b/suyu-dev-qt6-git.install @@ -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 +} +