Skip to content

Commit

Permalink
addpatch: ot-urchin 1.0.0-1
Browse files Browse the repository at this point in the history
- Fix broken cargo target
- Use forked repo to support riscv: https://github.com/aimixsaka/nih-plug/tree/riscv
- Upstreamed: robbert-vdh/nih-plug#95
  • Loading branch information
aimixsaka authored and felixonmars committed Dec 5, 2023
1 parent dbeb174 commit 0ca0017
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ot-urchin/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- PKGBUILD
+++ PKGBUILD
@@ -43,8 +43,16 @@ b2sums=('274fd49d0eaae0b9cc1b9e04650f2bb5dba9c4283565e7d292fc6a4fc82deda5fec9b35
'd34311025c69665beb59bfe35a3051c6c5a3c8896de97b091c9aac0f9c3cb27e39476374288d7ed54e64d4a660c6429c85bf417bc5b17658c0d967329d4846f3')

prepare() {
+ # need to override dependency workspace members
+ cat >>Cargo.toml <<"EOF"
+[patch."https://github.com/robbert-vdh/nih-plug.git"]
+nih_plug = { git = "https://github.com/aimixsaka/nih-plug.git", branch = "riscv" }
+nih_plug_egui = { git = "https://github.com/aimixsaka/nih-plug.git", branch = "riscv" }
+nih_plug_xtask = { git = "https://github.com/aimixsaka/nih-plug.git", branch = "riscv" }
+EOF
+ cargo update nih_plug
# download dependencies
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ cargo fetch --locked
}

build() {

0 comments on commit 0ca0017

Please sign in to comment.