diff options
Diffstat (limited to 'media-libs/libpano13/libpano13-2.9.22.ebuild')
-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 +} |