From bf3ab297c853351e6aeed96a69a74fc4f763a759 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Sun, 12 Jul 2020 08:03:00 +1000 Subject: [PATCH] New package: bibletime-2.11.2 --- srcpkgs/bibletime/template | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/bibletime/template diff --git a/srcpkgs/bibletime/template b/srcpkgs/bibletime/template new file mode 100644 index 00000000000..43ec68d576b --- /dev/null +++ b/srcpkgs/bibletime/template @@ -0,0 +1,32 @@ +# 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 " +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 +}