# Template file for 'yabause-gtk'
pkgname=yabause-gtk
version=0.9.15
revision=1
wrksrc="${pkgname%-gtk}-${version}"
build_style=cmake
configure_args="-DYAB_PORTS=gtk -DYAB_NETWORK=ON -DYAB_OPTIMIZED_DMA=ON"
hostmakedepends="pkg-config"
makedepends="libXmu-devel libfreeglut-devel gtkglext-devel libopenal-devel SDL2-devel"
depends="desktop-file-utils"
short_desc="A Sega Saturn emulator with GTK UI)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://yabause.org/"
distfiles="https://download.tuxfamily.org/yabause/releases/${version}/yabause-${version}.tar.gz"
checksum=4334c43fe0f3ff297bac8e91f4e059fe5fd276291faff2489e37b5b3a4ccc2b2
nopie=yes
# Would need m68kmake built for the host
nocross=yes
