git.iko.soy/typeable/nixpkgs
on master help sign in
vokosscreen-ng: init at 3.0.5
commit4906881a959d9ab2d772163abcf842cf1cb7f3d7 authorSCOTT-HAMILTON <sgn.hamilton+github@protonmail.com> dateTue 25 Aug 2020, 19:30 (6 years ago) parent762434f
2 files changed+75
pkgs/applications/video/vokoscreen-ng/default.nix+71 pkgs/top-level/all-packages.nix+4
pkgs/applications/video/vokoscreen-ng/default.nixnew file+71
@@ -0,0 +1,71 @@
1+{ lib
2+, mkDerivation
3+, fetchFromGitHub
4+, fetchpatch
5+, pkg-config
6+, qmake
7+, qttools
8+, gstreamer
9+, libX11
10+, qtbase
11+, qtmultimedia
12+, qtx11extras
13+
14+, gst-plugins-base
15+, gst-plugins-good
16+, gst-plugins-bad
17+, gst-plugins-ugly
18+}:
19+mkDerivation rec {
20+
21+ pname = "vokoscreen-ng";
22+ version = "3.0.5";
23+
24+ src = fetchFromGitHub {
25+ owner = "vkohaupt";
26+ repo = "vokoscreenNG";
27+ rev = version;
28+ sha256 = "1spyqw8h8bkc1prdb9aixiw5h3hk3gp2p0nj934bnwq04kmfp660";
29+ };
30+
31+ patches = [
32+ # Better linux integration
33+ (fetchpatch {
34+ url = "https://github.com/vkohaupt/vokoscreenNG/commit/0a3784095ecca582f7eb09551ceb34c309d83637.patch";
35+ sha256 = "1iibimv8xfxxfk44kkbrkay37ibdndjvs9g53mxr8x8vrsp917bz";
36+ })
37+ ];
38+
39+ qmakeFlags = [ "src/vokoscreenNG.pro" ];
40+
41+ nativeBuildInputs = [ qttools pkg-config qmake ];
42+ buildInputs = [
43+ gstreamer
44+ libX11
45+ qtbase
46+ qtmultimedia
47+ qtx11extras
48+
49+ gst-plugins-base
50+ gst-plugins-good
51+ gst-plugins-bad
52+ gst-plugins-ugly
53+ ];
54+
55+ postPatch = ''
56+ substituteInPlace src/vokoscreenNG.pro \
57+ --replace lrelease-qt5 lrelease
58+ '';
59+
60+ postInstall = ''
61+ qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
62+ '';
63+
64+ meta = with lib; {
65+ description = "User friendly Open Source screencaster for Linux and Windows";
66+ license = licenses.gpl2Plus;
67+ homepage = "https://github.com/vkohaupt/vokoscreenNG";
68+ maintainers = with maintainers; [ shamilton ];
69+ platforms = platforms.linux;
70+ };
71+}
pkgs/top-level/all-packages.nix+4
@@ -27374,6 +27374,10 @@ in
2737427374
2737527375 vokoscreen = libsForQt5.callPackage ../applications/video/vokoscreen { };
2737627376
27377+ vokoscreen-ng = libsForQt5.callPackage ../applications/video/vokoscreen-ng {
27378+ inherit (gst_all_1) gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly;
27379+ };
27380+
2737727381 vttest = callPackage ../tools/misc/vttest { };
2737827382
2737927383 wacomtablet = libsForQt5.callPackage ../tools/misc/wacomtablet { };