1 |
commit: b7993fe3d0d8f8267e170695ac146436cc3a2390 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 17 01:17:33 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 17 01:48:07 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7993fe3 |
7 |
|
8 |
media-libs/freeglut: Version bump to 3.2.0 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
media-libs/freeglut/Manifest | 1 + |
13 |
media-libs/freeglut/freeglut-3.2.0.ebuild | 39 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/freeglut/Manifest b/media-libs/freeglut/Manifest |
17 |
index c7cddf1667c..1fd8ae404de 100644 |
18 |
--- a/media-libs/freeglut/Manifest |
19 |
+++ b/media-libs/freeglut/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST freeglut-3.0.0.tar.gz 419095 BLAKE2B 6065044fb2816ddfebd363189cdb897e00fa433d79c09f5a705b80ff730e1312158ed5db8d7a2cbfc2ddac0d0a9400300c5c245d967c33c937da11303fc316de SHA512 9c45d5b203b26a7ff92331b3e080a48e806c92fbbe7c65d9262dd18c39cd6efdad8a795a80f499a2d23df84b4909dbd7c1bab20d7dd3555d3d88782ce9dd15b0 |
22 |
+DIST freeglut-3.2.0.tar.gz 443147 BLAKE2B e33ad6e0aae49350a0268413791ebf0b8a416a0c590a058063038a3d4f5405c24e743218633c25a4f5393754c41531631feaac1eb1a290ff1c4cc1dc3d97d98a SHA512 78da1eaa845607ddd97a6744f3a97ff26cdb562fdf990695c8ac97a60d9d692496e4bf3672acfc522add60823c2f3bc7435e19e8041fbbb5d95851c0b641a818 |
23 |
|
24 |
diff --git a/media-libs/freeglut/freeglut-3.2.0.ebuild b/media-libs/freeglut/freeglut-3.2.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..78f9dc109c4 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/freeglut/freeglut-3.2.0.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2019 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit cmake-multilib |
36 |
+ |
37 |
+DESCRIPTION="A free OpenGL utility toolkit, the open-sourced alternative to the GLUT library" |
38 |
+HOMEPAGE="http://freeglut.sourceforge.net/" |
39 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
44 |
+IUSE="debug static-libs" |
45 |
+ |
46 |
+# enabling GLES support seems to cause build failures |
47 |
+RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}] |
48 |
+ >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}] |
49 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
50 |
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
51 |
+ >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}] |
52 |
+ >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}] |
53 |
+ >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]" |
54 |
+# gles? ( media-libs/mesa[egl,gles1,gles2,${MULTILIB_USEDEP}] ) |
55 |
+DEPEND="${RDEPEND} |
56 |
+ x11-base/xorg-proto" |
57 |
+BDEPEND="virtual/pkgconfig" |
58 |
+ |
59 |
+HTML_DOCS=( doc/. ) |
60 |
+ |
61 |
+src_configure() { |
62 |
+ local mycmakeargs=( |
63 |
+ "-DFREEGLUT_GLES=OFF" |
64 |
+ "-DFREEGLUT_BUILD_STATIC_LIBS=$(usex static-libs ON OFF)" |
65 |
+ ) |
66 |
+# $(cmake-utils_use gles FREEGLUT_GLES) |
67 |
+ cmake-multilib_src_configure |
68 |
+} |