summaryrefslogtreecommitdiff
path: root/sci-libs/mathgl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-09 09:27:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-09 09:27:03 +0100
commitcb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa (patch)
tree047fc92023c520d07f13ec5ac96e094d1b312a7a /sci-libs/mathgl
parent7b9f15840068dfaeea5684f8a1af1fe460dfa14c (diff)
gentoo resync : 09.06.2018
Diffstat (limited to 'sci-libs/mathgl')
-rw-r--r--sci-libs/mathgl/Manifest2
-rw-r--r--sci-libs/mathgl/mathgl-2.3.4-r1.ebuild177
2 files changed, 0 insertions, 179 deletions
diff --git a/sci-libs/mathgl/Manifest b/sci-libs/mathgl/Manifest
index 3ae3baf4b637..2744805d19e4 100644
--- a/sci-libs/mathgl/Manifest
+++ b/sci-libs/mathgl/Manifest
@@ -1,7 +1,5 @@
AUX mathgl-2.4.1-mutex.patch 424 BLAKE2B 2077654d0b17d2a1ba63bfcc17bcc82dac7dcc274253357a70cd0b2d49f9c99b73b380c1d09ad70e302fd04449b9adb6392c12cbd03fcefae4a36a50491cf012 SHA512 d0a0101041c91ba4d295484b8b06825d66787600b98acc2ee6e3cb8ec54e86939deadc40924bce42b6eb782bf5c03c6a7687ac853d7bc393e75bcf9a809d7849
DIST STIX_font.tgz 2450541 BLAKE2B f725eb0264d9c3cb7c32a935e8857c4a21cb905a1dc6c9cc8a16408afdc7dd9b6fcd312a8c2f77aff5484605a39a9ee36e86ad0234adb5d6bcc5c8839101194c SHA512 c9124ec552074c98f15d6d3572a063598ca6bc598e3e78dcb5a5d57ae3928b5327a1374635f428ea1cefc9e51ee1d1aa9bd6ba9a306429fc6965140251d368b5
-DIST mathgl-2.3.4.tar.gz 21361705 BLAKE2B 652cae42ace83077c5e5add2164a99d9a4f0b76a95d9ddd9b5570c04e87ce06c6cf127af85c451f74c7aa59e411c02c970e5fea7ed501a690f6d1a1456dcbd9c SHA512 2ddc45750ae2373c26e199f43b7f9546e0d4540c7b11a1e6280c83632face42f50bcb8276c60b0c2208ca0b6a7506e3fc0d195a8c1aa9e774ba812643b81336d
DIST mathgl-2.4.1.tar.gz 22665490 BLAKE2B a9c9e0ec7d145262994a754dfbcf1f789d2777f9334c8b4e73696265adba4d2fd7283621857318264c2162841e81427df21f7bc7b951d83876fbc066d3b9068f SHA512 10fd016662ca60b9507942691f85b4d9151104319627732f4add0175475f7e8dff16e3645bb858c283b747f34e58f410d0532e94dc64cf8cf472938d3966402d
-EBUILD mathgl-2.3.4-r1.ebuild 4597 BLAKE2B 8253c8fc6bb37b6a4ad0b56ad3f0f6d0081ae1b5403f555bf93e5386689fb4ef620221e5ab997ebdbc8e6e4a8308c1f2e17b9bb626c6f0766209788a68b017c3 SHA512 2d543d0e4a8ce51b60c0d08d34fc40865827f57ec0bda5383ea24bc73e9b70beff1111a1599b98c709238d7956708828373ba61a469ea621b4c6c47430bb3642
EBUILD mathgl-2.4.1.ebuild 4369 BLAKE2B 11ef176152d57eb1dfd90add52d081c8341c7179e3502290b54d5b5f8a18bc34e523e0f0e429bf082efb3f04744c82111a7e35b96afea9d98631d78f95edd2a1 SHA512 9ba6cadab25ebced5babd95404870f3b626de1c471dbb3dde6d5f2e6e71a790f9a92fa67cc266b03c7117c0bd91139a8b7279f87b4ac5a2671518c98bbd326fa
MISC metadata.xml 800 BLAKE2B baa75251910016e5d059cebeebd85632d290ab0c3c50089de0485ffbcd08ee8ac59cbfe33824347a5a5c339c74ea7a56c516d4d38661e56f7498d628d748f64a SHA512 8b75db0a01ce59f22543701447630c56a82f9091b5901f85ae102de7deca281e09dbcb443b8ff2930cf18145d63504646a289fd5e77defccc4d38480596d1968
diff --git a/sci-libs/mathgl/mathgl-2.3.4-r1.ebuild b/sci-libs/mathgl/mathgl-2.3.4-r1.ebuild
deleted file mode 100644
index 187531c3a89d..000000000000
--- a/sci-libs/mathgl/mathgl-2.3.4-r1.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-WX_GTK_VER=3.0
-
-inherit cmake-utils eutils python-single-r1 wxwidgets multilib flag-o-matic
-
-DESCRIPTION="Math Graphics Library"
-HOMEPAGE="http://mathgl.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz mirror://sourceforge/${PN}/STIX_font.tgz"
-
-LICENSE="LGPL-3"
-SLOT="0/7.4.1"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc fltk gif glut gsl hdf hdf5 jpeg lua mpi octave opengl openmp pdf
- png python qt5 static-libs threads wxwidgets zlib"
-
-LANGS="ru"
-for l in ${LANGS}; do
- IUSE+=" l10n_${l}"
-done
-unset l
-
-RDEPEND="
- !sci-visualization/udav
- virtual/opengl
- fltk? ( x11-libs/fltk:1 )
- gif? ( media-libs/giflib )
- glut? ( media-libs/freeglut )
- gsl? ( >=sci-libs/gsl-2 )
- hdf? ( sci-libs/hdf )
- hdf5? ( >=sci-libs/hdf5-1.8[mpi=] )
- jpeg? ( virtual/jpeg:0 )
- lua? ( >=dev-lang/lua-5.1:0 )
- octave? ( >=sci-mathematics/octave-3.4.0 )
- openmp? ( sys-cluster/openmpi )
- pdf? ( media-libs/libharu )
- png? ( media-libs/libpng:0 )
- python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )
- qt5? (
- dev-qt/qtcore:5
- dev-qt/qtgui:5
- dev-qt/qtprintsupport:5
- dev-qt/qtwidgets:5
- )
- wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )
- zlib? ( sys-libs/zlib )"
-
-DEPEND="${RDEPEND}
- doc? ( app-text/texi2html virtual/texi2dvi )
- octave? ( dev-lang/swig )
- python? ( dev-lang/swig )"
-
-REQUIRED_USE="
- mpi? ( hdf5 )
- openmp? ( !threads )
- png? ( zlib )
- pdf? ( png )
- python? ( ${PYTHON_REQUIRED_USE} )"
-
-pkg_setup() {
- use mpi && export CC=mpicc CXX=mpicxx
- use python && python-single-r1_pkg_setup
-}
-
-src_unpack() {
- default
- if ! [[ -d "${S}"/fonts ]]; then
- mkdir "${S}"/fonts || die
- fi
- cd "${S}"/fonts || die
- unpack STIX_font.tgz
-}
-
-src_prepare() {
- cmake-utils_src_prepare
-
- # fix for location of hdf headers
- sed -i -e 's:hdf/::g' src/data_io.cpp || die
- # bored of reporting bad libdir upstream
- sed -i \
- -e '/DESTINATION/s:lib$:lib${LIB_SUFFIX}:g' \
- {src,widgets}/CMakeLists.txt || die
- echo "" > lang/install.m || die
- # fix desktop file
- sed -i -e 's/.png//' udav/udav.desktop || die
- # prevent sandbox violation
- sed -i -e 's/update-mime-database/true/' udav/CMakeLists.txt || die
- sed -i -e 's/update-desktop-database/true/' udav/CMakeLists.txt || die
- # fix missing include, bug 564204
- sed \
- -e '/#include <QStringList>/i #include <QObject>' \
- -i json/Backend.hpp || die
-
- use python && \
- append-cppflags \
- -I"$(${EPYTHON} -c 'import numpy; print(numpy.get_include())')"
- use wxwidgets && need-wxwidgets unicode
-}
-
-src_configure() {
- local mycmakeargs=(
- # No clue about this option:
- # option(enable-mgl2 "Use names 'libmgl2-*' instead of 'libmgl-*'")
- -DHDF4_INCLUDE_DIR="${EPREFIX}/usr/include"
- -DMGL_LIB_INSTALL_DIR="$(get_libdir)"
- $(cmake-utils_use doc enable-all-docs)
- $(cmake-utils_use fltk enable-fltk)
- $(cmake-utils_use gif enable-gif)
- $(cmake-utils_use glut enable-glut)
- $(cmake-utils_use gsl enable-gsl)
- $(cmake-utils_use hdf enable-hdf4)
- $(cmake-utils_use hdf5 enable-hdf5_18)
- $(cmake-utils_use jpeg enable-jpeg)
- $(cmake-utils_use lua enable-lua)
- $(cmake-utils_use mpi enable-mpi)
- $(cmake-utils_use octave enable-octave)
- $(cmake-utils_use opengl enable-opengl)
- $(cmake-utils_use openmp enable-openmp)
- $(cmake-utils_use pdf enable-pdf)
- $(cmake-utils_use png enable-png)
- -Denable-qt4=OFF
- $(cmake-utils_use qt5 enable-qt5)
- $(cmake-utils_use qt5 enable-qt5asqt)
- $(cmake-utils_use threads enable-pthread)
- $(cmake-utils_use threads enable-pthr-widget)
- $(cmake-utils_use python enable-python)
- $(cmake-utils_use wxwidgets enable-wx)
- $(cmake-utils_use zlib enable-zlib)
- )
- cmake-utils_src_configure
- # to whoever cares: TODO: do for multiple python ABI
- if use python; then
- sed -i \
- -e "s:--prefix=\(.*\) :--prefix=\$ENV{DESTDIR}\1 :" \
- "${CMAKE_BUILD_DIR}"/lang/cmake_install.cmake || die
- fi
-}
-
-src_install() {
- cmake-utils_src_install
- dodoc README* *.txt AUTHORS
- if ! use static-libs; then
- rm "${ED}"/usr/$(get_libdir)/*.a || die
- fi
- if use qt5 ; then
- local lang
- insinto /usr/share/udav
- for lang in ${LANGS} ; do
- use l10n_${lang} && doins udav/udav_${lang}.qm
- done
- fi
- if use octave ; then
- insinto /usr/share/${PN}/octave
- doins "${CMAKE_BUILD_DIR}"/lang/${PN}.tar.gz
- fi
- use python && python_optimize
-}
-
-pkg_postinst() {
- if use octave; then
- octave <<-EOF
- pkg install ${EROOT}/usr/share/${PN}/octave/${PN}.tar.gz
- EOF
- fi
-}
-
-pkg_prerm() {
- if use octave; then
- octave <<-EOF
- pkg uninstall ${PN}
- EOF
- fi
-}