1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 GNOME_TARBALL_SUFFIX="bz2"
11 DESCRIPTION="OpenGL canvas and context provider for GTK+"
12 HOMEPAGE="http://www.mono-project.com/GtkGLArea"
14 LICENSE="LGPL-2+ GPL-2+" # examples are GPL-2+, library is LGPL-2+
16 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
19 RDEPEND=">=x11-libs/gtk+-2.0.3:2
25 # Do not build examples
26 sed "s:\(SUBDIRS.*\)examples:\1:" -i Makefile.am Makefile.in || die "sed 1 failed"
27 # -lGLU is only needed for building examples. Avoid autoreconf.
28 sed -e 's: -lGLU::' -i configure || die "sed 2 failed"
34 gnome2_src_configure --disable-static
38 DOCS="AUTHORS ChangeLog NEWS README* docs/*.txt"
43 insinto /usr/share/doc/${PF}/examples
44 doins *.c *.h *.lwo README || die "doins failed"