Diff quickplot-0.10.6-r1 with a quickplot-1.0.1_rc

/usr/portage/sci-visualization/quickplot/quickplot-1.0.1_rc.ebuild 2023-10-09 14:52:35.268368496 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6 6
inherit autotools desktop
7 7

  
8
MY_P=${P/_rc/rc}
9

  
8 10
DESCRIPTION="A fast interactive 2D plotter"
9
HOMEPAGE="http://quickplot.sourceforge.net/"
10
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
11
HOMEPAGE="
12
	http://quickplot.sourceforge.net/
13
	https://github.com/lanceman2/quickplot"
14
SRC_URI="https://github.com/lanceman2/${PN}/archive/${MY_P}.tar.gz"
15
S="${WORKDIR}/${PN}-${MY_P}"
11 16

  
12
SLOT="0"
13 17
LICENSE="GPL-3"
18
SLOT="0"
14 19
KEYWORDS="amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
15
IUSE="static-libs"
16 20

  
17 21
RDEPEND="
18
	media-libs/libsndfile
22
	media-libs/libsndfile:=
19 23
	>=sys-libs/readline-0.6.2:0=
20 24
	x11-libs/gtk+:3"
21 25
DEPEND="${RDEPEND}"
22
BDEPEND="virtual/pkgconfig"
26
BDEPEND="
27
	virtual/imagemagick-tools[png]
28
	virtual/pkgconfig
29
	www-client/lynx
30
	dev-vcs/git"
31

  
32
PATCHES=( "${FILESDIR}"/${P}-automake.patch )
23 33

  
24 34
src_prepare() {
25 35
	default
26

  
27
	sed '/libquickplot_la_LIBADD/s:$: -lm:g' -i Makefile.am || die
28

  
29 36
	eautoreconf
30 37
}
31 38

  
32 39
src_configure() {
33
	econf --disable-static
40
	econf \
41
		--disable-static \
42
		--enable-developer
34 43
}
35 44

  
36 45
src_install() {
37 46
	default
38 47

  
39
	find "${ED}" -name '*.la' -delete || die
40

  
41 48
	make_desktop_entry 'quickplot --no-pipe' Quickplot quickplot Graphics
42
	mv "${ED}"/usr/share/applications/quickplot*.desktop \
43
		"${ED}"/usr/share/applications/quickplot.desktop || die
49
	mv "${ED}"/usr/share/applications/quickplot{*,}.desktop || die
50

  
51
	# no static archives
52
	find "${ED}" -name '*.la' -delete || die
44 53
}
Thank you!