Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitarchiveinclude
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
bin/minui-keyboard-tg5040
bin/minui-keyboard-rg35xxplus
bin/minui-list-tg5040
bin/minui-list-rg35xxplus
bin/sdl2imgshow
res/fonts/BPreplayBold.otf
17 changes: 16 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,26 @@ TAG ?= latest
BUILD_DATE := "$(shell date -u +%FT%TZ)"
PAK_NAME := $(shell jq -r .label config.json)

PLATFORMS := tg5040 rg35xxplus
MINUI_LIST_VERSION := 0.3.1
MINUI_KEYBOARD_VERSION := 0.2.1

clean:
rm -f bin/minui-keyboard-* || true
rm -f bin/minui-list-* || true
rm -f bin/screenshot-monitor || true
rm -f bin/sdl2imgshow || true
rm -f res/fonts/BPreplayBold.otf || true

build: bin/sdl2imgshow res/fonts/BPreplayBold.otf
build: $(foreach platform,$(PLATFORMS),bin/minui-keyboard-$(platform) bin/minui-list-$(platform) bin/screenshot-monitor) bin/sdl2imgshow res/fonts/BPreplayBold.otf

bin/minui-keyboard-%:
curl -f -o bin/minui-keyboard-$* -sSL https://github.com/josegonzalez/minui-keyboard/releases/download/$(MINUI_KEYBOARD_VERSION)/minui-keyboard-$*
chmod +x bin/minui-keyboard-$*

bin/minui-list-%:
curl -f -o bin/minui-list-$* -sSL https://github.com/josegonzalez/minui-list/releases/download/$(MINUI_LIST_VERSION)/minui-list-$*
chmod +x bin/minui-list-$*

bin/sdl2imgshow:
docker buildx build --platform linux/arm64 --load -f Dockerfile.sdl2imgshow --progress plain -t app/sdl2imgshow:$(TAG) .
Expand Down
Loading