From eb7e2823e2324ffae54ae517dc7be8c6cca559f3 Mon Sep 17 00:00:00 2001 From: prspkt Date: Wed, 12 Dec 2018 20:06:53 +0200 Subject: [PATCH] anki: update to 2.1.6. closes #5758 closes #5077 resolves #5053 --- srcpkgs/anki/patches/001-qt.patch | 11 ----------- srcpkgs/anki/template | 6 +++--- 2 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 srcpkgs/anki/patches/001-qt.patch diff --git a/srcpkgs/anki/patches/001-qt.patch b/srcpkgs/anki/patches/001-qt.patch deleted file mode 100644 index 759496cd55b..00000000000 --- a/srcpkgs/anki/patches/001-qt.patch +++ /dev/null @@ -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+ diff --git a/srcpkgs/anki/template b/srcpkgs/anki/template index 54b13e21da5..03ff7154cf1 100644 --- a/srcpkgs/anki/template +++ b/srcpkgs/anki/template @@ -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