mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/libpano13: fix java support, bug #840752
Signed-off-by: Markus Meier <maekke@gentoo.org>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user