diff options
Diffstat (limited to 'dev-perl/OpenGL-GLUT/OpenGL-GLUT-0.720.0.ebuild')
-rw-r--r-- | dev-perl/OpenGL-GLUT/OpenGL-GLUT-0.720.0.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-perl/OpenGL-GLUT/OpenGL-GLUT-0.720.0.ebuild b/dev-perl/OpenGL-GLUT/OpenGL-GLUT-0.720.0.ebuild new file mode 100644 index 000000000000..1ec605acc121 --- /dev/null +++ b/dev-perl/OpenGL-GLUT/OpenGL-GLUT-0.720.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=ETJ +DIST_VERSION=0.72 + +inherit perl-module + +DESCRIPTION="Perl bindings to GLUT/FreeGLUT GUI toolkit" + +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + media-libs/freeglut:= + x11-libs/libICE:= + x11-libs/libXext:= + x11-libs/libXi:= + x11-libs/libXmu:= +" +DEPEND="${RDEPEND}" +BDEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.720.0-no-display.patch +) + +src_prepare() { + # Per Fedora, "This is basically not a test, but an interactive demo" + mv test.pl demo.pl || die + + # Unbundle GL headers + find include -type f -delete || die + + perl-module_src_prepare +} |