[lilac] updated to 1696-1

This commit is contained in:
lilac 2021-05-20 04:32:48 +08:00
parent 0c17093e2b
commit 6acd90b0c9
2 changed files with 13 additions and 17 deletions

View file

@ -1,11 +1,12 @@
pkgbase = yuzu-early-access pkgbase = yuzu-early-access
pkgdesc = An experimental open-source Nintendo Switch emulator/debugger (mainline GIT version) pkgdesc = An experimental open-source Nintendo Switch emulator/debugger (mainline GIT version)
pkgver = 1694 pkgver = 1696
pkgrel = 1 pkgrel = 1
url = https://yuzu-emu.org/ url = https://yuzu-emu.org/
arch = i686 arch = i686
arch = x86_64 arch = x86_64
license = GPL2 license = GPL2
makedepends = gcc10
makedepends = git makedepends = git
makedepends = glslang makedepends = glslang
makedepends = cmake makedepends = cmake
@ -39,15 +40,9 @@ pkgbase = yuzu-early-access
depends = zstd depends = zstd
optdepends = qt5-wayland: for Wayland support optdepends = qt5-wayland: for Wayland support
provides = yuzu provides = yuzu
provides = yuzu-canary-git conflicts = yuzu
provides = yuzu-cmd source = https://github.com/pineappleEA/pineapple-src/archive/EA-1696.tar.gz
provides = yuzu-mainline md5sums = 7ac2ea34c90c3058702284e03aafa5ec
provides = yuzu-canary
conflicts = yuzu-canary-git
conflicts = yuzu-master-git
replaces = yuzu-canary-git
source = https://github.com/pineappleEA/pineapple-src/archive/EA-1694.tar.gz
md5sums = 0249b154b1a0a4d591d247758cc19a45
pkgname = yuzu-early-access pkgname = yuzu-early-access

View file

@ -2,20 +2,19 @@
_pkgname=yuzu _pkgname=yuzu
pkgname=$_pkgname-early-access pkgname=$_pkgname-early-access
pkgver=1694 pkgver=1696
pkgrel=1 pkgrel=1
pkgdesc="An experimental open-source Nintendo Switch emulator/debugger (mainline GIT version)" pkgdesc="An experimental open-source Nintendo Switch emulator/debugger (mainline GIT 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' 'python2' 'graphviz' 'doxygen' 'clang' 'boost' 'catch2' 'nlohmann-json' 'rapidjson' 'qt5-tools' 'desktop-file-utils') makedepends=('gcc10' 'git' 'glslang' 'cmake' 'ninja' 'python2' 'graphviz' 'doxygen' 'clang' 'boost' 'catch2' 'nlohmann-json' 'rapidjson' 'qt5-tools' 'desktop-file-utils')
optdepends=('qt5-wayland: for Wayland support') optdepends=('qt5-wayland: for Wayland support')
provides=('yuzu' 'yuzu-canary-git' 'yuzu-cmd' 'yuzu-mainline' 'yuzu-canary') provides=('yuzu')
conflicts=('yuzu-canary-git' 'yuzu-master-git') conflicts=('yuzu')
replaces=('yuzu-canary-git')
source=("https://github.com/pineappleEA/pineapple-src/archive/EA-${pkgver}.tar.gz") source=("https://github.com/pineappleEA/pineapple-src/archive/EA-${pkgver}.tar.gz")
md5sums=('0249b154b1a0a4d591d247758cc19a45') md5sums=('7ac2ea34c90c3058702284e03aafa5ec')
prepare() { prepare() {
cd "$srcdir/pineapple-src-EA-${pkgver}" cd "$srcdir/pineapple-src-EA-${pkgver}"
@ -23,13 +22,15 @@ prepare() {
patch -p1 < $i patch -p1 < $i
done done
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' {} +
} }
build() { build() {
cd "$srcdir/pineapple-src-EA-${pkgver}" cd "$srcdir/pineapple-src-EA-${pkgver}"
mkdir -p build && cd build mkdir -p build && cd build
export CC=gcc-10
export CXX=g++-10
cmake .. -GNinja \ cmake .. -GNinja \
-DTITLE_BAR_FORMAT_IDLE="yuzu Early Access $pkgver" \ -DTITLE_BAR_FORMAT_IDLE="yuzu Early Access $pkgver" \
-DTITLE_BAR_FORMAT_RUNNING="yuzu Early Access $pkgver | {3}" \ -DTITLE_BAR_FORMAT_RUNNING="yuzu Early Access $pkgver | {3}" \