2021-01-17 03:21:50 +01:00
|
|
|
{ stdenv, fetchurl, pkg-config, glib, popt, zlib, libcanberra-gtk2
|
2018-07-21 02:44:44 +02:00
|
|
|
, intltool, libbonobo, GConf, gnome_vfs, libtool, libogg
|
2014-06-20 18:40:14 +02:00
|
|
|
}:
|
2009-09-30 07:27:34 +02:00
|
|
|
|
2011-10-08 16:08:44 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2015-04-05 07:22:12 +02:00
|
|
|
name = "libgnome-${minVer}.1";
|
|
|
|
minVer = "2.32";
|
2013-10-06 00:20:34 +02:00
|
|
|
|
2015-04-05 07:22:12 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/libgnome/${minVer}/${name}.tar.bz2";
|
2011-10-08 16:08:44 +02:00
|
|
|
sha256 = "197pnq8y0knqjhm2fg4j6hbqqm3qfzfnd0irhwxpk1b4hqb3kimj";
|
2009-09-30 07:27:34 +02:00
|
|
|
};
|
2013-04-17 19:01:28 +02:00
|
|
|
|
|
|
|
patches = [ ./new-glib.patch ];
|
2017-09-28 11:58:56 +02: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 19:01:28 +02:00
|
|
|
|
2021-01-17 03:21:50 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-02-25 03:23:58 +01:00
|
|
|
buildInputs = [ popt zlib intltool GConf gnome_vfs libcanberra-gtk2 libtool ];
|
2014-06-20 18:51:32 +02:00
|
|
|
propagatedBuildInputs = [ glib libbonobo libogg ];
|
2009-09-30 07:27:34 +02:00
|
|
|
}
|