Skip to content

Commit

Permalink
Update appmarkable to 0.0.0-9 and rmservewacominput to 0.3.0-1 (tolte…
Browse files Browse the repository at this point in the history
…c-dev#308)

Adds reMarkable 2 support to appmarkable and rmservewacominput
  • Loading branch information
LinusCDE authored and danshick committed May 5, 2021
1 parent 0dfb2dc commit c3fda53
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 11 deletions.
10 changes: 5 additions & 5 deletions package/appmarkable/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
pkgnames=(appmarkable)
pkgdesc="Front-end for apps that do not have a graphical user interface"
url="https://github.com/LinusCDE/appmarkable"
pkgver=0.0.0-8
timestamp=2020-09-07T00:16Z
pkgver=0.0.0-9
timestamp=2021-03-10T18:36Z
section="devel"
maintainer="Linus K. <linus@cosmos-ink.net>"
license=MIT

image=rust:v1.1
source=(https://github.com/LinusCDE/appmarkable/archive/b4226e896f441af9895ed5a4ff183af7f93b11ae.zip)
sha256sums=(0422cee28668d4e7ff554c26884e45ec63feff840eec92e6b8b2e8a7905a9d3b)
image=rust:v1.4
source=(https://github.com/LinusCDE/appmarkable/archive/c44ee87ea2b1f1e41c9592476c076150c9a1acf4.zip)
sha256sums=(76e151aeae0f18b206dd3c6258bf74bcb5256ee2f803e1ed2073278831158f60)

build() {
rm -r .cargo/
Expand Down
21 changes: 15 additions & 6 deletions package/rmservewacominput/package
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,24 @@
pkgnames=(rmservewacominput)
pkgdesc="Serve pen input on port 33333"
url=https://github.com/LinusCDE/rmWacomToMouse
pkgver=0.2.5-9
timestamp=2020-09-06T23:23Z
pkgver=0.3.0-1
timestamp=2021-03-10T18:36Z
section="utils"
maintainer="Linus K. <linus@cosmos-ink.net>"
license=MIT
depends=(appmarkable)

image=base:v1.3.2
source=(https://github.com/LinusCDE/rmWacomToMouse/archive/1a45d3446c8bc11de04800a702576056016875ed.zip)
sha256sums=(4d51ff9d6b8f57fe4970b4a0adebafe3513ddeb521a2707b81a42d32f73dadb1)
image=base:v1.4
source=(
https://github.com/LinusCDE/rmWacomToMouse/archive/fd1c5454b65f456f6e890b99109e50a8f576dad1.zip
rmservewacominput.draft
rmservewacominput-gui
)
sha256sums=(
c2c15b519a8352a5b52e1b15154e4024acc423552c6cf7559c23fcb8beffcd56
SKIP
SKIP
)

build() {
cd c_implementation
Expand All @@ -23,6 +31,7 @@ build() {

package() {
install -D -m 755 "$srcdir"/c_implementation/rmServeWacomInput "$pkgdir"/opt/bin/rmservewacominput
install -D -m 644 "$srcdir"/oxide "$pkgdir"/opt/etc/draft/rmservewacominput
install -D -m 755 "$srcdir"/rmservewacominput-gui "$pkgdir"/opt/bin/rmservewacominput-gui
install -D -m 644 "$srcdir"/rmservewacominput.draft "$pkgdir"/opt/etc/draft/rmservewacominput.draft
install -D -m 644 "$srcdir"/icon.png "$pkgdir"/opt/etc/draft/icons/rmservewacominput.png
}
6 changes: 6 additions & 0 deletions package/rmservewacominput/rmservewacominput-gui
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

# Copyright (c) 2021 The Toltec Contributors
# SPDX-License-Identifier: MIT

exec /opt/bin/appmarkable /opt/bin/rmservewacominput -n rmServeWacomInput -i /opt/etc/draft/icons/rmservewacominput.png
8 changes: 8 additions & 0 deletions package/rmservewacominput/rmservewacominput.draft
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2021 The Toltec Contributors
# SPDX-License-Identifier: MIT

name=rmServeWacomInput
desc=Open a server on port 33333 and serve pen input
call=/opt/bin/rmservewacominput-gui
term=:
imgFile=rmservewacominput

0 comments on commit c3fda53

Please sign in to comment.