diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-14 00:09:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-14 00:09:04 +0100 |
commit | 5e41a38157bb40e8513e8e34426e85faba672fe7 (patch) | |
tree | 38e9365afd56c161d0e970ddf5420b2585130587 /media-libs/freeglut | |
parent | 0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 (diff) |
gentoo auto-resync : 14:06:2024 - 00:09:04
Diffstat (limited to 'media-libs/freeglut')
-rw-r--r-- | media-libs/freeglut/Manifest | 2 | ||||
-rw-r--r-- | media-libs/freeglut/freeglut-3.6.0.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-libs/freeglut/Manifest b/media-libs/freeglut/Manifest index 111909b717bf..cfb00aaa06aa 100644 --- a/media-libs/freeglut/Manifest +++ b/media-libs/freeglut/Manifest @@ -1,3 +1,5 @@ DIST freeglut-3.4.0.tar.gz 413389 BLAKE2B 47b073c4e81473417358452ede3891b6fc36e324f66eec42fcbbadebb2144680e3b52caded504135239e170fd8f30a1fe8b6666a746b06d48cd7226c98a8114e SHA512 4bb6d6c086bac7a9c0ec78062dce58987555785abe6375f462ee249f65210a964a28fb10ba7ee8a42d7fafb00eb8d196eb403d65d255f02f88467369c187228b +DIST freeglut-3.6.0.tar.gz 429619 BLAKE2B c42985013aafbe0e21369295f67355f2b498f284289fceed9baff5de6a46b7fee2a2ee07e00c136f65caa9159b635df82030a112eae101f9f82751abd76636e4 SHA512 ceb5dd9ea86e915acb177e405e79b92f77cf3213ba21fe200491d0b1150dd9c81835b71cb8a928bd514eb719626ff802250429df2f6dfa33f8e181c3f74b2dd0 EBUILD freeglut-3.4.0.ebuild 1325 BLAKE2B 7c683b86ed0cef012f25a4e9046a5d5072555acd151ac582298097d3c6fdd87bfb3a9ccbda88d2b0e58d351dd6c1a1be1a1fe5a92543e857f96b5df7ec801610 SHA512 67215f51e928e3b863d7e92b2cec941a8bfea3ee540b0d11e825f5cc3a00988fe8018c66703df52ac5f2104a990ace970102c68f6d7233bb243bfdc3d9368a3e +EBUILD freeglut-3.6.0.ebuild 1332 BLAKE2B 1b644ac585afe4129a0562d371730bd7b3952d7608514eb8ce63a7777d36f3838c5dc717d59644a0e1b020067d8ff44ea3728f9a764100fe997dbb219f84aef3 SHA512 5e88f00727561f82f25eecbec23606715fa17ff42c76df67327a06a7de23fb658f5536a648c999712b9bf2869f66b2a07d7223017f5a3fca2c32532d7f57541b MISC metadata.xml 594 BLAKE2B 984028f68aa76f8cfe537ea8a9f090af580cbe5ec33007c91b5b95b1f8c5396c779f67155d99fce7708e4fba8ee661f35fb01f5fd714a5ccc08794516df15820 SHA512 159f5756565afb1a55ac874afc42e49591c94519970d10eb7857159262bf4f6e372e5c0584f03ed1ad70e28bb5d328d3f36fdb0208d9de8f22e307973ee38167 diff --git a/media-libs/freeglut/freeglut-3.6.0.ebuild b/media-libs/freeglut/freeglut-3.6.0.ebuild new file mode 100644 index 000000000000..9795861e49ce --- /dev/null +++ b/media-libs/freeglut/freeglut-3.6.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 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 ~ia64 ~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 +} |