summaryrefslogtreecommitdiffstats
path: root/system/dosbox-x
diff options
context:
space:
mode:
Diffstat (limited to 'system/dosbox-x')
-rw-r--r--system/dosbox-x/README3
-rw-r--r--system/dosbox-x/dosbox-x.SlackBuild18
-rw-r--r--system/dosbox-x/dosbox-x.info10
3 files changed, 19 insertions, 12 deletions
diff --git a/system/dosbox-x/README b/system/dosbox-x/README
index 17cb2022f2..fd28b9af96 100644
--- a/system/dosbox-x/README
+++ b/system/dosbox-x/README
@@ -2,3 +2,6 @@ DOSBox-X is a fork of DOSBox; while retaining compatibility with the
wide base of DOS games and DOS gaming DOSBox was designed for, it goes
further with a focus on accurate emulation of the hardware and many
more ways to tweak and configure the DOS virtual machine.
+
+libslirp is an optional, and auto-detected, dependency, adding a way
+better networking support.
diff --git a/system/dosbox-x/dosbox-x.SlackBuild b/system/dosbox-x/dosbox-x.SlackBuild
index a85e55ea3e..e0d85da80c 100644
--- a/system/dosbox-x/dosbox-x.SlackBuild
+++ b/system/dosbox-x/dosbox-x.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for dosbox-x
# Copyright 2019-2020 Leonardo Citrolo, Italy
+# Copyright 2023 Yth | Pont-en-Royans, France | yth@ythogtha.org
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dosbox-x
-VERSION=${VERSION:-0.83.22}
+VERSION=${VERSION:-2024.07.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -59,6 +60,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -73,7 +77,7 @@ cd $TMP
# in the sources tarball filename and/or main dirname
rm -rf $PRGNAM-v$VERSION $PRGNAM-$PRGNAM-v$VERSION
tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-v$VERSION.tar.gz
-cd $PRGNAM-v$VERSION || cd $PRGNAM-$PRGNAM-v$VERSION
+cd $PRGNAM-v$VERSION 2>/dev/null || cd $PRGNAM-$PRGNAM-v$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,19 +85,19 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-./autogen.sh
-
+# Don't force make -j3
+sed -i 's#make -j3#make#' build-sdl2
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure \
+./build-sdl2 \
--prefix=/usr \
--mandir=/usr/man \
--build=$ARCH-slackware-linux \
--enable-sdl2 \
--enable-d3d9 \
- --enable-d3d-shaders
+ --enable-d3d-shaders \
+ --enable-avcodec
-make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/system/dosbox-x/dosbox-x.info b/system/dosbox-x/dosbox-x.info
index e1e4d4fd35..99cb3cf710 100644
--- a/system/dosbox-x/dosbox-x.info
+++ b/system/dosbox-x/dosbox-x.info
@@ -1,10 +1,10 @@
PRGNAM="dosbox-x"
-VERSION="0.83.22"
+VERSION="2024.07.01"
HOMEPAGE="http://dosbox-x.com/"
-DOWNLOAD="https://github.com/joncampbell123/dosbox-x/archive/dosbox-x-v0.83.22/dosbox-x-dosbox-x-v0.83.22.tar.gz"
-MD5SUM="4a312c834256a57e0b7381f8c65f32b8"
+DOWNLOAD="https://github.com/joncampbell123/dosbox-x/archive/dosbox-x-v2024.07.01/dosbox-x-dosbox-x-v2024.07.01.tar.gz"
+MD5SUM="c1d66b5f8c02ae90b1798fea43b33cba"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Leo C."
-EMAIL="leoc@gmx.com"
+MAINTAINER="Yth - Arnaud"
+EMAIL="yth@ythogtha.org"