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
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')
-rw-r--r--sci-electronics/player/ChangeLog3
-rw-r--r--sci-electronics/player/player-2.0.4.ebuild7
2 files changed, 9 insertions, 1 deletions
diff --git a/sci-electronics/player/ChangeLog b/sci-electronics/player/ChangeLog
index d9e7b1f47..65f2f84ad 100644
--- a/sci-electronics/player/ChangeLog
+++ b/sci-electronics/player/ChangeLog
@@ -3,6 +3,9 @@
# $Header: $
04 Dec 2013; Justin Lecher <jlec@gentoo.org> player-2.0.4.ebuild:
+ Fix java support
+
+ 04 Dec 2013; Justin Lecher <jlec@gentoo.org> player-2.0.4.ebuild:
Bump EAPI to 5; Bump to python-single-r1 eclass
14 Mar 2011; Justin Lecher <jlec@gentoo.org> player-2.0.4.ebuild:
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() {