31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# Template file for 'ghostwriter'
|
|
pkgname=ghostwriter
|
|
version=24.05.2
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config extra-cmake-modules qt5-qmake qt5-host-tools
|
|
kcoreaddons kdoctools"
|
|
makedepends="qt5-multimedia-devel qt5-svg-devel qt5-tools-devel
|
|
qt5-webengine-devel qt5-location-devel qt5-webchannel-devel
|
|
qt5-declarative-devel sonnet-devel kcoreaddons-devel kxmlgui-devel
|
|
kconfigwidgets-devel"
|
|
depends="hicolor-icon-theme qt5-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=2314989c40cb4952fc245740b0f6da185b95b53707c1c3eda47c599e1afd31a0
|
|
|
|
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_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
|
broken="qtwebengine not built for this platform"
|
|
fi;;
|
|
esac
|
|
|
|
post_install() {
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
}
|