2018-02-25 02:23:58 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, popt, zlib, libcanberra-gtk2
|
2018-07-21 01:44:44 +01:00
|
|
|
, intltool, libbonobo, GConf, gnome_vfs, libtool, libogg
|
2014-06-20 17:40:14 +01:00
|
|
|
}:
|
2009-09-30 06:27:34 +01:00
|
|
|
|
2011-10-08 15:08:44 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-04-05 06:22:12 +01:00
|
|
|
name = "libgnome-${minVer}.1";
|
|
|
|
minVer = "2.32";
|
2013-10-05 23:20:34 +01:00
|
|
|
|
2015-04-05 06:22:12 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/libgnome/${minVer}/${name}.tar.bz2";
|
2011-10-08 15:08:44 +01:00
|
|
|
sha256 = "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj";
|
2009-09-30 06:27:34 +01:00
|
|
|
};
|
2013-04-17 18:01:28 +01:00
|
|
|
|
|
|
|
patches = [ ./new-glib.patch ];
|
2017-09-28 10:58:56 +01:00
|
|
|
/* There's a comment containing an invalid utf-8 sequence, breaking glib-mkenums. */
|
|
|
|
postPatch = "sed '/returns the true filename/d' -i libgnome/gnome-config.h";
|
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
2013-04-17 18:01:28 +01:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-02-25 02:23:58 +00:00
|
|
|
buildInputs = [ popt zlib intltool GConf gnome_vfs libcanberra-gtk2 libtool ];
|
2014-06-20 17:51:32 +01:00
|
|
|
propagatedBuildInputs = [ glib libbonobo libogg ];
|
2009-09-30 06:27:34 +01:00
|
|
|
}
|