SUMMARY="2D game development library for the desktop and iOS"
DESCRIPTION="
Gosu only provides basic building blocks:
 * a window with a main loop and callbacks
 * 2D graphics and text, accelerated by 3D hardware
 * sound samples and music in various formats
 * keyboard, mouse, and gamepad input
"
HOMEPAGE="https://www.libgosu.org/"
COPYRIGHT="2001-2014 Julian Raschke, Jan Lücker, and other contributors."
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://github.com/jlnr/gosu/archive/v$portVersion.tar.gz"
#CHECKSUM_SHA256="e24c2d75409ea6d7b8bd476540e187fe7ab06aef84844450ec1183cf3bd3f953"

ARCHITECTURES="!x86_gcc2"
SECONDARY_ARCHITECTURES="!x86"

PROVIDES="
	gosu$secondaryArchSuffix = $portVersion
	"

BUILD_REQUIRES="
	devel:libfreetype$secondaryArchSuffix
	devel:libopenal$secondaryArchSuffix
	devel:libpango_1.0$secondaryArchSuffix
	devel:libsdl2$secondaryArchSuffix
	devel:libsdl_ttf_2.0$secondaryArchSuffix
	devel:libsndfile$secondaryArchSuffix
	devel:libvorbisfile$secondaryArchSuffix
	"
BUILD_PREREQUIRES="
	haiku${secondaryArchSuffix}_devel
	cmd:cmake >= 3.0.0
	cmd:gcc$secondaryArchSuffix
	cmd:make
	cmd:pkg_config$secondaryArchSuffix
	"

BUILD()
{
	cd cmake
	./build.sh
}


INSTALL()
{
	false
}
