void-packages/srcpkgs/fontforge/template

28 lines
1.0 KiB
Bash

# Template file for 'fontforge'
pkgname=fontforge
version=20230101
revision=2
build_style=cmake
hostmakedepends="automake ca-certificates gettext libltdl-devel libtool m4
pkg-config python3"
makedepends="desktop-file-utils giflib-devel gtk+3-devel hicolor-icon-theme
libjpeg-turbo-devel libltdl-devel libpng-devel libspiro-devel libxml2-devel
pango-devel python3-devel readline-devel tiff-devel woff2-devel zlib-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=ab0c4be41be15ce46a1be1482430d8e15201846269de89df67db32c7de4343f1
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
}