Compare commits
10 commits
8900e2b7ff
...
0cc21d9795
Author | SHA1 | Date | |
---|---|---|---|
|
0cc21d9795 | ||
|
e3c0473f88 | ||
900c2245c3 | |||
6cdb0bad2a | |||
6f5da5dada | |||
|
8c8663bb55 | ||
|
df7db0ed31 | ||
|
ab70a4a2ae | ||
|
79d2e3d9b6 | ||
a6338bd7b3 |
2 changed files with 105 additions and 42 deletions
58
.SRCINFO
58
.SRCINFO
|
@ -1,8 +1,8 @@
|
|||
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
|
||||
pkgver = r27354.b911ac8516
|
||||
pkgrel = 1
|
||||
url = https://gitlab.com/suyu-emu/suyu
|
||||
url = https://git.suyu.dev/suyu/suyu
|
||||
install = suyu-dev-qt6-git.install
|
||||
arch = x86_64
|
||||
license = GPL-3.0-or-later
|
||||
|
@ -18,7 +18,6 @@ pkgbase = suyu-dev-qt6-git
|
|||
makedepends = qt6-tools
|
||||
makedepends = shaderc
|
||||
makedepends = spirv-headers
|
||||
makedepends = vulkan-headers
|
||||
makedepends = vulkan-utility-libraries
|
||||
makedepends = catch2
|
||||
makedepends = rapidjson
|
||||
|
@ -46,23 +45,54 @@ pkgbase = suyu-dev-qt6-git
|
|||
depends = qt6-webengine
|
||||
depends = sdl2
|
||||
depends = zlib
|
||||
provides = suyu
|
||||
provides = suyu-dev-git
|
||||
provides = suyu-git
|
||||
conflicts = suyu-dev-git
|
||||
conflicts = suyu-git
|
||||
options = !debug
|
||||
options = lto
|
||||
source = git+https://gitlab.com/suyu-emu/suyu.git#branch=dev
|
||||
source = git+https://github.com/arsenm/sanitizers-cmake.git
|
||||
source = git+https://github.com/yhirose/cpp-httplib.git
|
||||
source = git+https://github.com/arun11299/cpp-jwt.git
|
||||
source = git+https://git.suyu.dev/suyu/suyu.git#branch=dev
|
||||
source = git+https://github.com/lsalzman/enet.git
|
||||
source = git+https://github.com/mozilla/cubeb.git
|
||||
source = git+https://gitlab.com/suyu-emu/dynarmic.git
|
||||
source = git+https://git.suyu.dev/suyu/dynarmic.git
|
||||
source = git+https://github.com/libusb/libusb.git
|
||||
source = git+https://git.suyu.dev/suyu/discord-rpc.git
|
||||
source = git+https://github.com/KhronosGroup/Vulkan-Headers.git
|
||||
source = git+https://git.suyu.dev/suyu/sirit.git
|
||||
source = git+https://git.suyu.dev/suyu/mbedtls.git
|
||||
source = git+https://github.com/herumi/xbyak.git
|
||||
source = git+https://github.com/xiph/opus.git
|
||||
source = git+https://github.com/libsdl-org/SDL.git
|
||||
source = git+https://github.com/yhirose/cpp-httplib.git
|
||||
source = ffmpeg::git+https://github.com/FFmpeg/FFmpeg.git
|
||||
source = git+https://github.com/microsoft/vcpkg.git
|
||||
source = git+https://github.com/arun11299/cpp-jwt.git
|
||||
source = git+https://github.com/bylaws/libadrenotools.git
|
||||
source = git+https://github.com/brofield/simpleini.git
|
||||
source = git+https://gitlab.com/suyu-emu/sirit.git
|
||||
source = git+https://github.com/KhronosGroup/SPIRV-Headers.git
|
||||
source = git+https://github.com/eggert/tz.git
|
||||
source = git+https://github.com/lat9nq/tzdb_to_nx.git
|
||||
source = git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
|
||||
source = git+https://github.com/herumi/xbyak.git
|
||||
source = git+https://git.suyu.dev/suyu/breakpad.git
|
||||
source = git+https://github.com/brofield/simpleini.git
|
||||
source = git+https://github.com/merryhime/oaknut.git
|
||||
source = git+https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
|
||||
source = git+https://github.com/arsenm/sanitizers-cmake.git
|
||||
source = git+https://github.com/zyantific/zycore-c.git
|
||||
source = git+https://github.com/bylaws/liblinkernsbypass.git
|
||||
source = git+https://github.com/KhronosGroup/SPIRV-Headers.git
|
||||
source = git+https://github.com/eggert/tz.git
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
b2sums = SKIP
|
||||
|
|
89
PKGBUILD
89
PKGBUILD
|
@ -1,16 +1,18 @@
|
|||
# Maintainer: Fijxu <fijxu [at] nadeko [dot] net>
|
||||
# Maintainer: HurricanePootis <hurricanepootis@protonmail.com>
|
||||
|
||||
_pkgname=suyu
|
||||
_branch=dev
|
||||
pkgname=suyu-dev-qt6-git
|
||||
pkgver=r27175.bd5bdbe6c7
|
||||
pkgver=r27354.b911ac8516
|
||||
pkgrel=1
|
||||
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
|
||||
url=https://git.suyu.dev/suyu/suyu
|
||||
license=(GPL-3.0-or-later)
|
||||
provides=('suyu')
|
||||
conflics=(suyu-dev-git suyu-git)
|
||||
conflicts=(suyu-dev-git suyu-git)
|
||||
provides=(suyu-dev-git suyu-git)
|
||||
install=$pkgname.install
|
||||
depends=(
|
||||
brotli
|
||||
|
@ -50,7 +52,6 @@ makedepends=(
|
|||
qt6-tools
|
||||
shaderc
|
||||
spirv-headers
|
||||
vulkan-headers
|
||||
vulkan-utility-libraries
|
||||
catch2
|
||||
rapidjson
|
||||
|
@ -58,22 +59,51 @@ makedepends=(
|
|||
)
|
||||
options=(!debug lto)
|
||||
source=(
|
||||
git+https://gitlab.com/suyu-emu/suyu.git#branch=${_branch}
|
||||
git+https://github.com/arsenm/sanitizers-cmake.git
|
||||
git+https://github.com/yhirose/cpp-httplib.git
|
||||
git+https://github.com/arun11299/cpp-jwt.git
|
||||
git+https://git.suyu.dev/suyu/suyu.git#branch=${_branch}
|
||||
git+https://github.com/lsalzman/enet.git
|
||||
git+https://github.com/mozilla/cubeb.git
|
||||
git+https://gitlab.com/suyu-emu/dynarmic.git
|
||||
git+https://git.suyu.dev/suyu/dynarmic.git
|
||||
git+https://github.com/libusb/libusb.git
|
||||
git+https://git.suyu.dev/suyu/discord-rpc.git
|
||||
git+https://github.com/KhronosGroup/Vulkan-Headers.git
|
||||
git+https://git.suyu.dev/suyu/sirit.git
|
||||
git+https://git.suyu.dev/suyu/mbedtls.git
|
||||
git+https://github.com/herumi/xbyak.git
|
||||
git+https://github.com/xiph/opus.git
|
||||
git+https://github.com/libsdl-org/SDL.git
|
||||
git+https://github.com/yhirose/cpp-httplib.git
|
||||
ffmpeg::git+https://github.com/FFmpeg/FFmpeg.git
|
||||
git+https://github.com/microsoft/vcpkg.git
|
||||
git+https://github.com/arun11299/cpp-jwt.git
|
||||
git+https://github.com/bylaws/libadrenotools.git
|
||||
git+https://github.com/brofield/simpleini.git
|
||||
git+https://gitlab.com/suyu-emu/sirit.git
|
||||
git+https://github.com/KhronosGroup/SPIRV-Headers.git
|
||||
git+https://github.com/eggert/tz.git
|
||||
git+https://github.com/lat9nq/tzdb_to_nx.git
|
||||
git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
|
||||
git+https://github.com/herumi/xbyak.git
|
||||
git+https://git.suyu.dev/suyu/breakpad.git
|
||||
git+https://github.com/brofield/simpleini.git
|
||||
git+https://github.com/merryhime/oaknut.git
|
||||
git+https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
|
||||
# Submodule Submodules
|
||||
git+https://github.com/arsenm/sanitizers-cmake.git
|
||||
git+https://github.com/zyantific/zycore-c.git
|
||||
git+https://github.com/bylaws/liblinkernsbypass.git
|
||||
git+https://github.com/KhronosGroup/SPIRV-Headers.git
|
||||
git+https://github.com/eggert/tz.git
|
||||
)
|
||||
b2sums=('SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
|
@ -95,24 +125,27 @@ pkgver() {
|
|||
|
||||
prepare() {
|
||||
cd "$srcdir/$_pkgname"
|
||||
git submodule init
|
||||
git config submodule.cpp-httplib.url "${srcdir}"/cpp-httplib
|
||||
git config submodule.cpp-jwt.url "${srcdir}"/cpp-jwt
|
||||
git config submodule.cubeb.url "${srcdir}"/cubeb
|
||||
git config submodule.dynarmic.url "${srcdir}"/dynarmic
|
||||
git config submodule.libadrenotools.url "${srcdir}"/libadrenotools
|
||||
git config submodule.simpleini.url "${srcdir}"/simpleini
|
||||
git config submodule.sirit.url "${srcdir}"/sirit
|
||||
git config submodule.tzdb_to_nx.url "${srcdir}"/tzdb_to_nx
|
||||
git config submodule.VulkanMemoryAllocator.url "${srcdir}"/VulkanMemoryAllocator
|
||||
git config submodule.xbyak.url "${srcdir}"/xbyak
|
||||
git -c protocol.file.allow=always submodule update
|
||||
for submodule in {enet,cubeb,dynarmic,libusb,discord-rpc,Vulkan-Headers,sirit,mbedtls,xbyak,opus,SDL,cpp-httplib,ffmpeg,vcpkg,cpp-jwt,libadrenotools,tzdb_to_nx,VulkanMemoryAllocator,breakpad,simpleini,oaknut,Vulkan-Utility-Libraries};
|
||||
do
|
||||
git config --file=.gitmodules submodule.$submodule.url "${srcdir}"/$submodule
|
||||
done
|
||||
git -c protocol.file.allow=always submodule update --init
|
||||
|
||||
pushd externals/cubeb
|
||||
git config submodule.cmake/sanitizers-cmake.url "${srcdir}"/sanitizers-cmake
|
||||
git -c protocol.file.allow=always submodule update
|
||||
popd
|
||||
|
||||
pushd externals/dynarmic/externals/zydis
|
||||
git config submodule.dependencies/zycore.url "${srcdir}"/zycore
|
||||
git -c protocol.file.allow=always submodule update
|
||||
popd
|
||||
|
||||
pushd externals/libadrenotools
|
||||
git config submodule.lib/linkersbypass.url "${srcdir}"/linkernsbypass
|
||||
git -c protocol.file.allow=always submodule update
|
||||
popd
|
||||
|
||||
pushd externals/nx_tzdb/tzdb_to_nx
|
||||
git config submodule.externals/tz/tz.url "${srcdir}"/tz
|
||||
git -c protocol.file.allow=always submodule update
|
||||
|
@ -143,7 +176,7 @@ build() {
|
|||
-DTITLE_BAR_FORMAT_IDLE="suyu | ${_branch}-${pkgver} {}" \
|
||||
-DTITLE_BAR_FORMAT_RUNNING="suyu | ${_branch}-${pkgver} | {}" \
|
||||
-DUSE_DISCORD_PRESENCE=ON \
|
||||
-DSUYU_CHECK_SUBMODULES=OFF \
|
||||
-DSUYU_CHECK_SUBMODULES=ON \
|
||||
-DSUYU_DOWNLOAD_TIME_ZONE_DATA=ON \
|
||||
-DSUYU_USE_BUNDLED_FFMPEG=OFF \
|
||||
-DSUYU_USE_BUNDLED_QT=OFF \
|
||||
|
@ -151,7 +184,7 @@ build() {
|
|||
-DSUYU_USE_EXTERNAL_VULKAN_HEADERS=OFF \
|
||||
-DSUYU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES=OFF \
|
||||
-DSUYU_USE_EXTERNAL_SDL2=OFF \
|
||||
-DSUYU_USE_FASTER_LD=ON \
|
||||
-DSUYU_USE_FASTER_LD=OFF \
|
||||
-DSUYU_USE_PRECOMPILED_HEADERS=OFF \
|
||||
-DSUYU_USE_QT_MULTIMEDIA=ON \
|
||||
-DSUYU_USE_QT_WEB_ENGINE=ON \
|
||||
|
|
Reference in a new issue