tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gnomeExtensions.EasyScreenCast: 1.4.0 -> 1.7.0
Tobias Mayer
3 years ago
f305cd10
ed06af11
+39
-15
2 changed files
expand all
collapse all
unified
split
pkgs
desktops
gnome
extensions
EasyScreenCast
default.nix
fix-gi-path.patch
+4
-4
pkgs/desktops/gnome/extensions/EasyScreenCast/default.nix
···
1
-
{ lib, stdenv, fetchFromGitHub, substituteAll, glib, gnome, gettext }:
2
3
stdenv.mkDerivation rec {
4
pname = "gnome-shell-extension-EasyScreenCast";
5
-
version = "1.4.0";
6
7
src = fetchFromGitHub {
8
owner = "EasyScreenCast";
9
repo = "EasyScreenCast";
10
rev = version;
11
-
sha256 = "sha256-+lh/hqYC9+DUvLE016KuAY4Ybw8KrqEEG7WG4pUbg2k=";
12
};
13
14
patches = [
···
19
];
20
21
nativeBuildInputs = [
22
-
glib gettext
23
];
24
25
makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
···
1
+
{ lib, stdenv, fetchFromGitHub, substituteAll, glib, gnome, gettext, jq }:
2
3
stdenv.mkDerivation rec {
4
pname = "gnome-shell-extension-EasyScreenCast";
5
+
version = "1.7.0";
6
7
src = fetchFromGitHub {
8
owner = "EasyScreenCast";
9
repo = "EasyScreenCast";
10
rev = version;
11
+
hash = "sha256-+cH/gczCdxoSrLp5nD82Spo8bSGyRnUUut3Xkmr9f3o=";
12
};
13
14
patches = [
···
19
];
20
21
nativeBuildInputs = [
22
+
glib gettext jq
23
];
24
25
makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
+35
-11
pkgs/desktops/gnome/extensions/EasyScreenCast/fix-gi-path.patch
···
1
-
diff --git i/utilaudio.js w/utilaudio.js
2
-
index 983b29c..7a94de8 100644
3
-
--- i/utilaudio.js
4
-
+++ w/utilaudio.js
5
-
@@ -11,10 +11,7 @@
6
-
*/
7
8
const GIRepository = imports.gi.GIRepository;
9
-
-GIRepository.Repository.prepend_search_path("/usr/lib/gnome-shell");
10
-
-GIRepository.Repository.prepend_library_path("/usr/lib/gnome-shell");
11
-
-GIRepository.Repository.prepend_search_path("/usr/lib64/gnome-shell");
12
-
-GIRepository.Repository.prepend_library_path("/usr/lib64/gnome-shell");
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
13
+GIRepository.Repository.prepend_search_path("@gnomeShell@/lib/gnome-shell");
14
const Gvc = imports.gi.Gvc;
15
-
const Lang = imports.lang;
16
0
···
1
+
diff --git a/prefs.js b/prefs.js
2
+
index 97b85a3..2fc6539 100644
3
+
--- a/prefs.js
4
+
+++ b/prefs.js
5
+
@@ -14,8 +14,8 @@
6
+
'use strict';
7
8
const GIRepository = imports.gi.GIRepository;
9
+
-GIRepository.Repository.prepend_search_path('/usr/lib64/gnome-shell');
10
+
-GIRepository.Repository.prepend_library_path('/usr/lib64/gnome-shell');
11
+
+GIRepository.Repository.prepend_search_path('@gnomeShell@/lib/gnome-shell');
12
+
+GIRepository.Repository.prepend_library_path('@gnomeShell@/lib/gnome-shell');
13
+
14
+
const GObject = imports.gi.GObject;
15
+
const Gio = imports.gi.Gio;
16
+
@@ -746,7 +746,7 @@ const EasyScreenCastSettingsWidget = GObject.registerClass({
17
+
Lib.TalkativeLog('-^-NOT SET xdg-user video');
18
+
19
+
ctx.CtrlExe.Execute(
20
+
- '/usr/bin/sh -c "echo $HOME"',
21
+
+ '/bin/sh -c "echo $HOME"',
22
+
true,
23
+
(success, out) => {
24
+
Lib.TalkativeLog(`-^-CALLBACK sync S: ${success} out: ${out}`);
25
+
diff --git a/utilaudio.js b/utilaudio.js
26
+
index 957eda2..84af241 100644
27
+
--- a/utilaudio.js
28
+
+++ b/utilaudio.js
29
+
@@ -15,10 +15,7 @@
30
+
31
+
const GObject = imports.gi.GObject;
32
+
const GIRepository = imports.gi.GIRepository;
33
+
-GIRepository.Repository.prepend_search_path('/usr/lib/gnome-shell');
34
+
-GIRepository.Repository.prepend_library_path('/usr/lib/gnome-shell');
35
+
-GIRepository.Repository.prepend_search_path('/usr/lib64/gnome-shell');
36
+
-GIRepository.Repository.prepend_library_path('/usr/lib64/gnome-shell');
37
+GIRepository.Repository.prepend_search_path("@gnomeShell@/lib/gnome-shell");
38
const Gvc = imports.gi.Gvc;
0
39
40
+
const ExtensionUtils = imports.misc.extensionUtils;