Date: Thursday, August 18, 2022 @ 09:53:43 Author: alucryd Revision: 1266834
archrelease: copy trunk to community-x86_64 Added: libretro-citra/repos/community-x86_64/PKGBUILD (from rev 1266833, libretro-citra/trunk/PKGBUILD) Deleted: libretro-citra/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 191 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 96 insertions(+), 95 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-18 09:53:34 UTC (rev 1266833) +++ PKGBUILD 2022-08-18 09:53:43 UTC (rev 1266834) @@ -1,95 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> - -pkgname=libretro-citra -pkgver=6981 -pkgrel=2 -pkgdesc='Nintendo 3DS core' -arch=(x86_64) -url=https://github.com/libretro/citra -license=(GPL2) -groups=(libretro) -depends=( - libretro-core-info - sdl2 -) -makedepends=( - cmake - git - ninja -) -_commit=b1959d07a340bfd9af65ad464fd19eb6799a96ef -source=( - libretro-citra::git+https://github.com/libretro/citra.git#commit=${_commit} - citra-boost::git+https://github.com/citra-emu/ext-boost.git - git+https://github.com/philsquared/Catch.git - git+https://github.com/zeromq/cppzmq.git - git+https://github.com/kinetiknz/cubeb.git - git+https://github.com/discordapp/discord-rpc.git - git+https://github.com/weidai11/cryptopp.git - git+https://github.com/MerryMage/dynarmic.git - git+https://github.com/lsalzman/enet.git - git+https://github.com/fmtlib/fmt.git - git+https://github.com/benhoyt/inih.git - citra-libressl::git+https://github.com/citra-emu/ext-libressl-portable.git - git+https://github.com/zeromq/libzmq.git - git+https://github.com/neobrain/nihstro.git - citra-soundtouch::git+https://github.com/citra-emu/ext-soundtouch.git - git+https://github.com/herumi/xbyak.git -) -b2sums=( - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP - SKIP -) - -prepare() { - cd libretro-citra - for submodule in externals/{catch,cppzmq,cryptopp/cryptopp,cubeb,discord-rpc,dynarmic,enet,fmt,inih/inih,libressl,libzmq,nihstro,xbyak}; do - git submodule init ${submodule} - git config submodule.${submodule}.url ../${submodule##*/} - git submodule update - done - for submodule in externals/{boost,soundtouch}; do - git submodule init ${submodule} - git config submodule.${submodule}.url ../citra-${submodule##*/} - git submodule update - done - -# Fix build with glibc 2.34 - find -name catch.hpp | xargs sed -e 's|MINSIGSTKSZ|2048|g' -i -} - -pkgver() { - cd libretro-citra - git rev-list --count HEAD -} - -build() { - cmake -S libretro-citra -B build -G Ninja \ - -DCMAKE_BUILD_TYPE=None \ - -DENABLE_LIBRETRO=ON \ - -DENABLE_QT=OFF \ - -DENABLE_SDL2=ON \ - -DENABLE_WEB_SERVICE=OFF \ - -Wno-dev - cmake --build build -} - -package() { - install -Dm 644 build/src/citra_libretro/citra_libretro.so -t "${pkgdir}"/usr/lib/libretro/ -} - -# vim: ts=2 sw=2 et: Copied: libretro-citra/repos/community-x86_64/PKGBUILD (from rev 1266833, libretro-citra/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-18 09:53:43 UTC (rev 1266834) @@ -0,0 +1,96 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> + +pkgname=libretro-citra +pkgver=9294 +pkgrel=2 +pkgdesc='Nintendo 3DS core' +arch=(x86_64) +url=https://github.com/libretro/citra +license=(GPL2) +groups=(libretro) +depends=( + libretro-core-info + sdl2 +) +makedepends=( + git + nasm +) +_commit=70bf7d8a63b0b501e8f5cff89a86a3e2d4083aa0 +source=( + libretro-citra::git+https://github.com/libretro/citra.git#commit=${_commit} + citra-boost::git+https://github.com/citra-emu/ext-boost.git + catch::git+https://github.com/philsquared/Catch.git + git+https://github.com/arun11299/cpp-jwt.git + git+https://github.com/kinetiknz/cubeb.git + git+https://github.com/discordapp/discord-rpc.git + git+https://github.com/weidai11/cryptopp.git + git+https://github.com/MerryMage/dynarmic.git + git+https://github.com/lsalzman/enet.git + ffmpeg::git+https://github.com/FFmpeg/FFmpeg.git + git+https://github.com/fmtlib/fmt.git + git+https://github.com/benhoyt/inih.git + citra-libressl::git+https://github.com/citra-emu/ext-libressl-portable.git + git+https://github.com/libusb/libusb.git + git+https://github.com/lemenkov/libyuv.git + git+https://github.com/lvandeve/lodepng.git + git+https://github.com/neobrain/nihstro.git + citra-soundtouch::git+https://github.com/citra-emu/ext-soundtouch.git + git+https://github.com/wwylele/teakra.git + git+https://github.com/herumi/xbyak.git + git+https://github.com/facebook/zstd.git +) +b2sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP') + +prepare() { + cd libretro-citra + for submodule in externals/{catch,cpp-jwt,cryptopp/cryptopp,cubeb,discord-rpc,dynarmic,enet,ffmpeg,fmt,inih/inih,libressl,libusb/libusb,libyuv,lodepng/lodepng,nihstro,teakra,xbyak,zstd}; do + git submodule init ${submodule} + git config submodule.${submodule}.url ../${submodule##*/} + git submodule update ${submodule} + done + for submodule in externals/{boost,soundtouch}; do + git submodule init ${submodule} + git config submodule.${submodule}.url ../citra-${submodule##*/} + git submodule update ${submodule} + done + +# Fix build with glibc 2.34 + find -name catch.hpp | xargs sed -e 's|MINSIGSTKSZ|2048|g' -i +} + +pkgver() { + cd libretro-citra + git rev-list --count HEAD +} + +build() { + cd libretro-citra + make +} + +package() { + install -Dm 644 libretro-citra/citra_libretro.so -t "${pkgdir}"/usr/lib/libretro/ +} + +# vim: ts=2 sw=2 et: