SUMMARY="This library is a wrapper around the Pango library" DESCRIPTION="SDL_Pango library allows you to use TrueType fonts to \ render internationalized and tagged text in SDL applications." HOMEPAGE="http://www.libsdl.org/projects/SDL_pango/" COPYRIGHT="2004 NAKAMURA Ken'ichi'" LICENSE="GNU GPL v2" REVISION="3" SOURCE_URI="https://downloads.sf.net/sdlpango/SDL_Pango-$portVersion.tar.gz" CHECKSUM_SHA256="7f75d3b97acf707c696ea126424906204ebfa07660162de925173cdd0257eba4" SOURCE_DIR="SDL_Pango-$portVersion" #Patch for Frozen-Bubble, originates from here https://sourceforge.net/p/sdlpango/patches/1/ PATCHES="sdl_pango-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" sdl_pango$secondaryArchSuffix = $portVersion lib:libSDL_Pango$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libSDL$secondaryArchSuffix lib:libpango_1.0$secondaryArchSuffix lib:libintl$secondaryArchSuffix lib:libfreetype$secondaryArchSuffix lib:libgl$secondaryArchSuffix #needed for pango lib:libglib_2.0$secondaryArchSuffix #needed for pangoft2 lib:libfontconfig$secondaryArchSuffix lib:libgraphite2$secondaryArchSuffix " PROVIDES_devel=" sdl_pango${secondaryArchSuffix}_devel = $portVersion devel:libSDL_Pango$secondaryArchSuffix = $portVersion " REQUIRES_devel=" sdl_pango$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libSDL$secondaryArchSuffix devel:libpango_1.0$secondaryArchSuffix devel:libintl$secondaryArchSuffix devel:libfreetype$secondaryArchSuffix devel:libgl$secondaryArchSuffix #needed for pango devel:libglib_2.0$secondaryArchSuffix #needed for pangoft2 devel:libfontconfig$secondaryArchSuffix devel:libgraphite2$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:aclocal cmd:autoconf cmd:gcc$secondaryArchSuffix cmd:libtoolize$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix " BUILD() { autoreconf -fi runConfigure ./configure --prefix=$prefix make $jobArgs } INSTALL() { make install # remove libtool library file rm $libDir/libSDL_Pango.la prepareInstalledDevelLib libSDL_Pango fixPkgconfig packageEntries devel $developDir }