mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
d7ea7696a2
* Backport two patches from upstream that fix the argument handling with multimedia/mpv since r520597. * Also slightly change the MASTER_SITES as upstream distribute tarballs for newer versions only via GitHub. Although there are already some newer releases available use the 2.1.16 release for a while. It's mainly because the build process has changed a lot since the 2.1.17 release and still needs to be investigated a little more closely. Changelog: https://apps.ankiweb.net/docs/changes.html#changes-in-2.1.16 MFH: 2020Q1 (blanket: bug and regression fixes)
17 lines
474 B
Python
17 lines
474 B
Python
Fix arguments that are passed to mpv.
|
|
|
|
Backported and adapted for the 2.1.16 release.
|
|
|
|
Obtained from: https://github.com/ankitects/anki/commit/ccd715013609133c55e83924734efa78abc03326
|
|
|
|
--- anki/sound.py.orig 2020-02-18 09:38:48 UTC
|
|
+++ 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,
|
|
]
|
|
|