diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-01-19 11:21:15 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-01-19 11:21:15 +0000 |
commit | ab8e4af101350e06548d9252f190c08192cddc06 (patch) | |
tree | 2bdbc1ac3d497f7c5cd1177d732bbae5c013c29e /sci-visualization/paraview | |
parent | Version bump to new release (diff) | |
download | gentoo-2-ab8e4af101350e06548d9252f190c08192cddc06.tar.gz gentoo-2-ab8e4af101350e06548d9252f190c08192cddc06.tar.bz2 gentoo-2-ab8e4af101350e06548d9252f190c08192cddc06.zip |
Let the qt4 eclass check for qt3support.
(Portage version: 2.1.4)
Diffstat (limited to 'sci-visualization/paraview')
-rw-r--r-- | sci-visualization/paraview/ChangeLog | 5 | ||||
-rw-r--r-- | sci-visualization/paraview/paraview-3.2.1.ebuild | 16 |
2 files changed, 9 insertions, 12 deletions
diff --git a/sci-visualization/paraview/ChangeLog b/sci-visualization/paraview/ChangeLog index 323a5f3da22c..147a73d03934 100644 --- a/sci-visualization/paraview/ChangeLog +++ b/sci-visualization/paraview/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-visualization/paraview # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.11 2008/01/05 11:18:47 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/ChangeLog,v 1.12 2008/01/19 11:21:15 markusle Exp $ + + 19 Jan 2008; Markus Dittrich <markusle@gentoo.org> paraview-3.2.1.ebuild: + Let the qt4 eclass check for qt3support. 05 Jan 2008; Markus Dittrich <markusle@gentoo.org> paraview-3.2.1.ebuild: Added patch to support OpenFOAM (see bug #202685). Thanks much to diff --git a/sci-visualization/paraview/paraview-3.2.1.ebuild b/sci-visualization/paraview/paraview-3.2.1.ebuild index c09f6377cf0c..a42d2305e3e7 100644 --- a/sci-visualization/paraview/paraview-3.2.1.ebuild +++ b/sci-visualization/paraview/paraview-3.2.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-3.2.1.ebuild,v 1.3 2008/01/05 11:18:47 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/paraview/paraview-3.2.1.ebuild,v 1.4 2008/01/19 11:21:15 markusle Exp $ -inherit distutils eutils flag-o-matic toolchain-funcs versionator python +inherit distutils eutils flag-o-matic toolchain-funcs versionator python qt4 MY_PV=3.2.1 MY_MAJOR_PV=$(get_version_component_range 1-2) @@ -20,7 +20,7 @@ RDEPEND="hdf5? ( sci-libs/hdf5 ) doc? ( app-doc/doxygen ) mpi? ( sys-cluster/mpich ) python? ( >=dev-lang/python-2.0 ) - qt4? ( >=x11-libs/qt-4.3.0 ) + qt4? ( $(qt4_min_version 4.3) ) dev-libs/libxml2 media-libs/libpng media-libs/jpeg @@ -39,6 +39,8 @@ PVLIBDIR="$(get_libdir)/${PN}-${MY_MAJOR_PV}" BUILDDIR="${WORKDIR}/build" S="${WORKDIR}"/ParaView${MY_PV} +QT4_BUILT_WITH_USE_CHECK="qt3support" + src_unpack() { unpack ${A} mkdir "${BUILDDIR}" || die "Failed to generate build directory" @@ -49,14 +51,6 @@ src_unpack() { # rename paraview's assistant wrapper if use qt4; then - - # make sure we have qt3 support - if ! built_with_use =x11-libs/qt-4* qt3support; then - echo - eerror 'Please emerge qt4 with USE="qt3support"!' - die "qt4 setup error" - fi - sed -e "s:\"assistant\":\"paraview-assistant\":" \ -i Applications/Client/MainWindow.cxx \ || die "Failed to fix assistant wrapper call" |