aboutsummaryrefslogtreecommitdiff
path: root/pkgs/desktops/gnome-3/extensions/EasyScreenCast/fix-gi-path.patch
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2020-11-25 13:33:17 +0200
committerDoron Behar <doron.behar@gmail.com>2020-12-05 11:56:34 +0200
commitdb6178b797dec5aa0295a71160d6d7008ada1a53 (patch)
tree2063c5aabebde1a0ce02bda124c429548c292923 /pkgs/desktops/gnome-3/extensions/EasyScreenCast/fix-gi-path.patch
parent2247d824fe07f16325596acc7faa286502faffd1 (diff)
gnomeExtensions.easyScreenCast: init at unstable-2020-11-25
Diffstat (limited to '')
-rw-r--r--pkgs/desktops/gnome-3/extensions/EasyScreenCast/fix-gi-path.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome-3/extensions/EasyScreenCast/fix-gi-path.patch b/pkgs/desktops/gnome-3/extensions/EasyScreenCast/fix-gi-path.patch
new file mode 100644
index 000000000000..2d32021b6c66
--- /dev/null
+++ b/pkgs/desktops/gnome-3/extensions/EasyScreenCast/fix-gi-path.patch
@@ -0,0 +1,16 @@
+diff --git i/utilaudio.js w/utilaudio.js
+index 983b29c..7a94de8 100644
+--- i/utilaudio.js
++++ w/utilaudio.js
+@@ -11,10 +11,7 @@
+ */
+
+ const GIRepository = imports.gi.GIRepository;
+-GIRepository.Repository.prepend_search_path("/usr/lib/gnome-shell");
+-GIRepository.Repository.prepend_library_path("/usr/lib/gnome-shell");
+-GIRepository.Repository.prepend_search_path("/usr/lib64/gnome-shell");
+-GIRepository.Repository.prepend_library_path("/usr/lib64/gnome-shell");
++GIRepository.Repository.prepend_search_path("@gnomeShell@/lib/gnome-shell");
+ const Gvc = imports.gi.Gvc;
+ const Lang = imports.lang;
+