35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'bibletime'
|
|
#
|
|
# NOTE: Docs have not been split out because otherwise the application fails
|
|
# to start.
|
|
pkgname=bibletime
|
|
version=3.0
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="-DBT_DOCBOOK_XSL_HTML_CHUNK_XSL=/usr/share/xsl/docbook/html/chunk.xsl
|
|
-DBT_DOCBOOK_XSL_PDF_DOCBOOK_XSL=/usr/share/xsl/docbook/fo/docbook.xsl"
|
|
hostmakedepends="pkg-config qt5-host-tools qt5-qmake apache-fop po4a
|
|
docbook-xsl docbook-xml libxslt"
|
|
makedepends="clucene-devel libcurl-devel qt5-devel qt5-tools-devel
|
|
qt5-svg-devel qt5-webkit-devel sword-devel zlib-devel qt5-declarative-devel"
|
|
short_desc="Powerful cross platform Bible study tool"
|
|
maintainer="fosslinux <fosslinux@aussies.space>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://bibletime.info"
|
|
distfiles="https://github.com/bibletime/bibletime/releases/download/v${version}/bibletime-${version}.tar.xz"
|
|
checksum=d6beef62ad44b255e3dc4c5e89214bf01a0e85c9136073b0be12fca3d2b22622
|
|
patch_args=-Np1
|
|
|
|
pre_build() {
|
|
. /etc/profile.d/10_openjdk11.sh
|
|
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
|
export _JAVA_OPTIONS="-Xmx1024m"
|
|
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
|
|
}
|