diff --git a/srcpkgs/OpenLP/patches/no_pytest_runner.patch b/srcpkgs/OpenLP/patches/no_pytest_runner.patch index e829c59dad6..49eac46285d 100644 --- a/srcpkgs/OpenLP/patches/no_pytest_runner.patch +++ b/srcpkgs/OpenLP/patches/no_pytest_runner.patch @@ -1,8 +1,8 @@ diff --git a/setup.py b/setup.py -index 1476585..4fc3ab0 100644 +index 5491eab..dfd1e5b 100644 --- a/setup.py +++ b/setup.py -@@ -141,6 +141,5 @@ using a computer and a data projector.""", +@@ -139,6 +139,5 @@ using a computer and a display/projector.""", 'flake8', ] }, diff --git a/srcpkgs/OpenLP/template b/srcpkgs/OpenLP/template index f3d76b360e8..889ea8e8466 100644 --- a/srcpkgs/OpenLP/template +++ b/srcpkgs/OpenLP/template @@ -1,30 +1,40 @@ # Template file for 'OpenLP' pkgname=OpenLP -version=3.0.2 -revision=2 -create_wrksrc=yes +version=3.1.1 +revision=1 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 +depends="python3-alembic python3-platformdirs python3-BeautifulSoup4 + python3-chardet python3-dbus python3-distro python3-Flask python3-Flask-Cors + python3-lxml python3-Mako 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" + 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 " license="GPL-3.0-or-later" homepage="https://openlp.org/" -distfiles="https://get.openlp.org/${version}/OpenLP-${version}.tar.gz" -checksum=edf03061e9e1c494835657bd4924c07d862aea1997832d2c9e56e3286fce1d2b +distfiles="https://gitlab.com/openlp/openlp/-/archive/${version}/openlp-${version}.tar.gz" +checksum=c464669a3661b3b23e917cb1508c1bfc8e8c8308ee24c86e7dde94789ea1797c 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 + + cd ../images + for size in 16 32 48 64 128 256; do + vinstall openlp-logo-${size}x${size}.png 644 \ + usr/share/icons/hicolor/${size}x${size}/apps openlp.png + done + vinstall openlp.svg 644 usr/share/icons/hicolor/scalable/apps + + cd .. + + vinstall openlp.desktop 644 usr/share/applications + vinstall openlp.xml 644 usr/share/mime/packages }