aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2006-11-05 16:49:54 +0000
committergrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2006-11-05 16:49:54 +0000
commita3daf35ff736a85337064e8767e83f83a6ea4aee (patch)
tree507f6446a13a2a79da90d0c3c8a25dbad6b998b1 /sci-visualization/qtiplot
parentqwt5: USE=qt3 builds a qt3-version needed for qtiplot (diff)
downloadsci-a3daf35ff736a85337064e8767e83f83a6ea4aee.tar.gz
sci-a3daf35ff736a85337064e8767e83f83a6ea4aee.tar.bz2
sci-a3daf35ff736a85337064e8767e83f83a6ea4aee.zip
qtiplot-0.8.8 depends on liborigin and qwt-5 (with USE=qt3);
for now, emerge it with USE=-python git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@413 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'sci-visualization/qtiplot')
-rw-r--r--sci-visualization/qtiplot/ChangeLog112
-rw-r--r--sci-visualization/qtiplot/Manifest30
-rw-r--r--sci-visualization/qtiplot/files/digest-qtiplot-0.8.89
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.8.8-muparserscripting.patch5
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.8.8-parser.patch5
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.8.8-qmake.patch52
-rw-r--r--sci-visualization/qtiplot/metadata.xml15
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.8.8.ebuild94
8 files changed, 322 insertions, 0 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog
new file mode 100644
index 000000000..cdc784947
--- /dev/null
+++ b/sci-visualization/qtiplot/ChangeLog
@@ -0,0 +1,112 @@
+# ChangeLog for sci-visualization/qtiplot
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.10 2006/05/26 14:58:54 cryos Exp $
+
+*qtiplot-0.8.8 (5 Nov 2006)
+
+ 5 Nov 2006; Andrey Grozin <A.G.Grozin@inp.nsk.su>
+ +files/qtiplot-0.8.8-qmake.patch, +qtiplot-0.8.8.ebuild:
+ Version bump: now depends on dev-cpp/muParser and sci-libs/liborigin;
+ USE flags doc, python
+
+*qtiplot-0.8.5 (26 May 2006)
+
+ 26 May 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ -files/qtiplot-0.8.4-qmake.patch, +files/qtiplot-0.8.5-qmake.patch,
+ -qtiplot-0.8.4.ebuild, +qtiplot-0.8.5.ebuild:
+ Version bump, thanks to Andrey Grozin <A.G.Grozin@inp.nsk.su> for ebuild
+ imrpovements first implemented in the sci overlay.
+
+*qtiplot-0.8.4 (18 May 2006)
+
+ 18 May 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ +files/qtiplot-0.8.4-qmake.patch, +qtiplot-0.8.4.ebuild:
+ Version bump.
+
+ 07 May 2006; Markus Rothe <corsair@gentoo.org> qtiplot-0.8.2.ebuild:
+ Added ~ppc64
+
+ 05 May 2006; Caleb Tennis <caleb@gentoo.org> qtiplot-0.8.2.ebuild:
+ Change qwt dep to 4.2 so that it doesn't try and build against 5
+
+*qtiplot-0.8.2 (09 Apr 2006)
+
+ 09 Apr 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ -files/qtiplot-0.8.1-qmake.patch, +files/qtiplot-0.8.2-qmake.patch,
+ -qtiplot-0.8.1.ebuild, +qtiplot-0.8.2.ebuild:
+ Version bump, pruned old version.
+
+ 08 Apr 2006; <nixnut@gentoo.org> qtiplot-0.8.1.ebuild:
+ Added ~ppc. bug #129071
+
+*qtiplot-0.8.1 (27 Mar 2006)
+
+ 27 Mar 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ -files/qtiplot-0.7.4-qmake.patch, -files/qtiplot-0.7.6-qmake.patch,
+ +files/qtiplot-0.8.1-qmake.patch, -qtiplot-0.7.4.ebuild,
+ -qtiplot-0.7.6.ebuild, qtiplot-0.7.7.ebuild, +qtiplot-0.8.1.ebuild:
+ Version bump, closes bug 124109. Also cleaned up old versions and marked
+ newer version stable on amd64.
+
+*qtiplot-0.7.7 (30 Jan 2006)
+
+ 30 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ +files/qtiplot-0.7.7-qmake.patch, +qtiplot-0.7.7.ebuild:
+ Version bump.
+
+ 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ +files/qtiplot-0.7.4-qmake.patch, +files/qtiplot-0.7.6-qmake.patch,
+ +metadata.xml, +qtiplot-0.7.4.ebuild, +qtiplot-0.7.6.ebuild:
+ Moved from sci-mathematics/qtiplot to sci-visualization/qtiplot.
+
+ 18 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> qtiplot-0.7.4.ebuild,
+ qtiplot-0.7.6.ebuild:
+ Stable on amd64, addition of app-arch/unzip to the deps.
+
+*qtiplot-0.7.6 (16 Jan 2006)
+
+ 16 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ -files/qtiplot-0.7.5-qmake.patch, +files/qtiplot-0.7.6-qmake.patch,
+ -qtiplot-0.7.5.ebuild, +qtiplot-0.7.6.ebuild:
+ Version bump.
+
+*qtiplot-0.7.5 (12 Jan 2006)
+
+ 12 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ -files/qtiplot-0.7.3-qmake.patch, +files/qtiplot-0.7.5-qmake.patch,
+ -qtiplot-0.7.3.ebuild, +qtiplot-0.7.5.ebuild:
+ Version bump.
+
+ 09 Jan 2006; Caleb Tennis <caleb@gentoo.org> qtiplot-0.7.3.ebuild,
+ qtiplot-0.7.4.ebuild:
+ Fix qmake call
+
+*qtiplot-0.7.4 (17 Dec 2005)
+
+ 17 Dec 2005; Marcus D. Hanwell <cryos@gentoo.org>
+ +files/qtiplot-0.7.4-qmake.patch, +qtiplot-0.7.4.ebuild:
+ Version bump, bug 115497.
+
+ 09 Dec 2005; Marcus D. Hanwell <cryos@gentoo.org> qtiplot-0.7.3.ebuild:
+ Small cleanup for the Qt path.
+
+*qtiplot-0.7.3 (29 Nov 2005)
+
+ 29 Nov 2005; Marcus D. Hanwell <cryos@gentoo.org>
+ +files/qtiplot-0.7.3-qmake.patch, -qtiplot-0.7.ebuild,
+ +qtiplot-0.7.3.ebuild:
+ Version bump, closes bug 112952.
+
+*qtiplot-0.7 (23 Oct 2005)
+
+ 23 Oct 2005; Marcus D. Hanwell <cryos@gentoo.org> -qtiplot-0.6.9.ebuild,
+ +qtiplot-0.7.ebuild:
+ Version bump, bug 109968.
+
+*qtiplot-0.6.9 (14 Oct 2005)
+
+ 14 Oct 2005; Marcus D. Hanwell <cryos@gentoo.org> +metadata.xml,
+ +qtiplot-0.6.9.ebuild:
+ Initial import, thanks to Martin Corley <Martin.Corley@ed.ac.uk> for the
+ ebuild, closes bug 83293.
+
diff --git a/sci-visualization/qtiplot/Manifest b/sci-visualization/qtiplot/Manifest
new file mode 100644
index 000000000..ff50dad1e
--- /dev/null
+++ b/sci-visualization/qtiplot/Manifest
@@ -0,0 +1,30 @@
+AUX qtiplot-0.8.8-muparserscripting.patch 204 RMD160 013529c4fa797e0789ae1d917e0660adbec995db SHA1 7f5777e37d286c0d440eab0ec9a192fb47586d45 SHA256 597d22581ead75b62df1b528357eca7e6e6555715bc8f13e8d818cee8affac71
+MD5 c9ce2a2af79d72e6ac5e4df3bdafc612 files/qtiplot-0.8.8-muparserscripting.patch 204
+RMD160 013529c4fa797e0789ae1d917e0660adbec995db files/qtiplot-0.8.8-muparserscripting.patch 204
+SHA256 597d22581ead75b62df1b528357eca7e6e6555715bc8f13e8d818cee8affac71 files/qtiplot-0.8.8-muparserscripting.patch 204
+AUX qtiplot-0.8.8-parser.patch 182 RMD160 a5ebaa30ad6fda1dfa69d7f09f976cf898428c32 SHA1 9a226c25d45fed3a5492103fc1fbb886604d3c75 SHA256 bfe58dadb2a71cef24c6d3871c71509c882cdb4941daaef57b0f8a84cd223451
+MD5 ac5efa4bd93461a011c242f7fbe78f5c files/qtiplot-0.8.8-parser.patch 182
+RMD160 a5ebaa30ad6fda1dfa69d7f09f976cf898428c32 files/qtiplot-0.8.8-parser.patch 182
+SHA256 bfe58dadb2a71cef24c6d3871c71509c882cdb4941daaef57b0f8a84cd223451 files/qtiplot-0.8.8-parser.patch 182
+AUX qtiplot-0.8.8-qmake.patch 1929 RMD160 42487da996dccced2a968eac92a890b4f6deafac SHA1 37115c9c586c6d5a7c73074fecea999a3fe72ad5 SHA256 b4bc43873588111403087933ae8e43d7008e780d03ac20ec83d1ed9ff933fb46
+MD5 8e87a15f22d41fcba1fe0e4d0cb7c33f files/qtiplot-0.8.8-qmake.patch 1929
+RMD160 42487da996dccced2a968eac92a890b4f6deafac files/qtiplot-0.8.8-qmake.patch 1929
+SHA256 b4bc43873588111403087933ae8e43d7008e780d03ac20ec83d1ed9ff933fb46 files/qtiplot-0.8.8-qmake.patch 1929
+DIST manual-en.zip 5148221 RMD160 34535d2ec54027c00945b35c05f5b6d48d966897 SHA1 33e4c1a0662e57be7cf82b5056fde73879e59db1 SHA256 cf2cbf2342530b98f6ce1a6ec0e4ac928bcbe0424264b39580171b1cb5afab0f
+DIST manual-es.zip 291117 RMD160 df6161700fc5e18b4020e7963eedac1ef690bc42 SHA1 d259421b19a2d9999a20947c180e655ebe86ae26 SHA256 41cb6f04baa23cb1f15469a049f9833506c6899b9410b8af064677a221d413c9
+DIST qtiplot-0.8.8.tar.bz2 788071 RMD160 21e36e1238ec9c758398eba71ec70b899befc77d SHA1 8eaf0fcf31887d0732a462e3b39a0c41ccfae7ff SHA256 b55fced5c8fbcfc81eb85e54bef7e34051af284958a0487648cadb7ba96bb273
+EBUILD qtiplot-0.8.8.ebuild 3266 RMD160 18a72f72dd55e54d6599e722305ae11c246e505e SHA1 7f863e275c835173c513a7f55fe64102fab905b2 SHA256 d1c94aa991f3ca4b831a039cee1d07900f15d954db6480f0ea181b52ff19c6cd
+MD5 c54d4e6eaa9fffa80397ce756b11cb97 qtiplot-0.8.8.ebuild 3266
+RMD160 18a72f72dd55e54d6599e722305ae11c246e505e qtiplot-0.8.8.ebuild 3266
+SHA256 d1c94aa991f3ca4b831a039cee1d07900f15d954db6480f0ea181b52ff19c6cd qtiplot-0.8.8.ebuild 3266
+MISC ChangeLog 3855 RMD160 bfb42ae5549b6c3d0dc66a12c549ab68fdf7f82d SHA1 9577ecfbd5bb25c94ad914447880ede5977939ea SHA256 8b18dd184c095854f8d43211c303157c43cfa5a694d235babd53448d500e2b45
+MD5 62ca211867221385cec5254fc437d555 ChangeLog 3855
+RMD160 bfb42ae5549b6c3d0dc66a12c549ab68fdf7f82d ChangeLog 3855
+SHA256 8b18dd184c095854f8d43211c303157c43cfa5a694d235babd53448d500e2b45 ChangeLog 3855
+MISC metadata.xml 604 RMD160 1e0ed48d48668781cafc44ef8a14c3fb1e41eb28 SHA1 0f1b65755c3b923539a54b7e05dfda9679c4d758 SHA256 094795782ea49d41a8c4106510bb80d360f1bdaae3ab89c23c369def31bab56c
+MD5 be5373660391ac23dc1d97a654ca9e79 metadata.xml 604
+RMD160 1e0ed48d48668781cafc44ef8a14c3fb1e41eb28 metadata.xml 604
+SHA256 094795782ea49d41a8c4106510bb80d360f1bdaae3ab89c23c369def31bab56c metadata.xml 604
+MD5 8092c838356ef8921c65e9cd90464a19 files/digest-qtiplot-0.8.8 687
+RMD160 12adc6a5d93844d753bc06040db00334eb3754e3 files/digest-qtiplot-0.8.8 687
+SHA256 0cee448f399325ca4c65244e885fee398b827c2f364d00196d1efe4af5e85daf files/digest-qtiplot-0.8.8 687
diff --git a/sci-visualization/qtiplot/files/digest-qtiplot-0.8.8 b/sci-visualization/qtiplot/files/digest-qtiplot-0.8.8
new file mode 100644
index 000000000..a875f5371
--- /dev/null
+++ b/sci-visualization/qtiplot/files/digest-qtiplot-0.8.8
@@ -0,0 +1,9 @@
+MD5 61bd61f42c756e388c240cb9d6d01381 manual-en.zip 5148221
+RMD160 34535d2ec54027c00945b35c05f5b6d48d966897 manual-en.zip 5148221
+SHA256 cf2cbf2342530b98f6ce1a6ec0e4ac928bcbe0424264b39580171b1cb5afab0f manual-en.zip 5148221
+MD5 920a78cbd4a72d23f1bc79ba89e2a1f9 manual-es.zip 291117
+RMD160 df6161700fc5e18b4020e7963eedac1ef690bc42 manual-es.zip 291117
+SHA256 41cb6f04baa23cb1f15469a049f9833506c6899b9410b8af064677a221d413c9 manual-es.zip 291117
+MD5 acd629e5dcb2713a353f1d84abc90ac8 qtiplot-0.8.8.tar.bz2 788071
+RMD160 21e36e1238ec9c758398eba71ec70b899befc77d qtiplot-0.8.8.tar.bz2 788071
+SHA256 b55fced5c8fbcfc81eb85e54bef7e34051af284958a0487648cadb7ba96bb273 qtiplot-0.8.8.tar.bz2 788071
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.8.8-muparserscripting.patch b/sci-visualization/qtiplot/files/qtiplot-0.8.8-muparserscripting.patch
new file mode 100644
index 000000000..2aca6bccb
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.8.8-muparserscripting.patch
@@ -0,0 +1,5 @@
+--- muParserScripting.h.orig 2006-11-05 21:41:41.000000000 +0100
++++ muParserScripting.h 2006-11-05 21:42:08.000000000 +0100
+@@ -6 +6 @@
+-#include "../3rdparty/muParser/muParser.h"
++#include <muParser.h>
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.8.8-parser.patch b/sci-visualization/qtiplot/files/qtiplot-0.8.8-parser.patch
new file mode 100644
index 000000000..bc36c4255
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.8.8-parser.patch
@@ -0,0 +1,5 @@
+--- parser.h.orig 2006-11-05 21:36:23.000000000 +0100
++++ parser.h 2006-11-05 21:36:59.000000000 +0100
+@@ -4 +4 @@
+-#include "../3rdparty/muParser/muParser.h"
++#include <muParser.h>
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.8.8-qmake.patch b/sci-visualization/qtiplot/files/qtiplot-0.8.8-qmake.patch
new file mode 100644
index 000000000..922efeb28
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.8.8-qmake.patch
@@ -0,0 +1,52 @@
+--- qtiplot.pro.orig 2006-11-05 18:24:28.000000000 +0100
++++ qtiplot.pro 2006-11-05 22:16:38.000000000 +0100
+@@ -17,9 +17,5 @@
+ # Python support is unstable; use at your own risk
+-SCRIPTING_LANGS += Python
++#SCRIPTING_LANGS += Python
+
+-TRANSLATIONS = translations/qtiplot_de.ts \
+- translations/qtiplot_es.ts \
+- translations/qtiplot_fr.ts \
+- translations/qtiplot_ru.ts \
+- translations/qtiplot_sv.ts
++TRANSLATIONS =
+
+@@ -28,10 +24,6 @@
+
+-INCLUDEPATH += ../3rdparty/qwt/include
+-INCLUDEPATH += ../3rdparty/liborigin
+-
+ ##################### Linux (Mac OS X) settings #####################
+
+-INCLUDEPATH += -I /usr/include/qwtplot3d
+-LIBS += ../3rdparty/qwt/lib$${libsuff}/libqwt.a
+-LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas -lqwtplot3d -lz -lorigin
++INCLUDEPATH += -I /usr/include/qwt5 -I /usr/include/qwtplot3d
++LIBS += -lgsl -lgslcblas -lqwtplot3d -lz -lorigin -lqwt -lmuparser
+
+@@ -221,22 +213,4 @@
+ DEFINES += SCRIPTING_MUPARSER
+- HEADERS += src/muParserScripting.h \
+- ../3rdparty/muParser/muParser.h \
+- ../3rdparty/muParser/muParserBase.h \
+- ../3rdparty/muParser/muParserInt.h \
+- ../3rdparty/muParser/muParserError.h \
+- ../3rdparty/muParser/muParserStack.h \
+- ../3rdparty/muParser/muParserToken.h \
+- ../3rdparty/muParser/muParserBytecode.h \
+- ../3rdparty/muParser/muParserCallback.h \
+- ../3rdparty/muParser/muParserTokenReader.h \
+- ../3rdparty/muParser/muParserFixes.h \
+- ../3rdparty/muParser/muParserDef.h
+- SOURCES += src/muParserScripting.cpp \
+- ../3rdparty/muParser/muParser.cpp \
+- ../3rdparty/muParser/muParserBase.cpp \
+- ../3rdparty/muParser/muParserInt.cpp \
+- ../3rdparty/muParser/muParserBytecode.cpp \
+- ../3rdparty/muParser/muParserCallback.cpp \
+- ../3rdparty/muParser/muParserTokenReader.cpp \
+- ../3rdparty/muParser/muParserError.cpp
++ HEADERS += src/muParserScripting.h
++ SOURCES += src/muParserScripting.cpp
+ }
diff --git a/sci-visualization/qtiplot/metadata.xml b/sci-visualization/qtiplot/metadata.xml
new file mode 100644
index 000000000..118c096c5
--- /dev/null
+++ b/sci-visualization/qtiplot/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>cryos@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ Data analysis and scientific plotting package. This is a clone of the
+ popular Origin software available on another well known platform implemented
+ in Qt with powerful 2D and 3D data plotting, ASCII import and powerful
+ spreadsheet data manipulation using column logic. Curve fitting and other
+ statistical tools are also available.
+ </longdescription>
+</pkgmetadata>
diff --git a/sci-visualization/qtiplot/qtiplot-0.8.8.ebuild b/sci-visualization/qtiplot/qtiplot-0.8.8.ebuild
new file mode 100644
index 000000000..6bb7a6d8a
--- /dev/null
+++ b/sci-visualization/qtiplot/qtiplot-0.8.8.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.8.5.ebuild,v 1.1 2006/05/26 14:58:54 cryos Exp $
+
+inherit eutils multilib qt3
+
+DESCRIPTION="Qt based clone of the Origin plotting package"
+HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="python doc"
+
+LANGUAGES="de es fr ru sv"
+for LANG in ${LANGUAGES}; do
+ IUSE="${IUSE} linguas_${LANG}"
+done
+
+SRC_URI="http://soft.proindependent.com/src/${P}.tar.bz2
+ doc? ( http://soft.proindependent.com/doc/manual-en.zip
+ linguas_es? ( http://soft.proindependent.com/doc/manual-es.zip ) )"
+
+DEPEND="$(qt_min_version 3.3)
+ =x11-libs/qwt-5*
+ >=x11-libs/qwtplot3d-0.2.6
+ >=sci-libs/gsl-1.6
+ >=sys-libs/zlib-1.2.3
+ sci-libs/liborigin
+ dev-cpp/muParser
+ python? ( =dev-lang/python-2.4* dev-python/PyQt dev-python/sip )"
+
+pkg_setup() {
+ if ! built_with_use x11-libs/qwt qt3; then
+ eerror "qwt must be emerged with the USE flag qt3"
+ die "This package needs qwt with USE=qt3"
+ fi
+}
+
+src_unpack() {
+ local TRANSLATIONS
+ unpack ${A}
+ cd "${S}"
+ mv "${PN}.pro" "${PN}.pro.orig"
+ tr -d '\r' < "${PN}.pro.orig" | sed -e 's|3rdparty/qwt||' > "${PN}.pro"
+ cd qtiplot
+ mv "${PN}.pro" "${PN}.pro.orig"
+ tr -d '\r' < "${PN}.pro.orig" \
+ | sed -e '/^[[:space:]#]*win32:/d' -e 's/^\([[:space:]]*\)unix:/\1/' \
+ > "${PN}.pro"
+ epatch "${FILESDIR}/${P}-qmake.patch" || die "epatch qtiplot.pro failed"
+ sed -i -e "s|_LIBDIR_|/usr/$(get_libdir)|" ${PN}.pro || die "sed failed."
+ use python || sed -i -e 's/^#\(SCRIPTING_LANGS += Python\)/\1' "${PN}.pro"
+ TRANSLATIONS=""
+ for LANG in ${LANGUAGES}; do
+ use "linguas_${LANG}" && TRANSLATIONS="${TRANSLATIONS} translations/qtiplot_${LANG}.ts"
+ done
+ sed -i -e "s|^\\(TRANSLATIONS =\\)|\\1${TRANSLATIONS}|" "${PN}.pro"
+ cd src
+ mv parser.h parser.h.orig
+ tr -d '\r' <parser.h.orig >parser.h
+ epatch "${FILESDIR}/${P}-parser.patch" || die "epatch parser.h failed"
+ mv muParserScripting.h muParserScripting.h.orig
+ tr -d '\r' <muParserScripting.h.orig >muParserScripting.h
+ epatch "${FILESDIR}/${P}-muparserscripting.patch" || die "epatch muParserScripting.h failed"
+ cd ../../fitPlugins/fitRational0
+ mv fitRational0.pro fitRational0.pro.orig
+ tr -d '\r' < fitRational0.pro.orig \
+ | sed -e '/^[[:space:]#]*win32:/d' -e 's/^\([[:space:]]*\)unix:/\1/' \
+ > fitRational0.pro
+ sed -i -e 's|/usr/lib$${libsuff}|_LIBDIR_|' fitRational0.pro
+ sed -i -e "s|_LIBDIR_|/usr/$(get_libdir)|" fitRational0.pro
+ cd ../fitRational1
+ mv fitRational1.pro fitRational1.pro.orig
+ tr -d '\r' < fitRational1.pro.orig \
+ | sed -e '/^[[:space:]#]*win32:/d' -e 's/^\([[:space:]]*\)unix:/\1/' \
+ > fitRational1.pro
+ sed -i -e 's|/usr/lib$${libsuff}|_LIBDIR_|' fitRational1.pro
+ sed -i -e "s|_LIBDIR_|/usr/$(get_libdir)|" fitRational1.pro
+}
+
+src_compile() {
+ ${QTDIR}/bin/qmake QMAKE=${QTDIR}/bin/qmake "${PN}.pro" || die 'qmake failed.'
+ emake || die 'emake failed.'
+}
+
+src_install() {
+ make_desktop_entry qtiplot qtiplot qtiplot Graphics
+ dobin qtiplot/qtiplot || die 'Binary installation failed'
+ if use doc; then
+ insinto "/usr/share/doc/${PF}"
+ doins -r "${WORKDIR}/manual-en"
+ use linguas_es && doins -r "${WORKDIR}/manual-es"
+ fi
+}