mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Adding a wrapper for sflphone-gnome (to find gtk3 schema files)
This commit is contained in:
parent
33d957b34b
commit
c979360b52
1 changed files with 7 additions and 2 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue