Files
haikuports/media-libs/gosu/gosu-0.8.7.2.recipe
Adrien Destugues cff6e8d183 gosu: update to a release that's still online.
* Build is still broken.
2015-04-20 20:19:27 +02:00

56 lines
1.4 KiB
Plaintext

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/v$portVersion.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_2.0$secondaryArchSuffix
devel:libsdl2$secondaryArchSuffix
devel:libsndfile$secondaryArchSuffix
devel:libvorbisfile$secondaryArchSuffix
devel:libpango_1.0$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
}