summaryrefslogtreecommitdiff
path: root/media-gfx/freecad/freecad-9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2016-12-26 22:45:10 +0000
committerV3n3RiX <venerix@redcorelinux.org>2016-12-26 22:45:10 +0000
commit273fcc7f58e6f1d731bdcb453f1246ed4dc0fe02 (patch)
tree2c9512ef6c5eaf6c9468449ac9b754b98314d51b /media-gfx/freecad/freecad-9999.ebuild
parent13c3574ff2eafdf1fe7bfa79a65a4d2791c20439 (diff)
drop unused
Diffstat (limited to 'media-gfx/freecad/freecad-9999.ebuild')
-rw-r--r--media-gfx/freecad/freecad-9999.ebuild107
1 files changed, 0 insertions, 107 deletions
diff --git a/media-gfx/freecad/freecad-9999.ebuild b/media-gfx/freecad/freecad-9999.ebuild
deleted file mode 100644
index 305d3633..00000000
--- a/media-gfx/freecad/freecad-9999.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.11.3729.ebuild,v 1.6 2011/11/13 20:13:27 dilfridge Exp $
-
-EAPI=3
-
-PYTHON_DEPEND=2
-
-inherit base eutils fortran-2 multilib autotools flag-o-matic python git-2
-
-MY_P="freecad-${PV}"
-MY_PD="FreeCAD-${PV}"
-
-DESCRIPTION="QT based Computer Aided Design application"
-HOMEPAGE="http://sourceforge.net/apps/mediawiki/free-cad/"
-EGIT_REPO_URI="git://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="soqt assembly sandbox cam loginfo"
-
-RDEPEND="
- dev-cpp/eigen
- dev-games/ode
- dev-libs/boost
- dev-libs/xerces-c
- dev-python/pivy
- dev-python/PyQt4[svg]
- media-libs/coin
- soqt? ( media-libs/SoQt )
- >=sci-libs/opencascade-6.3
- sci-libs/gts
- sys-libs/zlib
- virtual/fortran
- x11-libs/qt-gui:4
- x11-libs/qt-opengl:4
- x11-libs/qt-svg:4
- x11-libs/qt-webkit:4
- x11-libs/qt-xmlpatterns:4
- x11-libs/qt-qt3support:4"
-DEPEND="${RDEPEND}
- dev-lang/swig"
-
-#PATCHES=( "${FILESDIR}/${P}-asneeded.patch" )
-
-RESTRICT="bindist mirror"
-# http://bugs.gentoo.org/show_bug.cgi?id=352435
-# http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt
-
-S="${WORKDIR}/${MY_PD}"
-
-pkg_setup() {
- fortran-2_pkg_setup
- python_set_active_version 2
-}
-
-src_prepare() {
- base_src_prepare
- ./autogen.sh
- eautoreconf
-}
-
-src_configure() {
- if use assembly ; then
- --enable-assembly
- fi
- if use sandbox ; then
- --enable-sandbox
- fi
- if use cam ; then
- --enable-cam
- fi
- if use loginfo ; then
- --enable-loginfo
- fi
- if ! use soqt ; then
- --without-soqt
- fi
- append-cflags "-DBOOST_FILESYSTEM_VERSION=2"
- append-cppflags "-DBOOST_FILESYSTEM_VERSION=2"
- append-cxxflags "-DBOOST_FILESYSTEM_VERSION=2"
- econf \
- --with-qt4-include="${EPREFIX}"/usr/include/qt4 \
- --with-qt4-bin="${EPREFIX}"//usr/bin \
- --with-qt4-lib="${EPREFIX}"//usr/$(get_libdir)/qt4 \
- --with-occ-include=${CASROOT}/inc \
- --with-occ-lib=${CASROOT}/lib
-}
-
-src_compile() {
- #For compilation safety keep j1
- MAKEOPTS="-j1" base_src_compile
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "install failed"
-
- find "${D}" -name "*.la" -exec rm {} +
-
- dodoc README.Linux ChangeLog.txt || die
-
- dodir /usr/share/apps/freecad || die
- mv "${D}/usr/share/freecad.xpm" "${D}/usr/share/apps/freecad/" || die
-
- make_desktop_entry FreeCAD FreeCAD /usr/share/apps/freecad/freecad.xpm
-}