diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-17 17:57:35 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-17 17:57:35 +0100 |
commit | 7932d472a02d4c016ff7dff4b7a5479ab9d1883d (patch) | |
tree | d07709230f82777cae6ba7dab35aee31896060fb /sci-visualization/fityk/fityk-1.3.1-r102.ebuild | |
parent | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (diff) |
gentoo resync : 17.06.2021
Diffstat (limited to 'sci-visualization/fityk/fityk-1.3.1-r102.ebuild')
-rw-r--r-- | sci-visualization/fityk/fityk-1.3.1-r102.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sci-visualization/fityk/fityk-1.3.1-r102.ebuild b/sci-visualization/fityk/fityk-1.3.1-r102.ebuild new file mode 100644 index 000000000000..cec78adbde05 --- /dev/null +++ b/sci-visualization/fityk/fityk-1.3.1-r102.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} ) +WX_GTK_VER=3.0-gtk3 + +inherit flag-o-matic lua-single wxwidgets xdg + +DESCRIPTION="General-purpose nonlinear curve fitting and data analysis" +HOMEPAGE="https://fityk.nieto.pl/" +SRC_URI="https://github.com/wojdyr/${PN}/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="gnuplot nlopt readline wxwidgets" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +DEPEND=" + ${LUA_DEPS} + dev-libs/boost:= + >=sci-libs/xylib-1 + nlopt? ( sci-libs/nlopt ) + readline? ( sys-libs/readline:0= ) + wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )" +RDEPEND="${DEPEND} + gnuplot? ( sci-visualization/gnuplot )" +BDEPEND="dev-lang/swig" + +PATCHES=( "${FILESDIR}"/${P}-fix-gtk3.patch ) + +src_configure() { + # codebase relies on dynamic exception specifications + # for SWIG, no point in trying to fix at this point. + # https://github.com/wojdyr/fityk/pull/38 + append-cxxflags -std=c++14 + + use wxwidgets && setup-wxwidgets + + econf \ + --disable-python \ + --disable-static \ + $(use_enable nlopt) \ + $(use_enable wxwidgets GUI) \ + $(use_with readline) \ + --with-wx-config="${WX_CONFIG}" +} + +src_install() { + default + + # no static archives + find "${ED}" -name '*.la' -delete || die +} |