From 513bdd579271ee972218ad7677f54a2396cfdb3f Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Sat, 27 Apr 2019 04:39:22 +0700 Subject: games/pioneer: Updated for version 20190203. Signed-off-by: Willy Sudiarto Raharjo --- games/pioneer/README | 25 ++++++------- games/pioneer/pioneer.SlackBuild | 78 +++++++++++++++++----------------------- games/pioneer/pioneer.info | 8 ++--- 3 files changed, 47 insertions(+), 64 deletions(-) diff --git a/games/pioneer/README b/games/pioneer/README index a1e0b59768..503019598a 100644 --- a/games/pioneer/README +++ b/games/pioneer/README @@ -1,27 +1,22 @@ -Pioneer is a space adventure game set in the Milky Way galaxy at the turn of -the 31st century. +Pioneer is a space adventure game set in the Milky Way galaxy at the +turn of the 31st century. The game is open-ended, and you are free to explore the millions of star -systems in the game. You can land on planets, slingshot past gas giants, and -burn yourself to a crisp flying between binary star systems. You can try your -hand at piracy, make your fortune trading between systems, or do missions for -the various factions fighting for power, freedom or self-determination. +systems in the game. You can land on planets, slingshot past gas giants, +and burn yourself to a crisp flying between binary star systems. You can +try your hand at piracy, make your fortune trading between systems, or +do missions for the various factions fighting for power, freedom or +self-determination. -OpenGL core profile version 3.1 or newer is a runtime dependency, to determine -what version of OpenGL is installed use: +OpenGL core profile version 3.1 or newer is a runtime dependency, to +determine what version of OpenGL is installed use: glxinfo | grep "core profile version" Note: If you have intel or amd GPU with free drivers, it is recommended to install libtxc_dxtn as well. -Pioneer's game data needs around 400M of hard drive space. By default, the -game data is installed in /usr/share/games/pioneer. The SlackBuild allows -choosing an alternate game data directory using the DATADIR option. For -example, to install the data in -/opt/pioneer -- - - DATADIR=/opt ./pioneer.SlackBuild +lua52 is an optional dependency. To build with debugging support use: diff --git a/games/pioneer/pioneer.SlackBuild b/games/pioneer/pioneer.SlackBuild index ab1ca14870..ab07afcbcf 100644 --- a/games/pioneer/pioneer.SlackBuild +++ b/games/pioneer/pioneer.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# Slackware build script for Pioneer +# Slackware build script for pioneer -# Copyright 2015-2018 Hunter Sezen California, USA +# Copyright 2015-2019 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=pioneer SRCNAM=$(printf %s $PRGNAM | tr [a-z] [A-Z]) -VERSION=${VERSION:-20180203} +VERSION=${VERSION:-20190203} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,56 +70,44 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -if [ "${DEBUG:-no}" != no ]; then - debug="--enable-debug \ - --with-no-optimise \ - --with-fno-inline" +if [ "${DEBUG:=0}" != 0 ]; then + RELEASE=Debug SLKCFLAGS="$(printf %s "$SLKCFLAGS" | sed 's/-O2/-O0/')" else - debug='--with-strip' + RELEASE=Release fi -# Generate the configure file -./bootstrap - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -PIONEER_DATA_DIR="${DATADIR:-/usr/share/games}/$PRGNAM" \ -./configure \ - --prefix=/usr \ - --bindir=/usr/games \ - $debug \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -# Write a desktop file -mkdir -p $PKG/usr/share/applications -cat > $PKG/usr/share/applications/$PRGNAM.desktop < /dev/null || true +fi + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a licenses *.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/games/pioneer/pioneer.info b/games/pioneer/pioneer.info index abe9c5d950..8268860a84 100644 --- a/games/pioneer/pioneer.info +++ b/games/pioneer/pioneer.info @@ -1,10 +1,10 @@ PRGNAM="pioneer" -VERSION="20180203" +VERSION="20190203" HOMEPAGE="https://pioneerspacesim.net/" -DOWNLOAD="https://github.com/pioneerspacesim/pioneer/archive/20180203/pioneer-20180203.tar.gz" -MD5SUM="fa8d854760c09e32e5fe0a9dfbfd3f5f" +DOWNLOAD="https://github.com/pioneerspacesim/pioneer/archive/20190203/pioneer-20190203.tar.gz" +MD5SUM="3c90e65a937d8741d85ef6b23d8c2c3e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="SDL2_image assimp" MAINTAINER="Hunter Sezen" -EMAIL="orbea@fredslev.dk" +EMAIL="orbea@riseup.net" -- cgit v1.2.3