void-packages/srcpkgs/bibletime/template

33 lines
1.1 KiB
Bash

# Template file for 'bibletime'
#
# NOTE: Docs have not been split out because otherwise the application fails
# to start.
pkgname=bibletime
version=2.11.2
revision=1
build_style=cmake
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
makedepends="clucene-devel libcurl-devel qt5-devel qt5-tools-devel
qt5-svg-devel qt5-webkit-devel sword-devel zlib-devel"
short_desc="Powerful cross platform Bible study tool"
maintainer="fosslinux <fosslinux@aussies.space>"
license="GPL-2.0-or-later"
homepage="http://bibletime.io"
distfiles="https://github.com/bibletime/bibletime/releases/download/v${version}/bibletime-${version}.tar.xz"
checksum=d178197ce87c8211733409fb28fa6ed0220800bbf06944ebb8fe85bf78ddabe8
post_configure() {
# Workaround problem with qt5-host-tools path on some cross archs
if [ "$CROSS_BUILD" ]; then
find . -name build.make -exec \
sed -i "s:${XBPS_CROSS_BASE}/usr/lib/qt5/bin:/usr/lib/qt5/bin:" {} \;
fi
}
pre_check() {
export QT_QPA_PLATFORM=offscreen
mkdir -p share/bibletime
cd share/bibletime
mkdir -p icons javascript license pics locale docs/handbook/en docs/howto/en display-templates
}