2014-07-24 18:38:07 +00:00
|
|
|
# Template file for 'fontforge'
|
|
|
|
pkgname=fontforge
|
2015-08-25 12:00:05 +00:00
|
|
|
version=20150824
|
|
|
|
revision=1
|
2014-07-24 18:38:07 +00:00
|
|
|
build_style=gnu-configure
|
2015-08-22 07:20:46 +00:00
|
|
|
hostmakedepends="automake libtool libltdl-devel pkg-config git python ca-certificates"
|
2014-07-24 18:38:07 +00:00
|
|
|
makedepends="libltdl-devel python-devel zlib-devel pango-devel readline-devel
|
2015-03-27 09:50:40 +00:00
|
|
|
giflib-devel libpng-devel libjpeg-turbo-devel tiff-devel libxml2-devel
|
2014-07-26 14:43:11 +00:00
|
|
|
libspiro-devel hicolor-icon-theme desktop-file-utils"
|
2014-07-24 18:38:07 +00:00
|
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
|
|
short_desc="Create and modify PostScript, TrueType and SVG fonts"
|
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
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"
|
2015-08-25 12:00:05 +00:00
|
|
|
checksum="28ab2471cb010c1fa75b8ab8191a1dded81fe1e9490aa5ff6ab4706a4c78ff27
|
2014-07-24 18:38:07 +00:00
|
|
|
1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3"
|
|
|
|
|
|
|
|
pre_configure() {
|
2014-10-20 13:20:58 +00:00
|
|
|
./bootstrap
|
2014-07-24 18:38:07 +00:00
|
|
|
}
|
|
|
|
|
2015-08-22 07:20:46 +00:00
|
|
|
pre_build() {
|
|
|
|
# Disable unused #include <execinfo.h>
|
|
|
|
sed -i fontforge/cvundoes.c -e "s;\(.*#include <execinfo.h>\);//\1;"
|
|
|
|
}
|
|
|
|
|
2014-07-24 18:38:07 +00:00
|
|
|
post_install() {
|
|
|
|
vcopy ../Adobe-* usr/share/fontforge
|
|
|
|
vmkdir usr/share/icons/hicolor
|
|
|
|
vcopy "desktop/icons/*x*" usr/share/icons/hicolor
|
|
|
|
vcopy desktop/icons/scalable usr/share/icons/hicolor
|
|
|
|
vinstall desktop/fontforge.desktop 644 usr/share/applications
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
|
|
|
fontforge-devel_package() {
|
2014-10-20 13:20:58 +00:00
|
|
|
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
|
|
|
|
}
|
2014-07-24 18:38:07 +00:00
|
|
|
}
|