diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2011-03-06 15:24:20 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2011-03-06 15:24:20 +0000 |
commit | 7cf00103cc2cf5a0490379f3b6efea9f8223d1a8 (patch) | |
tree | 8c0ab3438d3a965f7f4290dfa1031b999d48b0eb /media-gfx | |
parent | Version bump (diff) | |
download | historical-7cf00103cc2cf5a0490379f3b6efea9f8223d1a8.tar.gz historical-7cf00103cc2cf5a0490379f3b6efea9f8223d1a8.tar.bz2 historical-7cf00103cc2cf5a0490379f3b6efea9f8223d1a8.zip |
New application, fixes bug 291161
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/freecad/ChangeLog | 13 | ||||
-rw-r--r-- | media-gfx/freecad/Manifest | 25 | ||||
-rw-r--r-- | media-gfx/freecad/files/freecad-0.11.3729-asneeded.patch | 12 | ||||
-rw-r--r-- | media-gfx/freecad/freecad-0.11.3729.ebuild | 91 | ||||
-rw-r--r-- | media-gfx/freecad/metadata.xml | 6 |
5 files changed, 147 insertions, 0 deletions
diff --git a/media-gfx/freecad/ChangeLog b/media-gfx/freecad/ChangeLog new file mode 100644 index 000000000000..8f76f9477be3 --- /dev/null +++ b/media-gfx/freecad/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for media-gfx/freecad +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/ChangeLog,v 1.1 2011/03/06 15:24:20 dilfridge Exp $ + +*freecad-0.11.3729 (06 Mar 2011) + + 06 Mar 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +freecad-0.11.3729.ebuild, +files/freecad-0.11.3729-asneeded.patch, + +metadata.xml: + New application, fixes bug 291161; imported from the sci overlay with + cleanups. Thanks to Roelof Wobben, Derk W. te Bokkel, cornicx, and all the + other contributors from the bug report and the overlay. + diff --git a/media-gfx/freecad/Manifest b/media-gfx/freecad/Manifest new file mode 100644 index 000000000000..f96cc5240d57 --- /dev/null +++ b/media-gfx/freecad/Manifest @@ -0,0 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX freecad-0.11.3729-asneeded.patch 588 RMD160 27fadb74f9f123fd0cc0092b57ae55369867a75b SHA1 9a1477d66b69448ae2cc3e81b2004f5f318a9e77 SHA256 43a1cd392bd05010cfe216f0afd688c8150ca2bc168fd0f776b3dc1e797e6876 +DIST freecad-0.11.3729.tar.gz 16229615 RMD160 ac056ace72758d83dddfd075205bfeb81020df70 SHA1 fb683989e1a53a9292cc12940c98c41505124512 SHA256 94dcf25e6ae2934d7d23555e22a558643225a9809d443c898f096b39a1853261 +EBUILD freecad-0.11.3729.ebuild 2282 RMD160 ac01579870384f63d8e44e94bfc3bf00df04efb8 SHA1 c6362e3a7e425b22c4a0062d453a0c96b32557ba SHA256 60b2da8d1c9ee4c0a370e937585eac6f667dbe0c0782d0799ece55ae0086f921 +MISC ChangeLog 596 RMD160 db8d4fae671dbbcf0c2ac0cf2f2d742dc9c72e8c SHA1 f8fc750ff3a35dd793fa8a3094b4710d08478f13 SHA256 46e57a7e89260aea14447b9f0e7530ca7298888508d91aac1423c57c1c45f39f +MISC metadata.xml 217 RMD160 aa960d9d3f7d900bcaf1a9413f17c3662adc0820 SHA1 a8a3016deab1f6aca4951ea86977cfe5d509b695 SHA256 756924c88548f738071c2d39fa7e18737b063e3b8f4376737eb88ac307571478 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQIcBAEBAgAGBQJNc6eLAAoJENwGBM22xfferWkQAKEG3idEZlCyF+Jrmp7rN3i8 +WBnjeQuMJpxsYWqsxTYyGbI84tdbvaiJmFcCVBdIvPyMPZ+i+bxRBVqrbNR/oOkW +LtLPBNDAGk9CdLs0M4AQOYpsKudYoGVJAA72rAPpCRxT12FBU2qqFSSc2F8b4iIr +PvSCwXj1KoAyKzUC0FnJZGrmLLTlOQ8AgnuBDYhp5XX+D7Xkz1Gnrs7sG2CtbaBw +w9xl98r9Zojyqfn7WBNgQ7TxgtVMM/jsirgBobhuacHMVhyFRfUg2u4DDR8KmwmQ +0SCqjmbYwreEdaOgZSnnbqnWO+rPcRpy01/1h8OB9InDEDk4CQy4oaawv8mFwW/j +vVPv4c1SpnKucUH9j0hw/kG0O7LksCtv+7BxyfLtBUVJZS/WIrfxWusoKK6V72g8 +pW58r65xjtkwyrhxD65YC7RbS4hGdgveei49rL5DwySvVAJ/lwJ/Dp5MkzLc1IMS +vCPRUISbXBmTdPvTbpId9ynObyP8Kg2pxg3W8JWFFDxbb6MNH7TXnXFsSx/pDG6t +DV8QnQrdbdE384bq2izMg5NetLCdk59m2JheUX+8x+0+GiJdWC1+35GJkOmwkNms +XYR8UNkSEA97CqnPbKUsuv/BzYg08/rROoMfUcVvve/fO0oMbpsnHFYnMdirx6fm +pDM6i5HBDgt86UpV4VAX +=gzmP +-----END PGP SIGNATURE----- diff --git a/media-gfx/freecad/files/freecad-0.11.3729-asneeded.patch b/media-gfx/freecad/files/freecad-0.11.3729-asneeded.patch new file mode 100644 index 000000000000..fa6ba663ad81 --- /dev/null +++ b/media-gfx/freecad/files/freecad-0.11.3729-asneeded.patch @@ -0,0 +1,12 @@ +diff -ruN FreeCAD-0.10.3205.orig/acinclude.m4 FreeCAD-0.10.3205/acinclude.m4 +--- FreeCAD-0.10.3205.orig/acinclude.m4 2010-06-05 11:16:14.000000000 +0200 ++++ FreeCAD-0.10.3205/acinclude.m4 2010-11-07 22:35:02.000000000 +0100 +@@ -374,7 +374,7 @@ + fi + + # Make sure not to link against X11 libs so that configure succeeds whithout xserver started +-bnv_try_4="$CXX $fc_qt4_lib_core $LIBS -o myqt myqt.o moc_myqt.o" ++bnv_try_4="$CXX -o myqt myqt.o moc_myqt.o $LIBS $fc_qt4_lib_core" + AC_TRY_EVAL(bnv_try_4) + if test x"$ac_status" != x0; then + AC_MSG_ERROR([Failed to link with Qt, bye...]) diff --git a/media-gfx/freecad/freecad-0.11.3729.ebuild b/media-gfx/freecad/freecad-0.11.3729.ebuild new file mode 100644 index 000000000000..01d6f1b7f33b --- /dev/null +++ b/media-gfx/freecad/freecad-0.11.3729.ebuild @@ -0,0 +1,91 @@ +# 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.1 2011/03/06 15:24:20 dilfridge Exp $ + +EAPI=3 +PYTHON_DEPEND=2 + +inherit base eutils multilib autotools flag-o-matic python + +MY_P="freecad-${PV}" +MY_PD="FreeCAD-${PV}" + +DESCRIPTION="QT based Computer Aided Design application" +HOMEPAGE="http://sourceforge.net/apps/mediawiki/free-cad/" +SRC_URI="mirror://sourceforge/free-cad/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-cpp/eigen + dev-games/ode + dev-libs/boost + dev-libs/xerces-c + dev-python/pivy + dev-python/PyQt4 + media-libs/coin + media-libs/SoQt + >=sci-libs/opencascade-6.3-r3 + sci-libs/gts + sys-devel/gcc[fortran] + sys-libs/zlib + 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 +" +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() { + python_set_active_version 2 +} + +src_prepare() { + base_src_prepare + eautoreconf +} + +src_configure() { + 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() { + # the build system is generating extremely odd errors on parallel build + # seem like moc is trying to process non-existing files, resulting in + # double namespace declarations Bla::Bla::Method in the moc_ files + 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 +} diff --git a/media-gfx/freecad/metadata.xml b/media-gfx/freecad/metadata.xml new file mode 100644 index 000000000000..b166de434e3a --- /dev/null +++ b/media-gfx/freecad/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer><email>dilfridge@gentoo.org</email></maintainer> +</pkgmetadata> |