Adding a wrapper for sflphone-gnome (to find gtk3 schema files)

This commit is contained in:
Lluís Batlle i Rossell 2013-06-30 14:32:36 +02:00
parent 33d957b34b
commit c979360b52

View File

@ -2,7 +2,7 @@
, commoncpp2, ccrtp, libzrtpcpp, dbus, dbus_cplusplus, expat, pcre, gsm, speex, ilbc, libopus , commoncpp2, ccrtp, libzrtpcpp, dbus, dbus_cplusplus, expat, pcre, gsm, speex, ilbc, libopus
, autoconf, automake, libtool, gettext, perl , autoconf, automake, libtool, gettext, perl
, cmake, qt4 , cmake, qt4
, gtk, glib, dbus_glib, libnotify, intltool }: , gtk, glib, dbus_glib, libnotify, intltool, makeWrapper }:
let let
name = "sflphone-1.2.3"; name = "sflphone-1.2.3";
@ -74,6 +74,11 @@ rec {
cd gnome 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 ];
}; };
} }