diff options
| -rw-r--r-- | sci-mathematics/mathmod/mathmod-13.0-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-mathematics/mathmod/mathmod-13.0-r1.ebuild b/sci-mathematics/mathmod/mathmod-13.0-r1.ebuild new file mode 100644 index 000000000000..17d25c5a372c --- /dev/null +++ b/sci-mathematics/mathmod/mathmod-13.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 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=( + # https://github.com/parisolab/mathmod/pull/288.patch + "${FILESDIR}"/${PN}-13.0-missing_include.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 +} |
