# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
description OpenGL Extension to GTK, C++ bindings
homepage https://sourceforge.net/projects/gtkglext/
master_sites sourceforge:gtkglext
checksums md5 6296b82bde8daa68452b2f0b4dadcb9e \
sha1 5cd489e07517a88262cd6050f723227664e82996 \
rmd160 2dd9122f8991b2cbfd839ab0aaa6dd444751b7b0
configure.args --x-include=${prefix}/include --x-lib=${prefix}/lib
# Fix build issue where build fails due to GDK_DISABLE_DEPRECATED being enabled.
# The order in which files are included matters here. gtkmm does some funky
# stuff to undefine GDK_DISABLE_DEPRECATED, if defined, before including gdk.h
# as it needs some deprecated functionality. Including gtkglwidget.h before
# widget.h causes gdk.h to be included without GDK_DISABLE_DEPRECATED being
# undefined, and gtkmm never gets the chance to work its undefine magic.
patchfiles patch-gtkglext_gtkmm_gl-widget.cc.diff