summaryrefslogtreecommitdiff
path: root/media-libs/coin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-20 17:13:51 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-20 17:13:51 +0000
commitbe675f929577458bd306c90ed78b62054197c0b1 (patch)
tree5eabf108becbac5f9628fb677b1a0eb93fab07a3 /media-libs/coin
parentc72af498eade96364bed882cf8ab30fc3da7d772 (diff)
gentoo auto-resync : 20:11:2023 - 17:13:50
Diffstat (limited to 'media-libs/coin')
-rw-r--r--media-libs/coin/Manifest2
-rw-r--r--media-libs/coin/coin-4.0.1.ebuild104
2 files changed, 106 insertions, 0 deletions
diff --git a/media-libs/coin/Manifest b/media-libs/coin/Manifest
index 3a3b684f2532..553a0b373b08 100644
--- a/media-libs/coin/Manifest
+++ b/media-libs/coin/Manifest
@@ -6,5 +6,7 @@ AUX coin-4.0.0-0005-Slightly-fix-coin.cfg.cmake.in.patch 1394 BLAKE2B 40b43a0cce
AUX coin-4.0.0-0006-Fix-underlinking-against-X11.patch 827 BLAKE2B 33aaa8281fc260bb382875a0b41eac83d8099e52709e93a523ba4b048e1f9ab92c1a17cb09e1c5dd091c90878c373ef973c380211f856b32581f97992a8cc83e SHA512 37709b1a853287245b0778297154a8ea15ed86d60558af541ccd60fb0ee369c296947964080bff790595030c8e41964e008b0983bcbf5146d3c5ac81756ff622
AUX coin-4.0.0-0007-Locate-slotted-qhelpgenerator.patch 581 BLAKE2B 97f7784d780e5d06a8c032a9d5707bd1d883dee59a0c04fe06205b98f2f3bf38d547e683eb9474da0771c3fe0a0964e611a4108c5d34b44679be27a52fdb5639 SHA512 73b95646c47f2ec07f20fb776b5b7df8e8df45a1f13c002e15cce56a8d35e374cc6a0515461aa265ae70b49cde7648554dc9aafb84f27afb6e78f368b67b1b7e
DIST coin-4.0.0-src.tar.gz 6824162 BLAKE2B 9dee9397bb63c0da02214d33f2661051a3fd99689956a6de5c2cf806dd05944038b87b690f954f35711ee5e4ab07f04685681b822d0bbab0d7941bef551202dc SHA512 e036276a243bfe252569cee1b67d38b8633fcf35bdf4e366a92ca67e23799d54d91fe272c23b383c451d330cee284809f28f237857493948149e0da1ebd64fae
+DIST coin-4.0.1-src.tar.gz 7125456 BLAKE2B 1f1b760a200c7086c6bf18e8b80882576495280900d9054ab61930327940b46f56789c01ec2a975ac04a1cb106f33d0a87f71d0f705159c84e8b2164d49949fc SHA512 4d18e2db854334244ab94fb206c001cd7ef3d9281eb4f24d52d5878a179ed0389da5721a74c51c30ec7bc7b01c2c091f0a09d63636a35fa064cdbcaca0770256
EBUILD coin-4.0.0.ebuild 2831 BLAKE2B 6075ae2a437afebb3596b22dec63ea16a6910ee93d8aae7e1fab1f042daa96962453a3f944041de91f40ef05c9b0fd4d045e14bf45218799c1f63984615697ea SHA512 07df8aa1dc519b4583dc4c8363f09e6a045daf0da9d5bf5cde1282427e264195132b0d4caeb524c0992d19319857fca8cc3d0f29d60233b0913346dcaa31cd95
+EBUILD coin-4.0.1.ebuild 2465 BLAKE2B 163f463cd46aa03b9b91fe74eb6fb2ef2ece731ed1688c2c951b04d7bd883bdc28320bab8a0d7aaa83816e8156f41071eefcda4563c554414d5268e6ffd5fc83 SHA512 f1f1826cd21fa623c544af62a449fd5a11c85e868d0961090105a4d81b57221a694bba8a68a6b401fe9d42bc4e1e18fb28711f70e1ce0b92e9829fb0ad303c02
MISC metadata.xml 456 BLAKE2B bc0dd1a54611c13dc18dc24cecb17034bf9dc1a2dec1f1ef8fb35c5ce08d5ad069ae19af9e4ed4ed4cea081c414da4db3ecde92eaef8d1095f7dd69ad17afabb SHA512 ac7dda1fbc082b46d13cff9ed35c9b129ab854b8ed3552f9b1dbd7a4be914a5871f219cd280fbd96e6ac4f0b184b74282b8e952818e8a3acef6b25e70f529bc6
diff --git a/media-libs/coin/coin-4.0.1.ebuild b/media-libs/coin/coin-4.0.1.ebuild
new file mode 100644
index 000000000000..18dceb5b38d3
--- /dev/null
+++ b/media-libs/coin/coin-4.0.1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="A high-level 3D graphics toolkit, fully compatible with SGI Open Inventor 2.1"
+HOMEPAGE="https://github.com/coin3d/coin/wiki"
+SRC_URI="https://github.com/coin3d/coin/releases/download/v${PV}/${P}-src.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="|| ( GPL-2 PEL )"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+IUSE="debug doc +exceptions javascript man openal qthelp test threads"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ man? ( doc )
+ qthelp? ( doc )
+"
+
+RDEPEND="
+ app-arch/bzip2
+ dev-libs/expat
+ media-libs/fontconfig
+ media-libs/freetype:2
+ media-libs/simage
+ sys-libs/zlib
+ virtual/opengl
+ virtual/glu
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ javascript? ( dev-lang/spidermonkey:60 )
+ openal? ( media-libs/openal )
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost:0
+ x11-base/xorg-proto
+ doc? ( qthelp? ( dev-qt/qthelp:5 ) )
+"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.0.0-0007-Locate-slotted-qhelpgenerator.patch
+)
+
+DOCS=(
+ AUTHORS FAQ FAQ.legal NEWS THANKS docs/HACKING
+)
+
+src_configure() {
+ use debug && append-cppflags -DCOIN_DEBUG=1
+
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+
+ -DCOIN_BUILD_SHARED_LIBS=ON
+ -DCOIN_BUILD_TESTS=$(usex test)
+ -DCOIN_BUILD_DOCUMENTATION=$(usex doc)
+
+ -DCOIN_BUILD_INTERNAL_DOCUMENTATION=OFF
+ -DCOIN_BUILD_DOCUMENTATION_MAN=$(usex man)
+ -DCOIN_BUILD_DOCUMENTATION_QTHELP=$(usex qthelp)
+ -DCOIN_BUILD_DOCUMENTATION_CHM=OFF
+
+ -DCOIN_THREADSAFE=$(usex threads)
+ -DHAVE_VRML97=ON
+ -DCOIN_HAVE_JAVASCRIPT=$(usex javascript)
+ -DHAVE_NODEKITS=ON
+ -DHAVE_DRAGGERS=ON
+ -DHAVE_MANIPULATORS=ON
+ -DHAVE_SOUND=$(usex openal)
+ -DHAVE_3DS_IMPORT_CAPABILITIES=ON
+ -DUSE_EXTERNAL_EXPAT=ON
+ -DUSE_EXCEPTIONS=$(usex exceptions)
+ -DUSE_SUPERGLU=OFF
+
+ -DFONTCONFIG_RUNTIME_LINKING=OFF
+ -DFREETYPE_RUNTIME_LINKING=OFF
+ -DLIBBZIP2_RUNTIME_LINKING=OFF
+ -DOPENAL_RUNTIME_LINKING=OFF
+ -DSIMAGE_RUNTIME_LINKING=OFF
+ -DZLIB_RUNTIME_LINKING=OFF
+ -DGLU_RUNTIME_LINKING=OFF
+ -DSPIDERMONKEY_RUNTIME_LINKING=ON
+
+ -DCOIN_VERBOSE=$(usex debug)
+ -DHAVE_MULTIPLE_VERSION=OFF
+
+ -DCOIN_BUILD_SINGLE_LIB=ON
+ )
+
+ cmake_src_configure
+}
+
+src_test() {
+ pushd "${BUILD_DIR}/bin" > /dev/null || die
+ ./CoinTests -r detailed || die "Tests failed."
+ popd > /dev/null || die
+}