Update plee-the-bear recipe and patchset

* Mark plee-the-bear as working on x86
* Add lib:libplee_the_bear to PROVIDES
* Rename boost devel requirement
* Add -DNDEBUG to CXX_FLAGS
* Regenerate patchset (i.e. add [PATCH N/M] to subject lines)
* Make sure Plee the Bear library get installed in the
  appropriate directory if there is a secondary arch suffix
* Change data directory on Haiku
This commit is contained in:
Theodore Kokkoris
2014-12-21 22:03:22 +02:00
parent 5292799b7f
commit 2a60c74d7d
2 changed files with 110 additions and 27 deletions

View File

@@ -6,18 +6,21 @@ SRC_URI="http://www.stuff-o-matic.com/plee-the-bear/download/file.php?platform=s
CHECKSUM_SHA256="41dfe864fe2d791d6f99ba7cd330e22c94fce19d82909054eeac594aa4f2924e"
SRC_FILENAME="plee-the-bear-0.7.0.tgz"
REVISION="1"
ARCHITECTURES="?x86"
REVISION="2"
ARCHITECTURES="x86"
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"
ARCHITECTURES="x86_gcc2 $ARCHITECTURES"
else
ARCHITECTURES="!x86_gcc2 $ARCHITECTURES"
fi
SECONDARY_ARCHITECTURES="x86"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
PROVIDES="
plee_the_bear = $portVersion
cmd:plee_the_bear = $portVersion
lib:libplee_the_bear$secondaryArchSuffix
lib:libbear_audio$secondaryArchSuffix
lib:libbear_communication$secondaryArchSuffix
lib:libbear_debug$secondaryArchSuffix
@@ -65,7 +68,7 @@ BUILD_REQUIRES="
devel:libpng$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
boost_devel${secondaryArchSuffix}
boost${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
@@ -79,7 +82,7 @@ SOURCE_DIR="plee-the-bear-0.7.0-light"
PATCHES="plee_the_bear-$portVersion.patchset"
BUILD()
{
cmake . -DBEAR_EDITORS_ENABLED=FALSE -DCMAKE_INSTALL_PREFIX=$prefix
cmake . -DBEAR_EDITORS_ENABLED=FALSE -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_CXX_FLAGS="-DNDEBUG"
make $jobArgs
}
@@ -93,16 +96,14 @@ INSTALL()
# ----- DESCRIPTION -----------------------------------------------------------
DESCRIPTION="
Plee the Bear is a platform game in which you play an angry bear whose son has
been kidnapped by god. Here is a guy hard to brave! Jump in this amazing journey
to find and rescue your son. Because you want to rescue him, don't you? Or to
slap him? Maybe both….
DESCRIPTION="Plee the Bear is a platform game in which you play an angry bear whose son has \
been kidnapped by god. Here is a guy hard to brave! Jump in this amazing journey \
to find and rescue your son. Because you want to rescue him, don't you? Or to \
slap him? Maybe both…. \
With three levels of the storyline and four mini-games, Plee the Bear did
received very positive criticisms. The players loved the fun, the graphics and
the music; the community around the free software movement appreciated the
overall process and the quality of the resources, remarkable for a free game;
and the indie gaming community was pleasantly surprised by the technical skills
and the details of the game.
"
With three levels of the storyline and four mini-games, Plee the Bear \
received very positive criticisms. The players loved the fun, the graphics and \
the music; the community around the free software movement appreciated the \
overall process and the quality of the resources, remarkable for a free game; \
and the indie gaming community was pleasantly surprised by the technical skills \
and the details of the game."