openmsx: update to 18.0.

This commit is contained in:
classabbyamp 2022-09-30 22:26:15 -04:00 committed by classabbyamp
parent 82ff4fc88f
commit 9832b441bd
1 changed files with 11 additions and 6 deletions

View File

@ -1,19 +1,24 @@
# Template file for 'openmsx'
pkgname=openmsx
version=0.15.0
revision=3
hostmakedepends="pkg-config python"
makedepends="SDL-devel glew-devel libao-devel libtheora-devel libvorbis-devel
libpng-devel libxml2-devel SDL_ttf-devel tcl-devel"
version=18.0
revision=1
hostmakedepends="pkg-config python3"
makedepends="SDL2-devel glew-devel libao-devel libtheora-devel libvorbis-devel
libpng-devel libxml2-devel SDL2_ttf-devel tcl-devel"
short_desc="MSX emulator that aims for perfection"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://openmsx.org"
changelog="https://raw.githubusercontent.com/openMSX/openMSX/master/doc/release-history.txt"
distfiles="https://github.com/openMSX/openMSX/releases/download/RELEASE_${version//\./_}/openmsx-${version}.tar.gz"
checksum=93f209d8fed2e04e62526469bb6bb431b82ea4d07ecdc45dab2b8cc4ca21d62a
checksum=23db7756e6c6b5cfd157bb4720a0d96aa2bb75e88d1fdf5a0f76210eef4aff60
nocross="can't use CXX prefixed with triplet"
CXXFLAGS="-Wno-narrowing -O3"
case "$XBPS_TARGET_MACHINE" in
i686*) broken="can't find C++ compiler despite being given it"
esac
do_build() {
vsed -e 's@\(SYMLINK_FOR_BINARY:=\)true@\1false@' -i build/custom.mk
vsed -e 's@\(INSTALL_BASE:=\)/opt/openMSX@\1/usr/share/openmsx@' -i build/custom.mk