summaryrefslogtreecommitdiff
path: root/games-engines/openmw/openmw-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'games-engines/openmw/openmw-9999.ebuild')
-rw-r--r--games-engines/openmw/openmw-9999.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/games-engines/openmw/openmw-9999.ebuild b/games-engines/openmw/openmw-9999.ebuild
index 76b7b553..21889ea8 100644
--- a/games-engines/openmw/openmw-9999.ebuild
+++ b/games-engines/openmw/openmw-9999.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="http://openmw.org/"
LICENSE="GPL-3 MIT BitstreamVera"
SLOT="0"
KEYWORDS=""
-IUSE="+launcher minimal +opencs profile test +tr1"
+IUSE="installer +launcher minimal +opencs profile test +tr1"
if [[ ${PV} == *999? ]]; then
EGIT_REPO_URI="git://github.com/OpenMW/openmw.git"
@@ -29,9 +29,11 @@ OPENMW_LIBS=">=dev-games/mygui-3.2.1
media-libs/openal
>=virtual/ffmpeg-0.9
sci-physics/bullet"
-LAUNCHER_LIBS="app-arch/unshield
+INSTALLER_LIBS="app-arch/unshield
dev-qt/qtcore
dev-qt/qtgui"
+LAUNCHER_LIBS="dev-qt/qtcore
+ dev-qt/qtgui"
OPENCS_LIBS="dev-qt/qtcore
dev-qt/qtgui
dev-qt/qtxmlpatterns"
@@ -40,6 +42,7 @@ HDEPEND=""
# boost[threads]: can't test https://bugs.gentoo.org/458404
# libsdl2[-directfb]: https://bugs.gentoo.org/503130
LIBDEPEND="${OPENMW_LIBS}
+ installer? ( ${INSTALLER_LIBS} )
launcher? ( ${LAUNCHER_LIBS} )
opencs? ( ${OPENCS_LIBS} )
>=dev-games/ogre-1.9[boost,cg,freeimage,opengl,threads,zip]
@@ -75,7 +78,7 @@ src_configure() {
-DMORROWIND_DATA_FILES="${GAMES_DATADIR}/${PN}/data"
-DOPENMW_RESOURCE_FILES="${GAMES_DATADIR}/${PN}/resources"
-DGLOBAL_CONFIG_PATH=/etc/ # Compatibility with old commits
- -DGLOBAL_DATA_PATH="${GAMES_DATADIR}"/
+ $(cmake-utils_use_build installer WIZARD)
$(cmake-utils_use_build launcher LAUNCHER)
$(cmake-utils_use_build opencs OPENCS)
$(cmake-utils_use_build !minimal BSATOOL)