summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-simulation/vegastrike')
-rw-r--r--games-simulation/vegastrike/Manifest4
-rw-r--r--games-simulation/vegastrike/metadata.xml7
-rw-r--r--games-simulation/vegastrike/vegastrike-9999.ebuild27
3 files changed, 23 insertions, 15 deletions
diff --git a/games-simulation/vegastrike/Manifest b/games-simulation/vegastrike/Manifest
index a460318..8d887ef 100644
--- a/games-simulation/vegastrike/Manifest
+++ b/games-simulation/vegastrike/Manifest
@@ -1,2 +1,2 @@
-EBUILD vegastrike-9999.ebuild 4587 RMD160 c57f1936c8f3316ab4e065b56183bfa3178c1cb2 SHA1 ff81d00c9aae48fe797b24ba7277d04c1dc1411f SHA256 0efdf10b7c77935b4e08b7c4479a3d0f6f00bc0c1a58cb0d83edd0adca5724c2
-MISC metadata.xml 934 RMD160 f9e5b9ddecb5c9d5a70174596cab0b9a753675f4 SHA1 386a1b539f4a4a27deef2fc77b77ac56c19163b1 SHA256 a57d51762fd027dc2eca92c99400ee4fb1cfcd747da586840c1bc17a609663b8
+EBUILD vegastrike-9999.ebuild 4731 RMD160 99663c777b05c130af616d6003920d07aa6f3657 SHA1 ba80736346bd2cd42c4f3bc16507eb99072b13e8 SHA256 1a127fb2d878ef30edd49cf9417f69799b1f07a60f328dccaae50227280fab3c
+MISC metadata.xml 1155 RMD160 ed5c41ffa01ee8f614fb5975c17202a962ddfb85 SHA1 bd4082320716449ca5419ca117857e238ac62229 SHA256 15c9d425d2fbd829ecfce1288356ce4c26025dba59901b0213011e5837467d9c
diff --git a/games-simulation/vegastrike/metadata.xml b/games-simulation/vegastrike/metadata.xml
index 5f75dc2..1ddd564 100644
--- a/games-simulation/vegastrike/metadata.xml
+++ b/games-simulation/vegastrike/metadata.xml
@@ -8,10 +8,11 @@
<longdescription>Vega Strike is an Open Source 3D Action-Space-Sim that lets you trade, fight, and explore in a vast universe. The vegastrike branch contains the game source code.</longdescription>
<use>
<flag name='boost'>Enables support for system <pkg>dev-libs/boost</pkg> instead of included one. Recommended.</flag>
- <flag name='gtk'>Uses <pkg>x11-libs/gtk+</pkg> for graphical configuration (vssetup).</flag>
+ <flag name='gtk'>Uses <pkg>x11-libs/gtk+</pkg> allowing graphical configuration with vssetup. Recommended.</flag>
<flag name='ffmpeg'>Enables support for <pkg>media-video/ffmpeg</pkg>. Recommended.</flag>
- <flag name='threads'>Enables preliminary support for SMP configuration.</flag>
- <flag name='server'>Builds the Vega Strike server.</flag>
+ <flag name='threads'>Enables preliminary support for SMP configuration. Most probably doesn't have any effect at the moment.</flag>
+ <flag name='mesher'>Builds the Vega Strike mesh tool. Presumably used by starship designers for converting 3D models. Optional.</flag>
+ <flag name='server'>Builds the Vega Strike server. Optional.</flag>
<flag name='debug'>Enable debugging support.</flag>
</use>
</pkgmetadata>
diff --git a/games-simulation/vegastrike/vegastrike-9999.ebuild b/games-simulation/vegastrike/vegastrike-9999.ebuild
index 476a11b..a2c2377 100644
--- a/games-simulation/vegastrike/vegastrike-9999.ebuild
+++ b/games-simulation/vegastrike/vegastrike-9999.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="http://vegastrike.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="boost ffmpeg gtk threads server debug"
+IUSE="boost ffmpeg gtk threads mesher server debug"
# FIXME: check dependencies
RDEPEND="
@@ -35,6 +35,7 @@ RDEPEND="
virtual/glu
gtk? ( x11-libs/gtk+ )
games-simulation/vegastrike-data"
+# dev-games/ogre
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.58"
@@ -105,11 +106,7 @@ src_compile() {
CMAKE_BUILD_TYPE="Release"
fi
- if use server; then
- cmake-utils_src_configure vegastrike vegaserver vssetup
- else
- cmake-utils_src_configure vegastrike vssetup
- fi
+ cmake-utils_src_configure
if use threads; then
sed -i \
@@ -118,9 +115,17 @@ src_compile() {
fi
if use server; then
- cmake-utils_src_make vegastrike vegaserver vssetup
+ if use mesher; then
+ cmake-utils_src_make vssetup vegastrike vegaserver mesh_tool
+ else
+ cmake-utils_src_make vssetup vegastrike vegaserver
+ fi
else
- cmake-utils_src_make vegastrike vssetup
+ if use mesher; then
+ cmake-utils_src_make vssetup vegastrike mesh_tool
+ else
+ cmake-utils_src_make vssetup vegastrike
+ fi
fi
}
@@ -150,8 +155,10 @@ EOF
dogamesbin vegastrike_build/vegaserver \
|| die "Creation of vegaserver failed"
fi
-# dogamesbin vegastrike/mesher \
-# || die "Creation of mesher failed"
+ if use mesher; then
+ dogamesbin vegastrike_build/objconv/mesh_tool \
+ || die "Creation of mesher failed"
+ fi
# cmake-utils_src_install