commit:     0694fcd2326f986e2a62391a74fb2db2de786a74
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 17 13:47:02 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Nov 17 13:53:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0694fcd2

media-libs/freeglut: Version bump to 3.8.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/freeglut/Manifest              |  1 +
 media-libs/freeglut/freeglut-3.8.0.ebuild | 42 +++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/media-libs/freeglut/Manifest b/media-libs/freeglut/Manifest
index 00262952f604..77c4b14453f1 100644
--- a/media-libs/freeglut/Manifest
+++ b/media-libs/freeglut/Manifest
@@ -1 +1,2 @@
 DIST freeglut-3.6.0.tar.gz 429619 BLAKE2B 
c42985013aafbe0e21369295f67355f2b498f284289fceed9baff5de6a46b7fee2a2ee07e00c136f65caa9159b635df82030a112eae101f9f82751abd76636e4
 SHA512 
ceb5dd9ea86e915acb177e405e79b92f77cf3213ba21fe200491d0b1150dd9c81835b71cb8a928bd514eb719626ff802250429df2f6dfa33f8e181c3f74b2dd0
+DIST freeglut-3.8.0.tar.gz 538754 BLAKE2B 
a1b31f53de54deb1803f1b307074bd97e21aef79aca996ca779b22bcbd27f80b0376a4da86fe68929c34e0ed351f5bb5aa10677d21f1a434aaeeb202355795da
 SHA512 
2726ff978f11e17680fa01aa21c263f5154e9f0185021ec58e89ae006a5d093e062e68c66c709307a709e44823ee7b1f265ae450dd03cae616a2acefdeba7748

diff --git a/media-libs/freeglut/freeglut-3.8.0.ebuild 
b/media-libs/freeglut/freeglut-3.8.0.ebuild
new file mode 100644
index 000000000000..6469702980bb
--- /dev/null
+++ b/media-libs/freeglut/freeglut-3.8.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="A free OpenGL utility toolkit, the open-sourced alternative to 
the GLUT library"
+HOMEPAGE="https://freeglut.sourceforge.net/";
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+# enabling GLES support seems to cause build failures
+RDEPEND=">=virtual/glu-9.0-r1[${MULTILIB_USEDEP}]
+       >=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]
+       >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+       >=x11-libs/libXi-1.7.2[${MULTILIB_USEDEP}]
+       >=x11-libs/libXrandr-1.4.2[${MULTILIB_USEDEP}]
+       >=x11-libs/libXxf86vm-1.1.3[${MULTILIB_USEDEP}]"
+# gles? ( media-libs/mesa[egl(+),gles1,gles2,${MULTILIB_USEDEP}] )
+DEPEND="${RDEPEND}
+       x11-base/xorg-proto"
+BDEPEND="virtual/pkgconfig"
+
+src_configure() {
+       local mycmakeargs=(
+#              "-DOpenGL_GL_PREFERENCE=GLVND" # bug 721006
+               "-DFREEGLUT_GLES=OFF"
+               "-DFREEGLUT_BUILD_DEMOS=OFF"
+               "-DFREEGLUT_BUILD_STATIC_LIBS=OFF"
+       )
+#      $(cmake-utils_use gles FREEGLUT_GLES)
+       cmake-multilib_src_configure
+}
+
+multilib_src_install() {
+       cmake_src_install
+       cp "${ED}"/usr/$(get_libdir)/pkgconfig/{,free}glut.pc || die
+}

Reply via email to