fontforge: update to 20141014.

This commit is contained in:
Christian Neukirchen 2014-10-20 15:20:58 +02:00
parent 68c8c5c5bc
commit 3913dde216

View file

@ -1,9 +1,9 @@
# Template file for 'fontforge'
pkgname=fontforge
version=2.0.20140101
revision=3
version=20141014
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
hostmakedepends="automake libtool pkg-config git"
makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel
giflib-devel>=5.1.0 libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel
libspiro-devel hicolor-icon-theme desktop-file-utils"
@ -14,15 +14,11 @@ license="GPL-3,BSD"
homepage="http://fontforge.github.io/en-US/"
distfiles="https://github.com/fontforge/fontforge/archive/${version}.tar.gz
http://fontforge.org/cidmaps.tgz"
checksum="3d7fa1e9e05ccae2a949bf78ae4bfa5ac166d91a370cd1073ed8c51710bc5f00
checksum="b50d74ce7a7bdf775c6309200db7f631e600ba2eecf8737755b72ed4b3091d95
1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3"
pre_configure() {
sed '/fontforge_package_name/s/^#//' -i configure.ac
./autogen.sh --verbose
# make it build with giflib-5.1.0
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
sed -i "/DGifCloseFile/s:gif:&, NULL:g" gutils/gimagereadgif.c
./bootstrap
}
post_install() {
@ -35,12 +31,12 @@ post_install() {
}
fontforge-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}