2019-12-18 23:24:35 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitLab
|
|
|
|
, pkgconfig
|
|
|
|
, gtk-doc
|
|
|
|
, autoconf
|
|
|
|
, automake
|
|
|
|
, which
|
|
|
|
, libtool
|
|
|
|
, gobject-introspection
|
|
|
|
, glib
|
|
|
|
, gtk2
|
|
|
|
, libGLU
|
|
|
|
, libGL
|
|
|
|
, pango
|
|
|
|
, xorg
|
|
|
|
}:
|
2010-08-23 14:52:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-12-18 23:24:35 +00:00
|
|
|
pname = "gtkglext";
|
|
|
|
version = "unstable-2019-12-19";
|
2009-10-20 22:20:58 +00:00
|
|
|
|
2019-12-18 23:24:35 +00:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "Archive";
|
|
|
|
repo = pname;
|
|
|
|
# build fixes
|
|
|
|
# https://gitlab.gnome.org/Archive/gtkglext/merge_requests/1
|
|
|
|
rev = "ad95fbab68398f81d7a5c895276903b0695887e2";
|
|
|
|
sha256 = "1d1bp4635nla7d07ci40c7w4drkagdqk8wg93hywvdipmjfb4yqb";
|
2009-10-20 22:20:58 +00:00
|
|
|
};
|
2010-08-23 14:52:00 +00:00
|
|
|
|
2019-12-18 23:24:35 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
gtk-doc
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
which
|
|
|
|
libtool
|
|
|
|
gobject-introspection
|
|
|
|
];
|
2010-08-23 14:52:00 +00:00
|
|
|
|
2019-12-18 23:24:35 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk2
|
|
|
|
libGLU
|
|
|
|
libGL
|
|
|
|
pango
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXmu
|
2018-04-15 12:42:35 +00:00
|
|
|
];
|
|
|
|
|
2019-12-18 23:24:35 +00:00
|
|
|
preConfigure = ''
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
'';
|
|
|
|
|
2014-08-23 09:46:43 +00:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://projects.gnome.org/gtkglext/";
|
2019-09-03 22:49:40 +00:00
|
|
|
description = "GtkGLExt, an OpenGL extension to GTK";
|
|
|
|
longDescription = ''
|
|
|
|
GtkGLExt is an OpenGL extension to GTK. It provides additional GDK
|
|
|
|
objects which support OpenGL rendering in GTK and GtkWidget API
|
|
|
|
add-ons to make GTK widgets OpenGL-capable. In contrast to Janne
|
|
|
|
Löf's GtkGLArea, GtkGLExt provides a GtkWidget API that enables
|
|
|
|
OpenGL drawing for standard and custom GTK widgets.
|
|
|
|
'';
|
2014-08-23 09:46:43 +00:00
|
|
|
license = licenses.lgpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2010-08-23 14:52:00 +00:00
|
|
|
};
|
2009-10-20 22:20:58 +00:00
|
|
|
}
|