From 5a09e99b27ae900d3000ab4000d9f8b5715aae9c Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 23 Jan 2018 00:07:05 +0100 Subject: 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 --- sci-visualization/xyscan/Manifest | 1 + sci-visualization/xyscan/xyscan-4.3.0.ebuild | 49 ++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 sci-visualization/xyscan/xyscan-4.3.0.ebuild (limited to 'sci-visualization') diff --git a/sci-visualization/xyscan/Manifest b/sci-visualization/xyscan/Manifest index 0ade00c63c0c..2182a8161b64 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 000000000000..383fa03de114 --- /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" +} -- cgit v1.2.3-65-gdbad