Dosbox: enable dynamic-cores (#1442)

* Dosbox: enable dynamic-cores

* Missing patchset
This commit is contained in:
miqlas
2017-06-18 11:04:40 +02:00
committed by diversys
parent a2014f0021
commit ffea174175
3 changed files with 55 additions and 23 deletions

View File

@@ -9,13 +9,13 @@ older games...
You can re-live the good old days with the help of DOSBox, it can run plenty \
of the old classics that don't run on your new computer!
DOSBox is totally free of charge and OpenSource."
HOMEPAGE="http://www.dosbox.com"
HOMEPAGE="http://www.dosbox.com/"
COPYRIGHT="2002-2013 The DosBox Team"
LICENSE="GNU GPL v2"
REVISION="4"
REVISION="5"
SOURCE_URI="http://sourceforge.net/projects/dosbox/files/dosbox/$portVersion/dosbox-$portVersion.tar.gz"
CHECKSUM_SHA256="13f74916e2d4002bad1978e55727f302ff6df3d9be2f9b0e271501bd0a938e05"
PATCHES="powf.patch"
PATCHES="dosbox-$portVersion.patchset"
ADDITIONAL_FILES="dosbox.rdef"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
@@ -57,7 +57,16 @@ BUILD_PREREQUIRES="
BUILD()
{
LDFLAGS=-lnetwork runConfigure ./configure --disable-dynamic-core
# Dynamic core x86 and fpu-x86 available on on x86 cpu
LDFLAGS=-lnetwork runConfigure ./configure \
--enable-core-inline \
--enable-dynamic-core \
--enable-dynamic-x86 \
--enable-dynrec \
--enable-fpu \
--enable-fpu-x86 \
--enable-unaligned_memory \
--enable-opengl
make $jobArgs
}
@@ -65,6 +74,8 @@ INSTALL()
{
make install
strip $binDir/dosbox
addResourcesToBinaries $portDir/additional-files/dosbox.rdef $binDir/dosbox
addAppDeskbarSymlink $binDir/dosbox "DOSBox"
}