summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreroen <eroen-overlay@occam.eroen.eu>2016-08-31 18:57:08 +0200
committereroen <eroen-overlay@occam.eroen.eu>2016-09-01 16:43:48 +0200
commit3b60adb6c8a428c0571c08b504c36695e7c257f4 (patch)
tree6a13e047101ffae4b0f9dda3cbb61a4c2159cf36
parentmorrowind-data - add message about usage with openmw (diff)
downloaderoen-3b60adb6c8a428c0571c08b504c36695e7c257f4.tar.gz
eroen-3b60adb6c8a428c0571c08b504c36695e7c257f4.tar.bz2
eroen-3b60adb6c8a428c0571c08b504c36695e7c257f4.zip
openmw-0.39.0 from gentoo
-rw-r--r--games-engines/openmw/Manifest1
-rw-r--r--games-engines/openmw/metadata.xml19
-rw-r--r--games-engines/openmw/openmw-0.39.0.ebuild101
3 files changed, 118 insertions, 3 deletions
diff --git a/games-engines/openmw/Manifest b/games-engines/openmw/Manifest
index 6ad6172..8f6ab80 100644
--- a/games-engines/openmw/Manifest
+++ b/games-engines/openmw/Manifest
@@ -11,4 +11,5 @@ DIST openmw-0.32.0.tar.gz 3390759 SHA256 9aa94b5ac5f06a6d6b631328e50a81ce58000ce
DIST openmw-0.33.0.tar.gz 3524287 SHA256 62baa03eb206bea760c6b2b0260ae1a942eac34e7439a114398d2101154f4a83 SHA512 96525ee794277284f39a18bbbd01361422273ef073917b5e51ec7951bb15e59e0d0dd39ba70311588d4b18adccffac5c4fed4d9bf9e37ca0e865869277e795f9 WHIRLPOOL ab9df256ff107fcd361a6308c6bcb49aeb5a40289a224173d6d9f883042491c09a1f90af982be257c2e425d8dd1ec44a04025622d41c21c23c9683db182dfd30
DIST openmw-0.33.1.tar.gz 3524305 SHA256 ba599fac3254980fc5552e4d1ea714a0493e06304a1dbeb85a5e7dc1e3ccd157 SHA512 4c912fdf95c577a3c105117718d757d23924d30147314bf0a4b685417ba196165c19ab1802a01b6adb686c4e07d1d9ab83e98a4b913d12604e9e76ba13488163 WHIRLPOOL 5b1d703495bcc6e53774118048d92f160b51eba267c7f3769aaa0acd283a3b8e964049cc860b9731bb1f30f66874cb059ec11ffa68f8cfb8b146710929c4071d
DIST openmw-0.34.0.tar.gz 4066579 SHA256 4091adc26ea2f9919db12ccbe6eb2e615a869500bc5bb69e959ba5b321caa40d SHA512 fd0f49819e56006680660ee7196773f27e7ac493e65205b5e82ad66d4eb78dfb380737baee8507e341fbcdc5e9f5fc81ad6295cf257b09ec753639fd5ceeeeeb WHIRLPOOL 7ea492b5e8a00ee7f3a1b84cf4607c57f3fd17cae60986ac1eed79b0ce963ed6c279b43d3033b7725708108cab855cfb61a0b43bec500a2cc871f15a3a721a6c
+DIST openmw-0.39.0.tar.gz 4764754 SHA256 b0d294b0814099bd93326f7b86dd84fb727d38dd536bf104272112e6d70ae720 SHA512 05b9ed89d04f55fad4358a9920af1d702a1957f54233e613737126278318e7c64cacfc557c6ba43d2282454a825b1c9e225e9429d11ba0f03c5c6dd93124d91a WHIRLPOOL bb3744e1fdf4e63c02c055237eb3a749ded32da097259f6f065d331681b214be932eeb4b654c91747fb5356dbb0e88f603e0f1a4113bb3f791f9e1b3d7e6b53f
DIST openmw_0.20.0.orig.tar.bz2 1757358 SHA256 6fb88901920d6c28a974885065303639ee6227e9c21fd615334bcdc16d7909eb SHA512 e3180ed3efbc7fcb92339d88ea1dbc0987f81cc006f56926a7862ac1ee5ca4f2119cfa9baa286aa6c98f2d3a4ef0938ebdfecc842877f08e6a229ac66b913e2d WHIRLPOOL 2f5489f1108b8b3ce8aaa092f3c3effb382b859822e0ce2dd057e5552a2f5579ae304aa402a0dd798794a6ff7032b029bb993f37d76b5c32c30de2eb9eefc026
diff --git a/games-engines/openmw/metadata.xml b/games-engines/openmw/metadata.xml
index 9de7236..7e2cf76 100644
--- a/games-engines/openmw/metadata.xml
+++ b/games-engines/openmw/metadata.xml
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <longdescription lang="en">
- OpenMW is an attempt to reimplement the popular role playing game Morrowind. It aims to be a fully playable, open source implementation of the game. You must own Morrowind to use OpenMW.
- </longdescription>
<use>
<flag name="installer">Build installer for copying game data from CDROM</flag>
<flag name="launcher">Build launcher</flag>
@@ -11,6 +8,22 @@
<flag name="opencs">Build OpenMW Construction Set</flag>
<flag name="profile">Enable code coverage with gconv</flag>
<flag name="tr1">Use TR1 libraries</flag>
+ <flag name="devtools">Install development tools like
+ bsatool, esmtool and opencs.</flag>
</use>
+ <upstream>
+ <changelog>https://github.com/OpenMW/openmw/releases</changelog>
+ <doc lang="en">https://wiki.openmw.org</doc>
+ <bugs-to>https://bugs.openmw.org/</bugs-to>
+ <remote-id type="github">OpenMW/openmw</remote-id>
+ </upstream>
+ <longdescription lang="en">
+ OpenMW is a new and modern engine based on the one that runs the 2002
+ open-world RPG Morrowind. The engine (OpenMW) will come with its own
+ editor (OpenCS) which will allow the user to edit or create their own
+ games. Both OpenCS and OpenMW are written from scratch and aren’t
+ made to support any third party programs the original Morrowind
+ engine uses to improve its functionality.
+ </longdescription>
</pkgmetadata>
diff --git a/games-engines/openmw/openmw-0.39.0.ebuild b/games-engines/openmw/openmw-0.39.0.ebuild
new file mode 100644
index 0000000..dc2e570
--- /dev/null
+++ b/games-engines/openmw/openmw-0.39.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2016 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"
+
+RDEPEND="
+ >=dev-games/openscenegraph-3.3.4[ffmpeg,jpeg,png,qt5,sdl,svg,truetype,zlib]
+ || ( media-libs/libtxc_dxtn x11-drivers/ati-drivers x11-drivers/nvidia-drivers )
+ app-arch/unshield
+ >=dev-games/mygui-3.2.2
+ >=dev-libs/boost-1.56.0-r1
+ dev-libs/tinyxml
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ media-libs/freetype:2
+ media-libs/libsdl2[joystick,opengl,X,video]
+ media-libs/openal
+ >=sci-physics/bullet-2.80
+ virtual/ffmpeg
+ virtual/opengl
+ devtools? ( dev-qt/qtxmlpatterns:5 )"
+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
+ -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
+ dodoc README.md
+
+ # about 47k 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
+
+ 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
+}