Skip to content

Commit

Permalink
addpatch: lorem 1.4-2
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <[email protected]>
  • Loading branch information
qyl27 authored and felixonmars committed Oct 5, 2024
1 parent df39d8f commit 6fea3a5
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lorem/longer-timeout.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git src/meson.build src/meson.build
index 92a21b4..dcd5e5c 100644
--- src/meson.build
+++ src/meson.build
@@ -64,5 +64,5 @@ test (
env: [
cargo_env,
],
- timeout: 300, # cargo might take a bit of time sometimes
+ timeout: 600, # cargo might take a bit of time sometimes
)
23 changes: 23 additions & 0 deletions lorem/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
--- PKGBUILD
+++ PKGBUILD
@@ -22,14 +22,18 @@ makedepends=(
meson
rust
)
-source=("git+https://gitlab.gnome.org/World/design/lorem.git#tag=$pkgver")
-b2sums=(967ed9ffc098f3ce55a5549ce2beccde4e95a1fa69917f087c83ecf45fa2f8018983e2c892dc6d28d64fce5507d5c4d7db33f6950006f434cdc09b0de021f570)
+source=("git+https://gitlab.gnome.org/World/design/lorem.git#tag=$pkgver"
+ "longer-timeout.patch")
+b2sums=(967ed9ffc098f3ce55a5549ce2beccde4e95a1fa69917f087c83ecf45fa2f8018983e2c892dc6d28d64fce5507d5c4d7db33f6950006f434cdc09b0de021f570
+ e9628245c57e1e344eb7a19a75a52edede7c33cc073a0749b770a8b875d32360c260f6642c1bbad013e8d36ebf959f7147024c2d2580b2022341dbcfcc3090c1)

prepare() {
cd $pkgname

CARGO_HOME="$srcdir/build/cargo-home" \
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
+
+ patch -Np0 -i ../longer-timeout.patch
}

build() {

0 comments on commit 6fea3a5

Please sign in to comment.