mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Added bep file to allow building of freetype with subpixel rendering enabled
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
DESCRIPTION="Freetype - A Free, High-Quality, and Portable Font Engine"
|
||||
HOMEPAGE="http://www.freetype.org"
|
||||
SRC_URI="http://download.savannah.gnu.org/releases/freetype/freetype-2.4.9.tar.bz2"
|
||||
CHECKSUM_MD5="77a893dae81fd5b896632715ca041179"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd freetype-2.4.9
|
||||
sh ./autogen.sh
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--includedir=/boot/develop/headers/3rdparty \
|
||||
--datarootdir=`finddir B_COMMON_DATA_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd freetype-2.4.9
|
||||
make install
|
||||
}
|
||||
LICENSE="FreeType"
|
||||
COPYRIGHT="1996-2012 David Turner, Robert Wilhelm, Werner Lemberg, et al."
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -urN freetype-2.4.9/include/freetype/config/ftoption.h freetype-2.4.9-enable-subpixel-rendering/include/freetype/config/ftoption.h
|
||||
--- freetype-2.4.9/include/freetype/config/ftoption.h 2011-07-20 04:46:15.035913728 +0000
|
||||
+++ freetype-2.4.9-enable-subpixel-rendering/include/freetype/config/ftoption.h 2012-09-05 16:30:50.453509120 +0000
|
||||
@@ -92,7 +92,7 @@
|
||||
/* 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
|
||||
|
||||
|
||||
/*************************************************************************/
|
||||
Reference in New Issue
Block a user