From a5ebfe7d89849470dd11905c80b0323a18eb3167 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Tue, 22 Aug 2023 16:36:21 -0600 Subject: [PATCH] Add two more splashscreens and update docs --- docs/package.md | 1 + package/splashcreens-wavy-lines/package | 50 +++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 package/splashcreens-wavy-lines/package diff --git a/docs/package.md b/docs/package.md index fcd9690a4..a8d56526e 100644 --- a/docs/package.md +++ b/docs/package.md @@ -328,6 +328,7 @@ math | Apps to assist the user in performing mathematical tasks. readers | Apps for reading and annotating documents (PDF, EPUB, …). screensharing | Apps for streaming the display between the PC and tablet. templates | Templates for xochitl notebooks. +splashscreens | Splashscreens for device startup, poweroff, suspend, etc. utils | System tools and various apps. If the package does not fit into one of the existing sections, you are free to create a new one and document it here. diff --git a/package/splashcreens-wavy-lines/package b/package/splashcreens-wavy-lines/package new file mode 100644 index 000000000..632136a23 --- /dev/null +++ b/package/splashcreens-wavy-lines/package @@ -0,0 +1,50 @@ +#!/usr/bin/env bash +# Copyright (c) 2023 The Toltec Contributors +# SPDX-License-Identifier: MIT + +pkgnames=( + splashscreen-starting-wavey-lines + splashscreen-suspended-wavey-lines +) +url=https://github.com/EnglishLFC/reMarkable +pkgver=0.0.0-1 +timestamp=2021-03-19T18:46:40Z +section="splashscreens" +maintainer="Eeems " +license=BSD-2-Clause +installdepends=(changescrn) + +source=("https://github.com/EnglishLFC/reMarkable/archive/a06b10ea9f28c784e6941085a30944c0489450f4.zip") +sha256sums=(ec5f0321342bf6b48bb1431f4b1cf4416c37681879b3ec6c9375f889077a0b7f) + +splashscreen-starting-wavey-lines() { + pkgdesc="Barnsley Fern battery empty splashscreen" + replaces=("splashscreen-starting") + conflicts=("splashscreen-starting") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splash/splash.png + } + configure() { + changescrn -c starting /opt/share/remarkable/splashscreens/starting.png + } + postremove() { + changescrn -r starting + } +} + +splashscreen-suspended-wavey-lines() { + pkgdesc="Barnsley Fern power off splashscreen" + replaces=("splashscreen-suspended") + conflicts=("splashscreen-suspended") + package() { + install -D -m 755 -t "$pkgdir"/opt/share/remarkable/splashscreens \ + "$srcdir"/splash/suspended.png + } + configure() { + changescrn -c suspended /opt/share/remarkable/splashscreens/suspended.png + } + postremove() { + changescrn -r suspended + } +}