From 14c9dce3bdfe3140b0a09329e8d88ccc4ec1dd43 Mon Sep 17 00:00:00 2001 From: Dipta Biswas <73038615+hazel-bunny@users.noreply.github.com> Date: Mon, 13 Nov 2023 15:05:21 +0000 Subject: [PATCH] Fix dependencies of anki-bin and anki-qt5 (#792) * Update anki-bin.spec Add dependencies on python3-orjson and mpv - fix `orjson is missing; DB operations will be slower` - mpv is needed for playing sound Signed-off-by: Dipta Biswas <73038615+hazel-bunny@users.noreply.github.com> * Update anki-bin.spec Signed-off-by: Dipta Biswas <73038615+hazel-bunny@users.noreply.github.com> * Update anki-bin.spec Signed-off-by: Dipta Biswas <73038615+hazel-bunny@users.noreply.github.com> * Update anki-qt5.spec Signed-off-by: Dipta Biswas <73038615+hazel-bunny@users.noreply.github.com> --------- Signed-off-by: Dipta Biswas <73038615+hazel-bunny@users.noreply.github.com> Signed-off-by: madomado Co-authored-by: madomado --- anda/apps/anki-bin/anki-bin.spec | 10 +++++++--- anda/apps/anki-qt5/anki-qt5.spec | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/anda/apps/anki-bin/anki-bin.spec b/anda/apps/anki-bin/anki-bin.spec index d507f4b928..9ec4665b51 100644 --- a/anda/apps/anki-bin/anki-bin.spec +++ b/anda/apps/anki-bin/anki-bin.spec @@ -5,9 +5,10 @@ Summary: Flashcard program for using space repetition learning (Installed with License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 URL: https://apps.ankiweb.net/ BuildRequires: python3-installer python3.11 rpm_macro(fdupes) -Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash -Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat -Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress python3-pyqt6-webengine +Requires: python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-orjson +Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema +Requires: python3-flask-cors python3-protobuf python3-requests python3-waitress python3-pyqt6-webengine python3-send2trash +Requires: libxcrypt-compat hicolor-icon-theme sox mpv ExclusiveArch: x86_64 Conflicts: anki Source0: https://files.pythonhosted.org/packages/cp39/a/anki/anki-%{version}-cp39-abi3-manylinux_2_28_%{_arch}.whl @@ -52,5 +53,8 @@ install -Dm644 %{SOURCE6} "%{buildroot}/%{_datadir}/doc/%{name}/README.md" /usr/share/pixmaps/anki.png %changelog +* Fri Nov 10 2023 hazel-bunny - 23.10-2 +- Add python3-orjson and mpv as dependencies + * Wed Jan 11 2023 windowsboy111 - 2.1.60 - Initial package diff --git a/anda/apps/anki-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index 5fe763a0ca..f933a5b97c 100644 --- a/anda/apps/anki-qt5/anki-qt5.spec +++ b/anda/apps/anki-qt5/anki-qt5.spec @@ -7,7 +7,7 @@ URL: https://apps.ankiweb.net/ BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks rpm_macro(fdupes) BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson python3-pyqt5-sip BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc -Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash +Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash python3-orjson mpv python3-qt5-webengine Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-pyqt5-sip ExclusiveArch: x86_64 Conflicts: anki