From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/coin/
Date: Thu, 26 Jun 2025 20:33:51 +0000 (UTC) [thread overview]
Message-ID: <1750969968.e9e79f1f6fa9afe1dae9cd321609858e960d9851.asturm@gentoo> (raw)
commit: e9e79f1f6fa9afe1dae9cd321609858e960d9851
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 26 20:30:27 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jun 26 20:32:48 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9e79f1f
media-libs/coin: add 4.0.4
Bug: https://bugs.gentoo.org/953075
Closes: https://bugs.gentoo.org/957506
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-libs/coin/Manifest | 1 +
media-libs/coin/coin-4.0.4.ebuild | 107 ++++++++++++++++++++++++++++++++++++++
2 files changed, 108 insertions(+)
diff --git a/media-libs/coin/Manifest b/media-libs/coin/Manifest
index e7fd0dddcccf..3a6cdb6bfa13 100644
--- a/media-libs/coin/Manifest
+++ b/media-libs/coin/Manifest
@@ -1 +1,2 @@
DIST coin-4.0.3-src.tar.gz 13099754 BLAKE2B c56f9e7b837bad76996a78ba3351c43b78b082c6250735e678ca9af79b3518d369e223a1625d74c8d007fff814f32e6bd6fe04c4dd5df9dd999f6afed767afeb SHA512 b661bf2124b0de1b46e76a6699b0975abb3aed4dc9019bf32531c535179dc84a90fe4e19def6f6cda7b175470636040d0e58812d532198cf207296d37c539915
+DIST coin-4.0.4-src.tar.gz 13110106 BLAKE2B fac92cb99b2eb37fe52a3e1bc9c9c8b72c956e135236052dcde2a257374be217d94f3f3a1d908c78dc1ce55adee2d79e6f95e88866600a88bbcf2d4903adcc29 SHA512 5d13c9d03b8da1b6de2be6632434184ff05370039906a34cf9812ab51b849f99cf59db844b32577d2c155218d8ad8fe515e757d445dbbeddda3f4740b0e384a2
diff --git a/media-libs/coin/coin-4.0.4.ebuild b/media-libs/coin/coin-4.0.4.ebuild
new file mode 100644
index 000000000000..b01fa8b780a7
--- /dev/null
+++ b/media-libs/coin/coin-4.0.4.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="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 )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug doc +exceptions openal qch test threads"
+
+REQUIRED_USE="qch? ( doc )"
+RESTRICT="!test? ( test )"
+
+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
+ openal? ( media-libs/openal )
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost:0
+ x11-base/xorg-proto
+"
+BDEPEND="
+ doc? (
+ app-text/doxygen
+ qch? ( dev-qt/qttools:6[assistant] )
+ )
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-4.0.3-find-qhelpgenerator.patch )
+
+DOCS=( AUTHORS FAQ FAQ.legal NEWS THANKS docs/HACKING )
+
+src_configure() {
+ # -Werror=odr
+ # https://bugs.gentoo.org/859832
+ # https://github.com/coin3d/coin/issues/521
+ filter-lto
+
+ 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_AWESOME_DOCUMENTATION=$(usex doc)
+ -DCOIN_BUILD_DOCUMENTATION_MAN=$(usex doc)
+ -DCOIN_BUILD_DOCUMENTATION_QTHELP=$(usex qch)
+ -DCOIN_BUILD_DOCUMENTATION_CHM=OFF
+
+ -DCOIN_THREADSAFE=$(usex threads)
+ -DHAVE_VRML97=ON
+ -DCOIN_HAVE_JAVASCRIPT=OFF
+ -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
+ )
+ use doc && mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON )
+
+ cmake_src_configure
+}
+
+src_test() {
+ pushd "${BUILD_DIR}/bin" > /dev/null || die
+ ./CoinTests -r detailed || die "Tests failed."
+ popd > /dev/null || die
+}
next reply other threads:[~2025-06-26 20:33 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-26 20:33 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-07-27 19:47 [gentoo-commits] repo/gentoo:master commit in: media-libs/coin/ Andreas Sturmlechner
2025-07-12 12:26 Arthur Zamarin
2025-07-10 0:08 Sam James
2025-07-10 0:08 Sam James
2025-07-10 0:08 Sam James
2024-11-26 0:36 Sam James
2024-03-25 11:22 Sam James
2024-03-25 11:22 Sam James
2024-03-25 11:22 Sam James
2024-03-25 11:22 Sam James
2024-03-05 5:12 Sam James
2023-12-09 1:35 Maciej Mrozowski
2023-11-20 12:43 Andrew Ammerlaan
2021-12-08 3:33 Sam James
2020-10-01 23:06 Sergei Trofimovich
2020-10-01 22:55 Sergei Trofimovich
2020-04-13 21:37 Sergei Trofimovich
2020-04-11 10:20 Sergei Trofimovich
2019-11-24 16:15 Aaron Bauman
2018-08-29 6:15 Sergei Trofimovich
2018-03-12 4:33 Matt Turner
2017-07-20 20:57 Sergei Trofimovich
2017-04-20 8:26 Jeroen Roovers
2017-04-05 20:25 Michael Weber
2015-08-24 14:23 Alexis Ballier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1750969968.e9e79f1f6fa9afe1dae9cd321609858e960d9851.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox