Skip to content

Commit

Permalink
addpkg: openpgl 0.7.0-1
Browse files Browse the repository at this point in the history
Port to simde

Related: RenderKit/openpgl#20
  • Loading branch information
Cryolitia committed Dec 16, 2024
1 parent 514f12c commit e5e9847
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions openpgl/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
--- PKGBUILD
+++ PKGBUILD
@@ -9,9 +9,16 @@ arch=('x86_64')
url="https://github.com/openpathguidinglibrary/openpgl"
license=('Apache')
depends=('onetbb')
-makedepends=('cmake' 'make' 'gcc' 'ninja')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenPathGuidingLibrary/openpgl/archive/refs/tags/v${pkgver}.tar.gz")
-sha512sums=('f5482ddf13217f81936098101c9bc16e63c36f79500aef25d15f7725deb5578ace7cf82764fbdbf4b09262bdef69ed0bcf42e9886cae7129605b31fee0f918ff')
+makedepends=('cmake' 'make' 'gcc' 'ninja' 'simde')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenPathGuidingLibrary/openpgl/archive/refs/tags/v${pkgver}.tar.gz"
+ "use-simde.patch::https://github.com/Cryolitia-Forks/openpgl/commit/77074e2ff062a16ad20f071189dac56e6d075d52.patch")
+sha512sums=('f5482ddf13217f81936098101c9bc16e63c36f79500aef25d15f7725deb5578ace7cf82764fbdbf4b09262bdef69ed0bcf42e9886cae7129605b31fee0f918ff'
+ '4ba2fdd16104e3da16458bf25253085b42df4e305af1887e5c24f41ef0acdac23204f7c7a7ebd50a010dc17bf8bd3d8bd8cd572e47e9abad98ba923bca8221b2')
+
+prepare() {
+ cd openpgl-$pkgver
+ patch -Np1 -i ../use-simde.patch
+}

build() {
cd openpgl-$pkgver

0 comments on commit e5e9847

Please sign in to comment.