Package Details: iortcw-git 1.51c.r129.g438e7d41-1

Git Clone URL: https://aur.archlinux.org/iortcw-git.git (read-only, click to copy)
Package Base: iortcw-git
Description: Merge of ioquake3 features and fixes into Return to Castle Wolfenstein
Upstream URL: https://github.com/iortcw/iortcw
Keywords: Castle games Return RTCW To Wolfenstein
Licenses: GPL3
Conflicts: iortcw
Provides: iortcw
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 14
Popularity: 0.031936
First Submitted: 2015-03-25 11:13 (UTC)
Last Updated: 2025-02-16 19:59 (UTC)

Latest Comments

bobpaul commented on 2025-02-24 22:09 (UTC) (edited on 2025-03-05 19:55 (UTC) by bobpaul)

I was able to play this on ppc64le, ppc64, and ppc.

Anyway, if you'd be willing to add this patch to your PKGBUILD I'd appreciate it

diff --git a/PKGBUILD b/PKGBUILD
index aa8965c..0483f97 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,10 +6,10 @@ pkgname=iortcw-git
 pkgver=1.51c.r129.g438e7d41
 pkgrel=1
 pkgdesc="Merge of ioquake3 features and fixes into Return to Castle Wolfenstein"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'powerpc64le' 'powerpc64' 'powerpc')
 url="https://github.com/iortcw/iortcw"
 license=('GPL3')
-depends=('freetype2' 'graphite' 'harfbuzz' 'iortcw-data' 'libjpeg-turbo' 'libogg' 'openal' 'opus' 'opusfile' 'pcre' 'sdl2-compat' 'zlib')
+depends=('freetype2' 'graphite' 'harfbuzz' 'iortcw-data' 'libjpeg-turbo' 'libogg' 'openal' 'opus' 'opusfile' 'pcre' 'sdl2' 'zlib')
 conflicts=("${pkgname%-git}")
 provides=("${pkgname%-git}")
 makedepends=('git')
@@ -26,27 +26,34 @@ pkgver() {
   git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

+
+case "${CARCH}" in
+  powerpc) EXTRAOPTS='COMPILE_ARCH=ppc' ;;
+  *) EXTRAOPTS='' ;;
+esac
+
+
 build() {
   cd "${srcdir}/iortcw"

   # Build Single Player
   cd SP
-  make USE_INTERNAL_LIBS=0
+  make USE_INTERNAL_LIBS=0 $EXTRAOPTS

   # Build Multi Player
   cd ../MP
-  make USE_INTERNAL_LIBS=0
+  make USE_INTERNAL_LIBS=0 $EXTRAOPTS
 }

 package() {
   cd "${srcdir}/iortcw"

   cd SP
-  make USE_INTERNAL_LIBS=0 \
+  make USE_INTERNAL_LIBS=0 $EXTRAOPTS \
     COPYDIR="${pkgdir}/opt/iortcw" copyfiles

   cd ../MP
-  make USE_INTERNAL_LIBS=0 \
+  make USE_INTERNAL_LIBS=0 $EXTRAOPTS \
     COPYDIR="${pkgdir}/opt/iortcw" copyfiles

   ln -s /opt/iortcw-data/pak0.pk3 \
@@ -93,14 +100,13 @@ package() {
     "${pkgdir}/opt/iortcw/openurl.sh"

   # Modify Launcher Scripts
-  if [ "$CARCH" = "x86_64" ]; then
-
-    # x86_64 Systems
-    TARGET=x86_64
-  else
-    # i686 Systems
-    TARGET=x86
-  fi
+  case "${CARCH}" in
+   "x86_64") TARGET=x86_64 ;;
+   "i686") TARGET=x86 ;;
+   "powerpc") TARGET=ppc ;;
+   "powerpc64") TARGET=ppc64 ;;
+   "powerpc64le") TARGET=ppc64le ;;
+  esac

   sed -i "s:ARCH:$TARGET:" \
     "${srcdir}"/iortcw-sp.*

bobpaul commented on 2025-02-23 15:19 (UTC)

sdl2-compat provides sdl2. This should depend on sdl2 not on sdl2-compat.

r4v3n6101 commented on 2020-08-03 12:24 (UTC)

cmake isn't required while building, remove it plz

alexbrinister commented on 2019-10-27 20:14 (UTC)

libjpeg-turbo should be part of makedepends. When built in a chroot, the package fails to build with an error about missing jpeglib.h.

browniesrgut commented on 2019-10-14 20:12 (UTC)

Hello,

The package failed at the symbolic links parts

ln: cannot create symbolic link '.../iortcw-git/pkg/iortcw-git/opt/realrtcw/main'...

I had to add "mkdir -p $pkgdir/opt/realrtcw/main" before "ln" commands in PKGBUILD. Package builds fine after that.

Neros commented on 2017-08-25 10:53 (UTC)

I can't compile anymore: ``` In file included from code/client/cl_main.c:35:0: code/client/../sys/sys_loadlib.h:42:12: fatal error: SDL.h: No such file or directory # include <SDL.h> ^~~~~~~ compilation terminated. make[2]: *** [Makefile:2502: build/release-linux-x86_64/client/cl_main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/tmp/yaourt-tmp-neros/aur-iortcw-git/src/iortcw/SP' make[1]: *** [Makefile:1342: targets] Error 2 make[1]: Leaving directory '/tmp/yaourt-tmp-neros/aur-iortcw-git/src/iortcw/SP' make: *** [Makefile:1260: release] Error 2 ==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Makepkg was unable to build . ```

robertfoster commented on 2015-11-10 16:53 (UTC)

moved to iortcw-git.

mpz commented on 2015-11-08 23:45 (UTC)

build() blindly print "pak0.pk3 doesn't exist. This process will be terminated" and then: ==> Starting package()... /tmp/iortcw-svn/PKGBUILD: line 38: cd: SP: No such file or directory ==> ERROR: A failure occurred in package(). Aborting...

mpz commented on 2015-11-08 23:14 (UTC)

==> ERROR: Cannot find the git package needed to handle git sources.

bebehei commented on 2014-12-29 15:13 (UTC)

Hi, I had to install the package openal to compile the package successfully. Could you please add this to the dependency-array? Thanks. Here is the error-message: In file included from code/client/snd_openal.c:30:0: code/client/qal.h:45:21: fatal error: AL/al.h: No such file or directory #include <AL/al.h> ^ compilation terminated. Makefile:2458: recipe for target 'build/release-linux-x86_64/client/snd_openal.o' failed make[2]: *** [build/release-linux-x86_64/client/snd_openal.o] Error 1