fs-uae: update to 3.1.66.
This commit is contained in:
parent
9b08b3475e
commit
f923ef7b94
@ -1,11 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Name=FS-UAE
|
|
||||||
Comment=FS-UAE Amiga Emulator
|
|
||||||
TryExec=fs-uae
|
|
||||||
Exec=fs-uae %f
|
|
||||||
StartupNotify=true
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Icon=fs-uae
|
|
||||||
Categories=Applications;Emulators;Game
|
|
||||||
|
|
@ -1,36 +1,42 @@
|
|||||||
# Template file for 'fs-uae'
|
# Template file for 'fs-uae'
|
||||||
pkgname=fs-uae
|
pkgname=fs-uae
|
||||||
version=3.0.5
|
version=3.1.66
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake gettext libtool pkg-config zip"
|
hostmakedepends="pkg-config gettext zip"
|
||||||
makedepends="glew-devel libmpeg2-devel SDL2-devel MesaLib-devel
|
makedepends="libmpeg2-devel SDL2-devel libglib-devel libpng-devel libopenal-devel"
|
||||||
freetype-devel libglib-devel libpng-devel libopenal-devel"
|
|
||||||
depends="desktop-file-utils hicolor-icon-theme"
|
|
||||||
short_desc="FS-UAE Amiga Emulator"
|
short_desc="FS-UAE Amiga Emulator"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-only"
|
license="GPL-2.0-only"
|
||||||
homepage="https://fs-uae.net"
|
homepage="https://fs-uae.net"
|
||||||
distfiles="https://fs-uae.net/stable/${version}/${pkgname}-${version}.tar.gz"
|
distfiles="https://fs-uae.net/files/FS-UAE/Stable/${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=f26ec42e03cf1a7b53b6ce0d9845aa45bbf472089b5ec046b3eb784ec6859fe3
|
checksum=606e1868b500413d69bd33bb469f8fd08d6c08988801f17b7dd022f3fbe23832
|
||||||
nocross="./gen/genlinetoscr: cannot execute binary file: Exec format error"
|
|
||||||
nopie=yes
|
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*|i686*) ;;
|
x86_64*|i686*) nopie=yes ;;
|
||||||
*) configure_args+=" --disable-jit" ;;
|
*) configure_args+=" --disable-jit" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
CFLAGS="-Wno-error -Wno-narrowing -Wno-alloc-size-larget-than"
|
if [ "$CROSS_BUILD" ]; then
|
||||||
CXXFLAGS="${CFLAGS}"
|
post_configure() {
|
||||||
|
make $makejobs \
|
||||||
|
CC=$CC_FOR_BUILD CFLAGS=$CFLAGS_FOR_BUILD \
|
||||||
|
CXX=$CXX_FOR_BUILD CXXFLAGS=$CXXFLAGS_FOR_BUILD \
|
||||||
|
LIBS= GLIB_LIBS= LIBMPEG2_LIBS= OPENAL_LIBS= \
|
||||||
|
OPENGL_LIBS= PNG_LIBS= SDL2_LIBS= X11_LIBS= ZLIB_LIBS= \
|
||||||
|
gen/blit.h gen/blitfunc.cpp gen/blitfunc.h gen/blittable.cpp \
|
||||||
|
gen/compemu.cpp gen/cpudefs.cpp gen/cpuemu_0.cpp \
|
||||||
|
gen/linetoscr.cpp
|
||||||
|
|
||||||
pre_configure() {
|
rm src/readcpu.o gen/cpudefs.o
|
||||||
grep -rlw -- -Werror | xargs -n1 -t -I% sed -i % -e "s;-Werror;-Wno-error;"
|
make $makejobs src/readcpu.o gen/cpudefs.o
|
||||||
autoreconf -fi
|
touch gen/*
|
||||||
cd libmpeg2
|
}
|
||||||
autoreconf -fi
|
fi
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_extract() {
|
||||||
vinstall ${FILESDIR}/fs-uae.desktop 644 usr/share/applications
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) sed -i -e 's/| RTLD_DEEPBIND//' src/dlopen.cpp ;;
|
||||||
|
esac
|
||||||
|
sed -i -e '/^NoDisplay/d' share/applications/fs-uae.desktop
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user