summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-23 00:07:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-23 00:08:13 +0100
commit5a09e99b27ae900d3000ab4000d9f8b5715aae9c (patch)
treec144ed0837f116eab05b16268f4d05a25c93b041 /sci-visualization
parentapp-emulation/wine-any: Sync from ::wine (diff)
downloadgentoo-5a09e99b27ae900d3000ab4000d9f8b5715aae9c.tar.gz
gentoo-5a09e99b27ae900d3000ab4000d9f8b5715aae9c.tar.bz2
gentoo-5a09e99b27ae900d3000ab4000d9f8b5715aae9c.zip
sci-visualization/xyscan: 4.3.0 version bump, Qt5
Closes: https://bugs.gentoo.org/537002 Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/xyscan/Manifest1
-rw-r--r--sci-visualization/xyscan/xyscan-4.3.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/sci-visualization/xyscan/Manifest b/sci-visualization/xyscan/Manifest
index 0ade00c63c0..2182a8161b6 100644
--- a/sci-visualization/xyscan/Manifest
+++ b/sci-visualization/xyscan/Manifest
@@ -1 +1,2 @@
DIST xyscan-3.31-src.tar.gz 1122203 BLAKE2B e98554af93bcd1ddae11d42aca00ca5609f95fd26690edf218e178c5a5058fec852c909a9a23440abf355d1aac411af40ced8106c1a674f688c3ce4484e5a786 SHA512 418456348d2493cc365c4cae4760a246d8113e1b0cf74c03aa385a5a40b02c20fdb873c007afea7e244e493c52eb2803cee4da0338f6e090ef87f20dc9a50f42
+DIST xyscan-4.30-src.tgz 2700346 BLAKE2B 553e751a8d8320aca0bdfcf9facb528463d4b9179f134c0d2739837af8756760e8831f868737658f21c109c76f87a0c7284c65138b5585481e8201f664f3653e SHA512 f520f9d54893e738e8c93c7f0f4c5940b17e25d2a8dcd42632993b92460cecd388e6bfaa69f3905bdb9e77ea2ec876f3b93d82079d3383d6edc4cc8baec512b6
diff --git a/sci-visualization/xyscan/xyscan-4.3.0.ebuild b/sci-visualization/xyscan/xyscan-4.3.0.ebuild
new file mode 100644
index 00000000000..383fa03de11
--- /dev/null
+++ b/sci-visualization/xyscan/xyscan-4.3.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit desktop qmake-utils versionator
+
+MY_PV=$(replace_version_separator 2 '')
+
+DESCRIPTION="Tool for extracting data points from graphs"
+HOMEPAGE="http://rhig.physics.yale.edu/~ullrich/software/xyscan/"
+SRC_URI="http://rhig.physics.yale.edu/~ullrich/software/${PN}/Distributions/${MY_PV}/${PN}-${MY_PV}-src.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ app-text/poppler:=[qt5]
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtmultimedia:5
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwidgets:5
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s:qApp->applicationDirPath() + \"/../docs\":\"${EPREFIX}/usr/share/doc/${PF}/html\":" \
+ src/xyscanWindow.cpp || die "Failed to fix docs path"
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ dobin xyscan
+ HTML_DOCS=( docs/. )
+ einstalldocs
+ newicon images/xyscanIcon.png xyscan.png
+ make_desktop_entry xyscan "xyscan data point extractor"
+}