anki: update to 2.1.6.

closes #5758
closes #5077

resolves #5053
This commit is contained in:
prspkt 2018-12-12 20:06:53 +02:00 committed by maxice8
parent 1e60463ac6
commit eb7e2823e2
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
2 changed files with 3 additions and 14 deletions

View File

@ -1,11 +0,0 @@
--- aqt/qt.py
+++ aqt/qt.py
@@ -38,7 +38,7 @@ qtmajor = (QT_VERSION & 0xff0000) >> 16
qtminor = (QT_VERSION & 0x00ff00) >> 8
qtpoint = QT_VERSION & 0xff
-if qtmajor != 5 or qtminor != 9:
+if qtmajor != 5 or qtminor < 9:
raise Exception("Anki only supports Qt 5.9.x at this time.")
# GUI code assumes python 3.6+

View File

@ -1,10 +1,9 @@
# Template file for 'anki'
pkgname=anki
version=2.1.5
version=2.1.6
revision=1
noarch=yes
build_style=gnu-makefile
pycompile_version="${py3_ver}"
pycompile_dirs="/usr/share/anki/anki /usr/share/anki/aqt"
depends="python3-PyQt5-webengine python3-requests python3-SQLAlchemy
python3-PyAudio python3-mpv python3-Markdown python3-send2trash
@ -15,7 +14,8 @@ license="AGPL-3.0-or-later"
homepage="https://apps.ankiweb.net"
changelog="https://apps.ankiweb.net/docs/changes.html"
distfiles="https://apps.ankiweb.net/downloads/current/anki-${version}-source.tgz"
checksum=56eef02545160388770ec4c923354b485269bcca666a8def7403216555a26117
checksum=104fc85f1a7efa4406ed53666279a3aa3303a811bdc3cb62ca1376b5132c4e50
pycompile_version="$py3_ver"
post_install() {
vlicense LICENSE