Merge pull request #2333 from pullmoll/fontforge

fontforge: unbreak musl
This commit is contained in:
Jürgen Buchmüller 2015-08-22 18:15:46 +02:00
commit 2eaaab34fe
1 changed files with 7 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'fontforge'
pkgname=fontforge
version=20150612
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool libltdl-devel pkg-config git python"
hostmakedepends="automake libtool libltdl-devel pkg-config git python ca-certificates"
makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel
giflib-devel libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel
libspiro-devel hicolor-icon-theme desktop-file-utils"
@ -21,6 +21,11 @@ pre_configure() {
./bootstrap
}
pre_build() {
# Disable unused #include <execinfo.h>
sed -i fontforge/cvundoes.c -e "s;\(.*#include <execinfo.h>\);//\1;"
}
post_install() {
vcopy ../Adobe-* usr/share/fontforge
vmkdir usr/share/icons/hicolor