31 lines
1012 B
Bash
31 lines
1012 B
Bash
# Template file for 'OpenLP'
|
|
pkgname=OpenLP
|
|
version=2.4.6
|
|
revision=4
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools qt5-host-tools"
|
|
depends="python3-BeautifulSoup4 python3-PyQt5-multimedia python3-PyQt5-opengl
|
|
python3-PyQt5-webkit python3-SQLAlchemy python3-alembic python3-chardet
|
|
python3-lxml"
|
|
short_desc="Free Worship Presentation Software for your Church"
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://openlp.org/"
|
|
distfiles="https://get.openlp.org/${version}/OpenLP-${version}.tar.gz"
|
|
checksum=f63dcf5f1f8a8199bf55e806b44066ad920d26c9cf67ae432eb8cdd1e761fc30
|
|
|
|
do_check() {
|
|
: # nosetests -v tests segfaults
|
|
}
|
|
|
|
post_install() {
|
|
rm -r ${DESTDIR}/usr/lib/python*/site-packages/tests
|
|
mv ${DESTDIR}/usr/bin/openlp.py ${DESTDIR}/usr/bin/openlp
|
|
vinstall resources/openlp.desktop 644 usr/share/applications
|
|
vmkdir usr/share/openlp/i18n
|
|
cd resources/i18n
|
|
for i in *.ts; do
|
|
lconvert -i "${i}" -o "${DESTDIR}/usr/share/openlp/i18n/${i%ts}qm"
|
|
done
|
|
}
|