diff options
author | Sam James <sam@gentoo.org> | 2021-03-27 23:39:41 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-28 01:13:43 +0000 |
commit | b198e634ab4d1be829cedb573726025913bb328a (patch) | |
tree | bcec87174b084898bec87c3aca8c5379e477df7a /sci-visualization | |
parent | x11-misc/redshift: Fix compile for Clang (diff) | |
download | gentoo-b198e634ab4d1be829cedb573726025913bb328a.tar.gz gentoo-b198e634ab4d1be829cedb573726025913bb328a.tar.bz2 gentoo-b198e634ab4d1be829cedb573726025913bb328a.zip |
sci-visualization/quickplot: port to EAPI 7, drop .la, drop static-libs
* Port to EAPI 7
* Drop autotools-utils, eutils
* Drop .la
* Drop static-libs
Revbumping to ensure we catch any issues through reports, but
shouldn't be strictly necessary.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/quickplot/quickplot-0.10.6-r1.ebuild (renamed from sci-visualization/quickplot/quickplot-0.10.6.ebuild) | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/sci-visualization/quickplot/quickplot-0.10.6.ebuild b/sci-visualization/quickplot/quickplot-0.10.6-r1.ebuild index b3e060ecccee..0fb21de2d5b2 100644 --- a/sci-visualization/quickplot/quickplot-0.10.6.ebuild +++ b/sci-visualization/quickplot/quickplot-0.10.6-r1.ebuild @@ -1,11 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils eutils +inherit autotools desktop DESCRIPTION="A fast interactive 2D plotter" HOMEPAGE="http://quickplot.sourceforge.net/" @@ -20,23 +18,26 @@ RDEPEND=" media-libs/libsndfile >=sys-libs/readline-0.6.2:0= x11-libs/gtk+:3" -DEPEND="${RDEPEND} - virtual/pkgconfig" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" src_prepare() { + default + sed '/libquickplot_la_LIBADD/s:$: -lm:g' -i Makefile.am || die - autotools-utils_src_prepare + + eautoreconf } src_configure() { - local myeconfargs=( - --htmldir="${EPREFIX}/usr/share/doc/${PF}/html" - ) - autotools-utils_src_configure + econf --disable-static } src_install() { - autotools-utils_src_install + default + + find "${ED}" -name '*.la' -delete || die + make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot Graphics mv "${ED}"/usr/share/applications/quickplot*.desktop \ "${ED}"/usr/share/applications/quickplot.desktop || die |