# Template file for 'fontmatrix'
pkgname=fontmatrix
version=0.9.100
revision=1
build_style=cmake
hostmakedepends="qt5-host-tools qt5-qmake qt5-tools"
makedepends="qt5-devel qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql
 qt5-plugin-sqlite qt5-plugin-tds qt5-svg-devel qt5-tools-devel
 qt5-webkit-devel"
short_desc="Font management application"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/fontmatrix/fontmatrix"
#changelog=""
distfiles="https://github.com/fontmatrix/fontmatrix/archive/refs/tags/v${version}.tar.gz"
checksum=241021e24b0e2cdbc4bdf516d41ddfd23675a5a098bdaa0f7564d866cd292659

if [ "$XBPS_TARGET_LIBC" = musl ]; then
	makedepends+=" libexecinfo-devel"
	configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo"
fi
