2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchFromGitHub, mkDerivation
|
2021-01-17 03:09:27 +01:00
|
|
|
, pkg-config, qtbase, qttools, qmake, qtmultimedia, qtx11extras, alsaLib, libv4l, libXrandr
|
2020-07-03 13:33:42 +02:00
|
|
|
, ffmpeg
|
2017-01-27 17:47:06 +01:00
|
|
|
}:
|
|
|
|
|
2019-08-02 14:58:00 +02:00
|
|
|
mkDerivation rec {
|
2019-04-22 22:20:53 +02:00
|
|
|
|
|
|
|
pname = "vokoscreen";
|
|
|
|
version = "2.5.8-beta";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vkohaupt";
|
|
|
|
repo = "vokoscreen";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1a85vbsi53mhzva49smqwcs61c51wv3ic410nvb9is9nlsbifwan";
|
2017-01-27 17:47:06 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:09:27 +01:00
|
|
|
nativeBuildInputs = [ pkg-config qmake ];
|
2017-01-27 17:47:06 +01:00
|
|
|
buildInputs = [
|
2017-02-03 16:20:14 +01:00
|
|
|
alsaLib
|
|
|
|
libv4l
|
|
|
|
qtbase
|
2019-04-22 22:20:53 +02:00
|
|
|
qtmultimedia
|
2017-02-03 16:20:14 +01:00
|
|
|
qttools
|
|
|
|
qtx11extras
|
|
|
|
libXrandr
|
2017-01-27 17:47:06 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./ffmpeg-out-of-box.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's/lrelease-qt5/lrelease/g' vokoscreen.pro
|
|
|
|
'';
|
|
|
|
|
|
|
|
postConfigure = ''
|
2020-07-03 13:33:42 +02:00
|
|
|
substituteInPlace settings/QvkSettings.cpp --subst-var-by ffmpeg ${ffmpeg}
|
2017-01-27 17:47:06 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-01-27 17:47:06 +01:00
|
|
|
description = "Simple GUI screencast recorder, using ffmpeg";
|
2020-03-20 13:36:23 +01:00
|
|
|
homepage = "https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html";
|
2017-01-27 17:47:06 +01:00
|
|
|
longDescription = ''
|
|
|
|
vokoscreen is an easy to use screencast creator to record
|
|
|
|
educational videos, live recordings of browser, installation,
|
|
|
|
videoconferences, etc.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl2Plus;
|
2019-04-22 22:20:53 +02:00
|
|
|
maintainers = [ maintainers.league ];
|
2017-01-27 17:47:06 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|