mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
freetype: bump version to 2.7
This commit is contained in:
@@ -3,26 +3,23 @@ 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="https://www.freetype.org/"
|
||||
COPYRIGHT="1996-2013 David Turner, Robert Wilhelm, Werner Lemberg, et al."
|
||||
COPYRIGHT="1996-2016 David Turner, Robert Wilhelm, Werner Lemberg, et al."
|
||||
LICENSE="FreeType"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://download.savannah.gnu.org/releases/freetype/freetype-$portVersion.tar.bz2"
|
||||
CHECKSUM_SHA256="e20a6e1400798fd5e3d831dd821b61c35b1f9a6465d6b18a53a9df4cf441acf0"
|
||||
CHECKSUM_SHA256="d6a451f5b754857d2aa3964fd4473f8bc5c64e879b24516d780fb26bec7f7d48"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
|
||||
# Uncomment next line to enable subpixel rendering and subpixel hinting
|
||||
#PATCHES="freetype-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
freetype$secondaryArchSuffix = $portVersion
|
||||
lib:libfreetype$secondaryArchSuffix = 6.12.5 compat >= 6
|
||||
lib:libfreetype$secondaryArchSuffix = 6.12.6 compat >= 6
|
||||
"
|
||||
PROVIDES_devel="
|
||||
freetype${secondaryArchSuffix}_devel = $portVersion
|
||||
cmd:freetype_config${secondaryArchSuffix} = $portVersion
|
||||
devel:libfreetype${secondaryArchSuffix} = 6.12.5 compat >= 6
|
||||
devel:libfreetype${secondaryArchSuffix} = 6.12.6 compat >= 6
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -54,7 +51,7 @@ BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
defineDebugInfoPackage freetype \
|
||||
$libDir/libfreetype.so.6.12.5
|
||||
$libDir/libfreetype.so.6.12.6
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -1,31 +0,0 @@
|
||||
From 5dc597d69f711c41cb6c6e48276e0ef5eade1375 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Reznikov <diver@gelios.net>
|
||||
Date: Fri, 5 Sep 2014 15:43:17 +0400
|
||||
Subject: Enabling subpixel rendering and subpixel hinting
|
||||
|
||||
|
||||
diff --git a/include/freetype/config/ftoption.h b/include/freetype/config/ftoption.h
|
||||
index 2556c64..cae8ff1 100644
|
||||
--- a/include/freetype/config/ftoption.h
|
||||
+++ b/include/freetype/config/ftoption.h
|
||||
@@ -92,7 +92,7 @@ FT_BEGIN_HEADER
|
||||
/* This is done to allow FreeType clients to run unmodified, forcing */
|
||||
/* them to display normal gray-level anti-aliased glyphs. */
|
||||
/* */
|
||||
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
|
||||
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
@@ -633,7 +633,7 @@ FT_BEGIN_HEADER
|
||||
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
|
||||
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */
|
||||
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */
|
||||
-
|
||||
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2
|
||||
|
||||
/*************************************************************************/
|
||||
/* */
|
||||
--
|
||||
1.8.3.4
|
||||
|
||||
Reference in New Issue
Block a user