From c9b3d72633209343f41090fbe2fbafd2d4b7e165 Mon Sep 17 00:00:00 2001 From: Guest One Date: Sun, 29 Jun 2014 19:24:10 +0700 Subject: [PATCH] ponscripter_x86 working recipe --- .../patches/ponscripter_x86-20111009.patchset | 13 ++++ .../ponscripter/ponscripter-20111009.recipe | 72 +++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 games-engines/ponscripter/patches/ponscripter_x86-20111009.patchset create mode 100644 games-engines/ponscripter/ponscripter-20111009.recipe diff --git a/games-engines/ponscripter/patches/ponscripter_x86-20111009.patchset b/games-engines/ponscripter/patches/ponscripter_x86-20111009.patchset new file mode 100644 index 000000000..c9ee5605e --- /dev/null +++ b/games-engines/ponscripter/patches/ponscripter_x86-20111009.patchset @@ -0,0 +1,13 @@ +diff --git a/src/AnimationInfo.cpp b/src/AnimationInfo.cpp +index b762be0..4d59a67 100644 +--- a/src/AnimationInfo.cpp ++++ b/src/AnimationInfo.cpp +@@ -46,6 +46,8 @@ + #define M_PI 3.14159265358979323846 + #endif + ++#include ++ + //Mion: for special graphics routine handling + static unsigned int cpufuncs; + diff --git a/games-engines/ponscripter/ponscripter-20111009.recipe b/games-engines/ponscripter/ponscripter-20111009.recipe new file mode 100644 index 000000000..5cc4278c2 --- /dev/null +++ b/games-engines/ponscripter/ponscripter-20111009.recipe @@ -0,0 +1,72 @@ +SUMMARY="NScripter-like interpreter with proportional font and Unicode support" +DESCRIPTION="A port of poular japanese Visual Novells engine with Unicode support" + +HOMEPAGE="http://unclemion.com/onscripter/" +SRC_URI="https://unclemion.com/dev/attachments/download/48/ponscripter-20111009-src.tar.bz2" +CHECKSUM_SHA256="592a7cea2b89646c145eee095a66ef1c2b8a64c3d169b6b2b46da0829618ed3e" +SOURCE_DIR="ponscripter-20111009-src" + +LICENSE="GNU GPL v2" +COPYRIGHT=" +2001-2011, Ogapee +2007-2011, Mion Sonozaki +" +REVISION="1" +ARCHITECTURES="x86 ?x86_gcc2" +SECONDARY_ARCHITECTURES="x86 ?x86_gcc2" + +PATCHES="ponscripter_x86-20111009.patchset" + +PROVIDES=" + ponscripter${secondaryArchSuffix} = $portVersion +# cmd:ponscr${secondaryArchSuffix} = $portVersion + cmd:ponscr + " +REQUIRES=" + haiku${secondaryArchSuffix} >= $haikuVersion + libsdl${secondaryArchSuffix} >= 1.2.14 + sdl_image${secondaryArchSuffix} >= 1.2.10 + sdl_ttf${secondaryArchSuffix} >= 1.2 + sdl_mixer${secondaryArchSuffix} >= 1.2 + smpeg${secondaryArchSuffix} >= 0.4.5 + bzip2${secondaryArchSuffix} + freetype${secondaryArchSuffix} + libpng${secondaryArchSuffix} + jpeg${secondaryArchSuffix} + libogg${secondaryArchSuffix} + libvorbis${secondaryArchSuffix} + zlib${secondaryArchSuffix} + " +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:make + cmd:awk + cmd:gcc${secondaryArchSuffix} + libsdl${secondaryArchSuffix}_devel >= 1.2.14 + sdl_image${secondaryArchSuffix}_devel >= 1.2.10 + sdl_ttf${secondaryArchSuffix}_devel >= 1.2 + sdl_mixer${secondaryArchSuffix}_devel >= 1.2 + smpeg${secondaryArchSuffix}_devel >= 0.4.5 + bzip2${secondaryArchSuffix}_devel + freetype${secondaryArchSuffix}_devel + pkgconfig${secondaryArchSuffix} + libpng${secondaryArchSuffix}_devel + jpeg${secondaryArchSuffix}_devel + libogg${secondaryArchSuffix}_devel + libvorbis${secondaryArchSuffix}_devel + zlib${secondaryArchSuffix}_devel + " + +BUILD() +{ + + runConfigure ./configure --no-werror + + #CFLAGS="-Wno-unused-but-set-variable" + make +} + +INSTALL() +{ + make install-bin +}