# Template file for 'ghostwriter' pkgname=ghostwriter version=24.08.2 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 " license="GPL-3.0-or-later" homepage="http://kde.github.io/ghostwriter" distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz" checksum=83e7ff35e7dce03a120adfa998b6030182350b026a9fe6028d0a962918e772e7 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" }