A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 64 lines 2.1 kB view raw
1 __________ __ ___. 2 Open \______ \ ____ ____ | | _\_ |__ _______ ___ 3 Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / 4 Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < 5 Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 6 \/ \/ \/ \/ \/ 7 8Build Your Own Rockbox 9 101. Clone 'rockbox' from git (or extract a downloaded archive). 11 12 $ git clone git://git.rockbox.org/rockbox 13 14 or 15 16 $ tar xJf rockbox.tar.xz 17 182. Create a build directory, preferably in the same directory as the firmware/ 19 and apps/ directories. This is where all generated files will be written. 20 21 $ cd rockbox 22 $ mkdir build 23 $ cd build 24 253. Make sure you have mips/m68k/arm-elf-gcc and siblings in the PATH. Make sure 26 that you have 'perl' in your PATH too. Your gcc cross compiler needs to be 27 a particular version depending on what player you are compiling for. These 28 can be generated using the rockboxdev.sh script in the /tools/ folder of the 29 source. 30 31 $ which arm-elf-eabi-gcc 32 $ which perl 33 344. In your build directory, run the 'tools/configure' script and enter what 35 target you want to build for and if you want a debug version or not (and a 36 few more questions). It'll prompt you. The debug version is for making a 37 gdb version out of it. It is only useful if you run gdb towards your target 38 Archos. 39 40 $ ../tools/configure 41 425. *ploink*. Now you have got a Makefile generated for you. 43 446. Run 'make' and soon the necessary pieces from the firmware and the apps 45 directories have been compiled, linked and scrambled for you. 46 47 $ make 48 $ make zip 49 507. unzip the rockbox.zip on your music player, reboot it and 51 *smile*. 52 53If you want to build for more than one target, just create several build 54directories and create a setup for each target: 55 56 $ mkdir build-fuzeplus 57 $ cd build-fuzeplus 58 $ ../tools/configure 59 60 $ mkdir build-xduoox3 61 $ cd build-xduoox3 62 $ ../tools/configure 63 64Questions anyone? Ask on the mailing list or on IRC. We'll be happy to help you!