From 41a681ca2da5c10fbcc752e0c361268613958d44 Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Mon, 18 Sep 2023 18:39:51 +0200 Subject: media-libs/libpano13: fix java support, bug #840752 Signed-off-by: Markus Meier --- media-libs/libpano13/libpano13-2.9.22.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'media-libs/libpano13') 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 +} -- cgit v1.2.3-65-gdbad