summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Huettel <dilfridge@gentoo.org>2014-11-10 13:41:45 +0100
committerAndreas K. Huettel <dilfridge@gentoo.org>2014-11-10 13:41:45 +0100
commit97ab09de40f518af05a9ecc085e1439c861d9847 (patch)
treee93a573e14e3af4cc34f518750e64f1dad1d491e /sci-visualization
parent[sci-visualization/qtiplot-bin] try other binary (diff)
downloaddilfridge-97ab09de40f518af05a9ecc085e1439c861d9847.tar.gz
dilfridge-97ab09de40f518af05a9ecc085e1439c861d9847.tar.bz2
dilfridge-97ab09de40f518af05a9ecc085e1439c861d9847.zip
[sci-visualization/qtiplot-bin] it actually works now
Package-Manager: portage-2.2.8-r2
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/qtiplot-bin/qtiplot-bin-0.9.9_rc12.ebuild28
1 files changed, 23 insertions, 5 deletions
diff --git a/sci-visualization/qtiplot-bin/qtiplot-bin-0.9.9_rc12.ebuild b/sci-visualization/qtiplot-bin/qtiplot-bin-0.9.9_rc12.ebuild
index 81c18b1..2ada7b7 100644
--- a/sci-visualization/qtiplot-bin/qtiplot-bin-0.9.9_rc12.ebuild
+++ b/sci-visualization/qtiplot-bin/qtiplot-bin-0.9.9_rc12.ebuild
@@ -4,15 +4,13 @@
EAPI=5
-PYTHON_COMPAT=( python2_7 )
-
DESCRIPTION="Qt based clone of the Origin plotting package, commercial binary"
HOMEPAGE="http://www.qtiplot.com/"
SRC_URI="180814_qtiplot-0.9.9-rc12-64bit-static.tar.bz2"
LICENSE="all-rights-reserved"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="-* ~amd64"
RESTRICT="mirror splitdebug"
IUSE=""
@@ -21,10 +19,30 @@ QA_PREBUILT="*"
S=${WORKDIR}
RDEPEND="
-!sci-visualization/qtiplot
+ dev-db/sqlite:0
+ =dev-db/mysql-5.5*
+ dev-libs/glib
+ media-libs/fontconfig
+ media-libs/freetype
+ virtual/glu
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libX11
+ !sci-visualization/qtiplot
"
src_install() {
dodir /opt
- cp -av "${S}"/qtiplot-* "${D}/opt/qtiplot"
+ cp -av "${S}"/qtiplot-* "${D}/opt/qtiplot" || die
+
+ dodir /opt/qtiplot/lib
+ dosym /usr/lib64/libmysqlclient_r.so.18 /opt/qtiplot/lib/libmysqlclient_r.so.16
+
+ mv "${D}/opt/qtiplot/qtiplot" "${D}/opt/qtiplot/qtiplot.bin" || die
+
+ dodir /opt/bin
+ echo -e "#!/bin/bash\nLD_LIBRARY_PATH=/opt/qtiplot/lib /opt/qtiplot/qtiplot.bin" > "${D}/opt/bin/qtiplot" || die
+ fperms +x /opt/bin/qtiplot
}