From 095dbe87c38694fa5fd5b12a3e676ecc2101ace9 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Wed, 25 Sep 2013 15:14:24 +0000 Subject: [PATCH] Update freetype to 2.5.0.1 --- media-libs/freetype/freetype-2.5.0.1.recipe | 69 ++++++++++++++++++++ media-libs/libsdl/libsdl-1.2.15.recipe | 1 + media-libs/sdl_image/sdl_image-1.2.12.recipe | 3 +- 3 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 media-libs/freetype/freetype-2.5.0.1.recipe diff --git a/media-libs/freetype/freetype-2.5.0.1.recipe b/media-libs/freetype/freetype-2.5.0.1.recipe new file mode 100644 index 000000000..7a2ed0d8b --- /dev/null +++ b/media-libs/freetype/freetype-2.5.0.1.recipe @@ -0,0 +1,69 @@ +SUMMARY="A Free, High-Quality, and Portable Font Engine" +DESCRIPTION="FreeType is written in C, designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output (glyph images) of most vector and bitmap font formats." +HOMEPAGE="http://www.freetype.org" +LICENSE="FreeType" +COPYRIGHT="1996-2012 David Turner, Robert Wilhelm, Werner Lemberg, et al." +SRC_URI="http://download.savannah.gnu.org/releases/freetype/freetype-2.5.0.1.tar.bz2" +CHECKSUM_MD5="c72e9010b1d986d556fc0b2b5fcbf31a" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86 x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + freetype$secondaryArchSuffix = $portVersion + lib:libfreetype$secondaryArchSuffix = 6.8.1 compat >= 6 + " +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + lib:libz$secondaryArchSuffix >= 1 + lib:libpng$secondaryArchSuffix + devel:libbz2 + " +BUILD_REQUIRES=" + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + cmd:aclocal + cmd:autoconf + cmd:automake + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:libtoolize + cmd:make + devel:libpng + " + +BUILD() +{ + ./autogen.sh + runConfigure ./configure --without-png + make $jobArgs +} + +INSTALL() +{ + mkdir -p /packages/freetype-2.5.0.1-1/.self/develop/headers/freetype2/freetype/cache + mkdir -p /packages/freetype-2.5.0.1-1/.self/develop/headers/freetype2/freetype/internal + make install + + prepareInstalledDevelLibs libfreetype + fixPkgconfig + + # devel package + packageEntries devel \ + $binDir \ + $dataRootDir/aclocal \ + $developDir +} + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + freetype${secondaryArchSuffix}_devel = $portVersion + cmd:freetype_config${secondaryArchSuffix} = $portVersion + devel:libfreetype${secondaryArchSuffix} = 6.8.1 compat >= 6 + " +REQUIRES_devel=" + freetype${secondaryArchSuffix} == $portVersion base + " diff --git a/media-libs/libsdl/libsdl-1.2.15.recipe b/media-libs/libsdl/libsdl-1.2.15.recipe index 1886daaeb..9f8c5ea79 100644 --- a/media-libs/libsdl/libsdl-1.2.15.recipe +++ b/media-libs/libsdl/libsdl-1.2.15.recipe @@ -10,6 +10,7 @@ COPYRIGHT="1997-2012 Sam Lantinga" ARCHITECTURES="x86 x86_gcc2" PROVIDES=" + libsdl = $portVersion compat >= 1.2 cmd:sdl_config = portVersion compat >= 1.2 lib:libsdl = $portVersion compat >= 1.2 lib:libSDL = $portVersion compat >= 1.2 diff --git a/media-libs/sdl_image/sdl_image-1.2.12.recipe b/media-libs/sdl_image/sdl_image-1.2.12.recipe index f92bf15ef..ffb93cc00 100644 --- a/media-libs/sdl_image/sdl_image-1.2.12.recipe +++ b/media-libs/sdl_image/sdl_image-1.2.12.recipe @@ -15,10 +15,11 @@ PROVIDES=" REQUIRES=" haiku - devel:libSDL + libsdl " BUILD_REQUIRES=" + devel:libsdl lib:libjpeg lib:libpng lib:libtiff