summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/speed-dreams/speed-dreams-2.3.0-r1.ebuild (renamed from games-sports/speed-dreams/speed-dreams-2.3.0.ebuild)19
1 files changed, 16 insertions, 3 deletions
diff --git a/games-sports/speed-dreams/speed-dreams-2.3.0.ebuild b/games-sports/speed-dreams/speed-dreams-2.3.0-r1.ebuild
index 089280d3a4e6..4d7379504f6a 100644
--- a/games-sports/speed-dreams/speed-dreams-2.3.0.ebuild
+++ b/games-sports/speed-dreams/speed-dreams-2.3.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit cmake desktop flag-o-matic
+inherit cmake java-pkg-2 desktop flag-o-matic
MY_PV="${PV}-r8786"
@@ -20,7 +20,7 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug osggraph webstats"
-RDEPEND="
+COMMON_DEPEND="
dev-games/freesolid
dev-libs/expat
media-libs/libpng:=
@@ -37,8 +37,13 @@ RDEPEND="
osggraph? ( dev-games/openscenegraph:=[png] )
"
DEPEND="
- ${RDEPEND}
+ ${COMMON_DEPEND}
+ >=virtual/jdk-11:*
x11-base/xorg-proto"
+RDEPEND="
+ ${COMMON_DEPEND}
+ >=virtual/jre-1.8:*
+"
PATCHES=(
"${FILESDIR}"/${PN}-2.2.3_rc1-xmlversion-rpath.patch
@@ -50,6 +55,10 @@ src_unpack() {
default
}
+src_prepare() {
+ cmake_src_prepare
+}
+
src_configure() {
append-cppflags -I. #806980
@@ -75,6 +84,10 @@ src_configure() {
cmake_src_configure
}
+src_compile() {
+ cmake_src_compile
+}
+
src_install() {
local HTML_DOCS=( doc/userman/. )
cmake_src_install