pitivi: fix icons

This commit is contained in:
宋文武 2014-03-22 23:57:24 +08:00
parent 6a981b5141
commit 96d78a2804
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,7 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, makeWrapper
, pythonPackages, gst, clutter-gst, clutter-gtk
, gobjectIntrospection, clutter, gtk3, librsvg
, gnome_icon_theme, gnome_icon_theme_symbolic
}:
let
@ -43,10 +44,15 @@ in stdenv.mkDerivation rec {
gstreamer gst-editing-services
clutter-gst clutter-gtk clutter gtk3
];
xdgDataDirs = makeSearchPath "share" [
gtk3 gnome_icon_theme gnome_icon_theme_symbolic
];
in ''
wrapProgram "$out/bin/pitivi" \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
--prefix LD_LIBRARY_PATH : "${libraryPath}" \
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" \
--prefix XDG_DATA_DIRS : "\$XDG_ICON_DIRS:${xdgDataDirs}:$out/share"
'';
}

View File

@ -1633,6 +1633,7 @@ let
pitivi = callPackage ../applications/video/pitivi {
gst = gst_all_1;
clutter-gtk = clutter_gtk;
inherit (gnome3) gnome_icon_theme gnome_icon_theme_symbolic;
};
hurdPartedCross =