|
5 | 5 | pkgnames=(plato) |
6 | 6 | pkgdesc="Document reader" |
7 | 7 | url=https://github.com/LinusCDE/plato |
8 | | -pkgver=0.9.25-2 |
9 | | -timestamp=2022-02-08T23:54Z |
| 8 | +pkgver=0.9.34-1 |
| 9 | +timestamp=2023-03-08T17:58Z |
10 | 10 | section="readers" |
11 | 11 | maintainer="Linus K. <linus@cosmos-ink.net>" |
12 | 12 | license=AGPL-3.0-or-later |
13 | 13 | installdepends=(display jq) |
14 | | -makedepends=(build:jq build:unzip build:wget) |
| 14 | +makedepends=(build:jq build:unzip build:wget build:patchelf) |
15 | 15 | flags=(patch_rm2fb) |
16 | 16 |
|
17 | | -image=rust:v2.2.2 |
18 | | -source=("https://github.com/LinusCDE/plato/archive/${pkgver%-*}-rm-release-12.zip") |
19 | | -sha256sums=(42e18e882e7e6853e299234a44eea9b9e3c4170076eec0577a0644dcf7005cf9) |
| 17 | +image=rust:v2.3.1 |
| 18 | +source=("https://github.com/LinusCDE/plato/archive/${pkgver%-*}-rm-release-13.zip") |
| 19 | +sha256sums=(82ef5786704ecdb4fe11ce16e7e4ae10b518a592965c292977bb33962c891d48) |
20 | 20 |
|
21 | 21 | build() { |
22 | | - # Fall back to system-wide config |
23 | | - rm .cargo/config |
24 | | - |
25 | 22 | # 'cargo pkgid' seems to output something different with most |
26 | 23 | # recent nightly builds. This adjusts the filtering. |
27 | | - sed -i "s/version=.*$/version=\'$(cargo pkgid | cut -d "#" -f 2 | cut -d ":" -f 2)\'/g" download.sh |
| 24 | + sed -i "s/version=.*$/version=\'$(cargo pkgid -p plato | cut -d "#" -f 2 | cut -d ":" -f 2)\'/g" download.sh |
| 25 | + |
| 26 | + # Temporary fix until next release (TODO: Remove for next released version as included with commit fbfaf3d7) |
| 27 | + sed -i "s/--target=arm-unknown-linux-gnueabihf/--target=armv7-unknown-linux-gnueabihf/g" build.sh |
28 | 28 |
|
29 | 29 | # Use our toolchain |
30 | 30 | export AR=arm-linux-gnueabihf-ar |
31 | 31 | export CC=arm-linux-gnueabihf-gcc |
32 | 32 | export STRIP=arm-linux-gnueabihf-strip |
33 | | - sed -i '/source \/usr\/local\/oecore-x86_64/d' src/mupdf_wrapper/build-kobo.sh |
34 | 33 |
|
35 | 34 | # Compile all to dist/ |
36 | 35 | ./clean.sh |
|
0 commit comments