PACKAGE/DEFCONFIG: add sdlbook app (#99)

with miyoo&optimization changes
This commit is contained in:
Apaczer
2024-05-06 23:56:12 +02:00
committed by GitHub
parent f5bdd4355a
commit 1852510148
16 changed files with 802 additions and 0 deletions

View File

View File

@@ -0,0 +1,5 @@
title=SDLbook
description=DJVU/PDF/EPUB viewer & more
exec=/usr/bin/sdlbook
manual=/mnt/manuals/sdlbook.man.txt
selectordir=/mnt/books

View File

@@ -0,0 +1,15 @@
SDLbook hotkeys:
-----------------------
A = accept
B = cancel
UP = scroll up
DOWN = scroll down
L2/R2+UP = scroll fast upwards
L2/R2+DOWN = scroll fast downwards
L1 = scroll one page up
R1 = scroll one page down
X = zoom in page
Y = zoom out page
SELECT = jump to inserted page number
RESET = quit app
START = show HELP screen

View File

@@ -63,6 +63,8 @@ convert board/miyoo/miyoo-splash.png -pointsize 12 -fill white -annotate +10+230
# Workaround for build apss and configs being placed in /usr/ after img generation (as we use MAIN)
test -d "${BINARIES_DIR}/gmenu2x" && cp -r "${BINARIES_DIR}/gmenu2x/" "${BINARIES_DIR}/main/"
test -d "${BINARIES_DIR}/emus" && cp -r "${BINARIES_DIR}/emus/" "${BINARIES_DIR}/main/"
test -d "${BINARIES_DIR}/apps" && cp -r "${BINARIES_DIR}/apps/" "${BINARIES_DIR}/main/"
test -d "${BINARIES_DIR}/games" && cp -r "${BINARIES_DIR}/games/" "${BINARIES_DIR}/main/"
if test -d "${BINARIES_DIR}/retroarch"; then
rsync -avzh "${BINARIES_DIR}/retroarch/" "${BINARIES_DIR}/main/.retroarch/"
## Generate list of cores to be used