diff options
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/freecad/freecad-9999.ebuild | 8 | ||||
-rw-r--r-- | media-gfx/freecad/metadata.xml | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/media-gfx/freecad/freecad-9999.ebuild b/media-gfx/freecad/freecad-9999.ebuild index f977510288c5..d10e47f1f6e1 100644 --- a/media-gfx/freecad/freecad-9999.ebuild +++ b/media-gfx/freecad/freecad-9999.ebuild @@ -29,10 +29,9 @@ fi # examples are licensed CC-BY-SA (without note of specific version) LICENSE="LGPL-2 CC-BY-SA-4.0" SLOT="0" -IUSE="debug headless pcl test" -RESTRICT="!test? ( test )" +IUSE="debug designer headless test" -FREECAD_EXPERIMENTAL_MODULES="cloud plot ship" +FREECAD_EXPERIMENTAL_MODULES="cloud pcl plot ship" FREECAD_STABLE_MODULES="addonmgr fem idf image inspection material openscad part-design path points raytracing robot show surface techdraw tux" @@ -45,6 +44,8 @@ for module in ${FREECAD_EXPERIMENTAL_MODULES}; do done unset module +RESTRICT="!test? ( test )" + RDEPEND=" ${PYTHON_DEPS} dev-libs/OpenNI2[opengl(+)] @@ -156,6 +157,7 @@ src_configure() { -DBUILD_CLOUD=$(usex cloud) -DBUILD_COMPLETE=OFF # deprecated -DBUILD_DRAFT=ON + -DBUILD_DESIGNER_PLUGIN=$(usex designer) -DBUILD_DRAWING=ON -DBUILD_ENABLE_CXX_STD:STRING="C++17" # needed for current git master -DBUILD_FEM=$(usex fem) diff --git a/media-gfx/freecad/metadata.xml b/media-gfx/freecad/metadata.xml index 44899f008bc0..0cb44cbdecb5 100644 --- a/media-gfx/freecad/metadata.xml +++ b/media-gfx/freecad/metadata.xml @@ -18,6 +18,10 @@ Build the Cloud workbench, to access cloud providers (mostly Amazon S3). </flag> + <flag name="designer"> + Build and install the Qt designer plugin, so the FreeCAD widgets + can be used from within designer. + </flag> <flag name="drawing"> Build the Drawing workbench, a predecessor to the TechDraw workbench. Users are encouraged to learn how to use the TechDraw workbench and |