aboutsummaryrefslogtreecommitdiff
path: root/games/mednafen/mednafen.SlackBuild
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2022-02-28 14:46:15 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-01 19:35:36 +0700
commitcd022eef9db7a0b8ee7a8d0fd809dcce7b8cd2d4 (patch)
treeb0750c46039fac6cbfeb9220965b7a29210d00e1 /games/mednafen/mednafen.SlackBuild
parent5f60e0b75e64316909682503977deab5fd1b444a (diff)
games/mednafen: Updated for version 1.29.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mednafen/mednafen.SlackBuild')
-rw-r--r--games/mednafen/mednafen.SlackBuild23
1 files changed, 3 insertions, 20 deletions
diff --git a/games/mednafen/mednafen.SlackBuild b/games/mednafen/mednafen.SlackBuild
index 427baa241d3f7..a9574871cbfcf 100644
--- a/games/mednafen/mednafen.SlackBuild
+++ b/games/mednafen/mednafen.SlackBuild
@@ -1,9 +1,10 @@
#!/bin/bash
+
# Slackware build script for mednafen
# Copyright 2008 - 2014 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2014 - 2016 Ryan P.C. McQuen | Everett, WA
-# Copyright 2017 - 2020 Johannes Schoepfer, Germany
+# Copyright 2017 - 2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mednafen
-VERSION=${VERSION:-1.24.3}
+VERSION=${VERSION:-1.29.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -106,22 +104,7 @@ if [ "$ARCH" = "x86_64" ]; then
-i src/types.h
fi
-# provide buildtime pkgconfig file, which is missing in lzo-2.09
-cat << EOF > lzo2.pc
-prefix=/usr
-exec_prefix=\${prefix}
-includedir=\${prefix}/include
-libdir=/usr/lib$LIBDIRSUFFIX
-Name: lzo2
-Version: 2.09
-Description: LZO - a real-time data compression library
-URL: http://www.oberhumer.com/opensource/lzo/
-Cflags: -I\${includedir}/lzo
-Libs: -L\${libdir} -llzo2
-EOF
-
autoreconf
-PKG_CONFIG_PATH=. \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \