1 { lib, fetchFromGitHub, mkDerivation
2 , pkg-config, qtbase, qttools, qmake, qtmultimedia, qtx11extras, alsa-lib, libv4l, libXrandr
9 version = "2.5.8-beta";
11 src = fetchFromGitHub {
15 sha256 = "1a85vbsi53mhzva49smqwcs61c51wv3ic410nvb9is9nlsbifwan";
18 nativeBuildInputs = [ pkg-config qmake ];
30 ./ffmpeg-out-of-box.patch
33 # Workaround build failure on -fno-common toolchains:
34 # ld: alsa_device.o:(.bss+0x8): multiple definition of `rc'; QvkAlsaDevice.o:(.bss+0x8): first defined here
35 env.NIX_CFLAGS_COMPILE = "-fcommon";
38 sed -i 's/lrelease-qt5/lrelease/g' vokoscreen.pro
42 substituteInPlace settings/QvkSettings.cpp --subst-var-by ffmpeg ${ffmpeg}
46 description = "Simple GUI screencast recorder, using ffmpeg";
47 homepage = "https://linuxecke.volkoh.de/vokoscreen/vokoscreen.html";
49 vokoscreen is an easy to use screencast creator to record
50 educational videos, live recordings of browser, installation,
51 videoconferences, etc.
53 license = licenses.gpl2Plus;
54 maintainers = [ maintainers.league ];
55 platforms = platforms.linux;
56 mainProgram = "vokoscreen";