mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
freetype, fix install, use libVersionCompat (#8284)
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="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://download.savannah.gnu.org/releases/freetype/freetype-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f"
|
||||
PATCHES="
|
||||
@@ -16,9 +16,12 @@ PATCHES="
|
||||
ARCHITECTURES="all"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
libVersion="6.18.3"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
PROVIDES="
|
||||
freetype$secondaryArchSuffix = $portVersion
|
||||
lib:libfreetype$secondaryArchSuffix = 6.18.3 compat >= 6
|
||||
lib:libfreetype$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -34,7 +37,7 @@ fi
|
||||
|
||||
PROVIDES_devel="
|
||||
freetype${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libfreetype${secondaryArchSuffix} = 6.18.3 compat >= 6
|
||||
devel:libfreetype$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES_devel="
|
||||
freetype${secondaryArchSuffix} == $portVersion base
|
||||
@@ -90,7 +93,7 @@ INSTALL()
|
||||
|
||||
install -Dt $dataRootDir/aclocal -m644 builds/unix/freetype2.m4
|
||||
|
||||
prepareInstalledDevelLibs libfreetype
|
||||
prepareInstalledDevelLib libfreetype
|
||||
fixPkgconfig
|
||||
|
||||
# The libtool files reference other libraries using the wrong paths, which
|
||||
|
||||
Reference in New Issue
Block a user