vice: update to 3.4.

This commit is contained in:
mobinmob 2020-05-11 21:12:46 +03:00 committed by Helmut Pozimski
parent 3c29e49e35
commit 6611a77bfb

View file

@ -1,7 +1,7 @@
# Template file for 'vice'
pkgname=vice
version=3.3
revision=2
version=3.4
revision=1
build_style=gnu-configure
configure_args="
$(vopt_enable sdl2 sdlui2)
@ -11,14 +11,16 @@ configure_args="
$(vopt_enable ffmpeg external-ffmpeg)
--disable-option-checking
--enable-cpuhistory
--enable-x64
AR=${AR}"
hostmakedepends="bdftopcf flex mkfontdir perl pkg-config xa
glib-devel"
glib-devel autoconf texinfo automake"
makedepends="
zlib-devel
readline-devel
libpng-devel
giflib-devel
glew-devel
$(vopt_if sdl2 SDL2_mixer-devel)
$(vopt_if sdl2 SDL2-devel)
$(vopt_if gtk3 gtk+3-devel)
@ -29,8 +31,9 @@ short_desc="Emulator for C64, C128, CBM-II, PET, VIC20, Plus4 and C16"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://vice-emu.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/vice-emu/${pkgname}-${version}.tar.gz"
checksum=1a55b38cc988165b077808c07c52a779d181270b28c14b5c9abf4e569137431d
changelog="https://vice-emu.sourceforge.io/NEWS"
distfiles="${SOURCEFORGE_SITE}/vice-emu/releases/vice-${version}.tar.gz"
checksum=4bd00c1c63d38cd1fe01b90032834b52f774bc29e4b67eeb1e525b14fee07aeb
# Package build options
build_options="sdl2 gtk3 ffmpeg"
@ -43,8 +46,8 @@ case "$XBPS_TARGET_MACHINE" in
esac
pre_configure() {
# Do not install data to /usr/lib64
sed -i 's:VICEDIR=.*:VICEDIR="$PREFIX/share/vice":g' configure
# __u_char is not portable...
sed -i 's,__u_char,unsigned char,g' src/*.[ch]
sed -i 's/lib64/lib/g' configure.ac
autoreconf -fi
}