Diff ggobi-2.1.11 with a ggobi-2.1.12
/usr/portage/sci-visualization/ggobi/ggobi-2.1.12.ebuild 2024-12-25 14:59:52.727270181 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
inherit autotools xdg |
|
6 |
inherit xdg |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Visualization program for exploring high-dimensional data" |
9 | 9 |
HOMEPAGE="http://www.ggobi.org/" |
10 | 10 |
# source code release is not well published |
11 | 11 |
#SRC_URI="http://www.ggobi.org/downloads/${P}.tar.bz2" |
12 |
SRC_URI="mirror://debian/pool/main/g/${PN}/${PN}_${PV}.orig.tar.bz2" |
|
12 |
SRC_URI="https://github.com/ggobi/ggobi/releases/download/${PV}/${P}.tar.gz" |
|
13 | 13 | |
14 | 14 |
LICENSE="CPL-1.0" |
15 | 15 |
SLOT="0" |
16 |
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" |
|
16 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
|
17 | 17 |
IUSE="doc minimal nls" |
18 | 18 | |
19 | 19 |
RDEPEND=" |
... | ... | |
24 | 24 |
BDEPEND="virtual/pkgconfig" |
25 | 25 | |
26 | 26 |
PATCHES=( |
27 |
"${FILESDIR}"/${PN}-2.1.8-plugindir.patch |
|
28 |
"${FILESDIR}"/${PN}-2.1.9-as-needed.patch |
|
29 | 27 |
"${FILESDIR}"/${PN}-2.1.10-desktop.patch |
30 |
"${FILESDIR}"/${PN}-2.1.11-Wformat-security.patch |
|
31 | 28 |
) |
32 | 29 | |
33 | 30 |
src_prepare() { |
34 | 31 |
default |
35 |
sed -e 's|ND_coord_i|ND_coord|' \ |
|
36 |
-i plugins/GraphLayout/graphviz.c || die |
|
37 |
rm m4/libtool.m4 m4/lt*m4 plugins/*/aclocal.m4 || die |
|
38 | 32 | |
39 | 33 |
# need the ${S} for recursivity lookup |
40 |
AT_M4DIR="${S}"/m4 eautoreconf |
|
34 |
#AT_M4DIR="${S}"/m4 eautoreconf |
|
41 | 35 |
} |
42 | 36 | |
43 | 37 |
src_configure() { |
44 | 38 |
econf \ |
45 | 39 |
--disable-rpath \ |
46 |
$(use_enable nls) \ |
|
47 |
$(use_with !minimal all-plugins) |
|
40 |
$(use_enable nls) |
|
48 | 41 |
} |
49 | 42 | |
50 | 43 |
src_compile() { |