mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
84 lines
2.1 KiB
Bash
84 lines
2.1 KiB
Bash
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="6"
|
|
SOURCE_URI="https://downloads.sf.net/sdlpango/SDL_Pango-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7f75d3b97acf707c696ea126424906204ebfa07660162de925173cdd0257eba4"
|
|
SOURCE_DIR="SDL_Pango-$portVersion"
|
|
PATCHES="api_additions.patch
|
|
matrix_declarations.patch"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
sdl_pango$secondaryArchSuffix = $portVersion
|
|
lib:libSDL_Pango$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libSDL_1.2$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_1.2$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.{a,la}
|
|
|
|
prepareInstalledDevelLib libSDL_Pango
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|