aboutsummaryrefslogtreecommitdiff
path: root/libraries/raylib
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/raylib')
-rw-r--r--libraries/raylib/jarxm_linear_interpolation.patch17
-rw-r--r--libraries/raylib/raylib.SlackBuild8
-rw-r--r--libraries/raylib/raylib.info6
3 files changed, 16 insertions, 15 deletions
diff --git a/libraries/raylib/jarxm_linear_interpolation.patch b/libraries/raylib/jarxm_linear_interpolation.patch
index 65f1b1b1b9..f98e8d6011 100644
--- a/libraries/raylib/jarxm_linear_interpolation.patch
+++ b/libraries/raylib/jarxm_linear_interpolation.patch
@@ -1,10 +1,11 @@
---- raudio.c 2021-11-21 21:46:23.908021000 +0000
-+++ raudio-new.c 2021-11-21 21:59:54.187104846 +0000
-@@ -1297,6 +1297,8 @@
- jar_xm_context_t *ctxXm = NULL;
- int result = jar_xm_create_context_from_file(&ctxXm, AUDIO.System.device.sampleRate, fileName);
+--- raudio.c 2024-11-18 13:21:10.000000000 +0100
++++ raudio-patch.c 2025-06-14 16:40:31.871305606 +0200
+@@ -1453,6 +1453,8 @@
+ music.ctxData = ctxXm;
+ jar_xm_set_max_loop_count(ctxXm, 0); // Set infinite number of loops
-+ ctxXm->module.linear_interpolation = 1;
++ ctxXm->module.linear_interpolation = 1;
+
- music.ctxType = MUSIC_MODULE_XM;
- music.ctxData = ctxXm;
+ unsigned int bits = 32;
+ if (AUDIO_DEVICE_FORMAT == ma_format_s16) bits = 16;
+ else if (AUDIO_DEVICE_FORMAT == ma_format_u8) bits = 8;
diff --git a/libraries/raylib/raylib.SlackBuild b/libraries/raylib/raylib.SlackBuild
index 8a6f6dc337..392f1c4eaa 100644
--- a/libraries/raylib/raylib.SlackBuild
+++ b/libraries/raylib/raylib.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for raylib
-# Copyright 2024 rc_05 <contact@rc-05.com>
+# Copyright 2024-2025 rc_05 <contact@rc-05.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=raylib
-VERSION=${VERSION:-5.0}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-5.5}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -103,8 +103,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat <<EOF > $PKG/usr/doc/$PRGNAM-$VERSION/build-flags
+JARXM_LINEAR_INTERPOLATION="$JARXM_LINEAR_INTERPOLATION"
WAYLAND="$WAYLAND"
-GLFW="$GLFW"
EOF
mkdir -p $PKG/install
diff --git a/libraries/raylib/raylib.info b/libraries/raylib/raylib.info
index eb78b09007..f7a83996c3 100644
--- a/libraries/raylib/raylib.info
+++ b/libraries/raylib/raylib.info
@@ -1,8 +1,8 @@
PRGNAM="raylib"
-VERSION="5.0"
+VERSION="5.5"
HOMEPAGE="https://raylib.com/"
-DOWNLOAD="https://github.com/raysan5/raylib/archive/refs/tags/5.0/raylib-5.0.tar.gz"
-MD5SUM="6d855d7bd87b506eb58308d4ed67ab97"
+DOWNLOAD="https://github.com/raysan5/raylib/archive/refs/tags/5.5/raylib-5.5.tar.gz"
+MD5SUM="61638c4c2c097fbca1d6a71e4da36c16"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""