# Template file for 'higan' pkgname=higan version=110 revision=1 wrksrc="higan_v${version}-source" build_wrksrc=higan build_style=gnu-makefile make_build_args='compiler=${CXX} platform=linux' make_install_args='compiler=${CXX} platform=linux prefix=${DESTDIR}/usr' hostmakedepends="unzip pkg-config" makedepends="gtk+-devel gtksourceview2-devel libgomp-devel SDL2-devel MesaLib-devel libXv-devel libao-devel alsa-lib-devel libopenal-devel pulseaudio-devel" short_desc="Multi-system emulator (SNES/Game Boy/Mega Drive/PC Engine/WonderSwan)" maintainer="John " license="GPL-3.0-or-later, ISC" homepage="https://byuu.org/emulation/higan/" distfiles="https://byuu.org/download/higan/higan_v${version}-source.zip" checksum=1b70d85454aaae557fd5ba5aaed9add8cb8c939f2b7a07a6d3734f971bb07ab7 build_options="icarus" build_options_default="icarus" if [ "$build_option_icarus" ];then post_build() { cd $wrksrc/icarus make ${makejobs} compiler=${CXX} platform=linux } post_install() { cd $wrksrc/icarus make STRIP=true compiler=${CXX} platform=linux prefix=${DESTDIR}/usr install } fi