gnumeric: add schemas and icons, refactor

Also move goffice under gnome3,
as it's released in the same way.
This commit is contained in:
Vladimír Čunát
2013-12-28 15:45:20 +01:00
parent 9bcacfb142
commit a126ce011a
6 changed files with 43 additions and 51 deletions
+12 -5
View File
@@ -1,6 +1,5 @@
{ stdenv, fetchurl
, bzip2, glib, goffice, gtk3, intltool, libglade, libgsf, libxml2
, pango, pkgconfig, scrollkeeper, zlib
{ stdenv, fetchurl, pkgconfig, intltool, perl, perlXMLParser
, goffice, makeWrapper, gtk3, gnome_icon_theme
}:
stdenv.mkDerivation rec {
@@ -11,13 +10,21 @@ stdenv.mkDerivation rec {
sha256 = "1rv2ifw6rp0iza4fkf3bffvdkyi77dwvzdnvcbpqcyn2kxfsvlsc";
};
preConfigure = ''sed -i 's/\(SUBDIRS.*\) doc/\1/' Makefile.in''; # fails when installing docs
configureFlags = "--disable-component";
# ToDo: optional libgda, python, introspection?
buildInputs = [
bzip2 glib goffice gtk3 intltool libglade libgsf libxml2
pango pkgconfig scrollkeeper zlib
pkgconfig intltool perl perlXMLParser
goffice gtk3 makeWrapper
];
postInstall = ''
wrapProgram "$out"/bin/gnumeric-* \
--prefix XDG_DATA_DIRS : "${gtk3}/share:${gnome_icon_theme}/share"
'';
meta = {
description = "The GNOME Office Spreadsheet";
license = "GPLv2+";