Package Details: srb2kart 1.6-2

Git Clone URL: https://aur.archlinux.org/srb2kart.git (read-only, click to copy)
Package Base: srb2kart
Description: Source code modification of Sonic Robo Blast 2 with kart racing elements
Upstream URL: https://mb.srb2.org/showthread.php?t=43708
Keywords: sonic_robo_blast_2_kart srb2kart
Licenses: GPL2
Submitter: SteelT
Maintainer: SteelT
Last Packager: SteelT
Votes: 14
Popularity: 0.000021
First Submitted: 2019-01-21 04:28 (UTC)
Last Updated: 2025-10-21 01:43 (UTC)

Latest Comments

1 2 3 Next › Last »

Yaktoma2007 commented on 2025-10-02 18:35 (UTC) (edited on 2025-10-02 18:37 (UTC) by Yaktoma2007)

Here is a patch since the PKGBUILD doesnt work with the latest GCC:

diff --git a/PKGBUILD b/PKGBUILD
index 983a291..ac8c0a7 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -42,7 +42,7 @@ sha256sums=('SKIP'

 build() {
   cd "$srcdir"/Kart-Public/src
-
+  export CFLAGS="${CFLAGS} -std=gnu99"
   [ "$CARCH" == "x86_64" -o "$CARCH" == "aarch64" ] && _buildflags+="LINUX64=1 " || _buildflags+="LINUX=1 "

   if [ "${_use_discordrpc}" = "y" ]; then

gameslayer commented on 2024-08-08 04:28 (UTC)

Ah yeah you are correct actually, my bad :)

badlydrawnface commented on 2024-08-08 04:27 (UTC) (edited on 2024-08-08 04:37 (UTC) by badlydrawnface)

@gameslayer no, it builds the latest release tag, a -git package would build the last pushed commit.

a -bin package, in contrast, would download and install a precompiled binary of a release.

also can we PLEASE not have discord-rpc-git as a hard dependency, it doesn't build due to a duplicated line in their upstream .clang-format

gameslayer commented on 2024-04-13 13:43 (UTC) (edited on 2024-04-13 13:43 (UTC) by gameslayer)

Hey me again, this should be a -git package and should be renamed to srb2kart-git since it builds from source. :)

jouven commented on 2024-04-10 17:20 (UTC) (edited on 2024-04-10 17:22 (UTC) by jouven)

Warning this didn't install correctly for me because discord-rpc-git had an error during compilation. It can be circumvented by installing discord-rpc-bin first, there will be some errors while installing srb2kart but it will work after.
@Edit I don't understand why discord-rpc-git is a hard dependency (the game can be played single-player or local-coop offline).

pix3l commented on 2022-11-02 08:46 (UTC)

diff --git a/PKGBUILD b/PKGBUILD
index 1639cc6..641ec1a 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
 ## Required for game invites.
 if [ -z ${_use_discordrpc+x} ]; then
   # Automatically enable discord rpc integration if `discord-rpc-git` is installed
-  if (pacman -Q discord-rpc-git >/dev/null); then
+  if (pacman -Q discord-rpc-api >/dev/null); then
     _use_discordrpc=y
   else
     _use_discordrpc=n
@@ -29,7 +29,7 @@ makedepends=('mesa' 'glu' 'git')
 makedepends_i686=('nasm')

 if [ "${_use_discordrpc}" = "y" ]; then
-  depends+=('discord-rpc-git')
+  depends+=('discord-rpc-api')
 fi

 options=(!buildflags)

SteelT commented on 2022-06-01 01:12 (UTC)

@gameslayer @Riksu9000 Added aarch64 support, considering discord-rpc-api being replaced with discord-rpc-git forced me to update anyways.

Riksu9000 commented on 2021-09-07 08:56 (UTC)

These are the changes required to fix aarch64 build.

diff --git a/PKGBUILD b/PKGBUILD
index e40ec1c..e2d00cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ pkgver=1.3
 _dataver=1.3
 pkgrel=2
 pkgdesc="Source code modification of Sonic Robo Blast 2 with kart racing elements"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'aarch64')
 license=('GPL2')
 url='https://mb.srb2.org/showthread.php?t=43708'
 depends=('sdl2' 'sdl2_mixer' 'libpng' 'libgme' "srb2kart-data>=$_dataver")
@@ -39,7 +39,7 @@ sha256sums=('SKIP'
 build() {
   cd "$srcdir"/Kart-Public/src

-  [ "$CARCH" == "x86_64" ] && _buildflags+="LINUX64=1 " || _buildflags+="LINUX=1 "
+  [ "$CARCH" == "x86_64" -o "$CARCH" == "aarch64" ] && _buildflags+="LINUX64=1 " || _buildflags+="LINUX=1 "

   if [ "${_use_discordrpc}" = "y" ]; then
     _buildflags+="HAVE_DISCORDRPC=1"
@@ -50,7 +50,7 @@ build() {
 }

 package() {
-  [ "$CARCH" == "x86_64" ] && IS64BIT="64" || IS64BIT=""
+  [ "$CARCH" == "x86_64" -o "$CARCH" == "aarch64" ] && IS64BIT="64" || IS64BIT=""
   install -Dm755 "$srcdir"/Kart-Public/bin/Linux$IS64BIT/Release/lsdl2srb2kart \
     "$pkgdir"/usr/bin/srb2kart

gameslayer commented on 2020-08-23 14:14 (UTC) (edited on 2020-09-14 14:44 (UTC) by gameslayer)

Can you please update the makepkg file and add aarch64 to support Arm64 raspberry pi 4, I made a couple changes to the makepkg file to make it work and it works fine

Aicaya commented on 2020-07-11 15:59 (UTC) (edited on 2020-07-11 16:37 (UTC) by Aicaya)

I'd been having the same segfault issue and tried everything, so out of curiosity I decided to download the git version and that one works properly. I don't know which commit fixes it exactly (minor guess: this commit mentions OpenGL crashing on startup), but it does mean the next release will likely have that fixed so there's that.