diff --git a/media-libs/gosu/gosu-0.8.0.pre2.recipe b/media-libs/gosu/gosu-0.8.0.pre2.recipe new file mode 100644 index 000000000..8bb3a4617 --- /dev/null +++ b/media-libs/gosu/gosu-0.8.0.pre2.recipe @@ -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 +}