mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
freetype: version bump.
* this version of freetype normally requires harfbuzz, but harfbuzz also requires freetype, a circular dependency that I don't know how haikuporter can handle (this would require two builds of freetype).
This commit is contained in:
79
media-libs/freetype/freetype-2.5.3.recipe
Normal file
79
media-libs/freetype/freetype-2.5.3.recipe
Normal file
@@ -0,0 +1,79 @@
|
||||
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-2013 David Turner, Robert Wilhelm, Werner Lemberg, et al."
|
||||
SRC_URI="http://download.savannah.gnu.org/releases/freetype/freetype-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
freetype$secondaryArchSuffix = $portVersion
|
||||
lib:libfreetype$secondaryArchSuffix = 6.11.2 compat >= 6
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix >= 1
|
||||
lib:libpng$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtool >= 2.4.2
|
||||
cmd:make
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
./autogen.sh
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libfreetype
|
||||
fixPkgconfig
|
||||
|
||||
# Freetype headers are in a freetype2 subdirectory, but fixPkgconfig removes
|
||||
# that from the pkg-config file, making it difficult for other ports to use
|
||||
# freetype with pkg-config.
|
||||
sed -i -e "s,^includedir=.*,includedir=$prefix/$relativeIncludeDir/freetype2," \
|
||||
$developLibDir/pkgconfig/freetype2.pc
|
||||
|
||||
# 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.11.2 compat >= 6
|
||||
"
|
||||
REQUIRES_devel="
|
||||
freetype${secondaryArchSuffix} == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user