Update suyu-git now that it is out
This commit is contained in:
parent
8f3919b367
commit
65c9fe086c
2 changed files with 103 additions and 42 deletions
54
.SRCINFO
54
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = suyu-git
|
pkgbase = suyu-git
|
||||||
pkgdesc = suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (master branch)
|
pkgdesc = suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (master branch)
|
||||||
pkgver = r27048.f7c0931e3c
|
pkgver = r27264.fec573fd6a
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://gitlab.com/suyu-emu/suyu
|
url = https://gitlab.com/suyu-emu/suyu
|
||||||
install = suyu-git.install
|
install = suyu-git.install
|
||||||
|
@ -16,7 +16,7 @@ pkgbase = suyu-git
|
||||||
makedepends = llvm
|
makedepends = llvm
|
||||||
makedepends = ninja
|
makedepends = ninja
|
||||||
makedepends = nlohmann-json
|
makedepends = nlohmann-json
|
||||||
makedepends = qt5-tools
|
makedepends = qt6-tools
|
||||||
makedepends = shaderc
|
makedepends = shaderc
|
||||||
makedepends = spirv-headers
|
makedepends = spirv-headers
|
||||||
makedepends = vulkan-headers
|
makedepends = vulkan-headers
|
||||||
|
@ -40,29 +40,55 @@ pkgbase = suyu-git
|
||||||
depends = libva.so
|
depends = libva.so
|
||||||
depends = libzstd.so
|
depends = libzstd.so
|
||||||
depends = lz4
|
depends = lz4
|
||||||
depends = qt5-base
|
depends = qt6-base
|
||||||
depends = qt5-multimedia
|
depends = qt6-multimedia
|
||||||
depends = qt5-webengine
|
depends = qt6-webengine
|
||||||
depends = sdl2
|
depends = sdl2
|
||||||
depends = zlib
|
depends = zlib
|
||||||
provides = suyu
|
provides = suyu
|
||||||
options = !debug
|
options = !debug
|
||||||
options = lto
|
options = lto
|
||||||
source = git+https://gitlab.com/suyu-emu/suyu.git#branch=master
|
source = git+https://gitlab.com/suyu-emu/suyu.git#branch=master
|
||||||
source = git+https://github.com/arsenm/sanitizers-cmake.git
|
source = git+https://github.com/lsalzman/enet.git
|
||||||
source = git+https://github.com/yhirose/cpp-httplib.git
|
|
||||||
source = git+https://github.com/arun11299/cpp-jwt.git
|
|
||||||
source = git+https://github.com/mozilla/cubeb.git
|
source = git+https://github.com/mozilla/cubeb.git
|
||||||
source = git+https://gitlab.com/suyu-emu/dynarmic.git
|
source = git+https://gitlab.com/suyu-emu/dynarmic.git
|
||||||
source = git+https://github.com/bylaws/libadrenotools.git
|
source = git+https://github.com/libusb/libusb.git
|
||||||
source = git+https://gitlab.com/suyu-emu/mbedtls.git
|
source = git+https://github.com/suyu-emu/discord-rpc.git
|
||||||
source = git+https://github.com/brofield/simpleini.git
|
source = git+https://github.com/KhronosGroup/Vulkan-Headers.git
|
||||||
source = git+https://gitlab.com/suyu-emu/sirit.git
|
source = git+https://gitlab.com/suyu-emu/sirit.git
|
||||||
source = git+https://github.com/KhronosGroup/SPIRV-Headers.git
|
source = git+https://gitlab.com/suyu-emu/mbedtls.git
|
||||||
source = git+https://github.com/eggert/tz.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/lat9nq/tzdb_to_nx.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/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
|
||||||
source = git+https://github.com/herumi/xbyak.git
|
source = git+https://gitlab.com/suyu-emu/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
|
||||||
b2sums = SKIP
|
b2sums = SKIP
|
||||||
|
|
91
PKGBUILD
91
PKGBUILD
|
@ -1,9 +1,10 @@
|
||||||
# Maintainer: Fijxu <fijxu [at] nadeko [dot] net>
|
# Maintainer: Fijxu <fijxu [at] nadeko [dot] net>
|
||||||
|
# Maintainer: HurricanePootis <hurricanepootis@protonmail.com>
|
||||||
|
|
||||||
_pkgname=suyu
|
_pkgname=suyu
|
||||||
_branch=master
|
_branch=master
|
||||||
pkgname=suyu-git
|
pkgname=suyu-git
|
||||||
pkgver=r27048.f7c0931e3c
|
pkgver=r27264.fec573fd6a
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (master branch)"
|
pkgdesc="suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (master branch)"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
|
@ -29,9 +30,9 @@ depends=(
|
||||||
libva.so
|
libva.so
|
||||||
libzstd.so
|
libzstd.so
|
||||||
lz4
|
lz4
|
||||||
qt5-base
|
qt6-base
|
||||||
qt5-multimedia
|
qt6-multimedia
|
||||||
qt5-webengine
|
qt6-webengine
|
||||||
sdl2
|
sdl2
|
||||||
zlib
|
zlib
|
||||||
)
|
)
|
||||||
|
@ -46,7 +47,7 @@ makedepends=(
|
||||||
llvm
|
llvm
|
||||||
ninja
|
ninja
|
||||||
nlohmann-json
|
nlohmann-json
|
||||||
qt5-tools
|
qt6-tools
|
||||||
shaderc
|
shaderc
|
||||||
spirv-headers
|
spirv-headers
|
||||||
vulkan-headers
|
vulkan-headers
|
||||||
|
@ -57,22 +58,49 @@ makedepends=(
|
||||||
options=(!debug lto)
|
options=(!debug lto)
|
||||||
source=(
|
source=(
|
||||||
git+https://gitlab.com/suyu-emu/suyu.git#branch=${_branch}
|
git+https://gitlab.com/suyu-emu/suyu.git#branch=${_branch}
|
||||||
git+https://github.com/arsenm/sanitizers-cmake.git
|
git+https://github.com/lsalzman/enet.git
|
||||||
git+https://github.com/yhirose/cpp-httplib.git
|
|
||||||
git+https://github.com/arun11299/cpp-jwt.git
|
|
||||||
git+https://github.com/mozilla/cubeb.git
|
git+https://github.com/mozilla/cubeb.git
|
||||||
git+https://gitlab.com/suyu-emu/dynarmic.git
|
git+https://gitlab.com/suyu-emu/dynarmic.git
|
||||||
git+https://github.com/bylaws/libadrenotools.git
|
git+https://github.com/libusb/libusb.git
|
||||||
git+https://gitlab.com/suyu-emu/mbedtls.git
|
git+https://github.com/suyu-emu/discord-rpc.git
|
||||||
git+https://github.com/brofield/simpleini.git
|
git+https://github.com/KhronosGroup/Vulkan-Headers.git
|
||||||
git+https://gitlab.com/suyu-emu/sirit.git
|
git+https://gitlab.com/suyu-emu/sirit.git
|
||||||
git+https://github.com/KhronosGroup/SPIRV-Headers.git
|
git+https://gitlab.com/suyu-emu/mbedtls.git
|
||||||
git+https://github.com/eggert/tz.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/lat9nq/tzdb_to_nx.git
|
git+https://github.com/lat9nq/tzdb_to_nx.git
|
||||||
git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
|
git+https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
|
||||||
git+https://github.com/herumi/xbyak.git
|
git+https://gitlab.com/suyu-emu/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'
|
b2sums=('SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
|
@ -95,18 +123,12 @@ pkgver() {
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$srcdir/$_pkgname"
|
cd "$srcdir/$_pkgname"
|
||||||
|
sed -i -e '70,135d' .gitmodules
|
||||||
git submodule init
|
git submodule init
|
||||||
git config submodule.cpp-httplib.url "${srcdir}"/cpp-httplib
|
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};
|
||||||
git config submodule.cpp-jwt.url "${srcdir}"/cpp-jwt
|
do
|
||||||
git config submodule.cubeb.url "${srcdir}"/cubeb
|
git config submodule.$submodule.url "${srcdir}"/$submodule
|
||||||
git config submodule.dynarmic.url "${srcdir}"/dynarmic
|
done
|
||||||
git config submodule.libadrenotools.url "${srcdir}"/libadrenotools
|
|
||||||
git config submodule.mbedtls.url "${srcdir}"/mbedtls
|
|
||||||
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
|
git -c protocol.file.allow=always submodule update
|
||||||
|
|
||||||
pushd externals/cubeb
|
pushd externals/cubeb
|
||||||
|
@ -114,6 +136,16 @@ prepare() {
|
||||||
git -c protocol.file.allow=always submodule update
|
git -c protocol.file.allow=always submodule update
|
||||||
popd
|
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
|
pushd externals/nx_tzdb/tzdb_to_nx
|
||||||
git config submodule.externals/tz/tz.url "${srcdir}"/tz
|
git config submodule.externals/tz/tz.url "${srcdir}"/tz
|
||||||
git -c protocol.file.allow=always submodule update
|
git -c protocol.file.allow=always submodule update
|
||||||
|
@ -136,7 +168,7 @@ build() {
|
||||||
-DBUILD_REPOSITORY=suyu-emu/suyu \
|
-DBUILD_REPOSITORY=suyu-emu/suyu \
|
||||||
-DBUILD_TAG=${_branch}-${pkgver} \
|
-DBUILD_TAG=${_branch}-${pkgver} \
|
||||||
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
|
||||||
-DENABLE_QT6=OFF \
|
-DENABLE_QT6=ON \
|
||||||
-DENABLE_QT_TRANSLATION=ON \
|
-DENABLE_QT_TRANSLATION=ON \
|
||||||
-DENABLE_SDL2=ON \
|
-DENABLE_SDL2=ON \
|
||||||
-DENABLE_WEB_SERVICE=ON \
|
-DENABLE_WEB_SERVICE=ON \
|
||||||
|
@ -144,7 +176,7 @@ build() {
|
||||||
-DTITLE_BAR_FORMAT_IDLE="suyu | ${_branch}-${pkgver} {}" \
|
-DTITLE_BAR_FORMAT_IDLE="suyu | ${_branch}-${pkgver} {}" \
|
||||||
-DTITLE_BAR_FORMAT_RUNNING="suyu | ${_branch}-${pkgver} | {}" \
|
-DTITLE_BAR_FORMAT_RUNNING="suyu | ${_branch}-${pkgver} | {}" \
|
||||||
-DUSE_DISCORD_PRESENCE=ON \
|
-DUSE_DISCORD_PRESENCE=ON \
|
||||||
-DSUYU_CHECK_SUBMODULES=OFF \
|
-DSUYU_CHECK_SUBMODULES=ON \
|
||||||
-DSUYU_DOWNLOAD_TIME_ZONE_DATA=ON \
|
-DSUYU_DOWNLOAD_TIME_ZONE_DATA=ON \
|
||||||
-DSUYU_USE_BUNDLED_FFMPEG=OFF \
|
-DSUYU_USE_BUNDLED_FFMPEG=OFF \
|
||||||
-DSUYU_USE_BUNDLED_QT=OFF \
|
-DSUYU_USE_BUNDLED_QT=OFF \
|
||||||
|
@ -152,7 +184,7 @@ build() {
|
||||||
-DSUYU_USE_EXTERNAL_VULKAN_HEADERS=OFF \
|
-DSUYU_USE_EXTERNAL_VULKAN_HEADERS=OFF \
|
||||||
-DSUYU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES=OFF \
|
-DSUYU_USE_EXTERNAL_VULKAN_UTILITY_LIBRARIES=OFF \
|
||||||
-DSUYU_USE_EXTERNAL_SDL2=OFF \
|
-DSUYU_USE_EXTERNAL_SDL2=OFF \
|
||||||
-DSUYU_USE_FASTER_LD=ON \
|
-DSUYU_USE_FASTER_LD=OFF \
|
||||||
-DSUYU_USE_PRECOMPILED_HEADERS=OFF \
|
-DSUYU_USE_PRECOMPILED_HEADERS=OFF \
|
||||||
-DSUYU_USE_QT_MULTIMEDIA=ON \
|
-DSUYU_USE_QT_MULTIMEDIA=ON \
|
||||||
-DSUYU_USE_QT_WEB_ENGINE=ON \
|
-DSUYU_USE_QT_WEB_ENGINE=ON \
|
||||||
|
@ -165,6 +197,9 @@ build() {
|
||||||
package() {
|
package() {
|
||||||
DESTDIR="${pkgdir}" cmake --install build
|
DESTDIR="${pkgdir}" cmake --install build
|
||||||
install -Dm644 ${_pkgname}/dist/72-suyu-input.rules -t "${pkgdir}"/usr/lib/udev/rules.d/
|
install -Dm644 ${_pkgname}/dist/72-suyu-input.rules -t "${pkgdir}"/usr/lib/udev/rules.d/
|
||||||
|
|
||||||
|
cd "${pkgdir}"/usr/share/applications
|
||||||
|
sed -i '12s/Exec=suyu/Exec=env QT_QPA_PLATFORM=xcb suyu/' org.suyu_emu.suyu.desktop
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: ts=2 sw=2 et:
|
# vim: ts=2 sw=2 et:
|
||||||
|
|
Reference in a new issue