anki: backport patch to fix mpv args
This commit is contained in:
parent
eb13a8ac8c
commit
23b5f320ed
|
@ -0,0 +1,29 @@
|
||||||
|
--- ./anki/mpv.py
|
||||||
|
+++ ./anki/mpv.py
|
||||||
|
@@ -104,9 +104,9 @@
|
||||||
|
"""
|
||||||
|
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.
|
||||||
|
|
||||||
|
--- ./anki/sound.py
|
||||||
|
+++ ./anki/sound.py
|
||||||
|
@@ -123,10 +123,7 @@
|
||||||
|
|
||||||
|
def setMpvConfigBase(base):
|
||||||
|
mpvConfPath = os.path.join(base, "mpv.conf")
|
||||||
|
- MpvManager.default_argv += [
|
||||||
|
- "--no-config",
|
||||||
|
- "--include="+mpvConfPath,
|
||||||
|
- ]
|
||||||
|
+ MpvManager.default_argv += ["--include="+mpvConfPath]
|
||||||
|
|
||||||
|
mpvManager = None
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'anki'
|
# Template file for 'anki'
|
||||||
pkgname=anki
|
pkgname=anki
|
||||||
version=2.1.15
|
version=2.1.15
|
||||||
revision=3
|
revision=4
|
||||||
archs=noarch
|
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
depends="python3-PyQt5-webengine python3-requests python3-SQLAlchemy
|
depends="python3-PyQt5-webengine python3-requests python3-SQLAlchemy
|
||||||
python3-PyAudio python3-mpv python3-Markdown python3-send2trash
|
python3-PyAudio python3-mpv python3-Markdown python3-send2trash
|
||||||
|
|
Loading…
Reference in New Issue