42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Template file for 'fcft'
|
|
pkgname=fcft
|
|
version=3.1.8
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Ddocs=enabled
|
|
$(vopt_feature textshaping run-shaping)"
|
|
hostmakedepends="pkg-config scdoc"
|
|
makedepends="fontconfig-devel freetype-devel pixman-devel tllist
|
|
$(vopt_if textshaping harfbuzz-devel)
|
|
$(vopt_if textshaping libutf8proc-devel)"
|
|
short_desc="Simple library for font loading and glyph rasterization"
|
|
maintainer="cinerea0 <cinerea0@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://codeberg.org/dnkl/fcft"
|
|
changelog="https://codeberg.org/dnkl/fcft/raw/branch/master/CHANGELOG.md"
|
|
distfiles="https://codeberg.org/dnkl/fcft/archive/${version}.tar.gz"
|
|
checksum=f48c793f354b8be95477e475dde7c98ac9d2628c52ecb42029dc6d20b52d787c
|
|
|
|
build_options="textshaping"
|
|
build_options_default="textshaping"
|
|
desc_option_textshaping="Enable support for text run shaping"
|
|
|
|
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
|
|
}
|
|
}
|