diff options
Diffstat (limited to 'games/freedink')
-rw-r--r-- | games/freedink/README | 43 | ||||
-rw-r--r-- | games/freedink/README.SBo | 49 | ||||
-rw-r--r-- | games/freedink/freedink.SlackBuild | 18 | ||||
-rw-r--r-- | games/freedink/freedink.info | 2 | ||||
-rw-r--r-- | games/freedink/slack-desc | 10 |
5 files changed, 78 insertions, 44 deletions
diff --git a/games/freedink/README b/games/freedink/README index 37eb59017f..96b7507c2f 100644 --- a/games/freedink/README +++ b/games/freedink/README @@ -1,37 +1,12 @@ -Freedink is a free role play game in real. You take -control of Dink Smallwood and guide through his many adventures. -There are many battles to fought and riddles to be solved. -You can install additional advanture through additional D-Mods -which are available at https://www.dinknetwork.com. +Freedink is a free role-playing game. You take control of +Dink Smallwood and guide him through his many adventures. +There are many battles to be fought and riddles to be solved. +You can install additional adventures through additional D-Mods +which are available at -Known issues: -- Parallel compilation may result in a failed build. + https://www.dinknetwork.com -- Freedink might start in a maximized, not resizable window. Parts of - it may be outside the Desktop. If this happens then start the - program from CLI in windowed mode: - - freedink -i -w - - Afterwards you can switch to fullscreen by pressing Alt+Enter. - -- Not all music will be available. See this review (bottom) for - some more info on this matter: - - https://www.dinknetwork.com/file/gnu_freedink/review/scratcher - -Optional dependency: -- upx - If upx is installed on the system then it is automatically - detected and considered at compile time. - - If for some reason this is not desired then the script - should be called as - - ENABLE_UPX=no ./freedink.Slackbuild - - If UPX resides in a non-standard location then it - can be provided by setting - - UPX=/path/to/upx ./freedink.Slackbuild +For optional dependencies see README.SBo, +especially if you want to play MIDIs with 'fluidsynth' and +'fluid-soundfont' (recommended). diff --git a/games/freedink/README.SBo b/games/freedink/README.SBo new file mode 100644 index 0000000000..44abdf08f7 --- /dev/null +++ b/games/freedink/README.SBo @@ -0,0 +1,49 @@ +Known build issues: +------------------- + +- Parallel compilation may result in a failed build (but, as of + Slackware 15.0, it seems to work fine). + +- Freedink will play MIDI files if 'fluid-soundfont' + has been installed. + +- Not all music might be available. See this review (bottom) for + some more info on this subject: + + https://www.dinknetwork.com/file/gnu_freedink/review/scratcher + + +Known runtime issues: +--------------------- + +- Freedink might start in a maximized, not resizable window. Parts of + it may be outside the Desktop. If this happens then start the + program in windowed mode. If you are using 'dfarc' you can + just check the corresponding box, otherwise you can start 'freedink' + from the CLI in windowes mode: + + freedink -i -w + + Afterwards you can switch to fullscreen by pressing Alt+Enter. + + +Optional dependencies: +---------------------- + +- Recommended: 'fluid-soundfont'. + See above for possible issues. + +- 'upx' + If 'upx' is installed on the system then it is automatically + detected and considered at compile time. + + If for some reason this is not desired then the script + should be called as + + ENABLE_UPX=no ./freedink.Slackbuild + + If UPX resides in a non-standard location then it + can be provided by setting + + UPX=/path/to/upx ./freedink.Slackbuild + diff --git a/games/freedink/freedink.SlackBuild b/games/freedink/freedink.SlackBuild index 28484cce1f..ff2a013f49 100644 --- a/games/freedink/freedink.SlackBuild +++ b/games/freedink/freedink.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for freedink @@ -22,12 +22,15 @@ # 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=freedink PRGDATANAME=${PRGDATANAME:-$PRGNAM-data-*} PRGDATANAME=${PRGDATANAME%.tar.gz} VERSION=${VERSION:-109.6} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -37,7 +40,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} @@ -136,4 +146,4 @@ 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:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/games/freedink/freedink.info b/games/freedink/freedink.info index fb30d2eb2f..47447b2f44 100644 --- a/games/freedink/freedink.info +++ b/games/freedink/freedink.info @@ -7,6 +7,6 @@ MD5SUM="cdec0ef4db6d15b767f696745ef0ae2f \ 6703e773f06dc53afa4094775beaff8d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="SDL2_image SDL2_mixer SDL2_ttf SDL2_gfx glm cxxtest" +REQUIRES="glm" MAINTAINER="CRTS" EMAIL="crts [at] gmx [dot] net" diff --git a/games/freedink/slack-desc b/games/freedink/slack-desc index fe0576c3cf..c812af50e3 100644 --- a/games/freedink/slack-desc +++ b/games/freedink/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| freedink: freedink (free RPG) freedink: -freedink: Freedink is a free role play game in real. You take -freedink: control of Dink Smallwood and guide through his many adventures. -freedink: There are many battles to fought and riddles to be solved. -freedink: Additional D-Mods are available at https://www.dinknetwork.com +freedink: Freedink is a free role-playing game. You take +freedink: control of Dink Smallwood and guide him through his many +freedink: adventures. There are many battles to be fought and riddles to be +freedink: solved. +freedink: Additional D-Mods available at: 'https://www.dinknetwork.com' freedink: freedink: Homepage: https://www.gnu.org/software/freedink freedink: freedink: -freedink: |