Skip to content

Commit

Permalink
Update ddvk-hacks to 18.01 (#317)
Browse files Browse the repository at this point in the history
This update includes the following patch changes:

* For rM1 2.5.0.27, update patch 17.1.04 to 17.1.10
* For rM2 2.5.0.27, update patch 17.2.04 to 17.2.07
* Add rM2 2.5.1.45 with patch 18.2.01

Co-authored-by: Nathaniel van Diepen <[email protected]>
  • Loading branch information
2 people authored and LinusCDE committed Jun 3, 2021
1 parent 4555309 commit 243db75
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions package/ddvk-hacks/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
pkgnames=(ddvk-hacks)
pkgdesc="Enhance Xochitl with additional features"
url=https://github.com/ddvk/remarkable-hacks
pkgver=17.04-1
pkgver=18.01-1
timestamp=2020-12-25T14:32Z
section="readers"
maintainer="Mattéo Delabre <[email protected]>"
license=MIT
flags=(nostrip)

source=(https://github.com/ddvk/remarkable-hacks/archive/4b75aeaffa2794ff7d4c106c75e47278d5855401.zip)
sha256sums=(41b2e2c3c740c109bc33bb3a2d6db9d52bfe8a282a10029d9da07fa70e0808d3)
source=(https://github.com/ddvk/remarkable-hacks/archive/0f4c20bf9351a786b2570fb262e1351f44f62c29.zip)
sha256sums=(e86695114a579c614a9275832fa4551cba77a8cbf165499d7a9f18124cbfd392)

_patches_dir="/opt/share/ddvk-hacks"
_xochitl_path="/usr/bin/xochitl"
Expand All @@ -33,8 +33,9 @@ package() {
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/24027_rm2/patch_15.2.01
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/24130_rm1/patch_16.1.06
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/24130_rm2/patch_16.2.03
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/25027_rm1/patch_17.1.04
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/25027_rm2/patch_17.2.04
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/25027_rm1/patch_17.1.10
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/25027_rm2/patch_17.2.07
install -D -m 644 -t "$pkgdir$_patches_dir" "$srcdir"/patches/25145_rm2/patch_18.2.01
}

configure() {
Expand All @@ -46,14 +47,20 @@ configure() {
local xochitl_version

case "$build_date" in
"20201216142449")
patch_version="18.2.01"
device="reMarkable 2"
original_hash="c5337f952554ae40f0c97d81cf1c4a126c9cc593"
xochitl_version="2.5.1.45"
;;
"20201127104549")
patch_version="17.2.04"
patch_version="17.2.07"
device="reMarkable 2"
original_hash="0ed1af968a31e816513d15321bd02b9625ccb073"
xochitl_version="2.5.0.27"
;;
"20201127104105")
patch_version="17.1.04"
patch_version="17.1.10"
device="reMarkable 1"
original_hash="4296b9c6d7a66aadd12e1cf61a13b7b19504673d"
xochitl_version="2.5.0.27"
Expand Down

0 comments on commit 243db75

Please sign in to comment.