freetype: update to 2.5.3.

This commit is contained in:
Juan RP 2014-03-12 18:12:38 +01:00
parent d3c69ab600
commit 29a597b109
1 changed files with 3 additions and 11 deletions

View File

@ -1,7 +1,7 @@
# Template build file 'freetype'. # Template build file 'freetype'.
pkgname=freetype pkgname=freetype
version=2.5.2 version=2.5.3
revision=3 revision=1
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"
@ -10,15 +10,7 @@ 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=4ff4bd393aa01071ec7b849d035508a505a78f88b2bcf25ff11e58e43c0b9def checksum=c0848b29d52ef3ca27ad92e08351f023c5e24ce8cea7d8fe69fc96358e65f75e
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() { freetype-devel_package() {
depends="zlib-devel bzip2-devel libpng-devel ${sourcepkg}>=${version}_${revision}" depends="zlib-devel bzip2-devel libpng-devel ${sourcepkg}>=${version}_${revision}"