From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-visualization/scidavis: scidavis-0.2.2.ebuild ChangeLog |
Date: | Mon, 01 Jun 2009 12:50:08 |
Message-Id: | E1MB6xq-00046O-PN@stork.gentoo.org |
1 | patrick 09/06/01 12:50:06 |
2 | |
3 | Modified: ChangeLog |
4 | Added: scidavis-0.2.2.ebuild |
5 | Log: |
6 | Bump to 0.2.2. Closes #267994 #267218. Thanks to Michelangelo Scopelliti for testing and patching the ebuild. |
7 | (Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.5 sci-visualization/scidavis/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/ChangeLog?rev=1.5&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/ChangeLog?rev=1.5&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/ChangeLog?r1=1.4&r2=1.5 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sci-visualization/scidavis/ChangeLog,v |
19 | retrieving revision 1.4 |
20 | retrieving revision 1.5 |
21 | diff -u -r1.4 -r1.5 |
22 | --- ChangeLog 14 Apr 2009 18:29:26 -0000 1.4 |
23 | +++ ChangeLog 1 Jun 2009 12:50:06 -0000 1.5 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sci-visualization/scidavis |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/scidavis/ChangeLog,v 1.4 2009/04/14 18:29:26 bicatali Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/scidavis/ChangeLog,v 1.5 2009/06/01 12:50:06 patrick Exp $ |
29 | + |
30 | +*scidavis-0.2.2 (01 Jun 2009) |
31 | + |
32 | + 01 Jun 2009; Patrick Lauer <patrick@g.o> +scidavis-0.2.2.ebuild: |
33 | + Bump to 0.2.2. Closes #267994 #267218. Thanks to Michelangelo Scopelliti |
34 | + for testing and patching the ebuild. |
35 | |
36 | *scidavis-0.2.1-r1 (14 Apr 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 sci-visualization/scidavis/scidavis-0.2.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/scidavis-0.2.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/scidavis/scidavis-0.2.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: scidavis-0.2.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sci-visualization/scidavis/scidavis-0.2.2.ebuild,v 1.1 2009/06/01 12:50:06 patrick Exp $ |
51 | |
52 | EAPI=2 |
53 | inherit eutils qt4 fdo-mime |
54 | |
55 | DESCRIPTION="Scientific Data Analysis and Visualization" |
56 | HOMEPAGE="http://scidavis.sourceforge.net/" |
57 | SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
58 | |
59 | LICENSE="GPL-2" |
60 | SLOT="0" |
61 | KEYWORDS="~amd64 ~x86" |
62 | IUSE="python" |
63 | |
64 | LANGS="de es fr ja ru sv" |
65 | for l in ${LANGS}; do |
66 | IUSE="${IUSE} linguas_${l}" |
67 | done |
68 | |
69 | CDEPEND="sys-libs/zlib |
70 | =x11-libs/qwt-5.1*[svg] |
71 | >=x11-libs/qwtplot3d-0.2.7 |
72 | x11-libs/qt-assistant:4 |
73 | >=dev-cpp/muParser-1.30 |
74 | >=sci-libs/gsl-1.8" |
75 | # remove because unsupported for now |
76 | # sci-libs/liborigin:2" |
77 | |
78 | DEPEND="${CDEPEND} |
79 | dev-util/pkgconfig |
80 | python? ( >=dev-python/sip-4.7 )" |
81 | |
82 | RDEPEND="${CDEPEND} |
83 | python? ( >=dev-python/PyQt4-4.4 |
84 | dev-python/pygsl |
85 | sci-libs/scipy )" |
86 | |
87 | src_prepare() { |
88 | epatch "${FILESDIR}"/${PN}-0.2.1-profile.patch |
89 | sed -i -e '/lgsl/d' fitPlugins/*/*.pro || die "sed gsl link failed" |
90 | sed -i \ |
91 | -e "s:doc/${PN}:doc/${PF}:g" \ |
92 | ${PN}/${PN}.pro || die "sed doc dir failed" |
93 | # the libsuff thingy does not work |
94 | sed -i \ |
95 | -e "s|/usr/lib\$\${libsuff}|/usr/$(get_libdir)|g" \ |
96 | -i fit*/*/*.pro || die "sed plugins failed" |
97 | |
98 | if use python; then |
99 | sed -i \ |
100 | -e '/^include( python.pri )$/d' \ |
101 | ${PN}/${PN}.pro || die "sed python failed" |
102 | fi |
103 | } |
104 | |
105 | src_configure() { |
106 | eqmake4 |
107 | } |
108 | |
109 | src_install() { |
110 | emake INSTALL_ROOT="${D}" install || die 'emake install failed' |
111 | dodoc README CHANGES |
112 | doicon scidavis/icons/hicolor-48/scidavis.png |
113 | cd ${PN}/translations |
114 | insinto /usr/share/${PN}/translations |
115 | for l in ${LANGS}; do |
116 | if use linguas_${l}; then |
117 | doins ${PN}_${l}.qm |
118 | fi |
119 | done |
120 | } |
121 | |
122 | pkg_postinst() { |
123 | fdo-mime_desktop_database_update |
124 | } |
125 | |
126 | pkg_postrm() { |
127 | fdo-mime_desktop_database_update |
128 | } |