30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
# Template file for 'fontforge'
|
|
pkgname=fontforge
|
|
version=20200314
|
|
revision=3
|
|
build_style=cmake
|
|
hostmakedepends="automake ca-certificates gettext libltdl-devel libtool m4
|
|
pkg-config python3"
|
|
makedepends="libltdl-devel python3-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 libuninameslist-devel
|
|
gtk+3-devel"
|
|
depends="desktop-files-utils"
|
|
depends="hicolor-icon-theme desktop-file-utils"
|
|
short_desc="Create and modify PostScript, TrueType and SVG fonts"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="http://fontforge.github.io/en-US/"
|
|
distfiles="https://github.com/fontforge/fontforge/archive/${version}.tar.gz"
|
|
checksum="ad0eb017379c6f7489aa8e2d7c160f19140d1ac6351f20df1d9857d9428efcf2
|
|
1bf9c7eb8835e6ed94e62cb49f1141bc046c562849e52e6c3c7f1d7cfc95c7b3"
|
|
|
|
post_extract() {
|
|
# Disable unused #include <execinfo.h>
|
|
vsed -i fontforge/cvundoes.c -e "s;\(.*#include <execinfo.h>\);//\1;"
|
|
}
|
|
|
|
post_install() {
|
|
vcopy contrib/cidmap/Adobe-* usr/share/fontforge
|
|
}
|