Skip to content

Commit

Permalink
skypeforlinux: add gsettings schemas
Browse files Browse the repository at this point in the history
cherry-picked and squashed from #44652
  • Loading branch information
zgrannan authored and jtojnar committed Aug 19, 2018
1 parent ff0a101 commit 3b2f3e5
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, dpkg, makeWrapper
{ stdenv, fetchurl, dpkg
, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, gdk_pixbuf, glib, glibc, gnome2, gnome3
, gtk3, libnotify, libpulseaudio, libsecret, libv4l, nspr, nss, pango, systemd, xorg }:
, gtk3, libnotify, libpulseaudio, libsecret, libv4l, nspr, nss, pango, systemd, wrapGAppsHook, xorg }:

let

Expand Down Expand Up @@ -68,7 +68,12 @@ in stdenv.mkDerivation {

inherit src;

buildInputs = [ dpkg makeWrapper ];
nativeBuildInputs = [
wrapGAppsHook
glib # For setup hook populating GSETTINGS_SCHEMA_PATH
];

buildInputs = [ dpkg ];

unpackPhase = "true";
installPhase = ''
Expand All @@ -90,6 +95,10 @@ in stdenv.mkDerivation {
ln -s "$out/share/skypeforlinux/skypeforlinux" "$out/bin/skypeforlinux"
wrapProgram $out/bin/skypeforlinux \
--suffix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
# Fix the desktop link
substituteInPlace $out/share/applications/skypeforlinux.desktop \
--replace /usr/bin/ $out/bin/ \
Expand Down

0 comments on commit 3b2f3e5

Please sign in to comment.