Package Details: srb2kart 1.6-1

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: 13
Popularity: 0.83
First Submitted: 2019-01-21 04:28 (UTC)
Last Updated: 2022-11-04 19:56 (UTC)

Latest Comments

1 2 Next › Last »

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.

DilithiumNitrate commented on 2020-05-26 18:17 (UTC)

I'm getting segfaults on both of my Arch Linux machines, one with Intel graphics and the other with AMD graphics, when loading this game with OpenGL enabled. Consistently, even after trying to adjust compilation flags or compiling with CMake. Software rendering works, however.

zetaPRIME commented on 2020-03-15 16:27 (UTC) (edited on 2020-03-15 16:30 (UTC) by zetaPRIME)

The particular issue seems to be that those directories get their user write bits removed somehow??

EDIT: it's just leftover from a previous version it looks like; reinstalling doesn't result in the same error

treier57lol commented on 2020-03-14 06:07 (UTC) (edited on 2020-03-14 06:22 (UTC) by treier57lol)

Still getting the same error on pamac and yay. Also pamac failes to clone the packages at all.

==> Removing existing $srcdir/ directory...
rm: cannot remove '/home/treier57lol/.cache/yay/srb2kart/src/mdls/ENMY': Permission denied
rm: cannot remove '/home/treier57lol/.cache/yay/srb2kart/src/mdls/OBJE': Permission denied
rm: cannot remove '/home/treier57lol/.cache/yay/srb2kart/src/mdls/KAOB': Permission denied
rm: cannot remove '/home/treier57lol/.cache/yay/srb2kart/src/mdls/KAPL': Permission denied

==> ERROR: An unknown error has occurred. Exiting...
Error making: srb2kart

Edit: after removing the cache files manualy I could install with yay successfully although it still couldn't remove the folders, but pamac still doesn't even clone the build files.