diff options
author | Andrey Grozin <grozin@gentoo.org> | 2019-02-26 15:39:09 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2019-02-26 15:39:09 +0700 |
commit | b01be8c56c25fa3a6b06790f012946b68eae9cfa (patch) | |
tree | 6101560e99cc765e30056fea18c7660dec70c8b5 | |
parent | sci-mathematics/wxmaxima: clean old versions (diff) | |
download | gentoo-b01be8c56c25fa3a6b06790f012946b68eae9cfa.tar.gz gentoo-b01be8c56c25fa3a6b06790f012946b68eae9cfa.tar.bz2 gentoo-b01be8c56c25fa3a6b06790f012946b68eae9cfa.zip |
sci-mathematics/wxmaxima: bump to 19.02.2_p1
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
-rw-r--r-- | sci-mathematics/wxmaxima/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/wxmaxima/wxmaxima-19.02.2_p1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/sci-mathematics/wxmaxima/Manifest b/sci-mathematics/wxmaxima/Manifest index 16b1fa4fdfd1..1a4d348169e0 100644 --- a/sci-mathematics/wxmaxima/Manifest +++ b/sci-mathematics/wxmaxima/Manifest @@ -1,2 +1,3 @@ DIST wxmaxima-15.08.2.tar.gz 5592673 BLAKE2B cacb508cbcb24e27a43998ba0079b14117980669c25b39b017c0c659ef48d2ad338c6503aea99447a14250ed1a68a3414880828fc8ffdcbd3177b8eb9355a919 SHA512 a537c49477f54df4fd9e4e42a5e0d0d740f1ede817d807a98b7cec877a3ad77b2be0a61ae487a7fa5beb193b112eca163b8873292ecab5acf118d58a91e91af6 DIST wxmaxima-18.11.4.tar.gz 12156776 BLAKE2B 75be0fb88402af011885616a646f7abcad25516ea9b0b375daf02edac5518b113188290262bc431e8bfb4836fc1f731982a1c41c62871818e4d2cc68c96ccb31 SHA512 964de93edc5c46e98de3de405b1873fa0ed594d54f1ddc030377b023110261cb1e6b0b08dbf210551888bf890e28d16e9b1698768c93dde413d5e1918cbd234e +DIST wxmaxima-19.02.2_p1.tar.gz 11933618 BLAKE2B 6521f3fede54658e0bd6328580bc68fd3a187a43050a4f5738a7db834e465a3c234b30e053792005f6a7b0390854b47d2beeadde23c34b820bcbd780b8d9a080 SHA512 35cf81e8ce7b230acbec52082531956b9ad7e933343859d2132c9d3ba9c64447933d39a416008dd9956a2223b3fd92728ae3515a6e85fb494a17ea6a7848f8cd diff --git a/sci-mathematics/wxmaxima/wxmaxima-19.02.2_p1.ebuild b/sci-mathematics/wxmaxima/wxmaxima-19.02.2_p1.ebuild new file mode 100644 index 000000000000..c59167cdf74c --- /dev/null +++ b/sci-mathematics/wxmaxima/wxmaxima-19.02.2_p1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +WX_GTK_VER="3.0" +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" +inherit cmake-utils wxwidgets l10n xdg-utils gnome2-utils + +DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit" +HOMEPAGE="http://wxmaxima-developers.github.io/wxmaxima/" +SRC_URI="https://dev.gentoo.org/~grozin/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" +S="${WORKDIR}"/${PN}-Version-${PV} + +DEPEND=" + dev-libs/libxml2:2 + x11-libs/wxGTK:${WX_GTK_VER}" +RDEPEND="${DEPEND} + media-fonts/jsmath + sci-visualization/gnuplot[wxwidgets] + sci-mathematics/maxima" + +src_prepare() { + setup-wxwidgets + cmake-utils_src_prepare + + sed -e "s|share/doc/${PN}|share/doc/${PF}|g" -i "${S}"/info/CMakeLists.txt \ + || die "sed info/CMakeLists.txt failed" + + # locales + rm_po() { + rm "${S}"/locales/${1}.po || die "rm ${1}.po failed" + } + l10n_find_plocales_changes "${S}"/locales '' '.po' + l10n_for_each_disabled_locale_do rm_po +} + +src_install() { + docompress -x /usr/share/doc/${PF}/wxmaxima.hhp /usr/share/doc/${PF}/wxmaxima_tr.hhp + cmake-utils_src_install +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} |