summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-06-06 17:29:51 +0200
committerJames Le Cuirot <chewi@gentoo.org>2024-07-12 22:55:12 +0100
commit39f18a1fbdbec5faf25c35458ada484d87b84b46 (patch)
tree298a2211d68a203812560c239ccc992dff8385a9 /games-sports
parentgames-sports/speed-dreams: drop 2.2.3 (diff)
downloadgentoo-39f18a1fbdbec5faf25c35458ada484d87b84b46.tar.gz
gentoo-39f18a1fbdbec5faf25c35458ada484d87b84b46.tar.bz2
gentoo-39f18a1fbdbec5faf25c35458ada484d87b84b46.zip
games-sports/speed-dreams: min java 11
Closes: https://bugs.gentoo.org/928957 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/37053 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
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