Download all submodules, force x11, and add HurricanePootis
This commit is contained in:
parent
40dc36dd44
commit
472481d6ec
2 changed files with 96 additions and 30 deletions
46
.SRCINFO
46
.SRCINFO
|
@ -1,6 +1,6 @@
|
|||
pkgbase = suyu-dev-git
|
||||
pkgdesc = suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (dev branch)
|
||||
pkgver = r27187.9895cc94d0
|
||||
pkgver = r27189.8b8aa84e70
|
||||
pkgrel = 1
|
||||
url = https://gitlab.com/suyu-emu/suyu
|
||||
install = suyu-dev-git.install
|
||||
|
@ -53,19 +53,47 @@ pkgbase = suyu-dev-git
|
|||
options = lto
|
||||
options = strip
|
||||
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://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://github.com/bylaws/libadrenotools.git
|
||||
source = git+https://github.com/brofield/simpleini.git
|
||||
source = git+https://github.com/libusb/libusb.git
|
||||
source = git+https://github.com/suyu-emu/discord-rpc.git
|
||||
source = git+https://github.com/KhronosGroup/Vulkan-Headers.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://gitlab.com/suyu-emu/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/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://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
|
||||
|
|
80
PKGBUILD
80
PKGBUILD
|
@ -1,9 +1,10 @@
|
|||
# Maintainer: Fijxu <fijxu [at] nadeko [dot] net>
|
||||
# Maintainer: HurricanePootis <hurricanepootis@protonmail.com>
|
||||
|
||||
_pkgname=suyu
|
||||
_branch=dev
|
||||
pkgname=suyu-dev-git
|
||||
pkgver=r27187.9895cc94d0
|
||||
pkgver=r27189.8b8aa84e70
|
||||
pkgrel=1
|
||||
pkgdesc="suyu is the afterlife the world's most popular, open-source, Nintendo Switch emulator (dev branch)"
|
||||
arch=(x86_64)
|
||||
|
@ -59,21 +60,50 @@ makedepends=(
|
|||
options=(!debug lto strip)
|
||||
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://github.com/lsalzman/enet.git
|
||||
git+https://github.com/mozilla/cubeb.git
|
||||
git+https://gitlab.com/suyu-emu/dynarmic.git
|
||||
git+https://github.com/bylaws/libadrenotools.git
|
||||
git+https://github.com/brofield/simpleini.git
|
||||
git+https://github.com/libusb/libusb.git
|
||||
git+https://github.com/suyu-emu/discord-rpc.git
|
||||
git+https://github.com/KhronosGroup/Vulkan-Headers.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://gitlab.com/suyu-emu/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/lat9nq/tzdb_to_nx.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'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
'SKIP'
|
||||
|
@ -96,16 +126,11 @@ 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
|
||||
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 submodule.$submodule.url "${srcdir}"/$submodule
|
||||
done
|
||||
git -c protocol.file.allow=always submodule update
|
||||
git -c protocol.file.allow=always submodule update
|
||||
|
||||
pushd externals/cubeb
|
||||
|
@ -113,6 +138,16 @@ prepare() {
|
|||
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 +178,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 +186,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 \
|
||||
|
@ -164,6 +199,9 @@ build() {
|
|||
package() {
|
||||
DESTDIR="${pkgdir}" cmake --install build
|
||||
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 yuzu/' org.suyu_emu.suyu.desktop
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et
|
||||
|
|
Reference in a new issue