2015-02-04 06:39:19 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gtkglext, gtkmm, gtk, mesa, gdk_pixbuf
|
|
|
|
, pangox_compat, libXmu
|
|
|
|
}:
|
2012-07-02 15:43:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-05 06:22:12 +01:00
|
|
|
name = "gtkglextmm-${minVer}.0";
|
|
|
|
minVer = "1.2";
|
2012-07-02 15:43:47 +01:00
|
|
|
|
2015-04-05 06:22:12 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gtkglextmm/${minVer}/${name}.tar.bz2";
|
2012-07-02 15:43:47 +01:00
|
|
|
sha256 = "6cd4bd2a240e5eb1e3a24c5a3ebbf7ed905b522b888439778043fdeb58771fea";
|
|
|
|
};
|
|
|
|
|
2015-02-04 06:39:19 +00:00
|
|
|
patches = [
|
|
|
|
./gdk.patch
|
|
|
|
|
|
|
|
# From debian, fixes build with newer gtk "[...] by switching #includes
|
|
|
|
# around so that the G_DISABLE_DEPRECATED trick in glibmm still works".
|
|
|
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707356
|
|
|
|
./fix_ftbfs_gtk_2_36.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [ pangox_compat libXmu ];
|
2012-07-02 15:43:47 +01:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [pkgconfig];
|
2012-07-02 15:43:47 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ gtkglext gtkmm gtk mesa gdk_pixbuf ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ wrappers for GtkGLExt";
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2012-07-02 15:43:47 +01:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|