summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-05-19 08:48:26 +0000
committerJustin Lecher <jlec@gentoo.org>2012-05-19 08:48:26 +0000
commit5ea9add3068715ecc0f69c3a600e6076b51c469a (patch)
tree3c893157ca95092a79ce7d56663cab3ac4d43eaa /sci-visualization
parentVersion bump for bug #416363, thanks to Christoph Brill (egore). Now properly... (diff)
downloadhistorical-5ea9add3068715ecc0f69c3a600e6076b51c469a.tar.gz
historical-5ea9add3068715ecc0f69c3a600e6076b51c469a.tar.bz2
historical-5ea9add3068715ecc0f69c3a600e6076b51c469a.zip
sci-visualization/qtiplot: Dropped old
Package-Manager: portage-2.2.0_alpha107/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/qtiplot/ChangeLog6
-rw-r--r--sci-visualization/qtiplot/Manifest19
-rw-r--r--sci-visualization/qtiplot/metadata.xml3
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild199
-rw-r--r--sci-visualization/qtiplot/qtiplot-0.9.8.9.ebuild207
5 files changed, 11 insertions, 423 deletions
diff --git a/sci-visualization/qtiplot/ChangeLog b/sci-visualization/qtiplot/ChangeLog
index c4612ff1730a..51e431a93fe1 100644
--- a/sci-visualization/qtiplot/ChangeLog
+++ b/sci-visualization/qtiplot/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-visualization/qtiplot
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.94 2012/05/19 08:03:37 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.95 2012/05/19 08:48:26 jlec Exp $
+
+ 19 May 2012; Justin Lecher <jlec@gentoo.org> -qtiplot-0.9.8.2.ebuild,
+ -qtiplot-0.9.8.9.ebuild, metadata.xml:
+ Dropped old
19 May 2012; Agostino Sarubbo <ago@gentoo.org> qtiplot-0.9.8.9-r1.ebuild:
Stable for x86, wrt bug #414355
diff --git a/sci-visualization/qtiplot/Manifest b/sci-visualization/qtiplot/Manifest
index bf45d6289065..fb1ca5a746b2 100644
--- a/sci-visualization/qtiplot/Manifest
+++ b/sci-visualization/qtiplot/Manifest
@@ -21,22 +21,15 @@ AUX qtiplot-0.9.8.7-kde.patch 454 RMD160 dd38d3a9e4c1034fff061f7bc4e6ef95aa07ee1
AUX qtiplot-0.9.8.8-system-gl2ps.patch 2436 RMD160 4ef13f2ff717759a882e91169bc81a167dc08b9e SHA1 cdbb846d85372720021b52c71f86e5230f913e32 SHA256 0787155b465aa6cdf4b2c12a87dd68e6b5aa2197b041b06a550023c1ca96c81c
AUX qtiplot-0.9.8.9-origin-2.patch 1713 RMD160 444bcef412e7af91b7a395e3c6a638de00b549d0 SHA1 3c826192c4da1b15672566bba2d34ddad4e93b62 SHA256 f48441a91326dbea572d52d9e22449fc29c3e205ce90925f277a1121233a4c40
AUX qtiplot-0.9.8.9-qt48.patch 984 RMD160 79f21b79484d9ef6f2798f406722982bd25e1390 SHA1 a91447800c37f5a302fe5c4c726beeb63451f394 SHA256 e434763efdad1693dadd7c94d5871d4b5d808ceebbaf7b2acd434b9b6166eb29
-DIST qtiplot-0.9.8.2.tar.bz2 8244887 RMD160 0ee5e9f5eb50c44b2666cf904ef7ff23850c4c0b SHA1 dd8d1003cee8767d4ba9e616e5263da1302c290d SHA256 f544a42a1b103c1fb8cf28f00313fc984fac6ed5d7748a511e726410612e2c02
DIST qtiplot-0.9.8.9-origin.patch.bz2 104708 RMD160 cbdd313f6054ecce19987be949b381c6210a3dad SHA1 632fbe607af7d2b1a903ef414ccadc4f425f9058 SHA256 e83d7212be0fadae31b14c8a86b655fdb3b7c7b8fc80b1e2d91eb0a7e96b1e99
DIST qtiplot-0.9.8.9.tar.bz2 16202943 RMD160 6f78160aabc94fc8f01d4f5fb65f5cb4a718eae2 SHA1 73b17dd9195c3d86750d5f1f5bdd4d5483c5fe30 SHA256 a523ea259516d7581abaf2fe376507d152db32f71d88176cff18f5bc391b9ef0
-EBUILD qtiplot-0.9.8.2.ebuild 5402 RMD160 754be1b12e7480c03f5177947f8b86d8b8709dbf SHA1 80f1b5e8d5435341a7fa749b49903d64eb4384d9 SHA256 ff0da3a9a0c873172ad50a0b5326c1e2f7e50d9e9f80ca3ada692f22de178f47
EBUILD qtiplot-0.9.8.9-r1.ebuild 5906 RMD160 610b9788f0763369716a4585d6ddc32ad9ee4e3f SHA1 a4b4150887e234d05ead66ecf729da181488f723 SHA256 1e21d4c13547c2f607ec19b3fbb25ed411bda46f5700094903521e735bf2c88f
-EBUILD qtiplot-0.9.8.9.ebuild 5647 RMD160 1d4b4715a067d59e81c2f185a2ee56be5f054670 SHA1 c91a408f1297cf5bc1001eca46f2478081b2d0d7 SHA256 b4cad11a5745d59a44dfa440301df779da20583674a96aeeca1c305e1604802c
-MISC ChangeLog 22037 RMD160 46a1d17e686e6ef4275f7d580905f2709258c713 SHA1 58778ac0e8d016c287f11331133686ac04b8951e SHA256 4a22b6034e03641a85f2ad6560e24badf0704b9c758792773ee51fba0ff86ca0
-MISC metadata.xml 704 RMD160 47486df07c6865ed1a5a4b2daeeadb5a46907973 SHA1 ff7df4e2afd6522f7847cf3f045521158ad50754 SHA256 2d0c56371de2161e4a3d6fc80e9fdc506115172bc7b5251d1f1f2955ad5213ff
+MISC ChangeLog 22166 RMD160 5a7b3e29ee6ca70ae382ca83515b34c91045e980 SHA1 e811a12f54852ea3260a8086c71932d1534bcd75 SHA256 8930a19e113588a2392aae03d40d76b7334dafbf6827de684c09c4861ae03044
+MISC metadata.xml 621 RMD160 dbebea710ecd16cdb3d7f6da31569f9c22181f55 SHA1 87f1c32596d5d1b792d562820ea9e41a3cdea03c SHA256 b574436b51a4e14cbda0b75320fdf33721b44f5c418de8d8873e2939c781cce0
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCgAGBQJPt1PeAAoJEOTDgjZ80txdwokH/31vqzz2A0WkeS74fDqlOlh/
-hwD72My/Sk0NmglWLg6aQPJQFSlIrfKKwFqtYKuEEAHxAy3ippCaVpu3xtl1m6Ux
-a6ehDgGI/rkY8fXKmpahsMBZgAFMB20wR648oO4zd9CuHJVJxWmZehCsCvbLjWx6
-PVSKQfVTEWH/mhxSShW5y+T4sGzf6u9KX3v3t2kWNcJgh/1WSrVxQbdKs8yz+KCU
-a06ujYt5PA/M3Cp1UhbyNR5ce/gO7iYpn1yK6H1sgvNFw6DHOeCutrEcxkwMR09r
-VcJd7dkFRfwvRUM4nHyq+qgf9tkbC6Vt7oXTV8Pw1PgOO1HLAY65VPYFQcCna7g=
-=6lPH
+iEYEAREKAAYFAk+3Xl8ACgkQgAnW8HDreRa3rgCgiyDS11E+yanHTnn/uhp0SQvQ
+ACEAoKr1R4HBnr+028FX81n2/isbZHxQ
+=czv+
-----END PGP SIGNATURE-----
diff --git a/sci-visualization/qtiplot/metadata.xml b/sci-visualization/qtiplot/metadata.xml
index e78f4182c5b6..ac1ef2777fef 100644
--- a/sci-visualization/qtiplot/metadata.xml
+++ b/sci-visualization/qtiplot/metadata.xml
@@ -6,9 +6,6 @@
<email>pva@gentoo.org</email>
<name>Peter Volkov</name>
</maintainer>
- <use>
- <flag name="ods">Import support for OpenOffice .ods sheets</flag>
- </use>
<longdescription>
Data analysis and scientific plotting package. This is a clone of the
popular Origin software available on another well known platform implemented
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild
deleted file mode 100644
index 4002048e8159..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.2.ebuild,v 1.11 2012/05/04 08:07:00 jdhore Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2"
-
-inherit eutils qt4-r2 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc ods python"
-
-LANGS="cn cz de es fr ja ro ru sv"
-for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- IUSE="${IUSE} linguas_${lu}"
-done
-
-# qwtplot3d much modified from original upstream
-# >=x11-libs/qwt-5.3 they are using trunk checkouts
-CDEPEND="
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5
- >=dev-cpp/muParser-1.32
- >=dev-libs/boost-1.35.0
- >=sci-libs/liborigin-20100903:2
- sci-libs/gsl
- dev-libs/boost
- dev-tex/qtexengine
- ods? ( dev-libs/quazip )"
-# Still unable to build
-# emf? ( media-libs/libemf
-# media-libs/emfengine )
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig
- python? ( >=dev-python/sip-4.9 )
- doc? (
- app-text/docbook-sgml-utils
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
-
-RDEPEND="${CDEPEND}
- python? ( dev-python/PyQt4[X] )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.9.7.12-system-QTeXEngine.patch"
- "${FILESDIR}/${PN}-0.9.7.14-system-liborigin.patch"
- "${FILESDIR}/${PN}-0.9.7.12-system-gl2ps.patch"
- "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
- "${FILESDIR}/${PN}-0.9.8.2-syslibs.patch"
- "${FILESDIR}/${PN}-0.9.8.2-origin-build-failure.patch"
- )
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- qt4-r2_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/}
-
- # Check build.conf for changes on bump.
- cat >build.conf <<-EOF
- # Automatically generated by Gentoo ebuild
- isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
- }
-
- MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
- GSL_LIBS = \$\$system(pkg-config --libs gsl)
- BOOST_INCLUDEPATH = "${EPREFIX}/usr/include/boost"
- BOOST_LIBS = -lboost_date_time-mt -lboost_thread-mt
- QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
- QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include
- QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
- LIB_ORIGIN_INCLUDEPATH = "${EPREFIX}/usr/include/liborigin2"
- LIB_ORIGIN_LIBS = -lorigin2
- QTEXENGINE_LIBS = -lQTeXEngine
- SYS_LIBS = -lgl2ps
-
- PYTHON = python
- LUPDATE = lupdate
- LRELEASE = lrelease
-
- SCRIPTING_LANGS += muParser
-
- CONFIG += release
- CONFIG += CustomInstall
- DEFINES += SCRIPTING_CONSOLE
-
- EOF
-
- use python && echo "SCRIPTING_LANGS += Python" >> build.conf
- if use ods; then
- echo "QUAZIP_INCLUDEPATH = ${EPREFIX}/usr/include/quazip" >> build.conf
- echo "QUAZIP_LIBS = -lquazip" >> build.conf
- fi
-
- sed '/^INSTALLS/d;' -i 3rdparty/qwtplot3d/qwtplot3d.pro || die
-
- # Fails to build...
- #if use emf; then
- # echo "EMF_ENGINE_INCLUDEPATH = /usr/include/libEMF" >> build.conf
- # echo "EMF_ENGINE_LIBS = -lEMF" >> build.conf
- #fi
-
- sed -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:$(python_get_sitedir)/qtiplot:" \
- -i qtiplot/qtiplot.pro || die
-
- sed -e '/INSTALLS.*documentation/d' \
- -e '/INSTALLS.*manual/d' \
- -i qtiplot/qtiplot.pro || die
- sed -e '/manual/d' -i qtiplot.pro || die
-
- # Drop langs only if LINGUAS is not empty
- if [[ -n ${LINGUAS} ]]; then
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} || \
- sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
- -i qtiplot/qtiplot.pro || die
- done
- fi
- chmod -x qtiplot/qti_wordlist.txt
-
- # sed out debian paths
- sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
- -i manual/qtiplot.dsl || die
- sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
- -i manual/qtiplot_html.xsl || die
-}
-
-src_configure() {
- use amd64 && export QMAKESPEC="linux-g++-64"
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- lrelease qtiplot/qtiplot.pro || die
- if use doc; then
- cd manual
- emake web || die "html docbook building failed"
- fi
-}
-
-src_install() {
- emake INSTALL_ROOT="${D}" install || die 'emake install failed'
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PN}/html
- doins -r manual/html/* || die "install manual failed"
- fi
-
- if [[ -n ${LINGUAS} ]]; then
- insinto /usr/share/${PN}/translations
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} && \
- doins qtiplot/translations/qtiplot_${l}.qm
- done
- fi
-}
-
-pkg_postinst() {
- if use python; then
- elog "You might want to emerge"
- elog "\t dev-python/pygsl"
- elog "\t dev-python/rpy"
- elog "\t sci-libs/scipy and"
- elog "\t dev-python/sympy"
- elog "to gain full python support."
- fi
-
- fdo-mime_desktop_database_update
- use python && python_mod_optimize ${PN}
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- use python && python_mod_cleanup ${PN}
-}
diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.9.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.9.ebuild
deleted file mode 100644
index 49a52bec71e7..000000000000
--- a/sci-visualization/qtiplot/qtiplot-0.9.8.9.ebuild
+++ /dev/null
@@ -1,207 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.8.9.ebuild,v 1.3 2012/05/04 08:07:00 jdhore Exp $
-
-EAPI=3
-
-PYTHON_DEPEND="python? 2"
-
-inherit eutils qt4-r2 fdo-mime python
-
-DESCRIPTION="Qt based clone of the Origin plotting package"
-HOMEPAGE="http://soft.proindependent.com/qtiplot.html"
-SRC_URI="http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
-
-LICENSE="GPL-2 GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bindist doc mono latex python"
-
-LANGS="cn cz de es fr ja ro ru sv"
-for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- IUSE="${IUSE} linguas_${lu}"
-done
-
-# qwtplot3d much modified from original upstream
-# >=x11-libs/qwt-5.3 they are using trunk checkouts
-CDEPEND="
- x11-libs/qt-assistant
- x11-libs/qt-gui
- x11-libs/qt-opengl:4
- x11-libs/qt-qt3support:4
- || ( >=x11-libs/qt-assistant-4.7.0:4[compat] <x11-libs/qt-assistant-4.7.0:4 )
- x11-libs/qt-svg:4
- >=x11-libs/gl2ps-1.3.5[png]
- >=dev-cpp/muParser-1.32
- >=dev-libs/boost-1.35.0
- dev-libs/quazip
- media-libs/libpng
- sci-libs/gsl
- sci-libs/tamu_anova
- latex? ( dev-tex/qtexengine )
- mono? ( dev-dotnet/libgdiplus )"
-DEPEND="${CDEPEND}
- virtual/pkgconfig
- python? ( >=dev-python/sip-4.9 )
- doc? (
- >=app-text/docbook-sgml-utils-0.6.14-r1
- >=app-text/docbook-xml-dtd-4.4-r2:4.4 )"
-
-RDEPEND="${CDEPEND}
- python? ( dev-python/PyQt4[X] )"
-
-PATCHES=(
- "${FILESDIR}/${P}-qt48.patch"
- "${FILESDIR}/${PN}-0.9.8.8-system-gl2ps.patch"
- "${FILESDIR}/${PN}-0.9.7.10-dont-install-qwt.patch"
- "${FILESDIR}/${PN}-0.9.8.6-gold.patch"
- "${FILESDIR}/${PN}-0.9.8.7-kde.patch"
- )
-
-pkg_setup() {
- use python && python_set_active_version 2
-}
-
-src_prepare() {
- local mylibs
-
- qt4-r2_src_prepare
-
- rm -rf 3rdparty/{liborigin,QTeXEngine,/qwtplot3d/3rdparty/gl2ps/,boost} || die
- sed \
- -e "s:dll:static:g" \
- -e "/INSTALLS/d" \
- -i 3rdparty/qwtplot3d/*.pro
-
- mylibs="${mylibs} -lquazip"
- use mono && mylibs="${mylibs} $(pkg-config --libs libgdiplus)"
-
- # Check build.conf for changes on bump.
- cat > build.conf <<-EOF
- # Automatically generated by Gentoo ebuild
- isEmpty( QTI_ROOT ) {
- message( "each file including this config needs to set QTI_ROOT to the dir containing this file!" )
- }
-
- MUPARSER_LIBS = \$\$system(pkg-config --libs muparser)
- GSL_LIBS = \$\$system(pkg-config --libs gsl)
- QWT_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwt/src
- QWT_LIBS = \$\$QTI_ROOT/3rdparty/qwt/lib/libqwt.a
- QWT3D_INCLUDEPATH = \$\$QTI_ROOT/3rdparty/qwtplot3d/include
- QWT3D_LIBS = \$\$QTI_ROOT/3rdparty/qwtplot3d/lib/libqwtplot3d.a
- SYS_LIBS = -lgl2ps ${mylibs} -lGLU
-
- PYTHON = python
- LUPDATE = lupdate
- LRELEASE = lrelease
-
- SCRIPTING_LANGS += muParser
-
- CONFIG += release
- CONFIG += CustomInstall
- DEFINES += SCRIPTING_CONSOLE
-
- EOF
-
- use bindist && echo "DEFINES += QTIPLOT_SUPPORT" >> build.conf
- use bindist || echo "DEFINES += QTIPLOT_PRO" >> build.conf
- use python && echo "SCRIPTING_LANGS += Python" >> build.conf
- use latex && echo "TEX_ENGINE_LIBS = -lQTeXEngine" >> build.conf
- echo "LIBPNG_LIBS = -lpng" >> build.conf
- echo "TAMUANOVA_LIBS = -ltamuanova" >> build.conf && \
- echo "TAMUANOVA_INCLUDEPATH = \"${EPREFIX}/usr/include/tamu_anova\"" >> build.conf
-
- sed \
- -e "s:doc/${PN}/manual:doc/${PN}/html:" \
- -e "s:/usr/local/${PN}:${EPREFIX}$(python_get_sitedir)/qtiplot:" \
- -e '/INSTALLS.*documentation/d' \
- -e '/INSTALLS.*manual/d' \
- -e "/INSTALLBASE/s: /usr: ${EPREFIX}/usr:g" \
- -e 's:/usr/local/qtiplot:$$INSTALLBASE:g' \
- -i qtiplot/qtiplot.pro || die
-
- sed \
- -e "/^target.path/s:/usr:${EPREFIX}/usr:g" \
- -i fitPlugins/*/*.pro || die
-
- sed -e '/manual/d' -i qtiplot.pro || die
-
- sed -e "s:QTIPLOT_PRO:QTIPLOT_PROFESSIONAL:g" -i qtiplot/src/core/main.cpp || die
-
- # Drop langs only if LINGUAS is not empty
- if [[ -n ${LINGUAS} ]]; then
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} || \
- sed -e "s:translations/qtiplot_${l}.[tq][sm]::" \
- -i qtiplot/qtiplot.pro || die
- done
- fi
- chmod -x qtiplot/qti_wordlist.txt
-
- # sed out debian paths
- sed -e 's:\(/usr/share/sgml/\)docbook/stylesheet/dsssl/modular\(/html/docbook.dsl\):\1stylesheets/dsssl/docbook\2:' \
- -i manual/qtiplot.dsl || die
- sed -e 's:\(/usr/share/\)xml/docbook/stylesheet/nwalsh\(/html/chunk.xsl\):\1sgml/docbook/xsl-stylesheets\2:' \
- -i manual/qtiplot_html.xsl || die
-
- sed \
- -e '1i#define OF(x) x' \
- -i 3rdparty/zlib/minigzip.c || die
-}
-
-src_configure() {
- use amd64 && export QMAKESPEC="linux-g++-64"
- eqmake4
-}
-
-src_compile() {
- emake || die "emake failed"
- lrelease qtiplot/qtiplot.pro || die
- if use doc; then
- cd manual
- emake web || die "html docbook building failed"
- fi
-}
-
-src_install() {
- qt4-r2_src_install
- newicon qtiplot_logo.png qtiplot.png
- make_desktop_entry qtiplot "QtiPlot Scientific Plotting" qtiplot
- if use doc; then
- insinto /usr/share/doc/${PN}/html
- doins -r manual/html/* || die "install manual failed"
- fi
-
- if [[ -n ${LINGUAS} ]]; then
- insinto /usr/share/${PN}/translations
- for l in ${LANGS}; do
- lu=${l/cz/cs}
- lu=${lu/cn/zh_CN}
- use linguas_${lu} && \
- doins qtiplot/translations/qtiplot_${l}.qm
- done
- fi
-}
-
-pkg_postinst() {
- if use python; then
- elog "You might want to emerge"
- elog "\t dev-python/pygsl"
- elog "\t dev-python/rpy"
- elog "\t sci-libs/scipy and"
- elog "\t dev-python/sympy"
- elog "to gain full python support."
- fi
-
- fdo-mime_desktop_database_update
- use python && python_mod_optimize ${PN}
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
- use python && python_mod_cleanup ${PN}
-}