1 |
bicatali 09/04/08 08:50:47 |
2 |
|
3 |
Added: metadata.xml ChangeLog scidavis-0.2.1.ebuild |
4 |
Log: |
5 |
Initial import (and bump) to the main tree from the science overlay |
6 |
(Portage version: 2.2_rc28/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-visualization/scidavis/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/metadata.xml?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/metadata.xml?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: metadata.xml |
15 |
=================================================================== |
16 |
<?xml version="1.0" encoding="UTF-8"?> |
17 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 |
<pkgmetadata> |
19 |
<herd>sci</herd> |
20 |
<longdescription lang="en"> |
21 |
SciDAVis is a free (GPL), user-friendly, platform independent data |
22 |
analysis and visualization application similar, based on QtiPlot, |
23 |
and similar to the non-free Windows program Origin. |
24 |
</longdescription> |
25 |
</pkgmetadata> |
26 |
|
27 |
|
28 |
|
29 |
1.1 sci-visualization/scidavis/ChangeLog |
30 |
|
31 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/ChangeLog?rev=1.1&view=markup |
32 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/ChangeLog?rev=1.1&content-type=text/plain |
33 |
|
34 |
Index: ChangeLog |
35 |
=================================================================== |
36 |
# ChangeLog for sci-visualization/scidavis |
37 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
38 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/scidavis/ChangeLog,v 1.1 2009/04/08 08:50:47 bicatali Exp $ |
39 |
|
40 |
*scidavis-0.2.1 (08 Apr 2009) |
41 |
|
42 |
08 Apr 2009; Sébastien Fabbro <bicatali@g.o> |
43 |
+files/scidavis-0.2.1-profile.patch, +metadata.xml, |
44 |
+scidavis-0.2.1.ebuild: |
45 |
Initial import (and bump) to the main tree from the science overlay |
46 |
|
47 |
24 Aug 2008; Tim Cera <timcera@×××××××××.net> scidavis-0.1.3.ebuild: |
48 |
Indented on two lines with spaces instead of tabs. |
49 |
|
50 |
*scidavis-0.1.3 (18 May 2008) |
51 |
|
52 |
18 May 2008; Andrey Grozin <grozin@g.o> +metadata.xml, |
53 |
+scidavis-0.1.3.ebuild, +files/scidavis-0.1.3-profile.patch, |
54 |
+files/scidavis-0.1.3-fitplugins.patch: |
55 |
Initial import, closing bug #222527 |
56 |
|
57 |
|
58 |
|
59 |
1.1 sci-visualization/scidavis/scidavis-0.2.1.ebuild |
60 |
|
61 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/scidavis-0.2.1.ebuild?rev=1.1&view=markup |
62 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/scidavis-0.2.1.ebuild?rev=1.1&content-type=text/plain |
63 |
|
64 |
Index: scidavis-0.2.1.ebuild |
65 |
=================================================================== |
66 |
# Copyright 1999-2009 Gentoo Foundation |
67 |
# Distributed under the terms of the GNU General Public License v2 |
68 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/scidavis/scidavis-0.2.1.ebuild,v 1.1 2009/04/08 08:50:47 bicatali Exp $ |
69 |
|
70 |
EAPI=2 |
71 |
inherit eutils qt4 fdo-mime |
72 |
|
73 |
DESCRIPTION="Scientific Data Analysis and Visualization" |
74 |
HOMEPAGE="http://scidavis.sourceforge.net/" |
75 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
76 |
|
77 |
LICENSE="GPL-2" |
78 |
SLOT="0" |
79 |
KEYWORDS="~amd64 ~x86" |
80 |
IUSE="python" |
81 |
|
82 |
LANGS="de es fr ja ru sv" |
83 |
for l in ${LANGS}; do |
84 |
IUSE="${IUSE} linguas_${l}" |
85 |
done |
86 |
|
87 |
CDEPEND="sys-libs/zlib |
88 |
=x11-libs/qwt-5.1*[svg] |
89 |
>=x11-libs/qwtplot3d-0.2.7 |
90 |
>=dev-cpp/muParser-1.30 |
91 |
>=sci-libs/gsl-1.8 |
92 |
sci-libs/liborigin:2" |
93 |
|
94 |
DEPEND="${CDEPEND} |
95 |
dev-util/pkgconfig |
96 |
python? ( >=dev-python/sip-4.7 )" |
97 |
|
98 |
RDEPEND="${CDEPEND} |
99 |
python? ( >=dev-python/PyQt4-4.4 |
100 |
dev-python/pygsl |
101 |
sci-libs/scipy )" |
102 |
|
103 |
src_prepare() { |
104 |
epatch "${FILESDIR}"/${P}-profile.patch |
105 |
sed -i -e '/lgsl/d' fitPlugins/*/*.pro || die "sed gsl link failed" |
106 |
sed -i \ |
107 |
-e "s:doc/${PN}:doc/${PF}:g" \ |
108 |
${PN}/${PN}.pro || die "sed doc dir failed" |
109 |
if use python; then |
110 |
sed -i \ |
111 |
-e '/^include( python.pri )$/d' \ |
112 |
${PN}/${PN}.pro || die "sed python failed" |
113 |
fi |
114 |
} |
115 |
|
116 |
src_configure() { |
117 |
eqmake4 |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
emake INSTALL_ROOT="${D}" install || die 'emake install failed' |
122 |
dodoc README CHANGES |
123 |
doicon scidavis/icons/hicolor-48/scidavis.png |
124 |
cd ${PN}/translations |
125 |
insinto /usr/share/${PN}/translations |
126 |
for l in ${LANGS}; do |
127 |
if use linguas_${l}; then |
128 |
doins ${PN}_${l}.qm |
129 |
fi |
130 |
done |
131 |
} |
132 |
|
133 |
pkg_postinst() { |
134 |
fdo-mime_desktop_database_update |
135 |
} |
136 |
|
137 |
pkg_postrm() { |
138 |
fdo-mime_desktop_database_update |
139 |
} |