diff options
author | Markus Meier <maekke@gentoo.org> | 2023-09-18 18:39:51 +0200 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2023-09-18 18:39:51 +0200 |
commit | 41a681ca2da5c10fbcc752e0c361268613958d44 (patch) | |
tree | 12b49b9322584a50e3201da1e61c8d0f8d45ad7c | |
parent | sys-cluster/kube-scheduler: drop 1.28.0 (diff) | |
download | gentoo-41a681ca2da5c10fbcc752e0c361268613958d44.tar.gz gentoo-41a681ca2da5c10fbcc752e0c361268613958d44.tar.bz2 gentoo-41a681ca2da5c10fbcc752e0c361268613958d44.zip |
media-libs/libpano13: fix java support, bug #840752
Signed-off-by: Markus Meier <maekke@gentoo.org>
-rw-r--r-- | media-libs/libpano13/libpano13-2.9.22.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/media-libs/libpano13/libpano13-2.9.22.ebuild b/media-libs/libpano13/libpano13-2.9.22.ebuild index 4fbc989f0d24..11f4bcc72a58 100644 --- a/media-libs/libpano13/libpano13-2.9.22.ebuild +++ b/media-libs/libpano13/libpano13-2.9.22.ebuild @@ -3,7 +3,7 @@ EAPI="8" -inherit cmake +inherit java-pkg-opt-2 cmake DESCRIPTION="Helmut Dersch's panorama toolbox library" HOMEPAGE="http://panotools.sourceforge.net/" @@ -24,6 +24,10 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}-$(ver_cut 1-3)" +pkg_setup() { + java-pkg-opt-2_pkg_setup +} + src_configure() { local mycmakeargs=( -DSUPPORT_JAVA_PROGRAMS=$(usex java) @@ -39,3 +43,7 @@ src_install() { find "${D}" -name "*.a" -type f -delete || die fi } + +pkg_preinst() { + java-pkg-opt-2_pkg_preinst +} |