1 |
commit: 398a127a027862aa1b53e1d57be527ab713bbcf1 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 29 13:47:54 2015 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 29 13:47:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=398a127a |
7 |
|
8 |
sci-mathematics/wxmaxima: version bump to 15.08.0 |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
sci-mathematics/wxmaxima/Manifest | 2 + |
13 |
sci-mathematics/wxmaxima/wxmaxima-15.08.0.ebuild | 77 ++++++++++++++++++++++++ |
14 |
2 files changed, 79 insertions(+) |
15 |
|
16 |
diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest |
17 |
index 87c8ce2..c48162b 100644 |
18 |
--- a/sci-mathematics/wxmaxima/Manifest |
19 |
+++ b/sci-mathematics/wxmaxima/Manifest |
20 |
@@ -1,2 +1,4 @@ |
21 |
DIST wxMaxima-13.04.2.tar.gz 1652680 SHA256 29352db75dd3ff27393ab0971543fd0b3c3a9c330c2c8d07ebfd373741ded4eb SHA512 36d035282aca8d40d9f5950c21e8e3abe8d3a76ffbb91f6436a3588e252ca2455c4c1c4e5eed4111888f917406ac758f551198ca97acb67bcc6655e579db20aa WHIRLPOOL 7579a5d7b72e0c10f9162b92da03b2f4f51052cf8800fc0c01312718cfc31c0d8ff608aff6f873e07b46247a2c2ad7dc666e0e469dda1f1a8e8af52629a6e69d |
22 |
DIST wxmaxima-15.04.0.tar.gz 4990313 SHA256 c178067a2f75d91dd378f88b4d0f87af6b2705ca32bea509d63e7347b2a1d21e SHA512 1a899259698da38f97a1859ba0526406cbc654a130dc1d18e01cf248ac4d7292c82cb00dd92ce2fac2c3cfc002788fdef0a6a4f95eca54b9096efc73c6aa45b7 WHIRLPOOL 225456c073b1aa87d2e599b9c63244ff7c97378fb6b5a60fcb8730655d193a0f032b27a1264e12eefb4abf08389f2337a11c380b6d89af2de9a4fb6e14f614dc |
23 |
+DIST wxmaxima-15.08.0-missing.tar.bz2 16172 SHA256 d39d1a7937db05a4ae3e6a6d38a4079e93fb95b5533db7254de7dec7d24527db SHA512 195de1bcc4b469094716e0e417cf6431abe9f67e467c71fe51c4bed9990c613d5487cbcdda18d1df7f50e5e1b0abec7578e1091cc4999d95ba6a5f8849d826e2 WHIRLPOOL 34964f7ba5a1c9e5f2ab05b857c31b441eee43a127dc123337174509c71b7f80313e111b967abba47579021c52f27c71812c85efdf7a8429ad4e1e6c51f62db8 |
24 |
+DIST wxmaxima-15.08.0.tar.gz 5555560 SHA256 e6905b8e306b575e8e38b02a0e81de38be6d154d1349a455e01fbec28b21b27c SHA512 b13df571978c354ef420c613717149e3235bd5343746c12f2193eb0599f417b04cdb01e87e97ef2ed72bfd090b6ec6871c834fdb74074a3d5fb0f68bbe942263 WHIRLPOOL a2a1ae200eebb6d54a3c96cbd1c304b37c4a759ccc15983b3910d3aad1864d6c80d39e7e688198d4f3dd7c36bb9a8b2795a9610475858207b90482887219906a |
25 |
|
26 |
diff --git a/sci-mathematics/wxmaxima/wxmaxima-15.08.0.ebuild b/sci-mathematics/wxmaxima/wxmaxima-15.08.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..cdbdbcd |
29 |
--- /dev/null |
30 |
+++ b/sci-mathematics/wxmaxima/wxmaxima-15.08.0.ebuild |
31 |
@@ -0,0 +1,77 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+WX_GTK_VER="3.0" |
39 |
+ |
40 |
+inherit eutils gnome2-utils wxwidgets fdo-mime |
41 |
+ |
42 |
+DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit" |
43 |
+HOMEPAGE="http://andrejv.github.io/wxmaxima/" |
44 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz |
45 |
+ https://dev.gentoo.org/~grozin/${P}-missing.tar.bz2" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~ppc ~x86" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ dev-libs/libxml2:2 |
53 |
+ x11-libs/wxGTK:${WX_GTK_VER}" |
54 |
+RDEPEND="${DEPEND} |
55 |
+ media-fonts/jsmath |
56 |
+ sci-visualization/gnuplot[wxwidgets] |
57 |
+ sci-mathematics/maxima" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ local i |
61 |
+ |
62 |
+ # consistent package names |
63 |
+ sed -e "s:\${datadir}/wxMaxima:\${datadir}/${PN}:g" \ |
64 |
+ -i Makefile.in data/Makefile.in test/Makefile.in || die "sed failed" |
65 |
+ |
66 |
+ sed -e 's:share/wxMaxima:share/wxmaxima:g' \ |
67 |
+ -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Dirstructure.cpp src/Dirstructure.h \ |
68 |
+ || die "sed failed" |
69 |
+ |
70 |
+ # correct gettext behavior |
71 |
+ if [[ -n "${LINGUAS+x}" ]] ; then |
72 |
+ for i in $(cd "${S}"/locales ; echo *.mo) ; do |
73 |
+ if ! has ${i%.mo} ${LINGUAS} ; then |
74 |
+ sed -i \ |
75 |
+ -e "/^WXMAXIMA_LINGUAS/s# ${i%.mo}##" \ |
76 |
+ -e "/^WXWIN_LINGUAS/s# ${i%.mo}##" \ |
77 |
+ locales/Makefile.in || die |
78 |
+ fi |
79 |
+ done |
80 |
+ fi |
81 |
+} |
82 |
+ |
83 |
+src_configure() { |
84 |
+ econf \ |
85 |
+ --enable-printing \ |
86 |
+ --with-wx-config=${WX_CONFIG} |
87 |
+} |
88 |
+ |
89 |
+src_install () { |
90 |
+ default |
91 |
+ doicon -s 128 data/wxmaxima.png |
92 |
+ make_desktop_entry wxmaxima wxMaxima wxmaxima |
93 |
+ dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README |
94 |
+} |
95 |
+ |
96 |
+pkg_preinst() { |
97 |
+ gnome2_icon_savelist |
98 |
+} |
99 |
+ |
100 |
+pkg_postinst() { |
101 |
+ gnome2_icon_cache_update |
102 |
+ fdo-mime_desktop_database_update |
103 |
+} |
104 |
+ |
105 |
+pkg_postrm() { |
106 |
+ gnome2_icon_cache_update |
107 |
+ fdo-mime_desktop_database_update |
108 |
+} |