summaryrefslogtreecommitdiffstats
path: root/games/vkQuake
diff options
context:
space:
mode:
Diffstat (limited to 'games/vkQuake')
-rw-r--r--games/vkQuake/vkQuake.SlackBuild25
-rw-r--r--games/vkQuake/vkQuake.info10
2 files changed, 21 insertions, 14 deletions
diff --git a/games/vkQuake/vkQuake.SlackBuild b/games/vkQuake/vkQuake.SlackBuild
index a6303f50df..b083a5a943 100644
--- a/games/vkQuake/vkQuake.SlackBuild
+++ b/games/vkQuake/vkQuake.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for vkQuake
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=vkQuake
-VERSION=${VERSION:-1.05.2}
+VERSION=${VERSION:-1.30.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -68,8 +78,8 @@ make -C Quake clean
CFLAGS="$SLKCFLAGS" \
make -C Quake \
- USE_CODEC_FLAC=1
-
+ USE_CODEC_FLAC=1 \
+ USE_CODEC_OPUS=1
make -C Misc/vq_pak
# Create directories and install binary
@@ -78,9 +88,6 @@ mkdir -p $PKG/usr/share/games/vkQuake/id1
install -Dm755 Quake/vkquake $PKG/usr/share/games/vkQuake
install -Dm755 $CWD/vkquake $PKG/usr/games
-# Copy pak file
-install -Dm644 Misc/vq_pak/vkquake.pak $PKG/usr/share/games/vkQuake/id1
-
# Install icon and application
mkdir -p $PKG/usr/share/{pixmaps,applications}
cp Misc/vkQuake_512.png $PKG/usr/share/pixmaps
@@ -98,4 +105,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/vkQuake/vkQuake.info b/games/vkQuake/vkQuake.info
index 9153868579..c434fe3f89 100644
--- a/games/vkQuake/vkQuake.info
+++ b/games/vkQuake/vkQuake.info
@@ -1,10 +1,10 @@
PRGNAM="vkQuake"
-VERSION="1.05.2"
+VERSION="1.30.1"
HOMEPAGE="https://github.com/Novum/vkQuake"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/Novum/vkQuake/archive/1.05.2/vkQuake-1.05.2.tar.gz"
-MD5SUM_x86_64="1f832dd12c5ce03387e9e5b651b32846"
-REQUIRES="SDL2 vulkan-sdk-bin"
+DOWNLOAD_x86_64="https://github.com/Novum/vkQuake/archive/1.30.1/vkQuake-1.30.1.tar.gz"
+MD5SUM_x86_64="1b7a8536161f1b342850eebcef551eb6"
+REQUIRES="zopfli"
MAINTAINER="M.Dinslage"
-EMAIL="daedra1980@gmail.com"
+EMAIL="matthewdinslage@gmail.com"