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.

Add macOS detection and adjust CI permissions

Detect Darwin and set ASSET_NAME for arm64/x86_64, and install sdl2 via
brew. In CI, recursively chown /usr/local to the runner user before
running fluentci so subsequent installs are writable.

+14
+1
.github/workflows/ci.yml
··· 74 74 sudo cp zig/zig-out/bin/rockboxd /usr/local/bin 75 75 sudo cp target/release/rockbox /usr/local/bin 76 76 sudo cp -r assets/* /usr/local/share/rockbox 77 + sudo chown -R $(whoami):$(whoami) /usr/local 77 78 fluentci run --wasm . release 78 79 env: 79 80 GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+13
install.sh
··· 39 39 echo "Unsupported architecture: $ARCH" 40 40 exit 1 41 41 fi 42 + elif [ "$OS" = "Darwin" ]; then 43 + # Determine the CPU architecture 44 + ARCH=$(uname -m) 45 + if [ "$ARCH" = "arm64" ]; then 46 + ASSET_NAME="_arm64-darwin.tar.gz" 47 + elif [ "$ARCH" = "x86_64" ]; then 48 + ASSET_NAME="_x86_64-darwin.tar.gz" 49 + else 50 + echo "Unsupported architecture: $ARCH" 51 + exit 1 52 + fi 42 53 else 43 54 echo "Unsupported operating system: $OS" 44 55 exit 1 ··· 89 100 alsa-utils \ 90 101 libasound2-dev 91 102 fi 103 + elif command -v brew >/dev/null 2>&1; then 104 + brew install sdl2 92 105 elif command -v pacman >/dev/null 2>&1; then 93 106 if command -v sudo >/dev/null 2>&1; then 94 107 sudo pacman -S --noconfirm libusb \