mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/jg-mednafen: Updated for version 1.32.0.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
24efacfbe5
commit
862c2aca89
3 changed files with 26 additions and 4 deletions
|
@ -6,11 +6,13 @@
|
|||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
# 20240208 bkw: updated for v1.32.0.
|
||||
|
||||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=jg-mednafen
|
||||
SRCNAM=mednafen
|
||||
VERSION=${VERSION:-1.31.0}
|
||||
VERSION=${VERSION:-1.32.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -58,6 +60,9 @@ 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 {} \+
|
||||
|
||||
# 20240208 bkw: patch sent upstrem (to orbea).
|
||||
patch -p1 < $CWD/pthreads_configure_ac.diff
|
||||
|
||||
LIBDIR=/usr/lib$LIBDIRSUFFIX
|
||||
PKGLIB=$PKG/$LIBDIR
|
||||
DOCDIR=/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="jg-mednafen"
|
||||
VERSION="1.31.0"
|
||||
VERSION="1.32.0"
|
||||
HOMEPAGE="https://jgemu.gitlab.io/"
|
||||
DOWNLOAD="https://gitlab.com/jgemu/mednafen/-/archive/1.31.0/mednafen-1.31.0.tar.gz"
|
||||
MD5SUM="0cc1e63a8a6a8f318e1fc16739e83215"
|
||||
DOWNLOAD="https://gitlab.com/jgemu/mednafen/-/archive/1.32.0/mednafen-1.32.0.tar.gz"
|
||||
MD5SUM="eb1107cf1c183e2770e6cea35934eaec"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="jollygood"
|
||||
|
|
17
games/jg-mednafen/pthreads_configure_ac.diff
Normal file
17
games/jg-mednafen/pthreads_configure_ac.diff
Normal file
|
@ -0,0 +1,17 @@
|
|||
diff --git a/jollygood/conf/configure.ac b/jollygood/conf/configure.ac
|
||||
index 8357435..b1d7d15 100644
|
||||
--- a/jollygood/conf/configure.ac
|
||||
+++ b/jollygood/conf/configure.ac
|
||||
@@ -89,9 +89,9 @@ if ! expr x"$host" : 'x.*-mingw*' > /dev/null &&
|
||||
AC_SEARCH_LIBS(pthread_create, [pthread])
|
||||
AC_CHECK_FUNCS(pthread_create sem_init, [],
|
||||
AC_MSG_ERROR([*** pthreads not found!]))
|
||||
- AC_CHECK_FUNCS(sem_timedwait sem_timedwait_monotonic sem_clockwait
|
||||
- sem_clockwait_np pthread_condattr_setclock pthread_setname_np
|
||||
- pthread_set_name_np pthread_getaffinity_np
|
||||
+ AC_CHECK_FUNCS(sem_timedwait sem_timedwait_monotonic sem_clockwait \
|
||||
+ sem_clockwait_np pthread_condattr_setclock pthread_setname_np \
|
||||
+ pthread_set_name_np pthread_getaffinity_np \
|
||||
pthread_setaffinity_np pthread_cond_timedwait_relative_np)
|
||||
AC_CHECK_HEADERS(pthread.h sched.h)
|
||||
AC_CHECK_HEADERS(pthread_np.h, [], [], [
|
Loading…
Reference in a new issue