Skip to content

Commit 267b81e

Browse files
committed
dependencies: handle obsolete librasbperrypi-bin
The `libraspberrypi-bin` package has been deprecated in RaspiOS's latest Bookworm release [1], being replaced with `raspi-utils`. We need this package for `tvservice`, but on KMS platforms this utility is obsolete and always returns an error. The changes will: - leave the `libraspberrypi-bin` dependency in `runcommand` just for RPI+DispmanX platforms (Buster and eariler Raspbian) - replace the `mupen64plus` dependency with the correct one (`libraspberrypi0`), since this is where the (E)GL(ES) VC drivers are located. `tvservice` , used by the starting script, should be installed by the `runcommand` dependency [1] RasPiOS 06.Dec.2023 release, list of included packages: https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2023-12-06/2023-12-05-raspios-bookworm-arm64.info Previous (and initial) Bookworm release contained the `libraspberrypi-bin` package: https://downloads.raspberrypi.com/raspios_arm64/images/raspios_arm64-2023-10-10/2023-10-10-raspios-bookworm-arm64.info
1 parent 8356731 commit 267b81e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scriptmodules/emulators/mupen64plus.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rp_module_flags="sdl2"
1919

2020
function depends_mupen64plus() {
2121
local depends=(cmake libsamplerate0-dev libspeexdsp-dev libsdl2-dev libpng-dev libfreetype6-dev fonts-freefont-ttf libboost-filesystem-dev)
22-
isPlatform "rpi" && depends+=(libraspberrypi-bin libraspberrypi-dev)
22+
isPlatform "videocore" && depends+=(libraspberrypi-dev)
2323
isPlatform "mesa" && depends+=(libgles2-mesa-dev)
2424
isPlatform "gl" && depends+=(libglew-dev libglu1-mesa-dev)
2525
isPlatform "x86" && depends+=(nasm)

scriptmodules/supplementary/runcommand.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function _update_hook_runcommand() {
2525

2626
function depends_runcommand() {
2727
local depends=()
28-
isPlatform "rpi" && depends+=(libraspberrypi-bin)
28+
isPlatform "rpi" && isPlatform "dispmanx" && depends+=(libraspberrypi-bin)
2929
isPlatform "rpi" || isPlatform "kms" && depends+=(fbi fbset)
3030
isPlatform "x11" && depends+=(feh)
3131
getDepends "${depends[@]}"

0 commit comments

Comments
 (0)