gosu: WIP recipe.

This commit is contained in:
Adrien Destugues
2015-04-20 19:03:08 +02:00
parent d1075c4436
commit bcbe1a5d2e

View File

@@ -0,0 +1,55 @@
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
"
REVISION="1"
HOMEPAGE="http://www.libgosu.org/"
ARCHITECTURES="x86_gcc2"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
SRC_URI="https://github.com/jlnr/gosu/archive/v0.8.0.pre2.tar.gz"
CHECKSUM_SHA256="e24c2d75409ea6d7b8bd476540e187fe7ab06aef84844450ec1183cf3bd3f953"
LICENSE="MIT"
COPYRIGHT="2001-2014 Julian Raschke, Jan Lücker, and other contributors."
PROVIDES="
gosu$secondaryArchSuffix = $portVersion
"
BUILD_REQUIRES="
devel:libfreetype$secondaryArchSuffix
devel:libopenal$secondaryArchSuffix
devel:libsdl_ttf$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsndfile$secondaryArchSuffix
devel:libvorbisfile$secondaryArchSuffix
devel:libpango$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:cmake >= 3.0.0
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
cd cmake
./build.sh
}
INSTALL()
{
false
}