Skip to content

Commit

Permalink
addpatch: ot-cryptid 1.0.1-3
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_backport
- Upstreamed: robbert-vdh/nih-plug#95
  • Loading branch information
aimixsaka committed Dec 5, 2023
1 parent 245cdf9 commit f2e7d72
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions ot-cryptid/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- PKGBUILD
+++ PKGBUILD
@@ -44,8 +44,16 @@ b2sums=('78f6f79e9cf366d68a86e18d2504e67e017e4e793d818d1c2311f15223bc9b87a976e4b
'34e81e067128285f0b30ff5398322be9e9ac1c7c4234c6d0311743f7d58f376b4b9de6b69a00dbf850da195d1aefa0f739918d97cffee3469b7059e27632c07e')

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_backport" }
+nih_plug_egui = { git = "https://github.com/aimixsaka/nih-plug.git", branch = "riscv_backport" }
+nih_plug_xtask = { git = "https://github.com/aimixsaka/nih-plug.git", branch = "riscv_backport" }
+EOF
+ cargo update nih_plug
# download dependencies
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ cargo fetch --locked
}

build() {

0 comments on commit f2e7d72

Please sign in to comment.