diff options
author | Chris Burroughs <chris.burroughs@gmail.com> | 2019-11-07 21:37:38 -0500 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-06-12 09:59:45 +0300 |
commit | bbf4348280a355c7def871019405fc563730ed7c (patch) | |
tree | 0b8132fcd7a25797262f3e4c4c4ea7cfcf64a27d /app-misc/anki/files | |
parent | dev-lang/rust: add some comments to cross section (diff) | |
download | gentoo-bbf4348280a355c7def871019405fc563730ed7c.tar.gz gentoo-bbf4348280a355c7def871019405fc563730ed7c.tar.bz2 gentoo-bbf4348280a355c7def871019405fc563730ed7c.zip |
app-misc/anki: bump to 2.1.15 and modernize ebuild
- claiming maintainer timeout to update version and fix bugs, --juippis
* Bump to EAPI 7
* Enable python 3.{7,8} support
* Fix missing test dependencies
* Add missing jsonschema dependency
* Backport argument fix to allow mpv versions > 0.31 to be used by anki
* Correct and expand LICENSE
* Resolve NonexistentDeps DEPEND warning (leftover from PyQtWebEngine split,
but no version of PyQt5 with a webengine use flag is still in the tree.)
* Use default pkg_setup from eclass and rely on default value for S variable
* Clarify optional runtime dependencies needed (mpv OR mplayer)
* Move optional runtime dependencies to optfeature
* Adjust SRC_URL after upstream re-arranging
NOTE: The upstream LICENSE includes "Qt's bundled translations: LGPL3", but
since we are building from source that is not directly included. More recent
upstream versions have clarified this in the LICENSE file.
Bug: https://bugs.gentoo.org/625894
Bug: https://bugs.gentoo.org/645314
Bug: https://bugs.gentoo.org/651472
Bug: https://bugs.gentoo.org/688798
Closes: https://bugs.gentoo.org/700010
Closes: https://bugs.gentoo.org/715624
Bug: https://bugs.gentoo.org/722502
Bug: https://bugs.gentoo.org/724482
Bug: https://bugs.gentoo.org/724990
Closes: https://bugs.gentoo.org/726522
Signed-off-by: Chris Burroughs <chris.burroughs@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16054
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-misc/anki/files')
-rw-r--r-- | app-misc/anki/files/anki-2.1.15-mpv-args.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/app-misc/anki/files/anki-2.1.15-mpv-args.patch b/app-misc/anki/files/anki-2.1.15-mpv-args.patch new file mode 100644 index 000000000000..1e8cde1083f2 --- /dev/null +++ b/app-misc/anki/files/anki-2.1.15-mpv-args.patch @@ -0,0 +1,26 @@ +--- a/anki/mpv.py ++++ b/anki/mpv.py +@@ -104,9 +104,9 @@ class MPVBase: + """ + self.argv = [self.executable] + self.argv += self.default_argv +- self.argv += ["--input-ipc-server", self._sock_filename] ++ self.argv += ["--input-ipc-server="+self._sock_filename] + if self.window_id is not None: +- self.argv += ["--wid", str(self.window_id)] ++ self.argv += ["--wid="+str(self.window_id)] + + def _start_process(self): + """Start the mpv process. +diff --git a/anki/sound.py b/anki/sound.py +index aa3431b1..a5fce446 100644 +--- a/anki/sound.py ++++ b/anki/sound.py +@@ -124,7 +124,6 @@ class MpvManager(MPV): + def setMpvConfigBase(base): + mpvConfPath = os.path.join(base, "mpv.conf") + MpvManager.default_argv += [ +- "--no-config", + "--include="+mpvConfPath, + ] + |