diff --git a/packages/app-office/impressive/files/0001-Use-mpv-instead-of-mplayer.patch b/packages/app-office/impressive/files/0001-Use-mpv-instead-of-mplayer.patch index 45cf609d..5330100c 100644 --- a/packages/app-office/impressive/files/0001-Use-mpv-instead-of-mplayer.patch +++ b/packages/app-office/impressive/files/0001-Use-mpv-instead-of-mplayer.patch @@ -1,28 +1,26 @@ -From 098dab2c37dcda09bb89f797ea07275c76844bcc Mon Sep 17 00:00:00 2001 +From b0246f357b80f91811a3eb80f9cf309b54ef8f15 Mon Sep 17 00:00:00 2001 From: Julian Ospald -Date: Fri, 12 Aug 2016 12:55:50 +0200 +Date: Fri, 23 Mar 2018 17:01:02 +0100 Subject: [PATCH] Use mpv instead of mplayer Upstream: no --- - impressive.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + impressive.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impressive.py b/impressive.py -index 801b364..8a69a0b 100755 +index 1dbbcfa..8951aa0 100755 --- a/impressive.py +++ b/impressive.py -@@ -169,8 +169,8 @@ if os.name == "nt": +@@ -179,7 +179,7 @@ if os.name == "nt": else: def FindBinary(x): return x GhostScriptPlatformOptions = [] - MPlayerPath = "mplayer" -- MPlayerPlatformOptions = [ "-vo", "gl" ] + MPlayerPath = "mpv" -+ MPlayerPlatformOptions = [ "--vo=opengl" ] - MPlayerColorKey = False pdftkPath = "pdftk" - FontPath = ["/usr/share/fonts", "/usr/local/share/fonts", "/usr/X11R6/lib/X11/fonts/TTF"] + mutoolPath = "mutool" + ffmpegPath = "ffmpeg" -- -2.9.2 +2.16.2 diff --git a/packages/app-office/impressive/impressive-0.11.2.exheres-0 b/packages/app-office/impressive/impressive-0.12.0.exheres-0 similarity index 89% rename from packages/app-office/impressive/impressive-0.11.2.exheres-0 rename to packages/app-office/impressive/impressive-0.12.0.exheres-0 index 34e07b59..3434c2f7 100644 --- a/packages/app-office/impressive/impressive-0.11.2.exheres-0 +++ b/packages/app-office/impressive/impressive-0.12.0.exheres-0 @@ -24,6 +24,8 @@ DEPENDENCIES=" suggestion: app-text/mupdf [[ description = [ Alternate PDF rendering ] ]] app-text/poppler [[ description = [ Alternate PDF rendering ] ]] + media/ffmpeg [[ description = [ load a preview image from a video file ] ]] + media/libav [[ description = [ load a preview image from a video file ] ]] media/mpv [[ description = [ For sound and video playback ] ]] x11-apps/xdg-utils [[ description = [ For starting web or e-mail hyperlinks from PDF documents ] ]]