summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2014-04-24 13:33:45 +0000
committerMichael Weber <xmw@gentoo.org>2014-04-24 13:33:45 +0000
commitd37343ab10255f4f91a85b1f528411ad0356876b (patch)
treeba5b55949a2dd9b178335534842821760777d813 /media-gfx
parentAdd mysql-5.1.73 from the overlay. (diff)
downloadhistorical-d37343ab10255f4f91a85b1f528411ad0356876b.tar.gz
historical-d37343ab10255f4f91a85b1f528411ad0356876b.tar.bz2
historical-d37343ab10255f4f91a85b1f528411ad0356876b.zip
Drop broken ebuild revisions, re-add keywords on 0.13.
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/freecad/ChangeLog7
-rw-r--r--media-gfx/freecad/Manifest13
-rw-r--r--media-gfx/freecad/freecad-0.12.5284-r2.ebuild91
-rw-r--r--media-gfx/freecad/freecad-0.12.5284-r3.ebuild128
-rw-r--r--media-gfx/freecad/freecad-0.13.1830-r1.ebuild5
-rw-r--r--media-gfx/freecad/freecad-0.13.1830.ebuild88
6 files changed, 13 insertions, 319 deletions
diff --git a/media-gfx/freecad/ChangeLog b/media-gfx/freecad/ChangeLog
index 59332a6f9427..50ef385f5b4b 100644
--- a/media-gfx/freecad/ChangeLog
+++ b/media-gfx/freecad/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/freecad
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/ChangeLog,v 1.18 2014/04/24 04:48:12 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/ChangeLog,v 1.19 2014/04/24 13:33:44 xmw Exp $
+
+ 24 Apr 2014; Michael Weber <xmw@gentoo.org> -freecad-0.12.5284-r2.ebuild,
+ -freecad-0.12.5284-r3.ebuild, -freecad-0.13.1830.ebuild,
+ freecad-0.13.1830-r1.ebuild:
+ Drop broken ebuild revisions, re-add keywords on 0.13.
*freecad-0.13.1830-r1 (24 Apr 2014)
diff --git a/media-gfx/freecad/Manifest b/media-gfx/freecad/Manifest
index 41c46571447a..67dbba30167a 100644
--- a/media-gfx/freecad/Manifest
+++ b/media-gfx/freecad/Manifest
@@ -23,17 +23,14 @@ AUX freecad-0.13.1830-remove-qt3-support.patch 1165 SHA256 dab93f53d16aa2b22a4c9
AUX freecad-0.13.1830-startpage-links.patch 5549 SHA256 14913231fd7f0314bc4c4c7be0c3b9ee689aea98ded2269a40b8e855c15da225 SHA512 1365d2099121a4aa186f6efbb9ff2345d8cec698226ea04ca81ee5b4da6759fb9944382eccafadc622969910c410f3afc07e8387287ad765518c49130fc75f9e WHIRLPOOL f26f73b76ce1734b5cc973f726a723dd23f0e6968b7a246b3ae3fbadcaf6e08d087c45aa99e472597bb5b9e8a297b36dcfc8e0ff6e33a56408b467216bdacffe
DIST freecad-0.12.5284.tar.gz 48399004 SHA256 45486c6cc3ae212fd3eba994c603fd97962c7f505bf2a807d1533f9ee6d6026d SHA512 f1fee73ae7b43e7b3a136847f0dbb0b3f3e8f62ad3a9063f759efd8b9ed5a0dfff54961870465f37c0563161c4c5e2821f1f3379ead72dbdeddae36702e2ec0a WHIRLPOOL 7a46119d86a5d43ae8eaec6b5532e4739d54b0443769381630e644aa16c3f4185b63b513e4350c7562beacd86d56a7edbb3b506d10cb54190cbeaab48a504d5f
DIST freecad-0.13.1830.tar.gz 70168706 SHA256 550ed16225e4cd67a463ae9b826f3a64edf7d2819cc8d235b15a89e10be72f13 SHA512 3e8d4eed8cace38da9615965f79a2b0da21d31a6df793ceaf3f732e0abd5666e9715ec9eb162e6ff998718e8d609a7dff2d0993b28f493200b734318a2322160 WHIRLPOOL 6d41565423edf8a0c67901a8559600ff1088f645c3ecb4aad8d7597490522f80d6475af3e7f5a623fc30b4d1571187bf6e6a132e6c480825798b957bea90bb83
-EBUILD freecad-0.12.5284-r2.ebuild 2097 SHA256 419b512d16428711c64a8c46f8b3d0ddde058d6cf95de09d5be2af793426df70 SHA512 0d6fee89ff0430d5dac2ed4222cc40f4c1777e1658fea642d04423f096b5c032137428508c308ad3f7fa4155240e9ed8752f07d5947514b7386afe777b37a15d WHIRLPOOL 6a5717f4e476c53586e85b6515bb91927568a379d15a218e3197c7b6e0fae5770ddf2c302cf575337f3d29effdbad8782f543577b578b0a1103490943657d2e4
-EBUILD freecad-0.12.5284-r3.ebuild 3608 SHA256 bbc6fd370e9380669946cbb34d4719e89c3473ee0ddcd3c04b38a6810b7301b6 SHA512 d3f37013ae47e8fb5a8d376ba328b56dc56c76756531e22cffa0e31753a3ba44779b3df92b61e8ecdb19066ca99d21f9b84e2b9ccde2f389032b7f5ffe059ddd WHIRLPOOL d8c68f0b1b99f4bad9b3dd0aa0a9657f72e7af7bcd371a511c6c2d27cc8c5933266cfef11fe5530a8e7796f7b1611bd93ff8181aad1c3d8f7df8e72c91eec341
EBUILD freecad-0.12.5284-r4.ebuild 3713 SHA256 37dc7913965f3a0b686b70c1f66b47f248a188b3294ac5b892b8f13d98d91c71 SHA512 91efeaedc89df00c3d1495720915a46c63eb856ff343871a5dbe179d5e96e5d6f1326e4b101fb12d2386f93cbafa456ccc7157bd849822c7b8aead53c9ccc3b7 WHIRLPOOL 7722d4698937a98f75516352790bbd9efade325325152a0f74712d414fa8d38f6f5dba6670a12538185a81aa9b5fbc793fb7efa44531cec204aa597b9952bc0d
-EBUILD freecad-0.13.1830-r1.ebuild 4591 SHA256 f5a3a8896fc53a5f76cd903865951b1d08761bb9f79a74d1fc29fe05f0762421 SHA512 f13e2ef3ab9e09d37717920a6e2cb66c7ecc90ec254174acb9d629345639174b385e3f5b04778ad289ebdb9917fc63993b400f11714e6723e9512ebde3bc55c2 WHIRLPOOL add039a109515ca4b8660af9ab35c7e8af4cf605f38fabb22aef077a1f0cb6874479e14ff2ad49007da2928d34802a09ed5a28583044d6f5b6bd234f54d3b806
-EBUILD freecad-0.13.1830.ebuild 2209 SHA256 856b8f575926dbc9f8da985e4e97d622dc5e464a3e86871e48efb7a704a2c796 SHA512 aa8c174b800911b3db2ec5d05c5df3bd4b6edce65fc0253ccc7cd9cc3aee47d96b1e58ad94ed9097b716817d3d0460873b5a66ab072c062d1d5ff505c64921f2 WHIRLPOOL 3cb896e16c8ee161ec1b0f63853d2d69c04bcbfaa734b007bdf069dff01601d0b49971d582b044102a06aaa3a43a2a4ba94ee4c20eaaa8222fb15aba857426ff
-MISC ChangeLog 4249 SHA256 937513af8d0e9616bfcb1c8d07a4b47e7876359e873efcd1b596de02f5c4dfb7 SHA512 8183f6d3ffff2fbdfb8899b36df7684359d83457e2122b5a6183942780e7858aacecf5045307128fa8bbd3131f21d3bbdedb1592d246d86879ac3db928a5576b WHIRLPOOL 23790accc48c623eca940992bffe7a50dd1331cc09a6e268a8bd080d9cee483aca05ff7e0e7f90bcf26f0eb0aa67c6e5d0d0ad5ce3fe3beffb4ed144aa8684c3
+EBUILD freecad-0.13.1830-r1.ebuild 4563 SHA256 2cd26ec82f5e08f23500995dd68523ce988dabda6d8c109c0327b44728111b2c SHA512 8cc404edb0e0da0cd08450dd4aaa50c82eeb8c5f9b55edb3a521fd1c9b0e70d7f3631d9f6a1e680235e9a860698a50c84e014bf019b22e0c2c9e5126b8e30a93 WHIRLPOOL f61232ce00dc2766ec7982e222c88427e819e7ee59215c98e1122081252d5e831aaac4ad0970e924e39145a05a72ce6c59b44355a75dd9dca2420792bd026f4f
+MISC ChangeLog 4473 SHA256 f42d4fd291d33c8107aa0727a090d7bc41be2c892d2fa20ff3ce69a129c9df41 SHA512 2575e5cd322d7f52704cf46e16bf731c4a938eac43821ede779b0db0f94c8ceb0c90e5d837fb9de5086790a683e03e01423aeb0202985962c083876e4217ee9d WHIRLPOOL f799c9ff26e8dc8a02eb06bcc9f84d63698c5b53215902a96fd8402465dfd7f347cd525471a4a052bdc63a42229fb5ff336ce2c4af6addc606adff5970a2f6de
MISC metadata.xml 224 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7 SHA512 4f78d959809ec0db2f9be2a7747d572fa8ee03d177044dd46574881a6ee83736510b76062c12daecae609282d197ba466e8a3e3a654b1383e04c659acd41bef5 WHIRLPOOL 0300a228d371c918b051bc24859dfe4e5d0d2a71b80f697f202749c5aca69efcee4be6e69454c9abfa4ced28e19a9d1f71d6d7eaf54290b8d03b5c04fd209868
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iF0EAREIAAYFAlNYl40ACgkQknrdDGLu8JCeIQD3YarNjquK1jNdbxxO8aATITHj
-8d6/eZReXJ5SlHBVngEAj6hossZF8KeX1RAklhu2c3c08Ns7hkcwsE1H3eAt518=
-=UmZF
+iF4EAREIAAYFAlNZErkACgkQknrdDGLu8JC25wEAhoEwusx8r8ifo01o4NEwTJn3
+WNg+v4njABac0vPEdf4A/1Ylha7U7lGrFoekelcjCB1rELFn3Txl7ioEx+aCULDS
+=sSvo
-----END PGP SIGNATURE-----
diff --git a/media-gfx/freecad/freecad-0.12.5284-r2.ebuild b/media-gfx/freecad/freecad-0.12.5284-r2.ebuild
deleted file mode 100644
index dc7ea5b04cb3..000000000000
--- a/media-gfx/freecad/freecad-0.12.5284-r2.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.12.5284-r2.ebuild,v 1.7 2013/03/07 15:54:35 axs Exp $
-
-EAPI=4
-PYTHON_DEPEND=2
-
-inherit base multilib fortran-2 flag-o-matic python cmake-utils
-
-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:3
- dev-games/ode
- dev-libs/boost
- dev-libs/libf2c
- dev-libs/xerces-c[icu]
- dev-python/pivy
- dev-python/PyQt4[svg]
- media-libs/coin
- media-libs/SoQt
- >=sci-libs/opencascade-6.3-r3
- sci-libs/gts
- sys-libs/zlib
- virtual/glu
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- dev-qt/qtsvg:4
- dev-qt/qtwebkit:4
- dev-qt/qtxmlpatterns:4"
-DEPEND="${RDEPEND}
- >=dev-lang/swig-2.0.4-r1"
-
-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}"
-
-PATCHES=(
- "${FILESDIR}/${P}-gcc46.patch"
- "${FILESDIR}/${P}-removeoldswig.patch"
- "${FILESDIR}/${P}-glu.patch"
- "${FILESDIR}/${P}-nodir.patch"
- "${FILESDIR}/${P}-nopivy.patch"
- "${FILESDIR}/${P}-qt3support.patch"
- "${FILESDIR}/${P}-boost148.patch"
-)
-
-pkg_setup() {
- fortran-2_pkg_setup
- python_set_active_version 2
-}
-
-src_prepare() {
- base_src_prepare
- append-cxxflags -fpermissive
-}
-
-src_configure() {
- local mycmakeargs=(
- -DOCC_INCLUDE_DIR=${CASROOT}/inc
- -DOCC_INCLUDE_PATH=${CASROOT}/inc
- -DOCC_LIBRARY=${CASROOT}/lib/libTKernel.so
- -DOCC_LIBRARY_DIR=${CASROOT}/lib
- -DOCC_LIB_PATH=${CASROOT}/lib
- -DCOIN3D_INCLUDE_DIR=/usr/include/coin
- -DCOIN3D_LIBRARY=/usr/$(get_libdir)/libCoin.so
- -DSOQT_LIBRARY=/usr/$(get_libdir)/libSoQt.so
- -DSOQT_INCLUDE_PATH=/usr/include/coin
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- find "${D}" -name "*.la" -exec rm {} +
-
- dodoc README.Linux ChangeLog.txt
-}
diff --git a/media-gfx/freecad/freecad-0.12.5284-r3.ebuild b/media-gfx/freecad/freecad-0.12.5284-r3.ebuild
deleted file mode 100644
index 694692857a4d..000000000000
--- a/media-gfx/freecad/freecad-0.12.5284-r3.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.12.5284-r3.ebuild,v 1.2 2014/04/23 22:49:07 xmw Exp $
-
-EAPI=5
-
-PYTHON_DEPEND=2
-
-inherit eutils multilib fortran-2 python cmake-utils
-
-DESCRIPTION="QT based Computer Aided Design application"
-HOMEPAGE="http://sourceforge.net/apps/mediawiki/free-cad/"
-SRC_URI="mirror://sourceforge/free-cad/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-cpp/eigen:3
- dev-games/ode
- dev-libs/boost
- dev-libs/libf2c
- dev-libs/libspnav[X]
- dev-libs/xerces-c[icu]
- dev-python/PyQt4[svg]
- dev-python/pivy
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- dev-qt/qtsvg:4
- dev-qt/qtwebkit:4
- dev-qt/qtxmlpatterns:4
- media-libs/SoQt
- media-libs/coin[doc]
- sci-libs/gts
- sci-libs/opencascade
- sys-libs/zlib
- virtual/glu"
-DEPEND="${RDEPEND}
- >=dev-lang/swig-2.0.4-r1:0"
-
-# http://bugs.gentoo.org/show_bug.cgi?id=352435
-# http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt
-RESTRICT="bindist mirror"
-
-S="${WORKDIR}/FreeCAD-${PV}"
-
-pkg_setup() {
- fortran-2_pkg_setup
- python_set_active_version 2
-}
-
-src_prepare() {
- einfo remove bundled libs
- rm -rf src/3rdParty/{Pivy{,-0.5},boost}
- einfo cleanup build system
- find . -name "configure*" -print -delete
-
- epatch \
- "${FILESDIR}"/${P}-gcc46.patch \
- "${FILESDIR}"/${P}-removeoldswig.patch \
- "${FILESDIR}"/${P}-glu.patch \
- "${FILESDIR}"/${P}-nodir.patch \
- "${FILESDIR}"/${P}-qt3support.patch \
- "${FILESDIR}"/${P}-boost148.patch \
- "${FILESDIR}"/${P}-nopivy.patch \
- "${FILESDIR}"/${P}-no-permissive.patch
-
- local my_cas_version=$(eselect opencascade show 2>/dev/null || echo 6.5)
- if [ "${my_cas_version}" > "6.5.0" ] ; then
- epatch "${FILESDIR}"/${P}-occ-6.5.5.patch
- epatch "${FILESDIR}"/${P}-salomesmesh-occ-6.5.5.patch
- fi
-
- local my_coin_version=$(best_version media-libs/coin)
- local my_coin_path="${EROOT}"usr/share/doc/${my_coin_version##*/}/html
- sed -e "s:/usr/share/doc/libcoin60-doc/html:${my_coin_path}:" \
- -i cMake/FindCoin3DDoc.cmake || die
-
- sed -e '/FREECAD_BUILD_FEM/s: ON): OFF):' \
- -i CMakeLists.txt || die
- #sed -e '/add_subdirectory(Fem)/d' \
- # -e '/add_subdirectory(MeshPart)/d' \
- # -i src/Mod/CMakeLists.txt || die
-}
-
-src_configure() {
- local my_occ_env=${EROOT}etc/env.d/50opencascade
- if [ -e "${EROOT}etc//env.d/51opencascade" ] ; then
- my_occ_env=${EROOT}etc/env.d/51opencascade
- fi
- export CASROOT=$(sed -ne '/^CASROOT=/{s:.*=:: ; p}' $my_occ_env)
-
- local mycmakeargs=(
- -DOCC_INCLUDE_DIR="${CASROOT}"/inc
- -DOCC_INCLUDE_PATH="${CASROOT}"/inc
- -DOCC_LIBRARY="${CASROOT}"/lib/libTKernel.so
- -DOCC_LIBRARY_DIR="${CASROOT}"/lib
- -DOCC_LIB_PATH="${CASROOT}"/lib
- -DCOIN3D_INCLUDE_DIR="${EROOT}"usr/include/coin
- -DCOIN3D_LIBRARY="${EROOT}"usr/$(get_libdir)/libCoin.so
- -DSOQT_LIBRARY="${EROOT}"usr/$(get_libdir)/libSoQt.so
- -DSOQT_INCLUDE_PATH="${EROOT}"usr/include/coin
- -DCMAKE_INSTALL_PREFIX="${EROOT}"usr/$(get_libdir)/${P}
- )
- cmake-utils_src_configure
- ewarn "${P} will be built against opencascade version ${CASROOT}"
-}
-
-src_install() {
- cmake-utils_src_install
- insinto /usr/$(get_libdir)/${P}/Mod/Start
- doins -r src/Mod/Start/StartPage
-
- prune_libtool_files
-
- make_wrapper FreeCAD \
- "${EROOT}"usr/$(get_libdir)/${P}/bin/FreeCAD \
- "" "${EROOT}"usr/$(get_libdir)/${P}/lib
- make_wrapper FreeCADCmd \
- "${EROOT}"usr/$(get_libdir)/${P}/bin/FreeCADCmd \
- "" "${EROOT}"usr/$(get_libdir)/${P}/lib
-
- newicon src/Main/icon.ico ${PN}.ico
- make_desktop_entry FreeCAD
-
- dodoc README.Linux ChangeLog.txt
-}
diff --git a/media-gfx/freecad/freecad-0.13.1830-r1.ebuild b/media-gfx/freecad/freecad-0.13.1830-r1.ebuild
index 3e648613f660..e467a23187bc 100644
--- a/media-gfx/freecad/freecad-0.13.1830-r1.ebuild
+++ b/media-gfx/freecad/freecad-0.13.1830-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.13.1830-r1.ebuild,v 1.1 2014/04/24 04:48:11 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.13.1830-r1.ebuild,v 1.2 2014/04/24 13:33:44 xmw Exp $
EAPI=5
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/free-cad/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~x86"
IUSE=""
COMMON_DEPEND="dev-cpp/eigen:3
@@ -69,7 +69,6 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-CMakefile.patch
epatch "${FILESDIR}"/${P}-avoid-include-salome.patch
epatch "${FILESDIR}"/${P}-startpage-links.patch
- #epatch "${FILESDIR}"/startpage.patch
# disable Machining Distortion workbench because FEM will be disabled in src_configure()
# and also because the same module has been removed upstream (commit c0e2c9)
diff --git a/media-gfx/freecad/freecad-0.13.1830.ebuild b/media-gfx/freecad/freecad-0.13.1830.ebuild
deleted file mode 100644
index 6dfc820a387e..000000000000
--- a/media-gfx/freecad/freecad-0.13.1830.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freecad/freecad-0.13.1830.ebuild,v 1.2 2013/05/09 08:36:38 xmw Exp $
-
-EAPI=5
-
-PYTHON_DEPEND=2
-
-inherit eutils multilib fortran-2 python cmake-utils
-
-DESCRIPTION="QT based Computer Aided Design application"
-HOMEPAGE="http://www.freecadweb.org/"
-SRC_URI="mirror://sourceforge/free-cad/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-RDEPEND="dev-cpp/eigen:3
- dev-games/ode
- dev-libs/boost
- dev-libs/libf2c
- dev-libs/libspnav[X]
- dev-libs/xerces-c[icu]
- dev-python/PyQt4[svg]
- dev-python/pivy
- dev-qt/qtgui:4
- dev-qt/qtopengl:4
- dev-qt/qtsvg:4
- dev-qt/qtwebkit:4
- dev-qt/qtxmlpatterns:4
- media-libs/SoQt
- media-libs/coin[doc]
- sci-libs/gts
- sci-libs/opencascade
- sys-libs/zlib
- virtual/glu"
-DEPEND="${RDEPEND}
- >=dev-lang/swig-2.0.4-r1:0"
-
-# http://bugs.gentoo.org/show_bug.cgi?id=352435
-# http://www.gentoo.org/foundation/en/minutes/2011/20110220_trustees.meeting_log.txt
-RESTRICT="bindist mirror"
-
-pkg_setup() {
- fortran-2_pkg_setup
- python_set_active_version 2
-}
-
-src_prepare() {
- einfo remove bundled libs
- rm -rf src/3rdParty
-
- epatch "${FILESDIR}"/${P}-remove-qt3-support.patch
-}
-
-src_configure() {
- local my_occ_env=${EROOT}etc/env.d/50opencascade
- if [ -e "${EROOT}etc//env.d/51opencascade" ] ; then
- my_occ_env=${EROOT}etc/env.d/51opencascade
- fi
- export CASROOT=$(sed -ne '/^CASROOT=/{s:.*=:: ; p}' $my_occ_env)
-
- local mycmakeargs=(
- -DOCC_INCLUDE_DIR="${CASROOT}"/inc
- -DOCC_INCLUDE_PATH="${CASROOT}"/inc
- -DOCC_LIBRARY="${CASROOT}"/lib/libTKernel.so
- -DOCC_LIBRARY_DIR="${CASROOT}"/lib
- -DOCC_LIB_PATH="${CASROOT}"/lib
- -DCOIN3D_INCLUDE_DIR="${EROOT}"usr/include/coin
- -DCOIN3D_LIBRARY="${EROOT}"usr/$(get_libdir)/libCoin.so
- -DSOQT_LIBRARY="${EROOT}"usr/$(get_libdir)/libSoQt.so
- -DSOQT_INCLUDE_PATH="${EROOT}"usr/include/coin
- -DCMAKE_BINARY_DIR="${EROOT}"usr/bin
- -DCMAKE_INSTALL_PREFIX="${EROOT}"usr/$(get_libdir)/${P}
- )
- cmake-utils_src_configure
- ewarn "${P} will be built against opencascade version ${CASROOT}"
-}
-
-src_install() {
- cmake-utils_src_install
-
- prune_libtool_files
-
- dodoc README.Linux ChangeLog.txt
-}