From: | "Andrey Grozin (grozin)" <grozin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-mathematics/wxmaxima: ChangeLog wxmaxima-0.8.2.ebuild wxmaxima-0.7.3a.ebuild wxmaxima-0.7.5.ebuild |
Date: | Sun, 19 Apr 2009 22:09:24 |
Message-Id: | E1LvfCU-0003dI-4L@stork.gentoo.org |
1 | grozin 09/04/19 22:09:22 |
2 | |
3 | Modified: ChangeLog |
4 | Added: wxmaxima-0.8.2.ebuild |
5 | Removed: wxmaxima-0.7.3a.ebuild wxmaxima-0.7.5.ebuild |
6 | Log: |
7 | Version bump |
8 | (Portage version: 2.2_rc30/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.23 sci-mathematics/wxmaxima/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.23&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.23&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.22&r2=1.23 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v |
20 | retrieving revision 1.22 |
21 | retrieving revision 1.23 |
22 | diff -u -r1.22 -r1.23 |
23 | --- ChangeLog 20 Dec 2008 10:20:02 -0000 1.22 |
24 | +++ ChangeLog 19 Apr 2009 22:09:22 -0000 1.23 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sci-mathematics/wxmaxima |
27 | -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.22 2008/12/20 10:20:02 grozin Exp $ |
29 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.23 2009/04/19 22:09:22 grozin Exp $ |
31 | + |
32 | +*wxmaxima-0.8.2 (20 Apr 2009) |
33 | + |
34 | + 20 Apr 2009; Andrey Grozin <grozin@g.o> -wxmaxima-0.7.3a.ebuild, |
35 | + -wxmaxima-0.7.5.ebuild, +wxmaxima-0.8.2.ebuild: |
36 | + Version bump |
37 | |
38 | *wxmaxima-0.8.1 (20 Dec 2008) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 sci-mathematics/wxmaxima/wxmaxima-0.8.2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.8.2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.8.2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: wxmaxima-0.8.2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2009 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.8.2.ebuild,v 1.1 2009/04/19 22:09:22 grozin Exp $ |
53 | |
54 | WX_GTK_VER="2.8" |
55 | EAPI="2" |
56 | inherit wxwidgets fdo-mime |
57 | |
58 | MYP=wxMaxima-${PV} |
59 | |
60 | DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit." |
61 | HOMEPAGE="http://wxmaxima.sourceforge.net/" |
62 | SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz" |
63 | |
64 | LICENSE="GPL-2" |
65 | SLOT="0" |
66 | KEYWORDS="~amd64 ~ppc ~x86" |
67 | IUSE="unicode" |
68 | |
69 | DEPEND=">=dev-libs/libxml2-2.5.0 |
70 | x11-libs/wxGTK:2.8" |
71 | RDEPEND="${DEPEND} |
72 | sci-visualization/gnuplot[wxwindows] |
73 | >=sci-mathematics/maxima-5.15.0" |
74 | |
75 | S="${WORKDIR}/${MYP}" |
76 | |
77 | src_prepare() { |
78 | # consistent package names |
79 | sed -e "s:${datadir}/wxMaxima:${datadir}/${PN}:g" \ |
80 | -i Makefile.in data/Makefile.in || die "sed failed" |
81 | |
82 | sed -e 's:share/wxMaxima:share/wxmaxima:g' \ |
83 | -i src/wxMaxima.cpp src/wxMaximaFrame.cpp || die "sed failed" |
84 | } |
85 | |
86 | src_configure() { |
87 | econf \ |
88 | --enable-dnd \ |
89 | --enable-printing \ |
90 | --with-wx-config=${WX_CONFIG} \ |
91 | $(use_enable unicode unicode-glyphs) |
92 | } |
93 | |
94 | src_install () { |
95 | emake DESTDIR="${D}" install || die "emake install failed" |
96 | doicon data/wxmaxima.png |
97 | make_desktop_entry wxmaxima wxMaxima wxmaxima |
98 | dodir /usr/share/doc/${PF} |
99 | dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README |
100 | dodoc AUTHORS |
101 | } |
102 | |
103 | pkg_postinst() { |
104 | fdo-mime_desktop_database_update |
105 | } |
106 | |
107 | pkg_postrm() { |
108 | fdo-mime_desktop_database_update |
109 | } |