# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup active_variants 1.1 name gtkglarea2 set gname gtkglarea version 2.1.0 license LGPL set branch [join [lrange [split ${version} .] 0 1] .] categories x11 devel maintainers nomaintainer platforms darwin description GtkGLArea is an OpenGL context provider for GTK+ 2. long_description ${description} It provides a simple OpenGL rendering canvas \ similar in use to GtkDrawingArea. In addition, lower level \ objects allow the adding of an OpenGL context to almost any \ existing drawable widget and off-screen rendering to pixmap objects. homepage http://www.mono-project.com/GtkGLArea master_sites gnome:sources/${gname}/${branch} distname ${gname}-${version} use_xz yes checksums rmd160 4672718ad1eb96317c0f98ff52d6b64bc3b90c2a \ sha256 8e1e545877d2f5139300b54c2e3bcd70acf7d80a78421a894192186a64db82de depends_build port:pkgconfig depends_lib port:mesa \ port:gtk2 # see #42982 require_active_variants gtk2 x11 configure.args --with-GL-prefix=${prefix} \ --with-lib-GL livecheck.type gnome-with-unstable livecheck.name ${gname}