diff options
author | Alexandre Bouvier | 2023-11-15 04:13:23 +0100 |
---|---|---|
committer | Alexandre Bouvier | 2023-11-15 04:13:23 +0100 |
commit | d9ecd4f1edb1389d1d329c3d1c61419f92e8797c (patch) | |
tree | af635daa4cecad96ba436565354caf6bdd2953e3 | |
parent | f7f7bd79ea98d101672463396c7ffaf34584d83e (diff) | |
download | aur-d9ecd4f1edb1389d1d329c3d1c61419f92e8797c.tar.gz |
Revert "update to 1620.r0.g9962a4a09"
This reverts commit f7f7bd79ea98d101672463396c7ffaf34584d83e.
-rwxr-xr-x[-rw-r--r--] | .SRCINFO | 152 | ||||
-rwxr-xr-x[-rw-r--r--] | PKGBUILD | 263 | ||||
-rw-r--r-- | compatibility_list.json.xz | bin | 434100 -> 0 bytes |
3 files changed, 208 insertions, 207 deletions
diff --git a/.SRCINFO b/.SRCINFO index 02cb91414c03..89c825d8f621 100644..100755 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,86 +1,80 @@ pkgbase = yuzu-git - pkgdesc = Nintendo Switch emulator - pkgver = 1620.r0.g9962a4a09 + pkgdesc = An experimental open-source emulator for the Nintendo Switch + pkgver = r24275.238e46ec9 pkgrel = 1 - url = https://yuzu-emu.org/ - arch = aarch64 + url = https://github.com/yuzu-emu/yuzu + arch = i686 arch = x86_64 - license = GPL3 - checkdepends = catch2>=3.3.1 - makedepends = boost>=1.79 - makedepends = cmake>=3.22 - makedepends = cpp-httplib>=0.14.1 - makedepends = cpp-jwt>=1.4 - makedepends = cubeb - makedepends = dynarmic>=6.4.8 - makedepends = ffmpeg>=2:4.3.1 - makedepends = fmt>=9 + license = GPL2 + makedepends = boost + makedepends = clang + makedepends = cmake + makedepends = ffmpeg makedepends = git - makedepends = glslang - makedepends = libinih>=57 - makedepends = libusb>=1.0.26 - makedepends = libva - makedepends = nlohmann-json>=3.8 - makedepends = openssl>=1.1.1 - makedepends = opus>=1.4 - makedepends = qt5-tools>=5.15 - makedepends = renderdoc - makedepends = spirv-headers>=1:1.2.198 - makedepends = vulkan-headers>=1:1.3.265 - makedepends = vulkan-icd-loader - makedepends = vulkan-memory-allocator - makedepends = xbyak>=6.68 - makedepends = zstd>=1.5 - depends = discord-rpc>=3.4 - depends = enet>=1.3.13 - depends = gcc-libs - depends = glibc - depends = hicolor-icon-theme - depends = lz4>=1:1.8 - depends = qt5-base>=5.15 - depends = qt5-multimedia>=5.15 - depends = qt5-webengine>=5.15 - depends = sdl2>=2.28.4 - optdepends = renderdoc - provides = yuzu=1620.r0.g9962a4a09 + makedepends = ninja + makedepends = nlohmann-json + makedepends = robin-map + makedepends = yasm + depends = desktop-file-utils + depends = fmt + depends = glslang + depends = libfdk-aac + depends = libusb + depends = libxkbcommon-x11 + depends = lz4 + depends = mbedtls + depends = openssl + depends = opus + depends = qt5-base + depends = qt5-multimedia + depends = qt5-tools + depends = qt5-wayland + depends = qt5-webengine + depends = sdl2 + depends = shared-mime-info + depends = zlib + depends = zstd + provides = yuzu conflicts = yuzu - options = !lto - source = yuzu-mainline::git+https://github.com/yuzu-emu/yuzu-mainline.git - source = yuzu-mbedtls::git+https://github.com/yuzu-emu/mbedtls.git - source = yuzu-sirit::git+https://github.com/yuzu-emu/sirit.git - source = git+https://github.com/eggert/tz.git - source = git+https://github.com/lat9nq/tzdb_to_nx.git - source = compatibility_list.json.xz - b2sums = SKIP - b2sums = SKIP - b2sums = SKIP - b2sums = SKIP - b2sums = SKIP - b2sums = 0dc4730c75c24b00baf94442227dd829bca049984df0227e0a283ca9733c51c2029c604843d76a8f1114107597bef9d85107e5de4fca918fe14642a2bf20a5ca + source = yuzu::git+https://github.com/yuzu-emu/yuzu + source = git+https://github.com/lsalzman/enet.git + source = git+https://github.com/benhoyt/inih.git + source = git+https://github.com/mozilla/cubeb.git + source = git+https://github.com/MerryMage/dynarmic.git + source = git+https://github.com/libusb/libusb.git + source = git+https://github.com/yuzu-emu/discord-rpc.git + source = git+https://github.com/KhronosGroup/Vulkan-Headers.git + source = git+https://github.com/yuzu-emu/sirit + source = git+https://github.com/yuzu-emu/mbedtls + source = git+https://github.com/herumi/xbyak.git + source = git+https://github.com/xiph/opus.git + source = git+https://git.ffmpeg.org/ffmpeg.git + source = git+https://github.com/libsdl-org/SDL.git + source = git+https://github.com/yhirose/cpp-httplib.git + source = git+https://github.com/Microsoft/vcpkg.git + source = git+https://github.com/arun11299/cpp-jwt.git + source = git+https://github.com/arsenm/sanitizers-cmake.git + source = git+https://github.com/google/googletest + source = git+https://github.com/KhronosGroup/SPIRV-Headers.git + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP + md5sums = SKIP pkgname = yuzu-git - depends = discord-rpc>=3.4 - depends = enet>=1.3.13 - depends = gcc-libs - depends = glibc - depends = hicolor-icon-theme - depends = lz4>=1:1.8 - depends = qt5-base>=5.15 - depends = qt5-multimedia>=5.15 - depends = qt5-webengine>=5.15 - depends = sdl2>=2.28.4 - depends = libavcodec.so - depends = libavutil.so - depends = libboost_context.so - depends = libcrypto.so - depends = libcubeb.so - depends = libdynarmic.so - depends = libfmt.so - depends = libhttplib.so - depends = libINIReader.so - depends = libopus.so - depends = libssl.so - depends = libswscale.so - depends = libusb-1.0.so - depends = libva.so - depends = libzstd.so diff --git a/PKGBUILD b/PKGBUILD index e1eca52a0363..6b32971c1b09 100644..100755 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,144 +1,151 @@ -# Maintainer: Alexandre Bouvier <contact@amb.tf> -# Contributor: Zion Nimchuk <zionnimchuk@gmail.com> -# Contributor: Brendan Szymanski <hello@bscubed.dev> +# Maintainer: Zion Nimchuk <zionnimchuk@gmail.com> +# Co-maintainer: Brendan Szymanski <hello@bscubed.dev> + _pkgname=yuzu pkgname=$_pkgname-git -pkgver=1620.r0.g9962a4a09 +pkgver=r24275.238e46ec9 pkgrel=1 -pkgdesc="Nintendo Switch emulator" -arch=('aarch64' 'x86_64') -url="https://yuzu-emu.org/" -license=('GPL3') -depends=( - 'discord-rpc>=3.4' - 'enet>=1.3.13' - 'gcc-libs' - 'glibc' - 'hicolor-icon-theme' - 'lz4>=1:1.8' - 'qt5-base>=5.15' - 'qt5-multimedia>=5.15' - 'qt5-webengine>=5.15' - 'sdl2>=2.28.4' -) -makedepends=( - 'boost>=1.79' - 'cmake>=3.22' - 'cpp-httplib>=0.14.1' - 'cpp-jwt>=1.4' - 'cubeb' - 'dynarmic>=6.4.8' - 'ffmpeg>=2:4.3.1' - 'fmt>=9' - 'git' - 'glslang' - 'libinih>=57' - 'libusb>=1.0.26' - 'libva' - 'nlohmann-json>=3.8' - 'openssl>=1.1.1' - 'opus>=1.4' - 'qt5-tools>=5.15' - 'renderdoc' - 'spirv-headers>=1:1.2.198' - 'vulkan-headers>=1:1.3.265' - 'vulkan-icd-loader' - 'vulkan-memory-allocator' - 'xbyak>=6.68' - 'zstd>=1.5' -) -checkdepends=('catch2>=3.3.1') -optdepends=('renderdoc') -provides=("$_pkgname=$pkgver") -conflicts=("$_pkgname") -options=('!lto') -source=( - 'yuzu-mainline::git+https://github.com/yuzu-emu/yuzu-mainline.git' - 'yuzu-mbedtls::git+https://github.com/yuzu-emu/mbedtls.git' - 'yuzu-sirit::git+https://github.com/yuzu-emu/sirit.git' - 'git+https://github.com/eggert/tz.git' - 'git+https://github.com/lat9nq/tzdb_to_nx.git' - 'compatibility_list.json.xz' -) -b2sums=( - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - 'SKIP' - '0dc4730c75c24b00baf94442227dd829bca049984df0227e0a283ca9733c51c2029c604843d76a8f1114107597bef9d85107e5de4fca918fe14642a2bf20a5ca' -) +pkgdesc='An experimental open-source emulator for the Nintendo Switch' +arch=('i686' 'x86_64') +url='https://github.com/yuzu-emu/yuzu' +license=('GPL2') +provides=('yuzu') +conflicts=('yuzu') +depends=('desktop-file-utils' + 'fmt' + 'glslang' + 'libfdk-aac' + 'libusb' + 'libxkbcommon-x11' + 'lz4' + 'mbedtls' + 'openssl' + 'opus' + 'qt5-base' + 'qt5-multimedia' + 'qt5-tools' + 'qt5-wayland' + 'qt5-webengine' + 'sdl2' + 'shared-mime-info' + 'zlib' + 'zstd') +makedepends=('boost' + 'clang' + 'cmake' + 'ffmpeg' + 'git' + 'ninja' + 'nlohmann-json' + 'robin-map' + 'yasm') +source=("$_pkgname::git+https://github.com/yuzu-emu/yuzu" + 'git+https://github.com/lsalzman/enet.git' + 'git+https://github.com/benhoyt/inih.git' + 'git+https://github.com/mozilla/cubeb.git' + 'git+https://github.com/MerryMage/dynarmic.git' + 'git+https://github.com/libusb/libusb.git' + 'git+https://github.com/yuzu-emu/discord-rpc.git' + 'git+https://github.com/KhronosGroup/Vulkan-Headers.git' + 'git+https://github.com/yuzu-emu/sirit' + 'git+https://github.com/yuzu-emu/mbedtls' + 'git+https://github.com/herumi/xbyak.git' + 'git+https://github.com/xiph/opus.git' + 'git+https://git.ffmpeg.org/ffmpeg.git' + 'git+https://github.com/libsdl-org/SDL.git' + 'git+https://github.com/yhirose/cpp-httplib.git' + 'git+https://github.com/Microsoft/vcpkg.git' + 'git+https://github.com/arun11299/cpp-jwt.git' + # cubeb dependencies + 'git+https://github.com/arsenm/sanitizers-cmake.git' + 'git+https://github.com/google/googletest' + # sirit dependencies + 'git+https://github.com/KhronosGroup/SPIRV-Headers.git') +md5sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP') pkgver() { - cd yuzu-mainline - git describe --long --tags | sed 's/^mainline-0-//;s/\([^-]*-g\)/r\1/;s/-/./g' + cd "$srcdir/$_pkgname" + echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } prepare() { - cd yuzu-mainline - cp ../compatibility_list.json dist/compatibility_list - git config submodule.mbedtls.url ../yuzu-mbedtls - git config submodule.sirit.url ../yuzu-sirit - git config submodule.tzdb_to_nx.url ../tzdb_to_nx - git -c protocol.file.allow=always submodule update - sed -i '/httplib/s/12/14/' CMakeLists.txt - cd externals/nx_tzdb/tzdb_to_nx - # shellcheck disable=SC2154 - git config submodule.externals/tz/tz.url "$srcdir"/tz - git -c protocol.file.allow=always submodule update + cd "$srcdir/$_pkgname" + + for submodule in {inih,cubeb,dynarmic,libusb,discord-rpc,Vulkan-Headers,sirit,mbedtls,xbyak,opus,ffmpeg,SDL,cpp-httplib,vcpkg,cpp-jwt,enet}; + do + git config --file=.gitmodules submodule.$submodule.url "$srcdir/${submodule}" + done + + git -c protocol.file.allow=always submodule update --init + + cd "$srcdir/$_pkgname"/externals/cubeb + + git config --file=.gitmodules submodule.cmake/sanitizers-cmake.url "$srcdir/sanitizers-cmake" + git config --file=.gitmodules submodule.googletest.url "$srcdir/googletest" + git -c protocol.file.allow=always submodule update --init + + cd "$srcdir/$_pkgname"/externals/sirit + + git config --file=.gitmodules submodule.externals/SPIRV-Headers.url "$srcdir/SPIRV-Headers" + git -c protocol.file.allow=always submodule update --init } build() { - cmake -S yuzu-mainline -B build \ - -DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline \ - -DBUILD_TAG=mainline-${pkgver%%.*} \ - -DBUILD_TESTING="$CHECKFUNC" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \ - -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DDISPLAY_VERSION=${pkgver%%.*} \ - -DENABLE_QT_TRANSLATION=ON \ - -DSIRIT_USE_SYSTEM_SPIRV_HEADERS=ON \ - -DTITLE_BAR_FORMAT_IDLE="yuzu {}" \ - -DTITLE_BAR_FORMAT_RUNNING="yuzu {} | {}" \ - -DUSE_DISCORD_PRESENCE=ON \ - -DYUZU_CHECK_SUBMODULES=OFF \ - -DYUZU_ENABLE_COMPATIBILITY_REPORTING=ON \ - -DYUZU_ENABLE_LTO=ON \ - -DYUZU_ENABLE_PORTABLE=OFF \ - -DYUZU_USE_EXTERNAL_SDL2=OFF \ - -DYUZU_USE_EXTERNAL_VULKAN_HEADERS=OFF \ - -DYUZU_USE_FASTER_LD=OFF \ - -DYUZU_USE_PRECOMPILED_HEADERS=OFF \ - -DYUZU_USE_QT_MULTIMEDIA=ON \ - -DYUZU_USE_QT_WEB_ENGINE=ON \ - -Wno-dev - cmake --build build + cd "$srcdir/$_pkgname" + + if [[ -d build ]]; then + rm -rf build + fi + mkdir -p build && cd build + cmake .. -GNinja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_C_COMPILER=clang \ + -DCMAKE_CXX_COMPILER=clang++ \ + -DCMAKE_BUILD_TYPE=Release \ + -DYUZU_USE_QT_WEB_ENGINE=ON \ + -DYUZU_USE_QT_MULTIMEDIA=ON \ + -DYUZU_USE_EXTERNAL_SDL2=OFF \ + -DUSE_DISCORD_PRESENCE=ON \ + -DENABLE_QT_TRANSLATION=ON \ + -DENABLE_COMPATIBILITY_LIST_DOWNLOAD=ON \ + -DBUILD_REPOSITORY=yuzu-emu/yuzu-mainline \ + -DBUILD_TAG=${pkgver} \ + -DTITLE_BAR_FORMAT_IDLE="yuzu | ${pkgver} {}" \ + -DTITLE_BAR_FORMAT_RUNNING="yuzu | ${pkgver} | {}" \ + -DDYNARMIC_NO_BUNDLED_ROBIN_MAP=ON \ + -DYUZU_USE_BUNDLED_OPUS=OFF \ + -DYUZU_USE_BUNDLED_FFMPEG=OFF \ + -DYUZU_USE_BUNDLED_LIBUSB=OFF \ + -DYUZU_USE_BUNDLED_QT=OFF \ + -DYUZU_TESTS=OFF + ninja } -check() { - ctest --test-dir build -} +#check() { +# cd "$srcdir/$_pkgname/build" +# ninja test +#} package() { - depends+=( - 'libavcodec.so' - 'libavutil.so' - 'libboost_context.so' - 'libcrypto.so' - 'libcubeb.so' - 'libdynarmic.so' - 'libfmt.so' - 'libhttplib.so' - 'libINIReader.so' - 'libopus.so' - 'libssl.so' - 'libswscale.so' - 'libusb-1.0.so' - 'libva.so' - 'libzstd.so' - ) - # shellcheck disable=SC2154 - DESTDIR="$pkgdir" cmake --install build + cd "$srcdir/$_pkgname/build" + DESTDIR="$pkgdir" ninja install } diff --git a/compatibility_list.json.xz b/compatibility_list.json.xz Binary files differdeleted file mode 100644 index 5fc4011e4cd6..000000000000 --- a/compatibility_list.json.xz +++ /dev/null |