31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
# Template file for 'OpenLP'
|
|
pkgname=OpenLP
|
|
version=3.0.2
|
|
revision=2
|
|
create_wrksrc=yes
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools qt5-host-tools"
|
|
depends="python3-alembic python3-appdirs python3-BeautifulSoup4 python3-chardet
|
|
python3-dbus python3-distro python3-Flask python3-Flask-Cors python3-lxml
|
|
python3-Mako python3-Pillow python3-pymediainfo python3-PyQt5
|
|
python3-PyQt5-multimedia python3-PyQt5-webengine python3-vlc python3-qrcode
|
|
python3-QtAwesome python3-requests python3-SQLAlchemy python3-waitress
|
|
python3-WebOb python3-websockets python3-zeroconf python3-PyICU"
|
|
checkdepends="python3-pytest-qt xvfb-run ${depends}"
|
|
short_desc="Free Worship Presentation Software for your Church"
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://openlp.org/"
|
|
distfiles="https://get.openlp.org/${version}/OpenLP-${version}.tar.gz"
|
|
checksum=edf03061e9e1c494835657bd4924c07d862aea1997832d2c9e56e3286fce1d2b
|
|
make_check_pre="env -u QT_QPA_PLATFORM xvfb-run"
|
|
|
|
post_install() {
|
|
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
|
|
}
|