24 lines
965 B
Bash
24 lines
965 B
Bash
# Template file for 'ghostwriter'
|
|
pkgname=ghostwriter
|
|
version=2.0.1
|
|
revision=1
|
|
build_style=qmake
|
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
|
|
makedepends="hunspell-devel qt5-multimedia-devel qt5-svg-devel qt5-tools-devel
|
|
qt5-webengine-devel qt5-location-devel qt5-webchannel-devel qt5-declarative-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://wereturtle.github.io/ghostwriter"
|
|
distfiles="https://github.com/wereturtle/ghostwriter/archive/${version}.tar.gz"
|
|
checksum=c0d3130a4ee97dc4e74c6b0723f1125fdf75e3e52326c9c6c7dcf7c1a6d1ea36
|
|
|
|
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
|