system/pcem: Updated for version fa9c5ef.20220623.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3099bcfea3
commit
380353d904
|
@ -23,10 +23,7 @@ calling pcem.SlackBuild:
|
|||
PCAP=no # Disable PCAP networking (no effect without networking)
|
||||
PLUGINS=yes # Build the plugin engine
|
||||
|
||||
This SlackBuild follows the vast majority of other SlackBuilds in using
|
||||
the -O2 optimization flag. That being said, -O3 is the upstream default
|
||||
for PCem. Testing revealed no obvious performance differences, but your
|
||||
mileage may vary.
|
||||
This SlackBuild follows upstream in applying -O3 optimizations.
|
||||
|
||||
_____________
|
||||
| Rom Files |
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=pcem
|
||||
VERSION=${VERSION:-f4a1ab9.20220418}
|
||||
SRCVERSION=${SRCVERSION:-f4a1ab9c5193ebeaa5ab7da3b613dc78a5614550}
|
||||
VERSION=${VERSION:-fa9c5ef.20220623}
|
||||
SRCVERSION=${SRCVERSION:-fa9c5ef6c0e49389faaee329f52caab709762342}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -69,16 +69,17 @@ PKG=$TMP/package-$PRGNAM
|
|||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
SLKCFLAGS="-O3 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
SLKCFLAGS="-O3 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
# -fPIC causes the dynamic recompiler to crash
|
||||
SLKCFLAGS="-O3"
|
||||
LIBDIRSUFFIX=64
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
SLKCFLAGS="-O3"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
|
@ -100,9 +101,9 @@ find -L . \
|
|||
|
||||
mkdir build
|
||||
cd build
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
cmake -G "Ninja" \
|
||||
-DCMAKE_C_FLAGS_RELEASE="$SLKCFLAGS" \
|
||||
-DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DPCEM_LIB_DIR=/usr/lib$LIBDIRSUFFIX \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="pcem"
|
||||
VERSION="f4a1ab9.20220418"
|
||||
VERSION="fa9c5ef.20220623"
|
||||
HOMEPAGE="http://pcem-emulator.co.uk/"
|
||||
DOWNLOAD="https://github.com/sarah-walker-pcem/pcem/archive/f4a1ab9c5193ebeaa5ab7da3b613dc78a5614550/pcem-f4a1ab9c5193ebeaa5ab7da3b613dc78a5614550.zip"
|
||||
MD5SUM="22c4288f0f40a4e42644f97b51f94d07"
|
||||
DOWNLOAD="https://github.com/sarah-walker-pcem/pcem/archive/fa9c5ef6c0e49389faaee329f52caab709762342/pcem-fa9c5ef6c0e49389faaee329f52caab709762342.zip"
|
||||
MD5SUM="a0662fdfdca03ec769badba91f9ebe79"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="wxGTK3"
|
||||
|
|
Loading…
Reference in New Issue