Аппстрим gentoo тормозит на несколько версий и упарывается с USE флагами поэтому для всех в том заинтересованных я просто оставлю это здесь.
Пара замечаний. Для текущих версий перешедших на OpenSceneGraph >=dev-games/ogre-1.9.0
вообще не нужен и соответственно >=dev-games/mygui-3.2.1[ogre]
тоже ну вы поняли... И да с Qt5 оно собирается.
diff -Naur a/games-engines/openmw/Manifest b/games-engines/openmw/Manifest
--- a/games-engines/openmw/Manifest 2015-10-05 06:36:02.000000000 +0500
+++ b/games-engines/openmw/Manifest 2016-01-26 12:20:06.000000000 +0500
@@ -1 +1 @@
-DIST openmw-0.36.1.tar.gz 4186134 SHA256 c83fddf3302dd8040330e2d41a9656bb66b1fc8224b24d685d8792b15f74af22 SHA512 9cbd9db876bacc736ab071a6074d92c44b1497780a2a6f4dbff5f109107173baae5490af92c1092985863897d63e063336fe1a8093269fd7b3ce48dee550425d WHIRLPOOL 305a87faea65413629b0e639280dba1462ade723b130e82bab823d86658066656fe250e81a26e1415b81ebed39a790e278f443fa2c92657422eb9ac9ba681faf
+DIST openmw-0.38.0.tar.gz 4137263 SHA256 c16a44ee9a787dcae61a373625d39733868d213fd6e8ccd86ab9e7ac00ecb85a SHA512 2649704f490a7c3d7f88e5d3e57769e22a8f688eedee5b5d0f300ce29f68f8e84c7cc13f9bf84ca1da6a38d19ed0a7680b902e2d3910459fe541b60e47e73471 WHIRLPOOL a7a45343453e8661c9900c4b49ea453b4a3883d8c686934f262f6962ed9d7afa42f29e55e6422f666ff50f620fd33ca16d35ef58138231138b00706f4a638844
diff -Naur a/games-engines/openmw/openmw-0.36.1.ebuild b/games-engines/openmw/openmw-0.36.1.ebuild
--- a/games-engines/openmw/openmw-0.36.1.ebuild 2015-10-05 06:36:02.000000000 +0500
+++ b/games-engines/openmw/openmw-0.36.1.ebuild 1970-01-01 05:00:00.000000000 +0500
@@ -1,101 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils gnome2-utils cmake-utils games
-
-DESCRIPTION="An open source reimplementation of TES III: Morrowind"
-HOMEPAGE="http://openmw.org/"
-SRC_URI="https://github.com/OpenMW/openmw/archive/${P}.tar.gz"
-
-LICENSE="GPL-3 MIT BitstreamVera OFL-1.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc devtools"
-
-# XXX static build
-RDEPEND="
- app-arch/unshield
- >=dev-games/mygui-3.2.1[ogre]
- >=dev-games/ogre-1.9.0[-double-precision,freeimage,ois,opengl,zip]
- media-libs/freeimage[jpeg,png]
- >=dev-libs/boost-1.46.0
- dev-libs/tinyxml
- >=dev-qt/qtcore-4.7.0:4
- >=dev-qt/qtgui-4.7.0:4
- media-libs/freetype:2
- media-libs/libsdl2[X,video]
- media-libs/openal
- >=sci-physics/bullet-2.80
- virtual/ffmpeg
- devtools? ( dev-qt/qtxmlpatterns:4 )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- doc? ( app-doc/doxygen media-gfx/graphviz )"
-
-S=${WORKDIR}/${PN}-${P}
-
-src_configure() {
- local mycmakeargs=(
- -DBINDIR="${GAMES_BINDIR}"
- $(cmake-utils_use_build devtools BSATOOL)
- $(cmake-utils_use_build devtools ESMTOOL)
- $(cmake-utils_use_build devtools OPENCS)
- -DBUILD_UNITTESTS=OFF
- -DDATADIR="${GAMES_DATADIR}"/${PN}
- -DICONDIR="/usr/share/icons/hicolor/256x256/apps"
- -DLIBDIR="$(games_get_libdir)"
- -DMORROWIND_DATA_FILES="${GAMES_DATADIR}"/morrowind-data
- -DOPENMW_RESOURCE_FILES="${GAMES_DATADIR}"/${PN}/resources
- -DGLOBAL_CONFIG_PATH="${GAMES_SYSCONFDIR}"
- -DUSE_SYSTEM_TINYXML=ON
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-
- if use doc ; then
- emake -C "${CMAKE_BUILD_DIR}" doc
- fi
-}
-
-src_install() {
- cmake-utils_src_install
- dodoc README.md
-
- # about 46835 files, dodoc seems to have trouble
- if use doc ; then
- dodir "/usr/share/doc/${PF}"
- find "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
- -name '*.md5' -type f -delete
- mv "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
- "${D}/usr/share/doc/${PF}/" || die
- fi
-
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-
- elog "You need the original Morrowind Data files. If you haven't"
- elog "installed them yet, you can install them straight via the"
- elog "installation wizard which is the officially"
- elog "supported method (either by using the launcher or by calling"
- elog "'openmw-wizard' directly)."
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff -Naur a/games-engines/openmw/openmw-0.38.0.ebuild b/games-engines/openmw/openmw-0.38.0.ebuild
--- a/games-engines/openmw/openmw-0.38.0.ebuild 1970-01-01 05:00:00.000000000 +0500
+++ b/games-engines/openmw/openmw-0.38.0.ebuild 2016-01-26 16:32:41.944471780 +0500
@@ -0,0 +1,98 @@
+# Copyright 1999-2016 The Bentoo Authors. All rights reserved.
+# Distributed under the terms of the GNU General Public License v3 or later
+# $Header: $
+
+EAPI=5
+
+inherit eutils gnome2-utils multilib cmake-utils
+
+DESCRIPTION="An open source reimplementation of TES III: Morrowind"
+HOMEPAGE="http://openmw.org/"
+SRC_URI="https://github.com/OpenMW/openmw/archive/${P}.tar.gz"
+
+LICENSE="GPL-3 MIT BitstreamVera OFL-1.1"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc devtools"
+
+# XXX static build
+RDEPEND="
+ app-arch/unshield
+ >=dev-games/mygui-3.2.1[-opengl,-ogre]
+ dev-games/openscenegraph[jpeg,png,qt5]
+ >=dev-libs/boost-1.46.0
+ dev-libs/tinyxml
+ >=dev-qt/qtcore-5.5.0:5
+ >=dev-qt/qtgui-5.5.0:5
+ media-libs/libsdl2[X,video]
+ media-libs/openal
+ >=sci-physics/bullet-2.80
+ virtual/ffmpeg
+ devtools? ( dev-qt/qtxmlpatterns:5 )
+ media-libs/libtxc_dxtn
+ "
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen media-gfx/graphviz )"
+
+S=${WORKDIR}/${PN}-${P}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_OPENMW=ON
+ $(cmake-utils_use_build devtools BSATOOL)
+ $(cmake-utils_use_build devtools ESMTOOL)
+ $(cmake-utils_use_build devtools OPENCS)
+ -DBUILD_UNITTESTS=OFF
+ -DDATADIR="/usr/share/${PN}"
+ -DICONDIR="/usr/share/icons/hicolor/256x256/apps"
+ -DMORROWIND_DATA_FILES="/usr/share/${PN}/data"
+ -DOPENMW_RESOURCE_FILES="/usr/share/${PN}/resources"
+ -DGLOBAL_CONFIG_PATH="/etc"
+ -DUSE_SYSTEM_TINYXML=TRUE
+ -DDESIRED_QT_VERSION=5
+ -DCMAKE_BUILD_TYPE=Release
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use doc ; then
+ emake -C "${CMAKE_BUILD_DIR}" doc
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc README.md
+
+ # about 46835 files, dodoc seems to have trouble
+ if use doc ; then
+ dodir "/usr/share/doc/${PF}"
+ find "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
+ -name '*.md5' -type f -delete
+ mv "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \
+ "${D}/usr/share/doc/${PF}/" || die
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+
+ elog "You need the original Morrowind Data files. If you haven't"
+ elog "installed them yet, you can install them straight via the"
+ elog "installation wizard which is the officially"
+ elog "supported method (either by using the launcher or by calling"
+ elog "'openmw-wizard' directly)."
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
Всем привет в этом чатике!
Перемещено leave из talks