diff options
author | 2021-11-11 13:01:52 +0100 | |
---|---|---|
committer | 2021-11-11 13:59:06 +0100 | |
commit | 403432bc00aa47a5c20374706cfa57039f8d3d29 (patch) | |
tree | f4588eda01ae99bb9f14a1a9b767e917e52ecad0 /sci-mathematics/genius/genius-1.0.27.ebuild | |
parent | sys-apps/sg3_utils: Removed unused "multilib" eclass (diff) | |
download | gentoo-403432bc00aa47a5c20374706cfa57039f8d3d29.tar.gz gentoo-403432bc00aa47a5c20374706cfa57039f8d3d29.tar.bz2 gentoo-403432bc00aa47a5c20374706cfa57039f8d3d29.zip |
sci-mathematics/genius: Bump to 1.0.27
Closes: https://bugs.gentoo.org/722262
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-mathematics/genius/genius-1.0.27.ebuild')
-rw-r--r-- | sci-mathematics/genius/genius-1.0.27.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sci-mathematics/genius/genius-1.0.27.ebuild b/sci-mathematics/genius/genius-1.0.27.ebuild new file mode 100644 index 000000000000..ee1d280f3f71 --- /dev/null +++ b/sci-mathematics/genius/genius-1.0.27.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +GNOME2_LA_PUNT="yes" +GNOME2_EAUTORECONF="yes" + +inherit gnome2 + +DESCRIPTION="Genius Mathematics Tool and the GEL Language" +HOMEPAGE="https://www.jirka.org/genius.html" +SRC_URI="${SRC_URI} + doc? ( https://www.jirka.org/${PN}-reference.pdf )" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc +gui" + +RDEPEND=" + >=dev-libs/glib-2.41.1:2 + dev-libs/gmp:0= + dev-libs/mpfr:0= + sys-libs/ncurses:0= + sys-libs/readline:0= + >=x11-libs/gtk+-3.21.4:3 + >=x11-libs/vte-0.50.0:2.91 + gui? ( >=x11-libs/gtk+-3.21.4:3 ) +" +DEPEND="${RDEPEND} + dev-util/gtk-update-icon-cache + dev-util/intltool + sys-devel/autoconf-archive + sys-devel/flex + virtual/yacc +" # eautoreconf needs sys-devel/autoconf-archive +# dev-util/gtk-update-icon-cache because configure checks for it for some reason and never calls it with DESTDIR set.. + +PATCHES=( + # Unrecognized --disable-scrollkeeper warning comes from gnome2.eclass adding it based on grep, but upstream has them commented out in .ac with "#" instead of "dnl" + "${FILESDIR}/${PN}-1.0.24-no_scrollkeeper.patch" +) + +src_configure() { + gnome2_src_configure \ + $(use_enable gui gnome) \ + --enable-nls \ + --disable-extra-gcc-optimization \ + --disable-static +} + +src_install() { + use doc && DOCS+=" ${DISTDIR}/${PN}-reference.pdf" + gnome2_src_install +} |