upgpkg: dynarmic 6.3.1-1

This commit is contained in:
George Rawlinson 2022-11-23 10:09:23 +13:00
parent 73f2c06e93
commit 61073c9db2
Signed by: grawlinson
GPG key ID: E0959FEA8B550539

View file

@ -2,13 +2,13 @@
# Contributor: Alexandre Bouvier <contact@amb.tf>
pkgname=dynarmic
pkgver=6.2.3
pkgver=6.3.1
pkgrel=1
pkgdesc='An ARM dynamic recompiler'
arch=('x86_64')
url='https://github.com/merryhime/dynarmic'
license=('BSD')
depends=('gcc-libs' 'fmt') # 'zydis')
depends=('gcc-libs' 'fmt' 'zydis')
makedepends=(
'git'
'boost'
@ -18,7 +18,7 @@ makedepends=(
'neovim'
)
checkdepends=('catch2')
_commit='2d4602a6516c67d547000d4c80bcc5f74976abdd'
_commit='df72827b091760eebfd200e9fcdf0a5915f0fc3c'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
@ -28,16 +28,6 @@ pkgver() {
git describe --tags | sed 's/^v//'
}
prepare() {
cd "$pkgname"
# fix FTBFS for zydis >4
#sed \
# -e 's/ZYDIS_ADDRESS_WIDTH_64/ZYDIS_STACK_WIDTH_64/g' \
# -e 's/ZydisDecoderDecodeBuffer/ZydisDecoderDecodeFull/g' \
# -i src/dynarmic/common/x64_disassemble.cpp
}
build() {
cmake \
-B build \
@ -51,7 +41,7 @@ build() {
-D DYNARMIC_NO_BUNDLED_FMT=ON \
-D DYNARMIC_NO_BUNDLED_ROBIN_MAP=ON \
-D DYNARMIC_NO_BUNDLED_XBYAK=ON \
-DDYNARMIC_NO_BUNDLED_ZYDIS=OFF \
-D DYNARMIC_NO_BUNDLED_ZYDIS=ON \
-D DYNARMIC_TESTS="$CHECKFUNC" \
-W no-dev