mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
sdl_pango: new recipe (#979)
This commit is contained in:
committed by
Jérôme Duval
parent
52c6446253
commit
7c38b97118
83
media-libs/sdl_pango/sdl_pango-0.1.2.recipe
Normal file
83
media-libs/sdl_pango/sdl_pango-0.1.2.recipe
Normal file
@@ -0,0 +1,83 @@
|
||||
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="1"
|
||||
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 = 1.1.0 compat >= 1
|
||||
"
|
||||
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 = 1.1.0 compat >= 1
|
||||
"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user