mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
gosu: WIP recipe.
This commit is contained in:
55
media-libs/gosu/gosu-0.8.0.pre2.recipe
Normal file
55
media-libs/gosu/gosu-0.8.0.pre2.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user