diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-02 21:07:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-02 21:07:25 +0000 |
commit | 27dfd272ae3be15b1017f733682211afa1c7c0f0 (patch) | |
tree | 1fe1c9ed5c5d79c63069bb8d541be075ccc3aac2 /games-engines/openmw | |
parent | d950fa39dbe16d164ed0cb8e3036fd5d0d896a4c (diff) |
gentoo resync : 02.11.2017
Diffstat (limited to 'games-engines/openmw')
-rw-r--r-- | games-engines/openmw/Manifest | 2 | ||||
-rw-r--r-- | games-engines/openmw/openmw-0.42.0.ebuild | 133 |
2 files changed, 135 insertions, 0 deletions
diff --git a/games-engines/openmw/Manifest b/games-engines/openmw/Manifest index d930e1848607..a30cb94ec2c8 100644 --- a/games-engines/openmw/Manifest +++ b/games-engines/openmw/Manifest @@ -1,5 +1,7 @@ DIST openmw-0.41.0.tar.gz 4884093 SHA256 a3e1c7d060dc461b9b63ceb5d9ec56b90c1bdcbfd37f0c7c7310c38ec7e3e21d SHA512 a47a7af3c6d3252e22206eb776069ef87f698acbe133b0e0294db307486c28cb300085fcf45b436af541dbb22f6d45f2ee3998e50a1c711f667f8a738813255d WHIRLPOOL 1e20820a0c5ee0ab2b3f57b881e39dc9ebf42e5e1674badce363ea654ac38f40146f8f8b86d7535a7cd5ce4c63f46cc322c482ad5c354ae6ad14dd11ee134d32 +DIST openmw-0.42.0.tar.gz 4956838 SHA256 fcbcc332ae65d03fae38ccab589b110e18a450182ace541f436f5d6a02408ade SHA512 f638e804e03e965db8e19cb37b3be67804202c1e43b0abf2730e0be104093edc31fc3656f90c570980b66ece4f5c889b44f0f59789e865327d221714a9ed65f3 WHIRLPOOL 304a01ae8c7faae5083dd95e0d0f8b87106ee58eba0eda37394ffc765f8a26c20d790e54db6a5050cc89653f5e45ddd2fe48a03e1a6c0379e1e0ad83ed2f7039 EBUILD openmw-0.41.0.ebuild 3358 SHA256 1f5181d06a0ef4dc0d6f5eef6cb490242a7f64da1897180031ddd8d2a928f201 SHA512 dd73f3eb3a9bc8a8ce2f3cdcb8525500005ed99f8c50205fa2ff9afe6b1e2fbfb47b59b34a65da176db9a8c586ed784cfcbd169ec10326a5f992a204d6f41474 WHIRLPOOL 928fe1ad6eb1361ad6aa5121b779a65a72fac5cb711fb3d35565be2b468bde5a8159af7ad349436dd07507c83dbc37093836bd05b4079566c042465132772706 +EBUILD openmw-0.42.0.ebuild 3296 SHA256 3f1f3a07ba29f856fcb86fc41db4846ee19165c841bb0da04d812f8770167277 SHA512 890eebd30fd66cc0c52c043afe686e21c32893c30d4ea29e1a41c3f00512cb77a848cafdbd47fe929accf70d46c5c0d206f223f7f9190e1903575117a915fad4 WHIRLPOOL d5f7e2599ecea84912b9680e7fdcb6111ed20568a8c17de69c352eda38f78213c4af20f2f83e8d35a6a3a3bc939e5421d9dff4a59456d6ad1861b29007eca58c MISC ChangeLog 4385 SHA256 5ab32215d5b6c16adc79b254e7173a451780d3cee243c1aeca6be29cb2d328b1 SHA512 00f2386ecd39e520a55337b797532f3c398e7442244839afa1351970ddc81103e933eea8aa3b56a0c43070ed9a36364415e0abea1720c420d46a7241fcddd202 WHIRLPOOL 47fdaaff8d7f844641084e8dee6dc1980bf084ad6db73097ed66e5de29f6cc6f2960ac035d957cb1108d9c30e408b4ad98619cf44a15341ae67849b77365027e MISC ChangeLog-2015 1297 SHA256 ccd53251654ece1d9deb46f95a83c20f0123938852e8209c8011bf40c0d5ef7b SHA512 7a9de3b6ae266009376f73ad57ed122d699b8ecc60a3735cf805b74091d016762b7c84b0b8fcf50111078368f9fc1cec864e1f4888e77ec90479543676f1f34d WHIRLPOOL 936dab547f842b4233bd51669ad196dbbd20b4468ac031022724a511dce85abf93377a7d9d345025c43b30760246e03d2ffc653d64685a0a094e490c8e91b3db MISC metadata.xml 1044 SHA256 a63d73a864c22f28bc34b05ef5fd07d98cfb57660a5b4cb856426fb7f2cd6e66 SHA512 c47622fc66013a7c61b1f865619a77707b296b051df54bd75048073b6b5875d97fb300d490a5aba923cc369566ffb5f3dbab16451d1bf48f5f91de18ee7c2116 WHIRLPOOL 78e7850717965db7cc0e42a0d346ed5d9663a004c45a2f8bb89be6f88f832de7cfe4c0bddbf3cb99fd31e9df85f68666e3a3d0714f25747e52a581f9213e1b4e diff --git a/games-engines/openmw/openmw-0.42.0.ebuild b/games-engines/openmw/openmw-0.42.0.ebuild new file mode 100644 index 000000000000..693f97417575 --- /dev/null +++ b/games-engines/openmw/openmw-0.42.0.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils gnome2-utils + +DESCRIPTION="Open source reimplementation of TES III: Morrowind" +HOMEPAGE="https://openmw.org/" +SRC_URI="https://github.com/OpenMW/openmw/archive/${P}.tar.gz" + +LICENSE="GPL-3 MIT BitstreamVera ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc devtools +qt5" + +RDEPEND=" + >=dev-games/openscenegraph-3.3.4[ffmpeg,jpeg,png,qt5,sdl,svg,truetype,zlib] + dev-games/mygui + dev-libs/boost:=[threads] + dev-libs/tinyxml[stl] + media-libs/libsdl2[joystick,opengl,video,X] + media-libs/openal + || ( media-libs/libtxc_dxtn x11-drivers/nvidia-drivers ) + media-video/ffmpeg:= + >=sci-physics/bullet-2.86 + virtual/opengl + qt5? ( + app-arch/unshield + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtopengl:5 + dev-qt/qtwidgets:5 + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( + app-doc/doxygen + dev-python/sphinx + media-gfx/graphviz + ) +" + +S="${WORKDIR}/${PN}-${P}" + +src_prepare() { + cmake-utils_src_prepare + + # We don't install license files + sed -e '/LICDIR/d' \ + -i CMakeLists.txt || die + # Use the system tinyxml headers + sed -e 's/"tinyxml.h"/<tinyxml.h>/g' \ + -e 's/"tinystr.h"/<tinystr.h>/g' \ + -i extern/oics/ICSPrerequisites.h || die +} + +src_configure() { + use devtools && ! use qt5 && \ + elog "'qt5' USE flag is disabled, 'openmw-cs' will not be installed" + + local mycmakeargs=( + -DBUILD_BSATOOL=$(usex devtools) + -DBUILD_ESMTOOL=$(usex devtools) + -DBUILD_OPENCS=$(usex devtools $(usex qt5)) + -DBUILD_NIFTEST=$(usex devtools) + -DBUILD_LAUNCHER=$(usex qt5) + -DBUILD_WIZARD=$(usex qt5) + -DBUILD_UNITTESTS=OFF + -DGLOBAL_DATA_PATH=/usr/share + -DICONDIR="/usr/share/icons/hicolor/256x256/apps" + -DMORROWIND_DATA_FILES="/usr/share/morrowind-data" + -DUSE_SYSTEM_TINYXML=ON + -DDESIRED_QT_VERSION=5 + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + + if use doc ; then + emake -C "${CMAKE_BUILD_DIR}" doc + find "${CMAKE_BUILD_DIR}"/docs/Doxygen/html \ + -name '*.md5' -type f -delete || die + fi +} + +src_install() { + cmake-utils_src_install + + # about 43k files, dodoc seems to have trouble + if use doc ; then + dodir "/usr/share/doc/${PF}" + 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 supported method" + elog "(either by using the launcher or by calling 'openmw-wizard'" + elog "directly)." + + if ! use qt5; then + elog + elog "'qt5' USE flag is disabled, 'openmw-launcher' and" + elog "'openmw-wizard' are not available. You are on your own for" + elog "making the Morrowind data files available and pointing" + elog "openmw at them." + elog + elog "Additionally; you must import the Morrowind.ini file before" + elog "running openmw with the Morrowind data files for the first" + elog "time. Typically this can be done like so:" + elog + elog " mkdir -p ~/.config/openmw" + elog " openmw-iniimporter /path/to/Morrowind.ini ~/.config/openmw/openmw.cfg" + fi +} + +pkg_postrm() { + gnome2_icon_cache_update +} |