freetype: update to 2.5.1.

This commit is contained in:
Juan RP 2013-11-25 14:33:59 +01:00
parent 9c9eb8cef6
commit e5298d43f2
4 changed files with 16 additions and 29 deletions

View File

@ -1,5 +1,5 @@
--- freetype-2.2.1/modules.cfg.orig 2006-07-07 21:01:09.000000000 -0400 --- modules.cfg.orig 2006-07-07 21:01:09.000000000 -0400
+++ freetype-2.2.1/modules.cfg 2006-07-07 21:01:54.000000000 -0400 +++ modules.cfg 2006-07-07 21:01:54.000000000 -0400
@@ -110,7 +110,7 @@ @@ -110,7 +110,7 @@
AUX_MODULES += cache AUX_MODULES += cache

View File

@ -1,13 +0,0 @@
diff --git i/include/freetype/config/ftoption.h w/include/freetype/config/ftoption.h
index a73fff4..0a081bf 100644
--- i/include/freetype/config/ftoption.h
+++ w/include/freetype/config/ftoption.h
@@ -577,7 +577,7 @@ FT_BEGIN_HEADER
/* This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be */
/* defined. */
/* */
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
/*************************************************************************/

View File

@ -1,6 +1,6 @@
--- freetype-2.3.0/include/freetype/config/ftoption.h.spf 2007-01-18 14:27:34.000000000 -0500 --- include/config/ftoption.h
+++ freetype-2.3.0/include/freetype/config/ftoption.h 2007-01-18 14:27:48.000000000 -0500 +++ include/config/ftoption.h
@@ -92,7 +92,7 @@ @@ -92,7 +92,7 @@ FT_BEGIN_HEADER
/* This is done to allow FreeType clients to run unmodified, forcing */ /* This is done to allow FreeType clients to run unmodified, forcing */
/* them to display normal gray-level anti-aliased glyphs. */ /* them to display normal gray-level anti-aliased glyphs. */
/* */ /* */

View File

@ -1,8 +1,7 @@
# Template build file 'freetype'. # Template build file 'freetype'.
pkgname=freetype pkgname=freetype
version=2.5.0.1 version=2.5.1
revision=1 revision=1
patch_args="-Np1"
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config which" hostmakedepends="pkg-config which"
makedepends="zlib-devel bzip2-devel libpng-devel" makedepends="zlib-devel bzip2-devel libpng-devel"
@ -11,24 +10,25 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freetype.org/" homepage="http://www.freetype.org/"
license="GPL-2" license="GPL-2"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=57bce5b37989577aa8b4a588426839f6bf39bcc3869748cb18f6827df251f4e5 checksum=d715faa92b37980280c857ce9d356fff4361c5a7bd9b5c3f867fc24f598d8f45
do_configure() {
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
# XXX needs libpng-config export LIBPNG_CFLAGS="$(pkg-config --cflags libpng)"
hostmakedepends+=" libpng-devel" export LIBPNG_LDFLAGS="$(pkg-config --libs libpng)"
pre_build() {
sed -e 's,-L/usr/lib,,g' -i builds/unix/unix-cc.mk
}
fi fi
./configure ${configure_args}
}
freetype-devel_package() { freetype-devel_package() {
depends="zlib-devel bzip2-devel freetype>=$version" depends="zlib-devel bzip2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
for f in bin include share; do for f in bin include share; do
vmove usr/${f} vmove usr/${f}
done done
vmove "usr/lib/*.a" vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
} }
} }