freetype: update to 2.5.1.
This commit is contained in:
parent
9c9eb8cef6
commit
e5298d43f2
4 changed files with 16 additions and 29 deletions
|
@ -1,5 +1,5 @@
|
|||
--- freetype-2.2.1/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.orig 2006-07-07 21:01:09.000000000 -0400
|
||||
+++ modules.cfg 2006-07-07 21:01:54.000000000 -0400
|
||||
@@ -110,7 +110,7 @@
|
||||
AUX_MODULES += cache
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
/*************************************************************************/
|
|
@ -1,6 +1,6 @@
|
|||
--- freetype-2.3.0/include/freetype/config/ftoption.h.spf 2007-01-18 14:27:34.000000000 -0500
|
||||
+++ freetype-2.3.0/include/freetype/config/ftoption.h 2007-01-18 14:27:48.000000000 -0500
|
||||
@@ -92,7 +92,7 @@
|
||||
--- include/config/ftoption.h
|
||||
+++ include/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. */
|
||||
/* */
|
|
@ -1,8 +1,7 @@
|
|||
# Template build file 'freetype'.
|
||||
pkgname=freetype
|
||||
version=2.5.0.1
|
||||
version=2.5.1
|
||||
revision=1
|
||||
patch_args="-Np1"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config which"
|
||||
makedepends="zlib-devel bzip2-devel libpng-devel"
|
||||
|
@ -11,24 +10,25 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
homepage="http://www.freetype.org/"
|
||||
license="GPL-2"
|
||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
||||
checksum=57bce5b37989577aa8b4a588426839f6bf39bcc3869748cb18f6827df251f4e5
|
||||
checksum=d715faa92b37980280c857ce9d356fff4361c5a7bd9b5c3f867fc24f598d8f45
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# XXX needs libpng-config
|
||||
hostmakedepends+=" libpng-devel"
|
||||
pre_build() {
|
||||
sed -e 's,-L/usr/lib,,g' -i builds/unix/unix-cc.mk
|
||||
}
|
||||
fi
|
||||
do_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
export LIBPNG_CFLAGS="$(pkg-config --cflags libpng)"
|
||||
export LIBPNG_LDFLAGS="$(pkg-config --libs libpng)"
|
||||
fi
|
||||
./configure ${configure_args}
|
||||
}
|
||||
|
||||
freetype-devel_package() {
|
||||
depends="zlib-devel bzip2-devel freetype>=$version"
|
||||
depends="zlib-devel bzip2-devel ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
for f in bin include share; do
|
||||
vmove usr/${f}
|
||||
done
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue