Diff libpano13-2.9.20-r3 with a libpano13-2.9.21-r1
/usr/portage/media-libs/libpano13/libpano13-2.9.21-r1.ebuild 2023-10-09 14:52:31.688368406 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 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 java-pkg-opt-2 |
|
6 |
inherit cmake |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Helmut Dersch's panorama toolbox library" |
9 | 9 |
HOMEPAGE="http://panotools.sourceforge.net/" |
... | ... | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0/3" |
14 | 14 |
KEYWORDS="amd64 arm64 x86 ~amd64-linux ~x86-linux ~ppc-macos" |
15 |
IUSE="java static-libs" |
|
15 |
IUSE="java suitesparse" |
|
16 | 16 | |
17 | 17 |
DEPEND="media-libs/libpng:= |
18 | 18 |
media-libs/tiff:= |
19 | 19 |
media-libs/libjpeg-turbo:= |
20 | 20 |
sys-libs/zlib |
21 |
java? ( >=virtual/jdk-1.8:* )" |
|
21 |
java? ( >=virtual/jdk-1.8:* ) |
|
22 |
suitesparse? ( sci-libs/suitesparse )" |
|
22 | 23 |
RDEPEND="${DEPEND}" |
23 | 24 | |
24 | 25 |
S="${WORKDIR}/${PN}-$(ver_cut 1-3)" |
25 | 26 | |
26 | 27 |
src_configure() { |
27 |
LIBS="-lm" econf \ |
|
28 |
$(use_with java java ${JAVA_HOME}) \ |
|
29 |
$(use_enable static-libs static) |
|
30 |
} |
|
31 | ||
32 |
src_install() { |
|
33 |
emake DESTDIR="${D}" install |
|
34 |
dodoc README README.linux AUTHORS NEWS doc/*.txt |
|
35 | ||
36 |
if ! use static-libs ; then |
|
37 |
find "${D}" -name '*.la' -delete || die |
|
38 |
fi |
|
28 |
local mycmakeargs=( |
|
29 |
-DSUPPORT_JAVA_PROGRAMS=$(usex java) |
|
30 |
-DUSE_SPARSE_LEVMAR=$(usex suitesparse) |
|
31 |
) |
|
32 |
cmake_src_configure |
|
39 | 33 |
} |