void-packages/srcpkgs/ghostwriter/template

29 lines
1.0 KiB
Bash

# Template file for 'ghostwriter'
pkgname=ghostwriter
version=24.08.1
revision=1
build_style=cmake
hostmakedepends="pkg-config extra-cmake-modules qt6-base qt6-tools"
makedepends="qt6-multimedia-devel qt6-svg-devel qt6-webengine-devel
qt6-location-devel qt6-webchannel-devel qt6-declarative-devel kf6-sonnet-devel
kf6-kcoreaddons-devel kf6-kxmlgui-devel kf6-kconfigwidgets-devel"
depends="hicolor-icon-theme qt6-svg"
short_desc="Distraction-free Markdown editor"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://kde.github.io/ghostwriter"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=d0c1852124c52b4e3ead7a23d33a26c1d29d5e9a45188eba313c1a0bc509ea92
case "$XBPS_TARGET_MACHINE" in
armv5tel*) broken="qtwebengine not built for this platform";;
ppc|ppc-musl) broken="qtwebengine not built for this platform";;
*) if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
broken="qtwebengine not built for this platform"
fi;;
esac
post_install() {
vdoc "${FILESDIR}/README.voidlinux"
}