aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-12-04 17:04:15 +0100
committerJustin Lecher <jlec@gentoo.org>2013-12-04 17:04:15 +0100
commitce1a2b0cb2785a4e25730344a3b1a30d78a6e218 (patch)
tree92aa58382d17f1c696a529a5cf04b97c7ea42ae1 /sci-electronics/player/player-2.0.4.ebuild
parentsci-electronics/player: Bump EAPI to 5; Bump to python-single-r1 eclass (diff)
downloadsci-ce1a2b0cb2785a4e25730344a3b1a30d78a6e218.tar.gz
sci-ce1a2b0cb2785a4e25730344a3b1a30d78a6e218.tar.bz2
sci-ce1a2b0cb2785a4e25730344a3b1a30d78a6e218.zip
sci-electronics/player: Fix java support
Package-Manager: portage-2.2.7
Diffstat (limited to 'sci-electronics/player/player-2.0.4.ebuild')
-rw-r--r--sci-electronics/player/player-2.0.4.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-electronics/player/player-2.0.4.ebuild b/sci-electronics/player/player-2.0.4.ebuild
index 15be88a47..bc47009d1 100644
--- a/sci-electronics/player/player-2.0.4.ebuild
+++ b/sci-electronics/player/player-2.0.4.ebuild
@@ -6,7 +6,7 @@ EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
-inherit eutils python-single-r1
+inherit eutils java-pkg-opt-2 python-single-r1
DESCRIPTION="A network server for robot control"
HOMEPAGE="http://playerstage.sourceforge.net/index.php?src=player"
@@ -55,6 +55,11 @@ DEPEND="${RDEPEND}
pkg_setup () {
python-single-r1_pkg_setup
+ use java && java-pkg-opt-2_pkg_setup
+}
+
+src_prepare() {
+ use java && java-pkg-opt-2_src_prepare
}
src_configure() {