summary refs log tree commit diff
path: root/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch
diff options
context:
space:
mode:
authorChristopher League <league@contrapunctus.net>2017-01-27 11:47:06 -0500
committerChristopher League <league@contrapunctus.net>2017-01-27 16:08:34 -0500
commitc1c7d2894d2da7b38e9a09e0bdaea46c66a0b7e5 (patch)
tree3d426b1e2ccafd02d0b6e01ab55e19efac3341b5 /pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch
parent3d78976c58492a0455c98f531eb3782206529c1d (diff)
downloadnixpkgs-c1c7d2894d2da7b38e9a09e0bdaea46c66a0b7e5.tar
nixpkgs-c1c7d2894d2da7b38e9a09e0bdaea46c66a0b7e5.tar.gz
nixpkgs-c1c7d2894d2da7b38e9a09e0bdaea46c66a0b7e5.tar.bz2
nixpkgs-c1c7d2894d2da7b38e9a09e0bdaea46c66a0b7e5.tar.lz
nixpkgs-c1c7d2894d2da7b38e9a09e0bdaea46c66a0b7e5.tar.xz
nixpkgs-c1c7d2894d2da7b38e9a09e0bdaea46c66a0b7e5.tar.zst
nixpkgs-c1c7d2894d2da7b38e9a09e0bdaea46c66a0b7e5.zip
vokoscreen: init at 2.5.0
vokoscreen is an easy to use screencast creator to record educational
videos, live recordings of browser, installation, videoconferences, etc.

It uses Qt5 and ffmpeg.
Diffstat (limited to 'pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch')
-rw-r--r--pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch b/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch
new file mode 100644
index 00000000000..8f696f26301
--- /dev/null
+++ b/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch
@@ -0,0 +1,31 @@
+diff --git a/settings/QvkSettings.cpp b/settings/QvkSettings.cpp
+index bbf2abf..187efad 100644
+--- a/settings/QvkSettings.cpp
++++ b/settings/QvkSettings.cpp
+@@ -56,17 +56,8 @@ void QvkSettings::readAll()
+       GIFPlayer = settings.value( "GIFplayer" ).toString();
+       Minimized = settings.value( "Minimized", 0 ).toUInt();
+       Countdown = settings.value( "Countdown", 0 ).toUInt();
+-      QFile file;
+-      if ( file.exists( qApp->applicationDirPath().append( "/bin/ffmpeg" ) ) == true )
+-      {
+-	vokoscreenWithLibs = true;
+-        Recorder = qApp->applicationDirPath().append( "/bin/ffmpeg" );
+-      }
+-      else
+-      {
+-	vokoscreenWithLibs = false;
+-        Recorder = settings.value( "Recorder", "ffmpeg" ).toString();
+-      }
++      vokoscreenWithLibs = true;
++      Recorder = settings.value( "Recorder", "@ffmpeg@/bin/ffmpeg" ).toString();
+     settings.endGroup();
+     
+     settings.beginGroup( "Videooptions" );
+@@ -398,4 +389,4 @@ double QvkSettings::getShowClickTime()
+ int QvkSettings::getShowKeyOnOff()
+ {
+   return showKeyOnOff; 
+-}
+\ No newline at end of file
++}