[lilac] updated to 2729-2

This commit is contained in:
lilac 2022-05-19 12:32:03 +08:00
parent 33cabccc0e
commit e91e8a631e
2 changed files with 16 additions and 15 deletions

View file

@ -1,7 +1,7 @@
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 = 2724 pkgver = 2729
pkgrel = 1 pkgrel = 2
url = https://yuzu-emu.org/ url = https://yuzu-emu.org/
arch = i686 arch = i686
arch = x86_64 arch = x86_64
@ -19,6 +19,7 @@ pkgbase = yuzu-early-access
makedepends = rapidjson makedepends = rapidjson
makedepends = qt5-tools makedepends = qt5-tools
makedepends = desktop-file-utils makedepends = desktop-file-utils
makedepends = robin-map
depends = boost-libs depends = boost-libs
depends = shared-mime-info depends = shared-mime-info
depends = hicolor-icon-theme depends = hicolor-icon-theme
@ -39,9 +40,9 @@ pkgbase = yuzu-early-access
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-2724.tar.gz source = https://github.com/pineappleEA/pineapple-src/archive/EA-2729.tar.gz
source = inject-git-info.patch source = inject-git-info.patch
md5sums = bb00a724838d927acd6db51f593f3f38 md5sums = 859561a9743087b187e0d909a35c6c1f
md5sums = 3f0a9f3d79cbe4759e9ef550dbad0baa md5sums = 3f0a9f3d79cbe4759e9ef550dbad0baa
pkgname = yuzu-early-access pkgname = yuzu-early-access

View file

@ -2,20 +2,20 @@
_pkgname=yuzu _pkgname=yuzu
pkgname=$_pkgname-early-access pkgname=$_pkgname-early-access
pkgver=2724 pkgver=2729
pkgrel=1 pkgrel=2
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' 'mbedtls' 'openssl' 'zstd')
makedepends=('git' 'glslang' 'cmake' 'ninja' 'graphviz' 'doxygen' 'clang' 'boost' 'catch2' 'nlohmann-json' 'rapidjson' 'qt5-tools' 'desktop-file-utils') makedepends=('git' 'glslang' 'cmake' 'ninja' 'graphviz' 'doxygen' 'clang' 'boost' 'catch2' 'nlohmann-json' 'rapidjson' 'qt5-tools' 'desktop-file-utils' 'robin-map')
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"
"inject-git-info.patch") "inject-git-info.patch")
md5sums=('bb00a724838d927acd6db51f593f3f38' md5sums=('859561a9743087b187e0d909a35c6c1f'
'3f0a9f3d79cbe4759e9ef550dbad0baa') '3f0a9f3d79cbe4759e9ef550dbad0baa')
prepare() { prepare() {
@ -29,6 +29,8 @@ prepare() {
#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 's/static constexpr/const/g' src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp
sed -i 's/add_subdirectory(mcl)/add_subdirectory(mcl EXCLUDE_FROM_ALL)/g' externals/dynarmic/externals/CMakeLists.txt
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
@ -44,21 +46,19 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DYUZU_ENABLE_COMPATIBILITY_REPORTING=ON \ -DYUZU_ENABLE_COMPATIBILITY_REPORTING=ON \
-DYUZU_USE_BUNDLED_UNICORN=ON \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \ -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \
-DYUZU_USE_QT_WEB_ENGINE=ON \ -DYUZU_USE_QT_WEB_ENGINE=ON \
-DUSE_DISCORD_PRESENCE=ON \ -DUSE_DISCORD_PRESENCE=ON \
-DENABLE_QT_TRANSLATION=ON \ -DENABLE_QT_TRANSLATION=ON \
-DYUZU_USE_EXTERNAL_SDL2=OFF -DYUZU_USE_EXTERNAL_SDL2=OFF \
-DYUZU_USE_BUNDLED_OPUS=OFF \
-DDYNARMIC_NO_BUNDLED_FMT=ON \
-DDYNARMIC_NO_BUNDLED_ROBIN_MAP=ON \
-DYUZU_USE_BUNDLED_FFMPEG=OFF
ninja ninja
} }
check() {
cd "$srcdir/pineapple-src-EA-${pkgver}/build"
ninja test
}
package() { package() {
cd "$srcdir/pineapple-src-EA-${pkgver}/build" cd "$srcdir/pineapple-src-EA-${pkgver}/build"
DESTDIR="$pkgdir" ninja install DESTDIR="$pkgdir" ninja install