void-packages/srcpkgs/fontforge/template

29 lines
1.0 KiB
Bash

# Template file for 'fontforge'
pkgname=fontforge
version=20201107
revision=1
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=274f8c8cbd7b6a1c77d2a1c03d4d6cd3c9319db62be8b8c88fabbf597f7e863c
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
}