38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'higan'
|
|
pkgname=higan
|
|
version=110
|
|
revision=2
|
|
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 <me@johnnynator.dev>"
|
|
license="GPL-3.0-or-later, ISC"
|
|
homepage="https://github.com/higan-emu/higan"
|
|
distfiles="https://github.com/higan-emu/higan/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=18457ac2608ab548983c3266ae38e6397d1801773969a796a672e2d9c56c69c5
|
|
|
|
build_options="icarus"
|
|
build_options_default="icarus"
|
|
|
|
pre_install() {
|
|
vlicense $wrksrc/LICENSE.txt
|
|
}
|
|
|
|
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
|