freetype_bootstrap: remove devel:libfreetype provides

This commit is contained in:
Joachim Mairböck
2025-08-27 10:09:15 +02:00
parent 56738b0b04
commit 43e5cfd4d6

View File

@@ -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, Werner Lemberg, et al."
LICENSE="FreeType"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.savannah.gnu.org/releases/freetype/freetype-$portVersion.tar.xz"
CHECKSUM_SHA256="0550350666d427c74daeb85d5ac7bb353acba5f76956395995311a9c6f063289"
SOURCE_DIR="freetype-$portVersion"
@@ -14,21 +14,22 @@ PATCHES="
"
#PATCHES="freetype-subpixel.patchset" # enable patented subpixel rendering
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
libVersion="6.20.2"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
# no need to enable this for gcc2 because it is only needed for harfbuzz
# which isn't compatible with that.
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
# This intentionally doesn't provide devel:libfreetype because this package
# only exists to break a circular dependency with harfbuzz.
# Policy warnings from haikuporter are expected for that!
PROVIDES="
freetype_bootstrap$secondaryArchSuffix = $portVersion
devel:libfreetype${secondaryArchSuffix} = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libz$secondaryArchSuffix >= 1
lib:libz$secondaryArchSuffix
devel:libbz2$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libz$secondaryArchSuffix