1 |
commit: 0db85eed9ce890a0f537dd78eeef4bb2a1dd7416 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 12 18:42:06 2019 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 12 18:42:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0db85eed |
7 |
|
8 |
sci-mathematics/wxmaxima: bump to 19.03.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/wxmaxima/Manifest | 1 + |
14 |
sci-mathematics/wxmaxima/wxmaxima-19.03.1.ebuild | 57 ++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest |
18 |
index 1a4d348169e..e1ba042a0a7 100644 |
19 |
--- a/sci-mathematics/wxmaxima/Manifest |
20 |
+++ b/sci-mathematics/wxmaxima/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST wxmaxima-15.08.2.tar.gz 5592673 BLAKE2B cacb508cbcb24e27a43998ba0079b14117980669c25b39b017c0c659ef48d2ad338c6503aea99447a14250ed1a68a3414880828fc8ffdcbd3177b8eb9355a919 SHA512 a537c49477f54df4fd9e4e42a5e0d0d740f1ede817d807a98b7cec877a3ad77b2be0a61ae487a7fa5beb193b112eca163b8873292ecab5acf118d58a91e91af6 |
23 |
DIST wxmaxima-18.11.4.tar.gz 12156776 BLAKE2B 75be0fb88402af011885616a646f7abcad25516ea9b0b375daf02edac5518b113188290262bc431e8bfb4836fc1f731982a1c41c62871818e4d2cc68c96ccb31 SHA512 964de93edc5c46e98de3de405b1873fa0ed594d54f1ddc030377b023110261cb1e6b0b08dbf210551888bf890e28d16e9b1698768c93dde413d5e1918cbd234e |
24 |
DIST wxmaxima-19.02.2_p1.tar.gz 11933618 BLAKE2B 6521f3fede54658e0bd6328580bc68fd3a187a43050a4f5738a7db834e465a3c234b30e053792005f6a7b0390854b47d2beeadde23c34b820bcbd780b8d9a080 SHA512 35cf81e8ce7b230acbec52082531956b9ad7e933343859d2132c9d3ba9c64447933d39a416008dd9956a2223b3fd92728ae3515a6e85fb494a17ea6a7848f8cd |
25 |
+DIST wxmaxima-19.03.1.tar.gz 12065575 BLAKE2B a376ac6f8dafd8779b6161695595a3f2fc87e8242086a0f97bfb2823151c198a94c824baa9297dd586271ef121fc9af692b33ac06b2266d58dbbab9212c14d98 SHA512 7aa9e03104d276a1cc753a4edfdc0948822efe3ef93b08090a91efc50efe4ec0d913ff5f87069c1433c18f5b8bf086d025dd6bf7560f3b42a70e883914cc995a |
26 |
|
27 |
diff --git a/sci-mathematics/wxmaxima/wxmaxima-19.03.1.ebuild b/sci-mathematics/wxmaxima/wxmaxima-19.03.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..8da63e3b2c6 |
30 |
--- /dev/null |
31 |
+++ b/sci-mathematics/wxmaxima/wxmaxima-19.03.1.ebuild |
32 |
@@ -0,0 +1,57 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+WX_GTK_VER="3.0" |
38 |
+PLOCALES="ca cs da de el es fi fr gl hu it ja kab nb pl pt_BR ru tr uk zh_CN zh_TW" |
39 |
+inherit cmake-utils wxwidgets l10n xdg-utils gnome2-utils |
40 |
+ |
41 |
+DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit" |
42 |
+HOMEPAGE="http://wxmaxima-developers.github.io/wxmaxima/" |
43 |
+SRC_URI="https://github.com/wxMaxima-developers/wxmaxima/archive/Version-${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc ~x86" |
48 |
+IUSE="" |
49 |
+S="${WORKDIR}"/${PN}-Version-${PV} |
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 |
+ setup-wxwidgets |
61 |
+ cmake-utils_src_prepare |
62 |
+ |
63 |
+ sed -e "s|share/doc/${PN}|share/doc/${PF}|g" -i "${S}"/info/CMakeLists.txt \ |
64 |
+ || die "sed info/CMakeLists.txt failed" |
65 |
+ |
66 |
+ # locales |
67 |
+ rm_po() { |
68 |
+ rm "${S}"/locales/${1}.po || die "rm ${1}.po failed" |
69 |
+ } |
70 |
+ l10n_find_plocales_changes "${S}"/locales '' '.po' |
71 |
+ l10n_for_each_disabled_locale_do rm_po |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ docompress -x /usr/share/doc/${PF}/wxmaxima.hhp /usr/share/doc/${PF}/wxmaxima_tr.hhp |
76 |
+ cmake-utils_src_install |
77 |
+} |
78 |
+ |
79 |
+pkg_postinst() { |
80 |
+ xdg_desktop_database_update |
81 |
+ xdg_mimeinfo_database_update |
82 |
+ gnome2_icon_cache_update |
83 |
+} |
84 |
+ |
85 |
+pkg_postrm() { |
86 |
+ xdg_desktop_database_update |
87 |
+ xdg_mimeinfo_database_update |
88 |
+ gnome2_icon_cache_update |
89 |
+} |