Diff libpano13-2.9.21-r2 with a libpano13-2.9.22
/usr/portage/media-libs/libpano13/libpano13-2.9.22.ebuild 2023-10-09 14:52:31.692368406 +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 | 4 |
EAPI="8" |
5 | 5 | |
6 |
inherit cmake |
|
6 |
inherit java-pkg-opt-2 cmake |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Helmut Dersch's panorama toolbox library" |
9 | 9 |
HOMEPAGE="http://panotools.sourceforge.net/" |
... | ... | |
24 | 24 | |
25 | 25 |
S="${WORKDIR}/${PN}-$(ver_cut 1-3)" |
26 | 26 | |
27 |
pkg_setup() { |
|
28 |
java-pkg-opt-2_pkg_setup |
|
29 |
} |
|
30 | ||
27 | 31 |
src_configure() { |
28 | 32 |
local mycmakeargs=( |
29 | 33 |
-DSUPPORT_JAVA_PROGRAMS=$(usex java) |
... | ... | |
39 | 43 |
find "${D}" -name "*.a" -type f -delete || die |
40 | 44 |
fi |
41 | 45 |
} |
46 | ||
47 |
pkg_preinst() { |
|
48 |
java-pkg-opt-2_pkg_preinst |
|
49 |
} |