tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
vokoscreenNG: 3.0.5 -> 3.0.8
SCOTT-HAMILTON
5 years ago
f01474f4
5c7a370a
+47
-8
2 changed files
expand all
collapse all
unified
split
pkgs
applications
video
vokoscreen-ng
default.nix
linux-support-installation-target.patch
+7
-8
pkgs/applications/video/vokoscreen-ng/default.nix
···
1
1
{ lib
2
2
, mkDerivation
3
3
, fetchFromGitHub
4
4
-
, fetchpatch
5
4
, pkg-config
6
5
, qmake
7
6
, qttools
8
7
, gstreamer
9
8
, libX11
9
9
+
, pulseaudio
10
10
, qtbase
11
11
, qtmultimedia
12
12
, qtx11extras
···
19
19
mkDerivation rec {
20
20
21
21
pname = "vokoscreen-ng";
22
22
-
version = "3.0.5";
22
22
+
version = "3.0.8";
23
23
24
24
src = fetchFromGitHub {
25
25
owner = "vkohaupt";
26
26
repo = "vokoscreenNG";
27
27
rev = version;
28
28
-
sha256 = "1spyqw8h8bkc1prdb9aixiw5h3hk3gp2p0nj934bnwq04kmfp660";
28
28
+
sha256 = "1302663hyp2xxhaavhfky24a2p9gz23i3rykmrc6c1n23h24snri";
29
29
};
30
30
31
31
patches = [
32
32
-
# Better linux integration
33
33
-
(fetchpatch {
34
34
-
url = "https://github.com/vkohaupt/vokoscreenNG/commit/0a3784095ecca582f7eb09551ceb34c309d83637.patch";
35
35
-
sha256 = "1iibimv8xfxxfk44kkbrkay37ibdndjvs9g53mxr8x8vrsp917bz";
36
36
-
})
32
32
+
# Adaptation of previously used https://github.com/City-busz/vokoscreenNG/commit/0a3784095ecca582f7eb09551ceb34c309d83637 patch
33
33
+
# used for 3.0.5 but incompatible at least since 3.0.8. The issue is addressed here https://github.com/vkohaupt/vokoscreenNG/issues/139
34
34
+
./linux-support-installation-target.patch
37
35
];
38
36
39
37
qmakeFlags = [ "src/vokoscreenNG.pro" ];
···
42
40
buildInputs = [
43
41
gstreamer
44
42
libX11
43
43
+
pulseaudio
45
44
qtbase
46
45
qtmultimedia
47
46
qtx11extras
+40
pkgs/applications/video/vokoscreen-ng/linux-support-installation-target.patch
···
1
1
+
Seulement dans b: patch.patch
2
2
+
Seulement dans b: ..rej
3
3
+
diff --color -ur a/src/vokoscreenNG.pro b/src/vokoscreenNG.pro
4
4
+
--- a/src/vokoscreenNG.pro 2021-02-03 15:00:57.377401016 +0100
5
5
+
+++ b/src/vokoscreenNG.pro 2021-02-03 15:09:18.141905863 +0100
6
6
+
@@ -160,7 +160,32 @@
7
7
+
# systrayAlternative
8
8
+
include(systrayAlternative/systrayAlternative.pri)
9
9
+
10
10
+
+unix:!macx {
11
11
+
+ isEmpty(PREFIX) {
12
12
+
+ PREFIX = /usr/local
13
13
+
+ }
14
14
+
+ isEmpty(BINDIR) {
15
15
+
+ BINDIR = $$PREFIX/bin
16
16
+
+ }
17
17
+
+ isEmpty(DATADIR) {
18
18
+
+ DATADIR = $$PREFIX/share
19
19
+
+ }
20
20
+
+
21
21
+
+ target.path = $$BINDIR
22
22
+
+
23
23
+
+ icon.files = applications/vokoscreenNG.png
24
24
+
+ icon.path = $$DATADIR/icons/hicolor/256x256/apps/
25
25
+
+
26
26
+
+ desktop.files = applications/vokoscreenNG.desktop
27
27
+
+ desktop.path = $$DATADIR/applications/
28
28
+
+
29
29
+
+ appdata.files = applications/vokoscreenNG.appdata.xml
30
30
+
+ appdata.path = $$DATADIR/metainfo/
31
31
+
+
32
32
+
+ INSTALLS += target icon desktop appdata
33
33
+
+}
34
34
+
# ciscoOpenh264
35
35
+
win32:include(ciscoOpenh264/ciscoOpenh264.pri)
36
36
+
37
37
+
-unix:include(wayland/wayland.pri)
38
38
+
\ Pas de fin de ligne à la fin du fichier
39
39
+
+unix:include(wayland/wayland.pri)
40
40
+
+