Package Details: ioquake3-git 20180304.gd28e667e-1

Git Clone URL: https://aur.archlinux.org/ioquake3-git.git (read-only)
Package Base: ioquake3-git
Description: The de-facto OSS Quake 3 distribution. You need the retail/demo .pk3 files to play.
Upstream URL: http://ioquake3.org/
Licenses: GPL
Conflicts: ioquake3-svn, quake3, quake3-icculus-svn, quake3-svn
Provides: ioquake3, quake3
Replaces: ioquake3-svn, quake3-icculus-svn
Submitter: Slash
Maintainer: Slash
Last Packager: Slash
Votes: 68
Popularity: 0.001632
First Submitted: 2013-01-22 00:31
Last Updated: 2018-03-04 18:43

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Slash commented on 2014-01-07 02:12

Thanks, updated.

andreyv commented on 2014-01-06 14:42

Hello again,

Here are some follow-up changes: http://pastie.org/8606663

* Manually add include path for opus codec to make it work
* Add mumble description in optdepends
* Use HTTPS for git source

andreyv commented on 2014-01-05 21:36

Thanks! BTW, 'nasm' is no longer needed as a dependency.

Slash commented on 2014-01-05 21:14

Thanks for the contribution, it seems to work well. I symlinked the pk3 files to demoq3/ by default to simplify the .install instructions.

samlt commented on 2014-01-05 15:28


hello andreyv,

I've tested your changes, it's working smoothly!

Nice update btw, thanks!

andreyv commented on 2014-01-05 12:35

Hi, I would like to contribute some changes as well. Currently there are these problems with the package:

* It takes time and space to build files that are normally not necessary (.so and .qvm)
* It does not enable the new ioquake3-specific features
* It uses bundled code/headers instead of the system ones

There are Make variables that allow to control ioquake3 build process and solve the problems listed above, see https://github.com/ioquake/ioq3/#compilation-and-installation. I have updated the package files to use them:

https://dl.dropboxusercontent.com/u/24028280/ioquake3-git-20131217.gbc2efc4-1.src.tar.gz

More detailed changelog:
* There is no need to have separate launchers, instead use DEFAULT_BASEDIR and symlink binaries
* Rename quake3ded to the standard q3ded
* Set OPTIMIZE='' to use system compiler flags from makepkg.conf
* Don't build .so and .qvm files
* Use openal, curl, audio codecs, voip support, freetype font rendering
* Disable unneeded dlopen()
* Use system versions instead of bundled libraries and headers
* Don't generate source dependencies for faster compilation
* Extract patch files in prepare() function
* The "Opus" codec support seems to be broken now, so don't enable it
* Also build the new renderer engine

It would be nice if someone could test and comment on it. Thanks.

Regarding the Q3 Demo comments in quake3.install, which say that the .so files are needed: I tried the Q3 Demo version and it seems to work without .so after I copied the pak{1..8}.pk3 files from the baseq3 directory. So I updated the instructions in quake3.install accordingly.

Slash commented on 2013-12-26 02:21

Thanks, I modernized the PKGBUILD.

samlt commented on 2013-12-17 20:06

hello,

Here is a patch to make use of pacman VCS support for the sources:

diff --git a/ioquake3-git/PKGBUILD b/ioquake3-git/PKGBUILD
index 8006222..162a214 100644
--- a/ioquake3-git/PKGBUILD
+++ b/ioquake3-git/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Slash <demodevil5[at]yahoo[dot]com>

pkgname=ioquake3-git
-pkgver=20130121
+pkgver=20131217.g90331bb
pkgrel=1
pkgdesc="The de-facto OSS Quake 3 distribution. You need the retail/demo .pk3 files to play."
url="http://ioquake3.org/"
@@ -13,34 +13,27 @@ conflicts=('quake3' 'quake3-icculus-svn' 'quake3-svn' 'ioquake3-svn')
provides=('quake3' 'ioquake3')
replaces=('quake3-icculus-svn' 'ioquake3-svn')
install=quake3.install
-source=('quake3.desktop' 'quake3.launcher' 'quake3ded.launcher' \
-'http://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-1.32b-3.x86.run')
+source=('quake3.desktop'
+ 'quake3.launcher'
+ 'quake3ded.launcher'
+ 'http://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/quake3/linux/linuxq3apoint-1.32b-3.x86.run'
+ 'git://github.com/ioquake/ioq3.git')
md5sums=('9eca51e2b3ee3e0100944cba436a2a4c'
'ea5d99df80b41269523b34229fdf854d'
'ea5d99df80b41269523b34229fdf854d'
- 'c71fdddccb20e8fc393d846e9c61d685')
+ 'c71fdddccb20e8fc393d846e9c61d685'
+ 'SKIP')

-_gitroot=git://github.com/ioquake/ioq3.git
-_gitname=quake3
+_gitname=ioq3

-build() {
- cd $srcdir
-
- msg "Connecting to GIT server...."
-
- if [[ -d "$_gitname" ]]; then
- cd "$_gitname" && git pull origin
- msg "The local files are updated."
- else
- git clone "$_gitroot" "$_gitname"
- fi
+pkgver() {
+ cd "$srcdir/$_gitname"
+ git log -1 --format="%cd.g%h" --date=short | sed 's/-//g'
+}

- msg "GIT checkout done or server timeout"
- msg "Starting build..."

- rm -rf "$srcdir/$_gitname-build"
- git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
- cd "$srcdir/$_gitname-build"
+build() {
+ cd "$srcdir/$_gitname"

# Modify Makefile to correct install path
/bin/sed -i "s:/usr/local/games/quake3:$pkgdir/opt/quake3:" Makefile
@@ -50,15 +43,15 @@ build() {
}

package() {
- cd "$srcdir/$_gitname-build"
+ cd "$srcdir/$_gitname"

# Install Files
make copyfiles || return 1

# Extract Patch Files
- cd $srcdir
- chmod +x $srcdir/linuxq3apoint-1.32b-3.x86.run
- $srcdir/linuxq3apoint-1.32b-3.x86.run --tar xf
+ cd "$srcdir"
+ chmod +x "$srcdir/linuxq3apoint-1.32b-3.x86.run"
+ "$srcdir/linuxq3apoint-1.32b-3.x86.run" --tar xf

# Modify Launcher Scripts
if [ "$CARCH" = "x86_64" ]; then
@@ -100,6 +93,6 @@ package() {
$pkgdir/usr/share/applications/quake3.desktop

# Install Icon File
- install -D -m 644 $srcdir/quake3-build/misc/quake3.png \
- $pkgdir/usr/share/pixmaps/quake3.png
+ install -D -m 644 "$srcdir/$_gitname/misc/quake3.png" \
+ "$pkgdir/usr/share/pixmaps/quake3.png"
}



Also, not that $srcdir et $pkgdir may point to a directory containing spaces, so they should be quoted:
(applies on top of the previous one):

iff --git a/ioquake3-git/PKGBUILD b/ioquake3-git/PKGBUILD
index 162a214..075785c 100644
--- a/ioquake3-git/PKGBUILD
+++ b/ioquake3-git/PKGBUILD
@@ -59,40 +59,41 @@ package() {
# x86_64 Systems
#
/bin/sed -i "s:IOQ3_BINARY:ioquake3.x86_64:" \
- $srcdir/quake3.launcher
+ "$srcdir/quake3.launcher"
/bin/sed -i "s:IOQ3_BINARY:ioq3ded.x86_64:" \
- $srcdir/quake3ded.launcher
+ "$srcdir/quake3ded.launcher"
else
#
# i686 Systems
#
/bin/sed -i "s:IOQ3_BINARY:ioquake3.i386:" \
- $srcdir/quake3.launcher
+ "$srcdir/quake3.launcher"
/bin/sed -i "s:IOQ3_BINARY:ioq3ded.i386:" \
- $srcdir/quake3ded.launcher
+ "$srcdir/quake3ded.launcher"
fi

# Install Quake 3 Patch Files
- install -m 644 $srcdir/baseq3/*.pk3 \
- $pkgdir/opt/quake3/baseq3/
+ install -m 644 "$srcdir"/baseq3/*.pk3 \
+ "$pkgdir/opt/quake3/baseq3/"

# Install Quake 3 Expansion Pack Patch Files
- install -m 644 $srcdir/missionpack/*.pk3 \
- $pkgdir/opt/quake3/missionpack/
+ install -m 644 "$srcdir"/missionpack/*.pk3 \
+ "$pkgdir/opt/quake3/missionpack/"

# Install Launcher (Client)
- install -D -m 755 $srcdir/quake3.launcher \
- $pkgdir/usr/bin/quake3
+ install -D -m 755 "$srcdir/quake3.launcher" \
+ "$pkgdir/usr/bin/quake3"

# Install Launcher (Server)
- install -D -m 755 $srcdir/quake3ded.launcher \
- $pkgdir/usr/bin/quake3ded
+ install -D -m 755 "$srcdir/quake3ded.launcher" \
+ "$pkgdir/usr/bin/quake3ded"

# Install Desktop File
- install -D -m 644 $srcdir/quake3.desktop \
- $pkgdir/usr/share/applications/quake3.desktop
+ install -D -m 644 "$srcdir/quake3.desktop" \
+ "$pkgdir/usr/share/applications/quake3.desktop"

# Install Icon File
install -D -m 644 "$srcdir/$_gitname/misc/quake3.png" \
"$pkgdir/usr/share/pixmaps/quake3.png"
}
+

alucryd commented on 2013-02-16 23:07

merging into git version

Slash commented on 2013-01-22 00:31

@omer666: Yes, they switched to github. I created a new PKGBUILD, ioquake3-git, available here: https://aur.archlinux.org/packages/ioquake3-git/