Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

update docker build

+15 -12
+3
.dockerignore
··· 1 1 build 2 + build-* 2 3 .zig-cache 3 4 target 4 5 zig-out 6 + zig/zig-out 7 + zig/.zig-cache 5 8 tools/bmp2rb 6 9 tools/codepages 7 10 tools/convbdf
+3 -3
Dockerfile
··· 23 23 24 24 RUN curl -Ssf https://pkgx.sh | sh 25 25 26 - RUN pkgm install zig@0.14.1 buf deno 26 + RUN pkgm install zig@0.15.1 buf deno 27 27 28 28 COPY . /app 29 29 ··· 37 37 38 38 RUN deno run build 39 39 40 - WORKDIR /app/build 40 + WORKDIR /app/build-lib 41 41 42 - RUN ../tools/configure --target=sdlapp --type=N --lcdwidth=320 --lcdheight=240 --prefix=/usr/local 42 + RUN ../tools/configure --target=sdlapp --type=N --lcdwidth=320 --lcdheight=240 --prefix=/usr/local && cp ../autoconf/autoconf.h . 43 43 44 44 RUN make ziginstall -j$(nproc) 45 45
+2 -2
README.md
··· 197 197 4. Run the following command to build the project 198 198 199 199 ```sh 200 - mkdir -p build && cd build 201 - ../tools/configure --target=sdlapp --type=N --lcdwidth=320 --lcdheight=240 --prefix=$HOME/.local 200 + mkdir -p build-lib && cd build-lib 201 + ../tools/configure --target=sdlapp --type=N --lcdwidth=320 --lcdheight=240 --prefix=/usr/local && cp ../autoconf/autoconf.h . 202 202 make zig 203 203 ``` 204 204
+3 -2
apps/apps.make
··· 11 11 SRC += $(call preprocess, $(APPSDIR)/SOURCES) 12 12 LIB_SRC += $(call preprocess, $(APPSDIR)/SOURCES) 13 13 LIB_SRC += $(BUILDDIR)/lang/lang_core.c 14 - LIB_SRC += $(BUILDDIR)/apps/bitmaps/mono/*.c 15 - LIB_SRC += $(BUILDDIR)/apps/bitmaps/native/*.c 14 + LIB_SRC += $(BUILDDIR)/apps/bitmaps/mono/default_icons.c 15 + LIB_SRC += $(BUILDDIR)/apps/bitmaps/native/rockboxlogo.320x98x16.c 16 + LIB_SRC += $(BUILDDIR)/apps/bitmaps/native/usblogo.176x48x16.c 16 17 17 18 # apps/features.txt is a file that (is preprocessed and) lists named features 18 19 # based on defines in the config-*.h files. The named features will be passed
+4 -5
tools/root.make
··· 431 431 @echo "Installing a full setup in your '$(RBPREFIX)' dir" 432 432 $(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) --app=$(APPLICATION) -m "$(MODELNAME)" -i "$(TARGET_ID)" $(INSTALL) -z "zip -r0" -r "$(ROOTDIR)" --rbdir="$(RBDIR)" -f 2 $(TARGET) $(BINARY) 433 433 434 - ziginstall: zig 434 + ziginstall: zig install 435 435 @echo "Installing your build in your '$(RBPREFIX)' dir" 436 436 cd .. \ 437 - && zig build install-rockbox \ 438 437 && mkdir -p $(RBPREFIX)/bin $(RBPREFIX)/share/rockbox \ 439 - && cp zig-out/bin/rockboxd $(RBPREFIX)/bin \ 438 + && cp zig/zig-out/bin/rockboxd $(RBPREFIX)/bin \ 440 439 && cp target/release/rockbox $(RBPREFIX)/bin \ 441 440 && cp -r assets/* $(RBPREFIX)/share/rockbox 442 441 ··· 449 448 mkdir -p $(BUILDDIR)/apps/recorder 450 449 $(SILENT)$(CC) $(CFLAGS) -c -o $(BUILDDIR)/apps/recorder/jpeg_load.o $(ROOTDIR)/apps/recorder/jpeg_load.c 451 450 452 - zig: $(BUILDDIR)/apps/recorder/jpeg_load.o $(BUILDDIR)/lang/lang.h $(BUILDDIR)/lang_enum.h $(BUILDDIR)/lang/lang_core.c $(BUILDDIR)/lang/max_language_size.h $(BUILDDIR)/sysfont.o $(BUILDDIR)/rbversion.h $(PBMPHFILES) $(LUA_BUILDDIR)/actions.lua $(LUA_BUILDDIR)/settings.lua $(LUA_BUILDDIR)/buttons.lua $(LUA_BUILDDIR)/rb_defines.lua $(LUA_BUILDDIR)/sound_defines.lua $(LUA_BUILDDIR)/rocklib_aux.c $(BUILDDIR)/credits.raw credits.raw $(DEPFILE) $(TOOLS) $(CODECS) 451 + zig: lib 453 452 cd .. \ 454 453 && cargo build -p rockbox-cli --release \ 455 454 && cargo build -p rockbox-server --release \ 456 455 && cargo build -p rockbox --release \ 457 - && zig build all 456 + && cd zig && zig build 458 457 help: 459 458 @echo "A few helpful make targets" 460 459 @echo ""