[lilac] updated to 3308-1

This commit is contained in:
lilac 2023-01-13 21:00:18 +08:00
parent 7c80765cfe
commit 714029899c
2 changed files with 35 additions and 18 deletions

View file

@ -1,6 +1,6 @@
pkgbase = yuzu-early-access pkgbase = yuzu-early-access
pkgdesc = An experimental open-source Nintendo Switch emulator/debugger (early access version) pkgdesc = An experimental open-source Nintendo Switch emulator/debugger (early access version)
pkgver = 3295 pkgver = 3308
pkgrel = 1 pkgrel = 1
url = https://yuzu-emu.org/ url = https://yuzu-emu.org/
arch = i686 arch = i686
@ -21,6 +21,11 @@ pkgbase = yuzu-early-access
makedepends = qt5-tools makedepends = qt5-tools
makedepends = desktop-file-utils makedepends = desktop-file-utils
makedepends = robin-map makedepends = robin-map
makedepends = cpp-jwt
makedepends = xbyak
makedepends = vulkan-headers
makedepends = spirv-headers
makedepends = dos2unix
depends = boost-libs depends = boost-libs
depends = shared-mime-info depends = shared-mime-info
depends = hicolor-icon-theme depends = hicolor-icon-theme
@ -35,17 +40,22 @@ pkgbase = yuzu-early-access
depends = opus depends = opus
depends = libfdk-aac depends = libfdk-aac
depends = lz4 depends = lz4
depends = mbedtls
depends = openssl depends = openssl
depends = zstd depends = zstd
depends = cubeb
depends = dynarmic
depends = enet
depends = libinih
depends = discord-rpc
depends = cpp-httplib
optdepends = qt5-wayland: for Wayland support optdepends = qt5-wayland: for Wayland support
provides = yuzu provides = yuzu
conflicts = yuzu conflicts = yuzu
source = https://github.com/pineappleEA/pineapple-src/archive/EA-3295.tar.gz source = https://github.com/pineappleEA/pineapple-src/archive/EA-3308.tar.gz
source = https://raw.githubusercontent.com/pineappleEA/Pineapple-Linux/master/yuzu.xml source = https://raw.githubusercontent.com/pineappleEA/Pineapple-Linux/master/yuzu.xml
source = https://github.com/pineappleEA/pineapple-src/releases/download/EA-3295/Windows-Yuzu-EA-3295.zip source = https://github.com/pineappleEA/pineapple-src/releases/download/EA-3308/Windows-Yuzu-EA-3308.zip
sha256sums = 4da8a2256d1ede6d55fa0bd11639a108cef7bc16b0f54b8c3fcbc39fafa0f644 sha256sums = 2fccac38b14450c69cd681de6d9c927d229877c3b8f11ec3e8c0f20647641f59
sha256sums = e76ab2b3566d8135930e570ede5bed3da8f131270b60db818e453d248880bdf2 sha256sums = e76ab2b3566d8135930e570ede5bed3da8f131270b60db818e453d248880bdf2
sha256sums = 817c4c992a19ec9f54f65426263a0eb14a286fdcedda01c3b47f3a8d2e3fcd45 sha256sums = 99b593b80efd8ef237b08648099345f6f55d472dd55f44bbf3430fb4857274de
pkgname = yuzu-early-access pkgname = yuzu-early-access

View file

@ -2,23 +2,23 @@
_pkgname=yuzu _pkgname=yuzu
pkgname=$_pkgname-early-access pkgname=$_pkgname-early-access
pkgver=3295 pkgver=3308
pkgrel=1 pkgrel=1
pkgdesc="An experimental open-source Nintendo Switch emulator/debugger (early access version)" pkgdesc="An experimental open-source Nintendo Switch emulator/debugger (early access version)"
arch=('i686' 'x86_64') arch=('i686' 'x86_64')
url="https://yuzu-emu.org/" url="https://yuzu-emu.org/"
license=('GPL2') license=('GPL2')
depends=('boost-libs' 'shared-mime-info' 'hicolor-icon-theme' 'sdl2' 'qt5-base' 'qt5-multimedia' 'qt5-webengine' 'libxkbcommon-x11' 'ffmpeg' 'fmt' 'libzip' 'opus' 'libfdk-aac' 'lz4' 'mbedtls' 'openssl' 'zstd') depends=('boost-libs' 'shared-mime-info' 'hicolor-icon-theme' 'sdl2' 'qt5-base' 'qt5-multimedia' 'qt5-webengine' 'libxkbcommon-x11' 'ffmpeg' 'fmt' 'libzip' 'opus' 'libfdk-aac' 'lz4' 'openssl' 'zstd' 'cubeb' 'dynarmic' 'enet' 'libinih' 'discord-rpc' 'cpp-httplib')
makedepends=('llvm' 'git' 'glslang' 'cmake' 'ninja' 'graphviz' 'doxygen' 'clang' 'boost' 'catch2' 'nlohmann-json' 'rapidjson' 'qt5-tools' 'desktop-file-utils' 'robin-map') makedepends=('llvm' 'git' 'glslang' 'cmake' 'ninja' 'graphviz' 'doxygen' 'clang' 'boost' 'catch2' 'nlohmann-json' 'rapidjson' 'qt5-tools' 'desktop-file-utils' 'robin-map' 'cpp-jwt' 'xbyak' 'vulkan-headers' 'spirv-headers' 'dos2unix')
optdepends=('qt5-wayland: for Wayland support') optdepends=('qt5-wayland: for Wayland support')
provides=('yuzu') provides=('yuzu')
conflicts=('yuzu') conflicts=('yuzu')
source=("https://github.com/pineappleEA/pineapple-src/archive/EA-${pkgver}.tar.gz" source=("https://github.com/pineappleEA/pineapple-src/archive/EA-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/pineappleEA/Pineapple-Linux/master/yuzu.xml" "https://raw.githubusercontent.com/pineappleEA/Pineapple-Linux/master/yuzu.xml"
"https://github.com/pineappleEA/pineapple-src/releases/download/EA-${pkgver}/Windows-Yuzu-EA-${pkgver}.zip") "https://github.com/pineappleEA/pineapple-src/releases/download/EA-${pkgver}/Windows-Yuzu-EA-${pkgver}.zip")
sha256sums=('4da8a2256d1ede6d55fa0bd11639a108cef7bc16b0f54b8c3fcbc39fafa0f644' sha256sums=('2fccac38b14450c69cd681de6d9c927d229877c3b8f11ec3e8c0f20647641f59'
'e76ab2b3566d8135930e570ede5bed3da8f131270b60db818e453d248880bdf2' 'e76ab2b3566d8135930e570ede5bed3da8f131270b60db818e453d248880bdf2'
'817c4c992a19ec9f54f65426263a0eb14a286fdcedda01c3b47f3a8d2e3fcd45') '99b593b80efd8ef237b08648099345f6f55d472dd55f44bbf3430fb4857274de')
prepare() { prepare() {
cd "$srcdir/yuzu-windows-msvc-early-access" cd "$srcdir/yuzu-windows-msvc-early-access"
@ -26,16 +26,20 @@ prepare() {
cd $(ls *.tar.xz | sed -e 's/.tar.xz//') cd $(ls *.tar.xz | sed -e 's/.tar.xz//')
cp -R .git* $srcdir/pineapple-src-EA-${pkgver}/ cp -R .git* $srcdir/pineapple-src-EA-${pkgver}/
cd "$srcdir/pineapple-src-EA-${pkgver}" cd $srcdir/pineapple-src-EA-${pkgver}
for i in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }') ; do for i in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }') ; do
rm -rf "$i" rm -rf "$i"
done done
git submodule update --init --recursive
git submodule update --init --remote externals/sirit
git submodule update --init --remote externals/mbedtls
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror$/-W/g' {} + find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror$/-W/g' {} +
#find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*)$/ )/g' {} + #find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*)$/ )/g' {} +
find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*$/ /g' {} + find . -name "CMakeLists.txt" -exec sed -i 's/^.*-Werror=.*$/ /g' {} +
find . -name "CMakeLists.txt" -exec sed -i 's/-Werror/-W/g' {} + find . -name "CMakeLists.txt" -exec sed -i 's/-Werror/-W/g' {} +
sed -i -e 's/1.3.238/1.3.233/g' CMakeLists.txt
sed -i -e '/#define VK_NO_PROTOTYPES/a #define VK_ENABLE_BETA_EXTENSIONS' src/video_core/vulkan_common/vulkan_wrapper.h
sed -i -e 's/--quiet //g' src/video_core/host_shaders/CMakeLists.txt sed -i -e 's/--quiet //g' src/video_core/host_shaders/CMakeLists.txt
sed -i -e 's#${SPIRV_HEADER_FILE} ${SOURCE_FILE}#${SPIRV_HEADER_FILE} ${SOURCE_FILE} 2>/dev/null#g' src/video_core/host_shaders/CMakeLists.txt sed -i -e 's#${SPIRV_HEADER_FILE} ${SOURCE_FILE}#${SPIRV_HEADER_FILE} ${SOURCE_FILE} 2>/dev/null#g' src/video_core/host_shaders/CMakeLists.txt
sed -i -e '/Name=yuzu/ s/$/ Early Access/' dist/yuzu.desktop sed -i -e '/Name=yuzu/ s/$/ Early Access/' dist/yuzu.desktop
@ -64,13 +68,16 @@ build() {
-DUSE_DISCORD_PRESENCE=ON \ -DUSE_DISCORD_PRESENCE=ON \
-DENABLE_QT_TRANSLATION=ON \ -DENABLE_QT_TRANSLATION=ON \
-DYUZU_USE_BUNDLED_OPUS=OFF \ -DYUZU_USE_BUNDLED_OPUS=OFF \
-DDYNARMIC_NO_BUNDLED_FMT=ON \
-DDYNARMIC_NO_BUNDLED_ROBIN_MAP=ON \
-DYUZU_USE_BUNDLED_FFMPEG=OFF \ -DYUZU_USE_BUNDLED_FFMPEG=OFF \
-DYUZU_USE_BUNDLED_LIBUSB=OFF \ -DYUZU_USE_BUNDLED_LIBUSB=OFF \
-DYUZU_USE_BUNDLED_QT=OFF \ -DYUZU_USE_BUNDLED_QT=OFF \
-DYUZU_USE_EXTERNAL_SDL2=OFF -DYUZU_USE_EXTERNAL_SDL2=OFF \
-DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON \
-DYUZU_CHECK_SUBMODULES=OFF \
-DYUZU_USE_EXTERNAL_VULKAN_HEADERS=OFF \
-DYUZU_USE_FASTER_LD=OFF \
-DYUZU_USE_PRECOMPILED_HEADERS=OFF \
-DYUZU_USE_QT_MULTIMEDIA=ON
ninja ninja
} }