diff options
author | Bart De Vries | 2025-03-12 18:34:48 +0100 |
---|---|---|
committer | Bart De Vries | 2025-03-12 18:34:48 +0100 |
commit | 78652730f07c31ca04e2f9201e1e064f7f9977ad (patch) | |
tree | 69941945cbc13153e51f350b4a782ea512b5fc80 | |
parent | 717719ad89d1f33a994476000bb4729b8fa3945b (diff) | |
download | aur-box64.tar.gz |
Update to upstream 0.3.4
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 23 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = box64 pkgdesc = Linux Userspace x86_64 Emulator with a twist - pkgver = 0.3.2 - pkgrel = 2 + pkgver = 0.3.4 + pkgrel = 1 url = https://github.com/ptitSeb/box64 install = box64.install arch = x86_64 @@ -13,9 +13,9 @@ pkgbase = box64 makedepends = cmake makedepends = python depends = gcc-libs - source = box64-0.3.2.tar.gz::https://github.com/ptitSeb/box64/archive/v0.3.2.tar.gz + source = box64-0.3.4.tar.gz::https://github.com/ptitSeb/box64/archive/v0.3.4.tar.gz source = box64.install - sha256sums = 8658b2c3840ae830ebb2b2673047d30a748139ec3afe178ca74a71adeddba63e + sha256sums = 081224cd27f5fa67fe4e9034ebbe0076e1da51b0f11bf84b67494752c7090d72 sha256sums = 7e94518dbd11121f150a51b64f4c0ec11f844a83f7b15205d28c1de63de699f2 pkgname = box64 @@ -2,8 +2,8 @@ # Contributor: Dan Johansen <strit@manjaro.org> pkgname=box64 -pkgver=0.3.2 -pkgrel=2 +pkgver=0.3.4 +pkgrel=1 pkgdesc='Linux Userspace x86_64 Emulator with a twist' arch=('x86_64' 'aarch64' 'riscv64' 'powerpc64le') url='https://github.com/ptitSeb/box64' @@ -13,12 +13,27 @@ depends=('gcc-libs') makedepends=('git' 'cmake' 'python') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ptitSeb/${pkgname}/archive/v${pkgver}.tar.gz" "box64.install") -sha256sums=('8658b2c3840ae830ebb2b2673047d30a748139ec3afe178ca74a71adeddba63e' +sha256sums=('081224cd27f5fa67fe4e9034ebbe0076e1da51b0f11bf84b67494752c7090d72' '7e94518dbd11121f150a51b64f4c0ec11f844a83f7b15205d28c1de63de699f2') + build() { cd ${pkgname}-${pkgver} - if [[ $CARCH == "aarch64" ]]; then + if [[ $CARCH == "aarch64" ]]; then + name="$(lscpu | grep Model)" + exargs="" + if [ -n "$(echo $name | grep RK3588)" ]; then + exargs="-DRK3588=1" + elif [ -n "$(echo $name | grep RK3399)" ]; then + exargs="-DRK3399=1" + elif [ -n "$(echo $name | grep 'Cortex-A53')" ]; then + exargs="-DRPI3ARM64=1" + elif [ -n "$(echo $name | grep 'Cortex-A72')" ]; then + exargs="-DRPI4ARM64=1" + elif [ -n "$(echo $name | grep 'Cortex-A76')" ]; then + exargs="-DRPI5ARM64=1" + fi cmake -B build -S . \ + $exargs \ -DARM_DYNAREC=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr |