From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-perl/OpenGL/OpenGL-0.700.0.ebuild | 50 +++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 dev-perl/OpenGL/OpenGL-0.700.0.ebuild (limited to 'dev-perl/OpenGL/OpenGL-0.700.0.ebuild') diff --git a/dev-perl/OpenGL/OpenGL-0.700.0.ebuild b/dev-perl/OpenGL/OpenGL-0.700.0.ebuild new file mode 100644 index 000000000000..3f84d3c549d9 --- /dev/null +++ b/dev-perl/OpenGL/OpenGL-0.700.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=CHM +DIST_VERSION=0.70 + +inherit perl-module eutils + +DESCRIPTION="Perl interface providing graphics display using OpenGL" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples" + +RDEPEND=" + media-libs/freeglut:0= + x11-libs/libICE:0= + x11-libs/libXext:0= + x11-libs/libXi:0= + x11-libs/libXmu:0=" +DEPEND="${RDEPEND}" + +mydoc="Release_Notes" + +src_prepare() { + eapply "${FILESDIR}"/${P}-no-display.patch + # This should be merely moved to t/ as it gets + # installed to OS otherwise. + # But it presently fails tests, and can't be made not to. + # ( And will need virtualx when it can ) + # Something to do with OpenGL implementation ala eselect. + perl_rm_files "test.pl"; + perl-module_src_prepare +} + +src_compile() { + sed -i -e 's/PERL_DL_NONLAZY=1//' Makefile || die + perl-module_src_compile +} + +src_install() { + perl-module_src_install + if use examples; then + docompress -x /usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF}/examples + doins -r examples/* + fi +} -- cgit v1.2.3