mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
harfbuzz: bump to 1.4.1.
This commit is contained in:
120
media-libs/harfbuzz/harfbuzz-1.4.1.recipe
Normal file
120
media-libs/harfbuzz/harfbuzz-1.4.1.recipe
Normal file
@@ -0,0 +1,120 @@
|
||||
SUMMARY="An OpenType text shaping engine"
|
||||
DESCRIPTION="HarfBuzz is an OpenType text shaping engine. It is used to \
|
||||
layout complex text such as the Indic and Arabic alphabets."
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz/"
|
||||
COPYRIGHT="2004-2017 Behdad Esfahbod
|
||||
2000-2005 Owen Taylor
|
||||
2013, 2015-2016 Khaled Hosny
|
||||
2010,2011,2012 Google, Inc.
|
||||
2012 Mozilla Foundation
|
||||
2011 Codethink Limited
|
||||
2008,2010 Nokia Corporation and/or its subsidiary(-ies)
|
||||
2009 Keith Stribley
|
||||
2009 Martin Hosken and SIL International
|
||||
2007 Chris Wilson
|
||||
2005 David Turner
|
||||
2004,2007,2008,2009,2010 Red Hat, Inc.
|
||||
1998-2004 David Turner and Werner Lemberg"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="85a27fab639a1d651737dcb6b69e4101e3fd09522fdfdcb793df810b5cb315bd"
|
||||
PATCHES="harfbuzz-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
if [ "$targetArchitecture" != x86_gcc2 ]; then
|
||||
commandSuffix=$secondaryArchSuffix
|
||||
commandBinDir=$binDir
|
||||
else
|
||||
commandSuffix=
|
||||
commandBinDir=$prefix/bin
|
||||
fi
|
||||
|
||||
PROVIDES="
|
||||
harfbuzz$secondaryArchSuffix = $portVersion compat >= 0.9
|
||||
lib:libharfbuzz$secondaryArchSuffix = 0.10400.1 compat >= 0
|
||||
lib:libharfbuzz_icu$secondaryArchSuffix = 0.10400.1 compat >= 0
|
||||
cmd:hb_ot_shape_closure$commandSuffix
|
||||
cmd:hb_shape$commandSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libicuuc$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libgraphite2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
harfbuzz${secondaryArchSuffix}_devel = $portVersion compat >= 0.9
|
||||
devel:libharfbuzz$secondaryArchSuffix = 0.10400.1 compat >= 0
|
||||
devel:libharfbuzz_icu$secondaryArchSuffix = 0.10400.1 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
harfbuzz$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libicuuc$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libgraphite2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:automake
|
||||
cmd:autoconf
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:grep
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python
|
||||
cmd:sed
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf -fi
|
||||
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir \
|
||||
--with-graphite2=yes --with-icu
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
# remove libtool library files
|
||||
rm $libDir/libharfbuzz*.la
|
||||
|
||||
prepareInstalledDevelLibs \
|
||||
libharfbuzz \
|
||||
libharfbuzz-icu
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$dataDir
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
make check
|
||||
}
|
||||
Reference in New Issue
Block a user