Skip to content

Commit

Permalink
upgpatch: qt6-quick3dphysics 6.6.0-1
Browse files Browse the repository at this point in the history
Fix rotten and make it less likely to rot.
  • Loading branch information
moui0 authored and felixonmars committed Oct 18, 2023
1 parent c2c48d7 commit e8562b0
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions qt6-quick3dphysics/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
diff --git PKGBUILD PKGBUILD
index e1975ff..035c0d6 100644
index adc90fa..f296a88 100644
--- PKGBUILD
+++ PKGBUILD
@@ -13,8 +13,15 @@ depends=(qt6-quick3d)
makedepends=(cmake ninja qt6-shadertools)
groups=(qt6)
_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
-source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
-sha256sums=('3291301d243ff39febc96d6641eb4b44feeef43087c475cbb0b22dc910a5a4ba')
+source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz
+ physx-rv64.patch)
+sha256sums=('3291301d243ff39febc96d6641eb4b44feeef43087c475cbb0b22dc910a5a4ba'
+ '404a2d7b532a5b78c13b2a110aebebdce1dbcc2f9138319bb53a6b9ca7dce785')
@@ -23,4 +23,12 @@ source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodu
sha256sums=('74395b686f680cfa302e41530ff9bbe1b7e13c1d1aa9d68aa192318ecbfd7c03')

+source+=(physx-rv64.patch)
+sha256sums+=('404a2d7b532a5b78c13b2a110aebebdce1dbcc2f9138319bb53a6b9ca7dce785')
+
+prepare() {
+ cd $_pkgfn
+ patch -Np1 -i "$srcdir/physx-rv64.patch"
+}
+
build() {
cmake -B build -S $_pkgfn -G Ninja \

0 comments on commit e8562b0

Please # to comment.