sci-mathematics/mathmod - 13.0 (gentoo)

Search

Install

Install this version:

emerge -a =sci-mathematics/mathmod-13.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-mathematics/mathmod-13.0

Or alternatively:

emerge --autounmask-write -a =sci-mathematics/mathmod-13.0

Package Information

Description:
Plot parametric and implicit surfaces
Homepage:
https://github.com/parisolab/mathmod https://sourceforge.net/projects/mathmod/ https://www.facebook.com/parisolab
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
13.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop qmake-utils xdg

DESCRIPTION="Plot parametric and implicit surfaces"
HOMEPAGE="https://github.com/parisolab/mathmod
	https://sourceforge.net/projects/mathmod/
	https://www.facebook.com/parisolab"
SRC_URI="https://github.com/parisolab/mathmod/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	dev-qt/qtbase:6[gui,opengl,widgets]
	media-libs/libglvnd
"
DEPEND="${RDEPEND}"

PATCHES=(
	# all in master
	"${FILESDIR}"/${PN}-13.0-missing_include.patch
	"${FILESDIR}"/${PN}-13.0-fix_cxx20.patch
	"${FILESDIR}"/${PN}-13.0-fix_comparison.patch
)

src_configure() {
	eqmake6 MathMod.pro
}

src_install() {
	dobin MathMod
	insinto /usr/share/${P}
	doins mathmodconfig.js mathmodcollection.js advancedmodels.js
	local size
	for size in 16 32 64; do
		newicon -s ${size} images/icon/catenoid_mini_${size}x${size}.png catenoid.png
	done
	make_desktop_entry --eapi9 MathMod -n MathMod -i catenoid
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	dev-qt/qtbase:6[gui,opengl,widgets]
	media-libs/libglvnd

RDEPEND

	dev-qt/qtbase:6[gui,opengl,widgets]
	media-libs/libglvnd

Manifest for 13.0

Type File Size Source URLs
DIST mathmod-13.0.tar.gz 9407320 bytes https://github.com/parisolab/mathmod/archive/13.0.tar.gz