38 lines
1 KiB
Bash
38 lines
1 KiB
Bash
# Template file for 'fcft'
|
|
pkgname=fcft
|
|
version=2.4.5
|
|
revision=1
|
|
wrksrc=$pkgname
|
|
build_style=meson
|
|
configure_args="-Dtext-shaping=$(vopt_if harfbuzz enabled disabled)"
|
|
hostmakedepends="pkg-config scdoc"
|
|
makedepends="fontconfig-devel freetype-devel pixman-devel tllist
|
|
$(vopt_if harfbuzz harfbuzz-devel)"
|
|
short_desc="Simple library for font loading and glyph rasterization"
|
|
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
|
|
license="MIT"
|
|
homepage="https://codeberg.org/dnkl/fcft"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=b17fcf556e2beecacd0b5dbcdf4441b737850576446f33342a3577b6afd09ee9
|
|
|
|
build_options="harfbuzz"
|
|
build_options_default="harfbuzz"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
fcft-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/doc
|
|
vmove usr/share/man/man3
|
|
|
|
# The license is already installed by the base package
|
|
rm ${PKGDESTDIR}/usr/share/doc/${sourcepkg}/LICENSE
|
|
}
|
|
}
|