Due to https://github.com/libsdl-org/SDL/issues/5399 which breaks darkplaces-quake in RetroPie we are keeping Buster at 2.0.10 until there is a resolution.
Added libsamplerate0-dev dependency to module.
Branch includes reworking the patch for kms modesetting via env variables, some minor changes to our Mali and RPI patches, and some removal of no longer needed changes.
It also includes removal of some debian/control build dependencies which were added to upstream to align with Debian's packaging. The additions caused dependencies like libwayland-dev and libpulse-dev to be required for all platforms. As we handle adding dependencies in our sdl module code, these have been removed in our retropie-2.0.16+ sdl2 branches.
Include fix for detection of videocore due to our renamed include folders (thanks @cmitu).
Added libsamplerate0-dev dependency to module.
Branch includes reworking the patch for kms modesetting via env variables, some minor changes to our Mali and RPI patches,
and some removal of no longer needed changes. It also includes removal of some debian/control build dependencies which were
added to upstream to align with Debian's packaging. The addition causes dependencies like libwayland-dev and libpulse-dev to
be required for all platforms. As we handle adding dependencies in our sdl module code, these have been removed in our
retropie-2.0.16+ sdl2 branch.
Include fix for detection of videocore due to our renamed include folders (thanks @cmitu).
this allows switching dependencies between binary/source installs and removal if needed - useful in some cases,
as it's possible if our server was offline for a source install to be used, which with the new packaging will be
rememebered - so this allows switching back to binary.
added golang / mesa-drm omxiv / sdl1 and sdl2 to depends section
* create a rp_getBinaryUrl function to get the binary url of a package
* if a module has a __binary_url and it returns an empty string, treat this as no binary available - this allows removing hardcoded logic for sdl1/sdl2 from getDepends
* if a module doesn't have this function but it has its own install_bin don't test for a binary and assume it's ok
initially the binary package will fail if dependencies are missing so we re-run apt-get
with --fix-broken - however this will install recommendations also so have added
--no-install-recommends to reduce packages installed - this is added primarily due to newer
sdl2 package having more dependencies than before
without --disable-video-opengl SDL2 when building with mali driver SDL2 will try and
use opengl driver first and fail due to driver ordering in SDL_video.c
This should ensure that an installation of SDL2 from binary on a fresh
installation should not fail due to missing dependencies not being
installed by the debian packages themselves.
Certain board-specific packages that may cause distribution dependency
resolution issues are deliberately omitted, but they should already be
installed (if not, we can do so during script first-time run or basic
install).
Some dependencies have also been reordered to be more consistent with our
board flags; x11 depends are still a mess, but reordering them may
break vero4k.
All targets now use a unified branch that builds for any target.
Branch:
* Based on 2.0.10 upstream
* All custom patches have been imported, but any changes to default build via
debian/rules have been removed.
* Includes fixes for RPI3 regression in SDL_EGL_ChooseConfig, segfault on joystick
disconnect, RPI + kmsdrm coexistence.
Scriptmodule:
* All driver selection is done via script
* Raspberry Pi: build with RPI and KMSDRM driver together
* X11 & GL support is enabled by default; useful for FKMS, and GLES2 targets
via gl4es translation library.