aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tom111@gmx.de>2010-10-27 20:13:56 +0200
committerThomas Kahle <tom111@gmx.de>2010-10-27 20:14:44 +0200
commit468bba7ae404b7433eb4ec0365fec920880b7235 (patch)
tree6ff7c11c5ea7e991676dbb5bf402d8fa2016d673 /sci-misc/salome-geom
parentMoved sci-math/nauty and its license to main tree (diff)
downloadsci-468bba7ae404b7433eb4ec0365fec920880b7235.tar.gz
sci-468bba7ae404b7433eb4ec0365fec920880b7235.tar.bz2
sci-468bba7ae404b7433eb4ec0365fec920880b7235.zip
sci-misc/salome-* bumped to 5.1.4
ebuild by Michael Riss in bug 330303
Diffstat (limited to 'sci-misc/salome-geom')
-rw-r--r--sci-misc/salome-geom/ChangeLog5
-rw-r--r--sci-misc/salome-geom/Manifest14
-rw-r--r--sci-misc/salome-geom/salome-geom-5.1.4.ebuild112
3 files changed, 120 insertions, 11 deletions
diff --git a/sci-misc/salome-geom/ChangeLog b/sci-misc/salome-geom/ChangeLog
index e1db6d22e..5bea0fa1c 100644
--- a/sci-misc/salome-geom/ChangeLog
+++ b/sci-misc/salome-geom/ChangeLog
@@ -1,6 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*salome-geom-5.1.4 (27 Oct 2010)
+
+ 27 Oct 2010; Thomas Kahle <tomka@gentoo.org> +salome-geom-5.1.4.ebuild:
+ Bump to 5.1.4, ebuild by Michael Riss in bug 330303
+
29 Jun 2010; Justin Lecher <jlec@gentoo.org> salome-geom-5.1.3.ebuild:
Python ABI fixes
diff --git a/sci-misc/salome-geom/Manifest b/sci-misc/salome-geom/Manifest
index b301d38a3..429be0057 100644
--- a/sci-misc/salome-geom/Manifest
+++ b/sci-misc/salome-geom/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX salome-geom-5.1.3-qt4-path.patch 468 RMD160 6c964af8ff04e5677b15f8ead0750bb33ea1ea3d SHA1 05db7015702089319933e0e78b276c60fd1f2d07 SHA256 7c880879bb040dcbb11d34123ab5283e31ed998abff6e0f11b7c75377e52495e
DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b
+DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae
EBUILD salome-geom-5.1.3.ebuild 3169 RMD160 c8f14aae49879e16ebd9893ec2d7903414089da5 SHA1 2dd977c991723efaa0eeda9302bbf0bda5430b49 SHA256 f817ba85628d6e836769ecf6a27437eaee237b6b34c76335ba0e383c95e19ae2
-MISC ChangeLog 1335 RMD160 b79f5add268d2d0783f57079d618db9e3e236717 SHA1 7b47a5128fa20b452c467cf61d685477499b6ba6 SHA256 45e2e3f05fe208881242285571152e71004db27990ff8b8ad92ebae3f1399d54
+EBUILD salome-geom-5.1.4.ebuild 3270 RMD160 67ff13da864df8e983dd2ccdc5a3b4ecec9a6443 SHA1 ee8546b5182bcc2f544c7761e0e6f92d1fbc5359 SHA256 e54f59e0a6cc1408b38c76ac7fc0829f9595eb13927f46848db6820205b38050
+MISC ChangeLog 1498 RMD160 547f9c910bba5705750d7e2caaf3ada928ed0a96 SHA1 977afb95d744c67f344a856cac9cdb02eac7f74e SHA256 8851edc0c05a4dc9ce13148263c5ab7a092c7e393c35ae8fd96ae4a220813418
MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
-
-iEYEARECAAYFAkwqWbQACgkQgAnW8HDreRa8TgCdHJGo6O8Msyvc31We6jTOZZYZ
-YgYAoMeijbB83GfYzdXmYZ+HzDAfsG0+
-=ERdL
------END PGP SIGNATURE-----
diff --git a/sci-misc/salome-geom/salome-geom-5.1.4.ebuild b/sci-misc/salome-geom/salome-geom-5.1.4.ebuild
new file mode 100644
index 000000000..fae74a972
--- /dev/null
+++ b/sci-misc/salome-geom/salome-geom-5.1.4.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+PYTHON_DEPEND="2:2.4"
+
+inherit eutils flag-o-matic python
+
+DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. GEOM component"
+HOMEPAGE="http://www.salome-platform.org"
+SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="debug doc mpi opengl"
+
+RDEPEND="opengl? ( virtual/opengl )
+ mpi? ( || ( sys-cluster/openmpi[cxx]
+ sys-cluster/mpich2[cxx] ) )
+ debug? ( dev-util/cppunit )
+ >=sci-misc/salome-kernel-${PV}
+ >=sci-misc/salome-gui-${PV}
+ >=dev-python/omniorbpy-3.4
+ >=net-misc/omniORB-4.1.4
+ >=x11-libs/qt-core-4.5.2
+ >=x11-libs/qt-gui-4.5.2
+ >=x11-libs/qt-opengl-4.5.2
+ >=sci-libs/opencascade-6.3
+ >=dev-libs/boost-1.40.0
+ >=sci-libs/vtk-5.0[python]
+ >=sci-libs/hdf5-1.6.4"
+
+DEPEND="${RDEPEND}
+ >=app-doc/doxygen-1.5.6
+ media-gfx/graphviz
+ >=dev-python/docutils-0.4
+ dev-lang/swig"
+
+MODULE_NAME="GEOM"
+S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}"
+INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}"
+GEOM_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}"
+
+pkg_setup() {
+ [[ $(python_get_version) > 2.4 ]] && \
+ ewarn "Python 2.4 is highly recommended for Salome..."
+ python_set_active_version 2
+ append-ldflags $(no-as-needed)
+}
+
+src_prepare() {
+ #epatch "${FILESDIR}"/${P}-qt4-path.patch
+
+ rm -r -f autom4te.cache
+ ./clean_configure
+ ./build_configure
+}
+
+src_configure() {
+ local vtk_suffix=""
+
+ has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0"
+ has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2"
+ has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4"
+ has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6"
+
+ econf --prefix=${INSTALL_DIR} \
+ --datadir=${INSTALL_DIR}/share/salome \
+ --docdir=${INSTALL_DIR}/doc/salome \
+ --infodir=${INSTALL_DIR}/share/info \
+ --libdir=${INSTALL_DIR}/$(get_libdir)/salome \
+ --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \
+ --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \
+ --with-vtk=${VTKHOME} \
+ --with-vtk-version=${vtk_suffix} \
+ --with-qt='/usr' \
+ $(use_enable debug ) \
+ $(use_enable debug debug ) \
+ $(use_enable !debug production ) \
+ $(use_with opengl opengl /usr) \
+ || die "econf failed"
+}
+
+src_compile() {
+ MAKEOPTS="-j1" emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib
+
+ echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P}
+ echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P}
+ echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P}
+ echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P}
+ doenvd 90${P}
+ rm adm_local/Makefile adm_local/unix/Makefile adm_local/cmake_files/Makefile
+ insinto "${INSTALL_DIR}"
+ doins -r adm_local
+
+ use doc && dodoc INSTALL
+}
+
+pkg_postinst() {
+ elog "Run \`env-update && source /etc/profile\`"
+ elog "now to set up the correct paths."
+ elog ""
+}