mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Update freetype to 2.5.0.1
This commit is contained in:
69
media-libs/freetype/freetype-2.5.0.1.recipe
Normal file
69
media-libs/freetype/freetype-2.5.0.1.recipe
Normal file
@@ -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
|
||||
"
|
||||
@@ -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
|
||||
|
||||
@@ -15,10 +15,11 @@ PROVIDES="
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
devel:libSDL
|
||||
libsdl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libsdl
|
||||
lib:libjpeg
|
||||
lib:libpng
|
||||
lib:libtiff
|
||||
|
||||
Reference in New Issue
Block a user