GtkGLExt 1.2.0.
svn path=/nixpkgs/trunk/; revision=23364
This commit is contained in:
parent
3002aafcf3
commit
6ffaf59086
@ -1,11 +1,34 @@
|
||||
{stdenv, fetchurl, pkgconfig, gtk, mesa, pango}:
|
||||
{ stdenv, fetchurl, pkgconfig, gtk, mesa, pango }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gtkglext-1.2.0";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gtkglext-1.0.6";
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gtkglext/1.0/gtkglext-1.0.6.tar.bz2;
|
||||
sha256 = "1a9kpw1jx6d0dyljgv6f8kj2xdmyvrkyfds879wxk8x6n60gpcdj";
|
||||
url = "mirror://gnome/sources/gtkglext/1.2/${name}.tar.bz2";
|
||||
sha256 = "0lbz96jwz57hnn52b8rfj54inwpwcc9fkdq6ya043cgnfih77g8n";
|
||||
};
|
||||
NIX_LDFLAGS="-lpango-1.0 -lpangox-1.0";
|
||||
|
||||
buildInputs = [ pkgconfig gtk mesa pango ];
|
||||
|
||||
# The library uses `GTK_WIDGET_REALIZED', `GTK_WIDGET_TOPLEVEL', and
|
||||
# `GTK_WIDGET_NO_WINDOW', all of which appear to be deprecated nowadays.
|
||||
CPPFLAGS = "-UGTK_DISABLE_DEPRECATED";
|
||||
|
||||
meta = {
|
||||
homepage = http://projects.gnome.org/gtkglext/;
|
||||
|
||||
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.
|
||||
'';
|
||||
|
||||
license = "LGPLv2+";
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.ludo ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user