aboutsummaryrefslogtreecommitdiff
path: root/games/mednafen
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
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')
-rw-r--r--games/mednafen/README4
-rw-r--r--games/mednafen/mednafen.SlackBuild23
-rw-r--r--games/mednafen/mednafen.info6
-rw-r--r--games/mednafen/slack-desc2
4 files changed, 7 insertions, 28 deletions
diff --git a/games/mednafen/README b/games/mednafen/README
index 0055d794f4e73..619f917c3e6ab 100644
--- a/games/mednafen/README
+++ b/games/mednafen/README
@@ -5,7 +5,3 @@ WonderSwan (Color), PC Engine/TurboGrafx 16 (CD) and SuperGrafx.
Optional dependency: Mednafen will use jack if it's available at build
time.
-
-To make Mednafen use ALSA's default output, run like so:
-
- /usr/bin/mednafen -sound.device sexyal-literal-default
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 \
diff --git a/games/mednafen/mednafen.info b/games/mednafen/mednafen.info
index 4da4413732432..3cf57c2a0cbc3 100644
--- a/games/mednafen/mednafen.info
+++ b/games/mednafen/mednafen.info
@@ -1,8 +1,8 @@
PRGNAM="mednafen"
-VERSION="1.24.3"
+VERSION="1.29.0"
HOMEPAGE="https://mednafen.github.io/"
-DOWNLOAD="https://mednafen.github.io/releases/files/mednafen-1.24.3.tar.xz"
-MD5SUM="a7e1ab14c970541369ac57e857c544fd"
+DOWNLOAD="https://mednafen.github.io/releases/files/mednafen-1.29.0.tar.xz"
+MD5SUM="61947d5a387ae59ff5e2839438fd61d6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/mednafen/slack-desc b/games/mednafen/slack-desc
index 49badfe40759b..36381972963b3 100644
--- a/games/mednafen/slack-desc
+++ b/games/mednafen/slack-desc
@@ -14,6 +14,6 @@ mednafen: (Color), GameBoy Advance, Neo Geo Pocket (Color), NES - both
mednafen: NTSC and PAL, PC-FX, WonderSwan (Color), PC Engine/TurboGrafx
mednafen: 16 (CD) and SuperGrafx.
mednafen:
-mednafen: Homepage: https://mednafen.github.io/
+mednafen: https://mednafen.github.io/
mednafen:
mednafen: