# Template file for 'bibletime' # # NOTE: Docs have not been split out because otherwise the application fails # to start. pkgname=bibletime version=3.1.1 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 qt6-base qt6-tools openjdk8-jre apache-fop qt6-declarative-host-tools po4a docbook-xsl docbook-xml libxslt" makedepends="clucene-devel libcurl-devel qt6-base-devel qt6-svg-devel sword-devel zlib-devel qt6-declarative-devel" short_desc="Powerful cross platform Bible study tool" maintainer="fosslinux " 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=71dbafdc8d29518aede79269d027d80b4192633e7a614c89ed76aeb0e0bd1dd4 if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then # patches taken from Debian : broken="static_assert(sizeof(qsizetype) == 8);" fi pre_build() { . /etc/profile.d/jdk.sh if [ "$XBPS_WORDSIZE" = "32" ]; then export _JAVA_OPTIONS="-Xmx1024m" fi } pre_check() { mkdir -p "share/bibletime" cd "share/bibletime" mkdir -p icons javascript license pics locale docs/handbook/en docs/howto/en display-templates }