void-packages/srcpkgs/ghostwriter/template

29 lines
1.0 KiB
Bash

# Template file for 'ghostwriter'
pkgname=ghostwriter
version=24.08.3
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=e5e4fd2da0525e82d3556a4fbb4ec146f40227b57867a1cdf94f6e7d365557a3
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"
}