You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
50 lines
1.1 KiB
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
12 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
8 years ago
|
EAPI=6
|
||
12 years ago
|
|
||
6 years ago
|
inherit desktop qmake-utils versionator
|
||
12 years ago
|
|
||
|
MY_PV=$(replace_version_separator 2 '')
|
||
|
|
||
|
DESCRIPTION="Tool for extracting data points from graphs"
|
||
6 years ago
|
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"
|
||
12 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
8 years ago
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||
6 years ago
|
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}"
|
||
12 years ago
|
|
||
|
S="${WORKDIR}/${PN}"
|
||
|
|
||
|
src_prepare() {
|
||
8 years ago
|
default
|
||
12 years ago
|
sed -i \
|
||
|
-e "s:qApp->applicationDirPath() + \"/../docs\":\"${EPREFIX}/usr/share/doc/${PF}/html\":" \
|
||
6 years ago
|
src/xyscanWindow.cpp || die "Failed to fix docs path"
|
||
12 years ago
|
}
|
||
|
|
||
8 years ago
|
src_configure() {
|
||
6 years ago
|
eqmake5
|
||
8 years ago
|
}
|
||
|
|
||
12 years ago
|
src_install() {
|
||
12 years ago
|
dobin xyscan
|
||
6 years ago
|
HTML_DOCS=( docs/. )
|
||
8 years ago
|
einstalldocs
|
||
12 years ago
|
newicon images/xyscanIcon.png xyscan.png
|
||
|
make_desktop_entry xyscan "xyscan data point extractor"
|
||
|
}
|