diff --git a/raylib/build.sh b/raylib/build.sh index 1e6c903..358296b 100755 --- a/raylib/build.sh +++ b/raylib/build.sh @@ -6,10 +6,17 @@ cd "$DIR" INSTALL_DIR="$DIR/raylib/install" -# Idempotent: skip if already built +# Idempotent: skip if already fully built +# On x86_64 Linux, also require the offscreen variant +NEED_OFFSCREEN=0 +if [[ "$(uname)" == "Linux" && "$(uname -m)" == "x86_64" ]]; then + NEED_OFFSCREEN=1 +fi if [ -f "$INSTALL_DIR/lib/libraylib.a" ]; then - echo "raylib already present, skipping build." - exit 0 + if [ "$NEED_OFFSCREEN" -eq 0 ] || [ -f "$INSTALL_DIR/lib/libraylib_offscreen.a" ]; then + echo "raylib already present, skipping build." + exit 0 + fi fi NJOBS="$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 2)" diff --git a/raylib/pyproject.toml b/raylib/pyproject.toml index 60c75ce..dbeee5c 100644 --- a/raylib/pyproject.toml +++ b/raylib/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "raylib" -version = "5.5.0.6" +version = "5.5.0.7" description = "raylib + pyray Python bindings (commaai fork)" requires-python = ">=3.8" dependencies = ["cffi>=1.17.1"] diff --git a/raylib/raylib/version.py b/raylib/raylib/version.py index 44123e8..601699b 100644 --- a/raylib/raylib/version.py +++ b/raylib/raylib/version.py @@ -1 +1 @@ -__version__ = "5.5.0.6" \ No newline at end of file +__version__ = "5.5.0.7" \ No newline at end of file