mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
freetype: disable harfbuzz on x86_gcc2
otherwise freetype tries to load harfbuzz needlessly.
This commit is contained in:
@@ -5,7 +5,7 @@ output (glyph images) of most vector and bitmap font formats."
|
||||
HOMEPAGE="https://www.freetype.org/"
|
||||
COPYRIGHT="1996-2021 David Turner, Robert Wilhelm, and Werner Lemberg"
|
||||
LICENSE="FreeType"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.savannah.gnu.org/releases/freetype/freetype-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="32427e8c471ac095853212a37aef816c60b42052d4d9e48230bab3bdf2936ccc"
|
||||
PATCHES="
|
||||
@@ -61,6 +61,10 @@ defineDebugInfoPackage freetype$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
local mesonArgs="-D harfbuzz=dynamic"
|
||||
if [ "$effectiveTargetArchitecture" == x86_gcc2 ]; then
|
||||
mesonArgs="-D harfbuzz=disabled"
|
||||
fi
|
||||
unset meson
|
||||
meson setup build . --buildtype debugoptimized \
|
||||
--prefix $prefix \
|
||||
@@ -69,7 +73,7 @@ BUILD()
|
||||
--includedir $includeDir \
|
||||
--libdir $libDir \
|
||||
-D error_strings=true \
|
||||
-D harfbuzz=dynamic
|
||||
$mesonArgs
|
||||
meson compile -C build $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user