diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-06-30 14:32:36 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2013-07-06 14:34:15 +0200 |
commit | c979360b528d927fc19539ed720ebb6b56a15ffd (patch) | |
tree | 12f8cf8d2295500e6b826cc14b7108706c50fd61 /pkgs/applications/networking/instant-messengers/sflphone | |
parent | 33d957b34b32197e9204f692b46f05f726d3720c (diff) |
Adding a wrapper for sflphone-gnome (to find gtk3 schema files)
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/sflphone')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/sflphone/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/sflphone/default.nix b/pkgs/applications/networking/instant-messengers/sflphone/default.nix index 79b554798eeef..2401d796bfdc2 100644 --- a/pkgs/applications/networking/instant-messengers/sflphone/default.nix +++ b/pkgs/applications/networking/instant-messengers/sflphone/default.nix @@ -2,7 +2,7 @@ , commoncpp2, ccrtp, libzrtpcpp, dbus, dbus_cplusplus, expat, pcre, gsm, speex, ilbc, libopus , autoconf, automake, libtool, gettext, perl , cmake, qt4 -, gtk, glib, dbus_glib, libnotify, intltool }: +, gtk, glib, dbus_glib, libnotify, intltool, makeWrapper }: let name = "sflphone-1.2.3"; @@ -74,6 +74,11 @@ rec { cd gnome ''; - buildInputs = [ daemon pkgconfig gtk glib dbus_glib libnotify intltool ]; + # gtk3 programs have the runtime dependency on XDG_DATA_DIRS + postInstall = '' + wrapProgram $out/bin/sflphone* --prefix XDG_DATA_DIRS ":" ${gtk}/share + ''; + + buildInputs = [ daemon pkgconfig gtk glib dbus_glib libnotify intltool makeWrapper ]; }; } |