summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-visualization/labplot/Manifest13
-rw-r--r--sci-visualization/qtiplot/ChangeLog10
-rw-r--r--sci-visualization/qtiplot/Manifest19
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.3-homepage.patch11
-rw-r--r--sci-visualization/qtiplot/files/qtiplot-0.9.3-systemlibs.patch127
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.2.ebuild4
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.3.ebuild97
7 files changed, 269 insertions, 12 deletions
diff --git a/sci-visualization/labplot/Manifest b/sci-visualization/labplot/Manifest
index 2b8da4ddae94..d7c167a8339a 100644
--- a/sci-visualization/labplot/Manifest
+++ b/sci-visualization/labplot/Manifest
@@ -6,15 +6,14 @@ AUX labplot-1.6.0.1-linkexec.patch 388 RMD160 b220c747429d5492290df3f46618289af9
DIST LabPlot-1.5.1.tar.gz 10733976 RMD160 404fe6f2c39685ed6b336c71dff3d549b3f4faa4 SHA1 854ab974d12d1441cfdb3b5cc94df5d1fd1f5684 SHA256 25f17e55e3483db33601c10ec292a77de627e7eca2effbd3a77942538a6cbfde
DIST LabPlot-1.5.1_1.5.1.6.diff.gz 236338 RMD160 1439f4cb2d19c77e98b721c893e371b75389100e SHA1 194373ef94d1bbba78118f9a0d8898e607f80a6f SHA256 82a3868145b15ce501c62bd647ccad9871b712a6cb00b7397214d1e22ae0ea4f
DIST LabPlot-1.6.0.1.tar.gz 11903145 RMD160 6e970c2f889a5b2b38ac0f3d82963c3a0aed945c SHA1 d2a2718431a2641953d61973536cd933d705a03d SHA256 a3b7cead9100489f0bf55e548a5b21bfb6fef2219d3ed1e3d638bd68c80cfb78
-EBUILD labplot-1.5.1.6-r1.ebuild 2433 RMD160 b2f2e9e6ce8fdfe92fcb71fc806ca5761ada2cf5 SHA1 96d4d71242079a810cfe6e3b2cd74f1f8bc088cf SHA256 df5187849acca0efa8dde7fb47f6d0210c9743a3ad173b5f9982255f5688dd2c
-EBUILD labplot-1.5.1.6.ebuild 2501 RMD160 534c4d318e681269446f6016f79bdf56c5024b68 SHA1 641c64f6715556085164adbf7b49acf8c4464895 SHA256 fdc1856e8ae419e143e18f7159201468fe05ca92dc70f78a1a1e06a5f4fcc947
-EBUILD labplot-1.6.0.1.ebuild 2860 RMD160 ee06e68960fc4e76879841240a4b647c66e7cee4 SHA1 621780e789d5307947e84c924852f31ded2f3450 SHA256 c179f00a986e085a201f621a6e4fab37d223cef6d461e13ce7cb29868bddd6c3
-MISC ChangeLog 5355 RMD160 7dc8182731d2b7f8b24bf572c8a0cf9287a8d4ac SHA1 8bb9eb6f3d9b960490cfa056f1a2b668456cef74 SHA256 883fc0ea30f2febbd762a13093fd2e145f8ea70a934851d7c72b74782358a6d2
+EBUILD labplot-1.5.1.6-r1.ebuild 2443 RMD160 689003cf009514dea14377f1e5b9c00524745e38 SHA1 a002778f3775aa5ada13c8e0cc8f5c2808b47544 SHA256 0b1e63e0fd6f27f059797f73c9098db74672fda2f309315daea82991c9c73036
+EBUILD labplot-1.6.0.1.ebuild 2869 RMD160 25b3dac6674d42a603428a8860af116b18734c96 SHA1 984e3350b839e41e0d7de080b45192d23ac8eff9 SHA256 d102f615f890a63aa280b7ebce391bd126a32d241f69b981faf40df36b7d6028
+MISC ChangeLog 5538 RMD160 b1e51acb57ba975bdb47a9e0f91d098baf83ace7 SHA1 105260f770a9ce38536f66f4f14a96552f60dc06 SHA256 a2407231b407c863d38afd610e33574c261390d1f58941c902e5372f8bee291f
MISC metadata.xml 469 RMD160 5afbc4d35d6e77f6297ac4bbcbca2ac380ea840d SHA1 efdb8b43050f290eca28afb7f1acde3e18594691 SHA256 3caf0d19109b8b58f57165fc108f9dfe17ff0ea65059000806f5219acf677b58
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHyn6U1ycZbhPLE2ARAjz7AKCr4qWs4Ww4/rUaiUhlFh9tT0wRJgCcDt2h
-QF74daMDQHqbwPqX3flzAUU=
-=Xi3C
+iD8DBQFH0LBf1ycZbhPLE2ARAmb/AJ0WrS0yP1XMTEbRaanzWhyLN6hK+wCeKNn2
+WKzbuj4aRkbeVoh9IRjTNf8=
+=FSXZ
-----END PGP SIGNATURE-----
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog
index b6a3f6cc99e0..8ea8b62e1b4f 100644
--- a/sci-visualization/qtiplot/ChangeLog
+++ b/sci-visualization/qtiplot/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sci-visualization/qtiplot
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.16 2008/02/13 14:33:59 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.17 2008/03/07 03:00:16 bicatali Exp $
+
+*qtiplot-0.9.3 (07 Mar 2008)
+
+ 07 Mar 2008; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ +files/qtiplot-0.9.3-homepage.patch,
+ +files/qtiplot-0.9.3-systemlibs.patch, qtiplot-0.9.2.ebuild,
+ +qtiplot-0.9.3.ebuild:
+ Version bump
13 Feb 2008; Markus Dittrich <markusle@gentoo.org> qtiplot-0.7.7.ebuild,
qtiplot-0.8.5.ebuild, qtiplot-0.9.2.ebuild, qtiplot-0.9.2-r1.ebuild:
diff --git a/sci-visualization/qtiplot/Manifest b/sci-visualization/qtiplot/Manifest
index 742320565e2d..da86f106e760 100644
--- a/sci-visualization/qtiplot/Manifest
+++ b/sci-visualization/qtiplot/Manifest
@@ -1,13 +1,28 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX qtiplot-0.7.7-qmake.patch 11384 RMD160 fa0491bd504d3445645817871fa831d0b70b4602 SHA1 5cd18e99d39664ef48e0d18069d89cb4b417a175 SHA256 2d89427ab1304b1ec8165d6ceaedf474a48ba59d55dafbb4977b5ddaab8509ca
AUX qtiplot-0.8.5-qmake.patch 467 RMD160 00b5de4a8ab62eb3d2b3b7cb4a0a69a92d42cb44 SHA1 6fdb19a48c501b3f1256e7105d383f567f17182e SHA256 51230401a221a49371db906d37eca2b2734346ff82684dc572e37294fbd1ed0f
AUX qtiplot-0.9.2-systemlibs.patch 4666 RMD160 e6fcf31a5d807e167c858c68847768e3e8fce093 SHA1 e27ab1c0bf647d35778440dc3964fdb6892d47d1 SHA256 3310cbc330e03ee8b2bb1337a1414bb8eff645743dc623a58452d0587d696e84
+AUX qtiplot-0.9.3-homepage.patch 466 RMD160 75d4bef3c3731b36cd19a8f8d674c9ef8fece2cc SHA1 6578f71884a7e83f7a2cfe1c896edc6eca3a8cfd SHA256 dad933a0649075a8d9f30657549152d9e1777495d1a51d3de2feb0366dcf88a3
+AUX qtiplot-0.9.3-systemlibs.patch 5038 RMD160 f0860b416571d2eac53458e7dbc9f75360aed7b4 SHA1 345238af7acd7394d8ab8b340c6189906cd86873 SHA256 761ccfc08b9ca3af54c90ff4d2a195d753586d1ac4451e356c1b283c7a08413d
DIST qtiplot-0.7.7.zip 812738 RMD160 6f62b32059eec57bf931b5bae9f524672d436ee9 SHA1 b201e600ec057ff0f7b4b4572850b0b072a0e0fb SHA256 937849c42cc3047df3975d1cb7a26a2503a499d548066937589340f55bd1ab01
DIST qtiplot-0.8.5.tar.bz2 530579 RMD160 72f4f60f1171c57e6c2614a1a5a7b6dfc3bda4f5 SHA1 d8142877bfc86fad8a43e64f6f3e0a16126e5f0a SHA256 81831d8dfaddbdf32d85a6e7eaf0e54e2321e2fba6ffaabfe6943bc326a6f874
DIST qtiplot-0.9.2-manual-en.tar.bz2 5233394 RMD160 9e3bbd5b71e8549cef627230d0e78e2e53636053 SHA1 f0b64cb56cb6d2581871a15e712452ee4f0b8d2b SHA256 39ab4baeeebec24b8a42e3cffb9354a24b0f1987bd0cb470f1e1954b13661b7d
DIST qtiplot-0.9.2.tar.bz2 897629 RMD160 5b1a71f87a3d6801aa26337fbb5932191aed228c SHA1 5e3bcfd4c2555472f6dedf68e52e24a079aba60e SHA256 051a55e3e120ad53b2463a3a9295d22f9d36d1146468c5ebd869a5f180c145fd
+DIST qtiplot-0.9.3-manual-en.tar.bz2 3805 RMD160 7559ad3e00168541ea0a8c1fe932ba89e72cf01b SHA1 41c786327ad7ee068ac98c765d2767f723edcf27 SHA256 1636b4ccfcfd9ac1d1d647f1f1d16cb6e0b5883deb85b94ec40b96680bb91fdb
+DIST qtiplot-0.9.3.tar.bz2 6252872 RMD160 84394b27925441aed574267723a9346ad93b1b8c SHA1 55eb107fa5f61fbaec2793b21b1157934d022f4a SHA256 aa305cf5747a3f787ee076f4e4cf90f3f7c4843c4b0f1161a825520be0f8f16b
EBUILD qtiplot-0.7.7.ebuild 1103 RMD160 3d43465a82ddeb887c350bc14d72307dfe9d7c70 SHA1 f5115d29c866efc93f69f4bc006dc63508f820fd SHA256 1492680d7b3597fbf917e6b011e5ad53dc2c68f6cd6e31bcc8b3500bbed824e9
EBUILD qtiplot-0.8.5.ebuild 1218 RMD160 b1a7916212cb8aabb8a503a14e542d2ae15ca3ab SHA1 fef63fb5398145209f712edb2005e5b0127f548d SHA256 a0ced0f0ee26a36101305794060ada41bf72be6ddc70bd5f961b12a1a229384c
EBUILD qtiplot-0.9.2-r1.ebuild 2545 RMD160 ea90e7b34b11efd542e373668b430b8585f43c14 SHA1 851dff9455af834548dcbf88b46c0eb62e5ff927 SHA256 41f9a1fe02646c2576b25c743e34397cddef9a10619a01e2cb382246c1467cd6
-EBUILD qtiplot-0.9.2.ebuild 2474 RMD160 37f76d8d42a6da55dd63fecc14791d85f64fceef SHA1 7838d5aefe9c1d7064345e98b7719f35bf120bc6 SHA256 725b3ea294ec1bf806b3eb95c2b2f111771a85c39262b544531b6587b4e1eeda
-MISC ChangeLog 5261 RMD160 00bbde3d8616e0ad7102f7d038e7941ebb1ab92e SHA1 fe04f2e503fe42a3e1aef38faa0831cf5c6582a9 SHA256 e1239042d7f58977df0f4ae6bdef37515a936daedafa0050024de31b6d9085bf
+EBUILD qtiplot-0.9.2.ebuild 2473 RMD160 2e269234c1b881ba1604925a4f646d7c28f50a0d SHA1 47efd792983a0c0ba4b7fdafeb9d429503823143 SHA256 51605403856b69ecf94a70e526dd2e8db16fa12df6e4a3eb175ee6f5b5feaf6c
+EBUILD qtiplot-0.9.3.ebuild 2377 RMD160 c454a2211fd65cde447b259c0d55723bd5a60f07 SHA1 2b538a0bba83a4c3f1194bc1e652542b324d6174 SHA256 e2a4d422093d3bc8f8a79cd42a8bcdd9cd095805a6bd3d07771d0727f2eacbc7
+MISC ChangeLog 5489 RMD160 a15f8e6a6d07c61d25fb1c4e18a5f76733c5eb16 SHA1 e02cd84dc15a2fd62e63b28d4dd183d1aa78361c SHA256 827302f4fc39cc8201cca9a912ed79905d9f41597a4d5c8200f715e6eb460539
MISC metadata.xml 604 RMD160 1e0ed48d48668781cafc44ef8a14c3fb1e41eb28 SHA1 0f1b65755c3b923539a54b7e05dfda9679c4d758 SHA256 094795782ea49d41a8c4106510bb80d360f1bdaae3ab89c23c369def31bab56c
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFH0K/R1ycZbhPLE2ARAt0iAJ9nmkEBsEOQv3lFtD2+pH42SrSMSwCfWHrK
+GQZse9TPX0JkHtwHmYbjiB0=
+=8iuL
+-----END PGP SIGNATURE-----
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.3-homepage.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.3-homepage.patch
new file mode 100644
index 000000000000..12a9ebd1288e
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.9.3-homepage.patch
@@ -0,0 +1,11 @@
+--- qtiplot/src/main.cpp.orig
++++ qtiplot/src/main.cpp
+@@ -45,7 +45,7 @@
+ <br>
+
+ The QtiPlot web page can be found at<br>
+- <a href="http://soft.proindependent.com/qtiPlot.html">http://soft.proindependent.com/qtiPlot.html</a><br>
++ <a href="http://soft.proindependent.com/qtiplot.html">http://soft.proindependent.com/qtiplot.html</a><br>
+
+ \section libs QtiPlot uses the following libraries:
+ <a href="http://www.trolltech.com/products/qt/index.html">Qt</a>,
diff --git a/sci-visualization/qtiplot/files/qtiplot-0.9.3-systemlibs.patch b/sci-visualization/qtiplot/files/qtiplot-0.9.3-systemlibs.patch
new file mode 100644
index 000000000000..ef09eb057a8f
--- /dev/null
+++ b/sci-visualization/qtiplot/files/qtiplot-0.9.3-systemlibs.patch
@@ -0,0 +1,127 @@
+--- qtiplot/qtiplot.pro.orig 2008-03-06 15:02:08.000000000 +0000
++++ qtiplot/qtiplot.pro 2008-03-06 21:57:33.000000000 +0000
+@@ -16,8 +16,8 @@
+ # comment the following lines if you haven't subscribed for a QtiPlot binaries maintenance contract
+ #RESTRICTED_MODULES += EMF
+
+-#CONFIG += release
+-CONFIG += debug
++CONFIG += release
++#CONFIG += debug
+ #win32: CONFIG += console
+
+ # what to install and where
+@@ -45,12 +45,12 @@
+ #!!! Warning: You must modify these paths according to your computer settings
+ #############################################################################
+
+-INCLUDEPATH += ../3rdparty/muparser/include
+-INCLUDEPATH += ../3rdparty/qwtplot3d/include
+-INCLUDEPATH += ../3rdparty/qwt/src
+-INCLUDEPATH += ../3rdparty/liborigin
+-INCLUDEPATH += ../3rdparty/gsl/include
+-INCLUDEPATH += ../3rdparty/zlib123/include
++INCLUDEPATH += /usr/include/muparser
++INCLUDEPATH += /usr/include/qwtplot3d
++INCLUDEPATH += /usr/include/qwt5
++INCLUDEPATH += /usr/include/liborigin
++INCLUDEPATH += /usr/include/gsl
++
+
+ ##################### 3rd PARTY LIBRARIES SECTION ###########################
+ #!!! Warning: You must modify these paths according to your computer settings
+@@ -59,17 +59,19 @@
+ ##################### Linux (Mac OS X) ######################################
+
+ # statically link against libraries in 3rdparty
+-unix:LIBS += ../3rdparty/muparser/lib/libmuparser.a
+-unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a
+-unix:LIBS += ../3rdparty/qwt/lib/libqwt.a
+-unix:LIBS += ../3rdparty/gsl/lib/libgsl.a
+-unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a
++#unix:LIBS += ../3rdparty/muparser/lib/libmuparser.a
++#unix:LIBS += ../3rdparty/qwtplot3d/lib/libqwtplot3d.a
++#unix:LIBS += ../3rdparty/qwt/lib/libqwt.a
++#unix:LIBS += ../3rdparty/gsl/lib/libgsl.a
++#unix:LIBS += ../3rdparty/gsl/lib/libgslcblas.a
+
+ # dynamically link against dependencies if they are installed system-wide
+-#unix:LIBS += -lmuparser
+-#unix:LIBS += -lqwtplot3d
+-#unix:LIBS += -lqwt
+-#unix:LIBS += -lgsl -lgslcblas
++unix:LIBS += -lmuparser
++unix:LIBS += -lqwtplot3d
++unix:LIBS += -lqwt
++unix:LIBS += $$system(pkg-config --libs gsl)
++unix:LIBS += -lorigin
++unix:LIBS += -lz
+
+ ##################### Windows ###############################################
+
+@@ -124,8 +126,8 @@
+ translations/qtiplot_ja.ts \
+ translations/qtiplot_sv.ts
+
+-#system(lupdate -verbose qtiplot.pro)
+-#system(lrelease -verbose qtiplot.pro)
++system(lupdate -verbose qtiplot.pro)
++system(lrelease -verbose qtiplot.pro)
+
+ translations.files += translations/qtiplot_de.qm \
+ translations/qtiplot_es.qm \
+@@ -139,8 +141,7 @@
+ manual.files += ../manual/html \
+ ../manual/qtiplot-manual-en.pdf
+
+-documentation.files += ../README.html \
+- ../gpl_licence.txt
++documentation.files += ../README.html
+
+ unix: man.files += ../qtiplot.1
+
+@@ -395,8 +396,8 @@
+ ################# Origin Import (liborigin) ###################
+ ###############################################################
+
+-HEADERS += ../3rdparty/liborigin/OPJFile.h
+-SOURCES += ../3rdparty/liborigin/OPJFile.cpp
++#HEADERS += ../3rdparty/liborigin/OPJFile.h
++#SOURCES += ../3rdparty/liborigin/OPJFile.cpp
+
+ ###############################################################
+ ################# Module: Plot 2D #############################
+--- fitPlugins/fitRational0/fitRational0.pro.orig 2008-03-06 15:11:53.000000000 +0000
++++ fitPlugins/fitRational0/fitRational0.pro 2008-03-06 15:16:28.000000000 +0000
+@@ -12,12 +12,10 @@
+ DESTDIR = ../
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++INCLUDEPATH += /usr/include/gsl
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++unix:LIBS += $$system(pkg-config --libs gsl)
+
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
+ INSTALLS += target
+--- fitPlugins/fitRational1/fitRational1.pro.orig 2008-03-06 15:13:35.000000000 +0000
++++ fitPlugins/fitRational1/fitRational1.pro 2008-03-06 15:16:52.000000000 +0000
+@@ -12,12 +12,10 @@
+ DESTDIR = ../
+
+ # statically link against GSL in 3rdparty
+-INCLUDEPATH += ../../3rdparty/gsl/include/
+-LIBS += ../../3rdparty/gsl/lib/libgsl.a
+-LIBS += ../../3rdparty/gsl/lib/libgslcblas.a
++INCLUDEPATH += /usr/include/gsl
+
+ #dynamically link against GSL installed system-wide
+-#unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
++unix:LIBS += $$system(pkg-config --libs gsl)
+
+ target.path=/usr/lib$${libsuff}/qtiplot/plugins
+ INSTALLS += target
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild
index c24cbffd182a..fc8a56970f2e 100644
--- a/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild
+++ b/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild,v 1.3 2008/02/13 14:33:59 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.2.ebuild,v 1.4 2008/03/07 03:00:16 bicatali Exp $
inherit eutils multilib qt4 python
@@ -22,7 +22,7 @@ done
CDEPEND=">=x11-libs/qwt-5.0.2
>=x11-libs/qwtplot3d-0.2.7
>=dev-cpp/muParser-1.28
- >=sci-libs/liborigin-20071119
+ <sci-libs/liborigin-20080225
!bindist? ( sci-libs/gsl )
bindist? ( <sci-libs/gsl-1.10 )"
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.3.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.3.ebuild
new file mode 100644
index 000000000000..aeed0ddf9e51
--- /dev/null
+++ b/sci-visualization/qtiplot/qtiplot-0.9.3.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.3.ebuild,v 1.1 2008/03/07 03:00:16 bicatali Exp $
+
+inherit eutils multilib qt4
+
+DESCRIPTION="Qt based clone of the Origin plotting package"
+HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
+SRC_URI="http://soft.proindependent.com/src/${P}.tar.bz2
+ doc? ( mirror://gentoo/${P}-manual-en.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="python doc bindist"
+
+LANGS="de es fr ja ru sv"
+for l in ${LANGS}; do
+ IUSE="${IUSE} linguas_${l}"
+done
+
+CDEPEND=">=x11-libs/qwt-5.0.2
+ >=x11-libs/qwtplot3d-0.2.7
+ >=dev-cpp/muParser-1.28
+ >=sci-libs/liborigin-20080225
+ !bindist? ( sci-libs/gsl )
+ bindist? ( <sci-libs/gsl-1.10 )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ python? ( >=dev-python/sip-4.5.2 )"
+
+RDEPEND="${CDEPEND}
+ python? ( >=dev-lang/python-2.5
+ dev-python/PyQt4
+ dev-python/pygsl
+ sci-libs/scipy )"
+
+QT4_BUILT_WITH_USE_CHECK="qt3support"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-systemlibs.patch
+ epatch "${FILESDIR}"/${P}-homepage.patch
+
+ # docs: remove default doc building
+ sed -i -e '/manual/d' qtiplot.pro qtiplot/qtiplot.pro \
+ || die "die sed for docs failed"
+ sed -i -e "s:doc/${PN}:doc/${PF}:" qtiplot/qtiplot.pro
+
+ if ! use python; then
+ sed -i \
+ -e '/^SCRIPTING_LANGS += Python/d' \
+ -e '/sipcmd/d' \
+ ${PN}/${PN}.pro || die "sed for python option failed"
+ fi
+
+ # the lib$$suff did not work in the fitRational*.pro files
+ sed -i \
+ -e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \
+ fitPlugins/fit*/fitRational*.pro \
+ || die "sed fitRational* failed"
+
+ for l in ${LANGS}; do
+ if ! use linguas_${l}; then
+ sed -i \
+ -e "s:translations/qtiplot_${l}.ts::" \
+ ${PN}/${PN}.pro || die
+ fi
+ done
+}
+
+src_compile() {
+ eqmake4 || die "eqmake4 failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die 'emake install failed'
+
+ newicon qtiplot_logo.png qtiplot.png
+ make_desktop_entry qtiplot QtiPlot qtiplot
+ doman qtiplot.1 || die "doman failed"
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins -r "${WORKDIR}"/qtiplot-manual-en \
+ || die "install manual failed"
+ fi
+
+ if use python; then
+ cd "${S}"/${PN}
+ insinto /etc
+ doins qtiplotrc.py qtiUtil.py || die
+ fi
+}