summaryrefslogtreecommitdiff
path: root/dev-perl/OpenGL-GLUT/OpenGL-GLUT-0.720.0.ebuild
blob: 1ec605acc1213337e85d0ffd294daad7527bf842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
}