Skip to content

Commit

Permalink
Update jolt-physics to version 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ImperatorS79 authored and Biswa96 committed Dec 20, 2023
1 parent 0eecfb6 commit 0c8c449
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
11 changes: 0 additions & 11 deletions mingw-w64-jolt-physics/0001-fix-missing-uint.patch

This file was deleted.

16 changes: 4 additions & 12 deletions mingw-w64-jolt-physics/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
_realname=jolt-physics
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=3.0.1
pkgver=4.0.1
pkgrel=1
pkgdesc="A multi core friendly rigid body physics and collision detection library, written in C++, suitable for games and VR applications. (mingw-w64)"
arch=('any')
Expand All @@ -14,18 +14,9 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-cc"
'git')
source=("http://github.com/jrouwe/JoltPhysics/archive/refs/tags/v${pkgver}.tar.gz"
"0001-fix-missing-uint.patch")
source=("http://github.com/jrouwe/JoltPhysics/archive/refs/tags/v${pkgver}.tar.gz")
options=('staticlibs' '!strip')
sha256sums=('7ebb40bf2dddbcf0515984582aaa197ddd06e97581fd55b98cb64f91b243b8a6'
'b1f178d1cf59fd6f9351756737d815d03ac910a2e2278060dde5935d76f11a77')

prepare() {
cd "${srcdir}/JoltPhysics-${pkgver}"

patch -Np1 -i "${srcdir}/0001-fix-missing-uint.patch"
}

sha256sums=('e0bb4fa07047ca9c38bd71262427ad2972a7f45f8dff74587f73457f3b60df82')

build() {
mkdir -p "${srcdir}/build-${MSYSTEM}" && cd "${srcdir}/build-${MSYSTEM}"
Expand Down Expand Up @@ -65,6 +56,7 @@ build() {
-DUSE_TZCNT=OFF \
-DUSE_F16C=OFF \
-DUSE_FMADD=OFF \
-DBUILD_SHARED_LIBS=OFF \
-DTARGET_UNIT_TESTS=ON \
-DTARGET_HELLO_WORLD=ON \
-DTARGET_PERFORMANCE_TEST=ON \
Expand Down

0 comments on commit 0c8c449

Please sign in to comment.