diff options
Diffstat (limited to 'games/chocolate_duke3D')
-rw-r--r-- | games/chocolate_duke3D/README | 16 | ||||
-rw-r--r-- | games/chocolate_duke3D/chocolate-duke3d | 4 | ||||
-rw-r--r-- | games/chocolate_duke3D/chocolate-duke3d.desktop | 9 | ||||
-rw-r--r-- | games/chocolate_duke3D/chocolate-duke3d.png | bin | 30571 -> 0 bytes | |||
-rw-r--r-- | games/chocolate_duke3D/chocolate_duke3D.SlackBuild | 124 | ||||
-rw-r--r-- | games/chocolate_duke3D/chocolate_duke3D.info | 10 | ||||
-rw-r--r-- | games/chocolate_duke3D/slack-desc | 19 |
7 files changed, 0 insertions, 182 deletions
diff --git a/games/chocolate_duke3D/README b/games/chocolate_duke3D/README deleted file mode 100644 index 3b9ef785b63e5..0000000000000 --- a/games/chocolate_duke3D/README +++ /dev/null @@ -1,16 +0,0 @@ -chocolate_duke3D (Faithful Duke Nukem 3D port) - -Chocolate Duke Nukem 3D is the equivalent of Chocolate Doom. - -A port that: - - 1. Remains as faithful as possible to the original source code. - 2. Is portable and compiles in one click on Windows, OS X and Linux. - 3. Is aimed at education, with lots of comments and documentation added - in order to help programmers to understand and learn. - -Note: Place "duke3d.grp" from any legit Duke 3D copy in -/usr/share/games/duke3d to play. - -Currently, only 32-bit x86 is supported. The code is not 64-bit clean, -so it won't run correctly on x86_64. diff --git a/games/chocolate_duke3D/chocolate-duke3d b/games/chocolate_duke3D/chocolate-duke3d deleted file mode 100644 index 8a51d7d26bae4..0000000000000 --- a/games/chocolate_duke3D/chocolate-duke3d +++ /dev/null @@ -1,4 +0,0 @@ - #!/bin/bash - -cd /usr/share/games/duke3d -./chocolate-duke3d $* diff --git a/games/chocolate_duke3D/chocolate-duke3d.desktop b/games/chocolate_duke3D/chocolate-duke3d.desktop deleted file mode 100644 index c7cd53403fbc3..0000000000000 --- a/games/chocolate_duke3D/chocolate-duke3d.desktop +++ /dev/null @@ -1,9 +0,0 @@ -[Desktop Entry] -Name=Chocolate Duke 3D -GenericName=Vanilla Duke Nukem 3D experience. -Type=Application -Comment=Faithful Duke Nukem 3D port, similar to Chocolate Doom. -Exec=chocolate-duke3d -Icon=chocolate-duke3d -Terminal=false -Categories=Game diff --git a/games/chocolate_duke3D/chocolate-duke3d.png b/games/chocolate_duke3D/chocolate-duke3d.png Binary files differdeleted file mode 100644 index 125d60e10c6b0..0000000000000 --- a/games/chocolate_duke3D/chocolate-duke3d.png +++ /dev/null diff --git a/games/chocolate_duke3D/chocolate_duke3D.SlackBuild b/games/chocolate_duke3D/chocolate_duke3D.SlackBuild deleted file mode 100644 index 20d22e3ee9a20..0000000000000 --- a/games/chocolate_duke3D/chocolate_duke3D.SlackBuild +++ /dev/null @@ -1,124 +0,0 @@ -#!/bin/bash - -# Slackware build script for Chocolate Duke 3D -# -# Copyright 2015 Gethyn ThomasQuail (email removed) -# All rights reserved. -# -# Based on: -# SBo's cmake-template -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -# Now maintained by B. Watson (yalhcru@gmail.com) - -# 20211004 bkw: look at upstream again, the only new commit makes the -# build include the bundled enet headers instead of the system ones, -# which we *don't* want. So, don't bother updating again. - -# 20170313 bkw: -# - i486 => i586 -# - actually use SLKCFLAGS -# - minor grammar fixes in README and slack-desc -# - use long-format github URL -# - use commit date + short hash as VERSION, instead of full hash only. -# - look at upstream, the only 2 new commits are minor edits to README.md, -# don't bother updating. - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=chocolate_duke3D -VERSION=${VERSION:-20150902_dd8db65} -COMMIT=${COMMIT:-dd8db653e08cc3029a84dbfd36b2c927a8d3e8fc} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} -GAMDIR=usr/share/games/duke3d - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -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} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$COMMIT -unzip $CWD/$PRGNAM-$COMMIT.zip -cd $PRGNAM-$COMMIT -chown -R root:root . -find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ - \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ - -# Let's compile! -./autogen.sh -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure -make #V=1 - -# Copies over compiled binary -install -D -m 0755 chocolate-duke3d $PKG/$GAMDIR/chocolate-duke3d - -# Desktop and launcher related stuff -install -D -m 0644 $CWD/chocolate-duke3d.png $PKG/usr/share/pixmaps/chocolate-duke3d.png -install -D -m 0644 $CWD/chocolate-duke3d.desktop $PKG/usr/share/applications/chocolate-duke3d.desktop -install -D -m 0755 $CWD/chocolate-duke3d $PKG/usr/games/chocolate-duke3d - -# Make it so the games group can access the dir -# 20170313 bkw: does this actually accomplish anything? -chgrp games $PKG/$GAMDIR -chmod 775 $PKG/$GAMDIR - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/games/chocolate_duke3D/chocolate_duke3D.info b/games/chocolate_duke3D/chocolate_duke3D.info deleted file mode 100644 index 2b7b2802decc6..0000000000000 --- a/games/chocolate_duke3D/chocolate_duke3D.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="chocolate_duke3D" -VERSION="20150902_dd8db65" -HOMEPAGE="https://github.com/fabiensanglard/chocolate_duke3D/" -DOWNLOAD="https://github.com/fabiensanglard/chocolate_duke3D/archive/dd8db653/chocolate_duke3D-dd8db653e08cc3029a84dbfd36b2c927a8d3e8fc.zip" -MD5SUM="ce87a33d07de869584261191404e6f16" -DOWNLOAD_x86_64="UNSUPPORTED" -MD5SUM_x86_64="" -REQUIRES="enet" -MAINTAINER="B. Watson" -EMAIL="yalhcru@gmail.com" diff --git a/games/chocolate_duke3D/slack-desc b/games/chocolate_duke3D/slack-desc deleted file mode 100644 index 4db4cdb25e149..0000000000000 --- a/games/chocolate_duke3D/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -chocolate_duke3D: chocolate_duke3D (Faithful Duke Nukem 3D port) -chocolate_duke3D: -chocolate_duke3D: Chocolate Duke Nukem 3D is the equivalent of Chocolate Doom. -chocolate_duke3D: A port that: -chocolate_duke3D: Remains as faithful as possible to the original source code. -chocolate_duke3D: Is portable and compiles in one click on Windows, OS X and Linux. -chocolate_duke3D: Is aimed at education, with lots of comments and documentation added -chocolate_duke3D: in order to help programmers to understand and learn. -chocolate_duke3D: -chocolate_duke3D: Homepage: https://github.com/fabiensanglard/chocolate_duke3D -chocolate_duke3D: |