From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4E21015821F for ; Sun, 24 Nov 2024 20:25:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0888CE086A; Sun, 24 Nov 2024 20:25:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E17D4E086A for ; Sun, 24 Nov 2024 20:25:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0914C33C84E for ; Sun, 24 Nov 2024 20:25:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2D9491F45 for ; Sun, 24 Nov 2024 20:25:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1732479864.c5c853f3a58c738075c351ded151c0f0a6ff3fed.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/freecad/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/freecad/freecad-1.0.0-r1.ebuild X-VCS-Directories: media-gfx/freecad/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c5c853f3a58c738075c351ded151c0f0a6ff3fed X-VCS-Branch: master Date: Sun, 24 Nov 2024 20:25:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4d4b62e2-31e2-4d3c-b2ff-05672bd81f8d X-Archives-Hash: 081ca9e7c608ae05d43531bd7bcbf9ae commit: c5c853f3a58c738075c351ded151c0f0a6ff3fed Author: Chris Mayo gmail com> AuthorDate: Tue Oct 29 19:57:31 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Nov 24 20:24:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5c853f3 media-gfx/freecad: Simplify USE flag creation, drop part-design, show and tux Signed-off-by: Chris Mayo gmail.com> Signed-off-by: Sam James gentoo.org> media-gfx/freecad/freecad-1.0.0-r1.ebuild | 39 +++++++------------------------ 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/media-gfx/freecad/freecad-1.0.0-r1.ebuild b/media-gfx/freecad/freecad-1.0.0-r1.ebuild index 4e44962c917c..2a6600b9cb2b 100644 --- a/media-gfx/freecad/freecad-1.0.0-r1.ebuild +++ b/media-gfx/freecad/freecad-1.0.0-r1.ebuild @@ -26,34 +26,13 @@ fi # examples are licensed CC-BY-SA (without note of specific version) LICENSE="LGPL-2 CC-BY-SA-4.0" SLOT="0" -IUSE="debug designer +gui qt5 spacenav test X" - -FREECAD_EXPERIMENTAL_MODULES="cloud netgen pcl" -FREECAD_STABLE_MODULES="addonmgr fem idf inspection - openscad part-design points robot show smesh - surface techdraw tux" - -for module in ${FREECAD_STABLE_MODULES}; do - IUSE="${IUSE} +${module}" -done -for module in ${FREECAD_EXPERIMENTAL_MODULES}; do - IUSE="${IUSE} ${module}" -done -unset module - -# To get required dependencies: +IUSE="debug designer +gui pcl qt5 smesh spacenav test X" +# Modules are found in src/Mod/ and their options defined in: +# cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake +# To get their dependencies: # 'grep REQUIRES_MODS cMake/FreeCAD_Helpers/CheckInterModuleDependencies.cmake' -# We set the following requirements by default: -# arch, draft, drawing, import, mesh, part, qt6, sketcher, spreadsheet, start, web. -# -# Additionally, we auto-enable mesh_part, flat_mesh and smesh -# Fem actually needs smesh, but as long as we don't have a smesh package, we enable -# smesh through the mesh USE flag. Note however, the fem<-smesh dependency isn't -# reflected by the REQUIRES_MODS macro, but at -# cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake:187. -# -# The increase in auto-enabled workbenches is due to their need in parts of the -# test suite when compiled with a minimal set of USE flags. +IUSE+=" addonmgr cloud fem idf inspection netgen openscad points robot surface techdraw" + REQUIRED_USE=" ${PYTHON_REQUIRED_USE} designer? ( gui ) @@ -222,20 +201,20 @@ src_configure() { -DBUILD_MESH_PART=ON -DBUILD_OPENSCAD=$(usex openscad) -DBUILD_PART=ON - -DBUILD_PART_DESIGN=$(usex part-design) + -DBUILD_PART_DESIGN=ON -DBUILD_PLOT=ON -DBUILD_POINTS=$(usex points) -DBUILD_REVERSEENGINEERING=OFF # currently only an empty sandbox -DBUILD_ROBOT=$(usex robot) -DBUILD_SANDBOX=OFF - -DBUILD_SHOW=$(usex show) + -DBUILD_SHOW=$(usex gui) -DBUILD_SKETCHER=ON # needed by draft workspace -DBUILD_SPREADSHEET=ON -DBUILD_START=ON -DBUILD_SURFACE=$(usex surface) -DBUILD_TECHDRAW=$(usex techdraw) -DBUILD_TEST=ON # always build test workbench for run-time testing - -DBUILD_TUX=$(usex tux) + -DBUILD_TUX=$(usex gui) -DBUILD_WEB=ON # needed by start workspace -DCMAKE_INSTALL_DATADIR=/usr/share/${PN}/data