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>
This commit is contained in:
Johannes Schoepfer 2022-02-28 14:46:15 +01:00 committed by Willy Sudiarto Raharjo
parent 5f60e0b75e
commit cd022eef9d
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 7 additions and 28 deletions

View file

@ -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

View file

@ -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 \

View file

@ -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=""

View file

@ -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: