diff --git a/media-gfx/freecad/Manifest b/media-gfx/freecad/Manifest deleted file mode 100644 index a1e117c..0000000 --- a/media-gfx/freecad/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -AUX freecad.sharedmimeinfo 312 SHA256 269e6b38d4a5f4e593e9e1e911ccd0185a1cb7a0250ae2a308cfc482e56615f1 SHA512 bb55cad8387032af0e06ce7f1b4cab4354a34a915b9f550de25e05bf24d4161d9ea152d5692d65df4b362622f76a11d78894deaf7fee60c7a3fc0bfec38fa10c WHIRLPOOL e4185b2d067d5e9b7a0b065b5cc6a92da055f96b610bdee5aecd28f379abe2a31feddccc5ccc6222978d5fbf73a7734a880cfd1f62a8383fa828d90147856081 -EBUILD freecad-9999.ebuild 3472 SHA256 b65914f02bbe3c5e6842acae9c0418b27db0ac653bef9adce51574a6c5dc4332 SHA512 b90b11ed755494c7a1bbf0c0c23d1376a4384e3cf2de09fe981617d1f27f2fc773af480bb83bc0dc8fd9eb4e5a54875af92dd57bac8feb5d8999d1f33086c141 WHIRLPOOL c9c94f7a40f2e7ca0b4c97d7c38cacf697fe809798766a49269fbbe98a9ad06dcf104b94ef493064e070cfdc082c3fbaabf69e6c8d0e758574f23fae650fea84 -MISC metadata.xml 376 SHA256 c2dc08e9c6a05c6ac5940444ee00f05e4300670d4d47d0e15bccaf277455a4e6 SHA512 2b159882b18f33adc78ede30133528a915130d21fcfd111a099861b2ee719b59338cd81af63a289bb5812ce04dee238a6eb4596a95a5abedbc453f631e827f53 WHIRLPOOL 3a10b2f137ce880d2e73878ea2170ae1884ed18c9184962b419144474c73c207fdeab1af20c908265ac0eb275beeb99d2a60c988619fce39eba629d2d1d5a573 diff --git a/media-gfx/freecad/files/freecad.sharedmimeinfo b/media-gfx/freecad/files/freecad.sharedmimeinfo deleted file mode 100644 index 6d5e93e..0000000 --- a/media-gfx/freecad/files/freecad.sharedmimeinfo +++ /dev/null @@ -1,8 +0,0 @@ - - - - - FreeCAD document files - - - diff --git a/media-gfx/freecad/freecad-9999.ebuild b/media-gfx/freecad/freecad-9999.ebuild deleted file mode 100644 index 9a03b84..0000000 --- a/media-gfx/freecad/freecad-9999.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit cmake-utils eutils fdo-mime fortran-2 python-single-r1 - -DESCRIPTION="QT based Computer Aided Design application" -HOMEPAGE="http://www.freecadweb.org/" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/FreeCAD/FreeCAD.git" -else - SRC_URI="https://github.com/FreeCAD/FreeCAD/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -COMMON_DEPEND=" - ${PYTHON_DEPS} - dev-cpp/eigen:3 - dev-java/xerces - dev-libs/boost:=[python,${PYTHON_USEDEP}] - dev-libs/xerces-c[icu] - dev-python/matplotlib[${PYTHON_USEDEP}] - dev-python/pyside:2[gui,svg,${PYTHON_USEDEP}] - dev-python/shiboken:2[${PYTHON_USEDEP}] - dev-qt/designer:5 - dev-qt/qtgui:5 - dev-qt/qtopengl:5 - dev-qt/qtsvg:5 - dev-qt/qtwebkit:5 - media-libs/coin - media-libs/freetype - >=sci-libs/opencascade-7.1[vtk] - sys-libs/zlib - virtual/glu" -RDEPEND="${COMMON_DEPEND} - dev-python/numpy[${PYTHON_USEDEP}] - dev-qt/assistant:5" - #dev-python/pivy[${PYTHON_USEDEP}] - -DEPEND="${COMMON_DEPEND} - >=dev-lang/swig-2.0.4-r1:0 - dev-python/pyside-tools:2[${PYTHON_USEDEP}]" - -# https://bugs.gentoo.org/show_bug.cgi?id=352435 -# https://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt -RESTRICT="mirror" - -# TODO: -# DEPEND and RDEPEND: -# salome-smesh - science overlay -# zipio++ - not in portage yet - -DOCS=( README.md ChangeLog.txt ) - -pkg_setup() { - fortran-2_pkg_setup - python-single-r1_pkg_setup - - [[ -z ${CASROOT} ]] && die "empty \$CASROOT, run eselect opencascade set or define otherwise" -} - -src_configure() { - export QT_SELECT=5 - - #-DOCC_* defined with cMake/FindOpenCasCade.cmake - #-DCOIN3D_* defined with cMake/FindCoin3D.cmake - #-DSOQT_ not used - #-DFREECAD_USE_EXTERNAL_KDL="ON" waiting for Bug 604130 (keyword ~x86) - local mycmakeargs=( - -DOCC_INCLUDE_DIR="${CASROOT}"/inc - -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir) - -DCMAKE_INSTALL_DATADIR=share/${P} - -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} - -DCMAKE_INSTALL_INCLUDEDIR=include/${P} - -DFREECAD_USE_EXTERNAL_KDL="OFF" - QT=Qt5 - ) - - # TODO to remove embedded dependencies: - # - # -DFREECAD_USE_EXTERNAL_ZIPIOS="ON" -- this option needs zipios++ but it's not yet in portage so the embedded zipios++ - # (under src/zipios++) will be used - # salomesmesh is in 3rdparty but upstream's find_package function is not complete yet to compile against external version - # (external salomesmesh is available in "science" overlay) - - cmake-utils_src_configure - einfo "${P} will be built against opencascade version ${CASROOT}" -} - -src_install() { - cmake-utils_src_install - - make_desktop_entry FreeCAD "FreeCAD" "" "" "MimeType=application/x-extension-fcstd;" - - # install mimetype for FreeCAD files - insinto /usr/share/mime/packages - newins "${FILESDIR}"/${PN}.sharedmimeinfo "${PN}.xml" - - # install icons to correct place rather than /usr/share/freecad - pushd "${ED%/}"/usr/share/${P} || die - local size - for size in 16 32 48 64; do - newicon -s ${size} freecad-icon-${size}.png freecad.png - done - doicon -s scalable freecad.svg - newicon -s 64 -c mimetypes freecad-doc.png application-x-extension-fcstd.png - popd || die - - python_optimize "${ED%/}"/usr/{,share/${P}/}Mod/ -} - -pkg_postinst() { - fdo-mime_mime_database_update -} - -pkg_postrm() { - fdo-mime_mime_database_update -} diff --git a/media-gfx/freecad/metadata.xml b/media-gfx/freecad/metadata.xml deleted file mode 100644 index fd959a3..0000000 --- a/media-gfx/freecad/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - xmw@gentoo.org - Michael Weber - - - free-cad - FreeCAD/FreeCAD - -