diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-11-06 20:15:05 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-11-06 20:15:05 +0000 |
commit | ccf2eaed446dc576542b8fd70a3ce3166732e448 (patch) | |
tree | 6caa35a9e08217753ba6079929eb9350647d6d5f /games-engines | |
parent | initial import wrt #411295 (diff) | |
download | historical-ccf2eaed446dc576542b8fd70a3ce3166732e448.tar.gz historical-ccf2eaed446dc576542b8fd70a3ce3166732e448.tar.bz2 historical-ccf2eaed446dc576542b8fd70a3ce3166732e448.zip |
initial import wrt #411295
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xBDEED020
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/openmw/Manifest | 26 | ||||
-rw-r--r-- | games-engines/openmw/files/openmw-0.33.0-build.patch | 18 | ||||
-rw-r--r-- | games-engines/openmw/files/openmw-0.33.0-cfg.patch | 11 | ||||
-rw-r--r-- | games-engines/openmw/files/openmw-0.33.0-opencs.patch | 13 | ||||
-rw-r--r-- | games-engines/openmw/metadata.xml | 30 | ||||
-rw-r--r-- | games-engines/openmw/openmw-0.33.0.ebuild | 103 |
6 files changed, 199 insertions, 2 deletions
diff --git a/games-engines/openmw/Manifest b/games-engines/openmw/Manifest index f766cbe18fac..a7f0ef889e7f 100644 --- a/games-engines/openmw/Manifest +++ b/games-engines/openmw/Manifest @@ -1,7 +1,29 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX openmw-0.33.0-build.patch 394 SHA256 5d579bfc39ae912ab8b43bee9130537a8461b41f41b02c86661ae9ac39ef8cd1 SHA512 3279314be809f2f5a8bdc195fdd1da081acbeb7f25785e045086e24bfbb8da18dc618f5ede192e6d93ca4610274ca548145066bd4ae53750db419db3be66bdf6 WHIRLPOOL eb4a3e17e852d3d36be7996697e23979e599179383ebc954ba542cdb7364ca89dc359807374af364dc2d58656275aba25eaee55eb9c040190f83be43ec35d0c3 AUX openmw-0.33.0-cfg.patch 266 SHA256 306b952dc2a93bf448dc5e9905a0bd3c5dc5a275d5e5423f2e8f1391d2cb2efe SHA512 8a87005b26e5a32812a286d0b36480a505c3a38aec792e6d7caae108ac6bd9cfcb8b7ab9df8f9b39f347540f241c7ae63e64ad92f4951397d1230f8772973350 WHIRLPOOL c5bdb1ec934a3e5b6cb76a39f73cb73d9ffc5794e9506b788073e69b6a606648c291246706ffdadbdc22f32f1f2f56f7060d0dc8da3b59d4d5faa560f6313b7a AUX openmw-0.33.0-opencs.patch 324 SHA256 82793593651f0eee8486ea518e9170f348c49ef0aa7756c5e7d3a883f0af07b0 SHA512 788d66fce118e889947e7a9a4a5a749e405d39c273045703fa5f270e1b4566a09175e48bd9b065d84b9b8eb60ef76ad1186e2685d2a0ad2f5bbaca07e2396363 WHIRLPOOL 48bf6f917f081a40eb2ca9f4ff2b16e9e255b65703ee2b06ed9487575d0f3aa12756162942ab5fc4980a3f9cb7e0a73f38280f6f98e5a2c4055a4107277461f5 DIST openmw-0.33.0.tar.gz 3524287 SHA256 62baa03eb206bea760c6b2b0260ae1a942eac34e7439a114398d2101154f4a83 SHA512 96525ee794277284f39a18bbbd01361422273ef073917b5e51ec7951bb15e59e0d0dd39ba70311588d4b18adccffac5c4fed4d9bf9e37ca0e865869277e795f9 WHIRLPOOL ab9df256ff107fcd361a6308c6bcb49aeb5a40289a224173d6d9f883042491c09a1f90af982be257c2e425d8dd1ec44a04025622d41c21c23c9683db182dfd30 -EBUILD openmw-0.33.0.ebuild 2387 SHA256 bc6b9bbdc3f07591a9f32a35e4b3b2969b0a8ce8d5d7029d55f34f1c80adf48e SHA512 b9036c0687d6b63ed264f3d2c14b0f6ae2554ace6d42d56208156b92c6396df34a7775c5fde5ed4e17b8691c511cf8ac4127932cfc0d9173bb41f29ba8170a27 WHIRLPOOL 06c80bf94eae6ac4ddda8cd3e22f796f24fcfc201356e33c6fda98d5e6c5b3c27f9a78972bb53b4015ad54271ce3c0392c8367396c53a02405f3bd9bd9764c4f -MISC ChangeLog 375 SHA256 4f816487e02f6e68c382ec2a95356f7bdea18ecb1a671d8691768221c6a9be6e SHA512 dfc7fec8270ebe1e3d65a55aa9c5ee74b516b19ddaa70d7587dcea1318535b2256bb70733660800baf20af72a6b9c6ad23e77a72cd9ed2f75289088dce3e5241 WHIRLPOOL 4a12fea60ff1b5f53d66890c4205a9e99597f0d5d5d5c7b7805c1ae0ae4683b4108d51c8c95ca2f6b3be1316e300557c90b911dc48496f1b7bd8e891832cd322 +EBUILD openmw-0.33.0.ebuild 2492 SHA256 f2754299479c9dd8c4814e32fe7d9f3bfaffd00352e301cf1b1275cee55e454f SHA512 16295d65481fa4d53d721efc9f76750483a393ddb735c8c2b9d3a998e58361b29d09eee23cf5487b0d9d5d18764829ce87965d3ee057e26a92303824e46758f6 WHIRLPOOL 865431cb45985eb3d522583f09ae09ce6fb495e96e4a6ee3f4438114326ef69ec16cd083a8c0e97af88b1a902fe2e9e8fbcc01d8e5f6c434a953fa1e81bca696 +MISC ChangeLog 469 SHA256 e900e1694c2883d38e0604ed4a9882d727280ca936e1e48965871dce9ddb8434 SHA512 09efe72dcf69ed545225d9a2004b4d9d84baa625f7125dc0eab7503a08e57ce437ae531e76dff05125295746ca0f0287d620a80b27e7b5bc9d64fb1c513d470a WHIRLPOOL ef3f460e46154a1963b41f19aa97b3b256a605774bb7c3120c2127ff6c47fd42d66d2e0bef77dd0215f7e31a3855cc048f78d9b8fd823e0b84b00e90f9561185 MISC metadata.xml 1125 SHA256 7cec4fa3a9e257ea00a5776de3ee5230927804ff96bc3d9a05f75bc4d794d629 SHA512 14da78b996386d420be0aa27ae302ca0bc54e2074d03e0bd4e04f6380105a9e1ac91e6ba565de8c04da8dacbcba88f2b706487c3036ff60aa141cd75d9241730 WHIRLPOOL 808d4881548fea60d99529e4970ac49c711741c47795719c6606b1cc32c08c5d044c546109ae0587b65d17b04162d7015fb4404dca973224ae340460dfccf661 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0 + +iQJ8BAEBCABmBQJUW9bIXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMDlCNDQ4NjEyNDI4NjA5REVEMDI3MzIy +MjBDRDFDNUJERUVEMDIwAAoJECIM0cW97tAgiDUP/jlCGdVJJ31ETafD04jGiPhi +Wnq+mOn1lL6d/AdnVN7azvRF2yL0Hx4j3bV68xa+L2G0vcO6T/hDt1X0J+ojFQXt +4iyzDAUPjL44EMBa8H5W7FRr04swrLdIOyc8dhPb+PS0mDNPy1qgnadI4+XVeMUN +67UYWmH5bMVT1x94QhQkt7eK3HsS4pwMEw7+ovIVli5CdayG5Y+iFNaKmYmQjpwh +vZFmDmDylT/XSAQF4MLqnZ1IXCHE9FAHy4BsDnIY+4fEVSDeVFj2mxRBttLyntyc +rb5AIWi5qUvUHjnDLJ6nhM/dYBMag4eJIBrykYw7Qrg20OZVNVEfDALB/26rrVql +QnfmJARCvRRNCflxIrZ/mzVMgZ9vDaTkttN4EM1bvtwXuhz8uxLpmKFjKirCP0cc +aN3V3bg58vFQ1zINUj7+9479TqI7A2ywe3E+AieSj4RSnhKVf3W/QGVIhVu+vY7D +mwB4R0HOBOlh0CcKjSdr3CsGblug76Vbbq/rbsx3fLNLsVqq732cvXtXT3NsX57S +GtFmfrPJdzBzm8yAOLG23ig2glIKxAHwlUxj9L6twsghhy4AL5PnF5KEg5GYEMuy +hrok/7H1qjL4qcTXDdSWbLCf7qF4EVMcFgiJ6RI0wlJnsjqexeK/klVf1+YplGxa +IaUlQR6w0oNiReuq4tfy +=xUDr +-----END PGP SIGNATURE----- diff --git a/games-engines/openmw/files/openmw-0.33.0-build.patch b/games-engines/openmw/files/openmw-0.33.0-build.patch new file mode 100644 index 000000000000..acf58a24e46c --- /dev/null +++ b/games-engines/openmw/files/openmw-0.33.0-build.patch @@ -0,0 +1,18 @@ +fix build + +--- extern/sdl4ogre/sdlcursormanager.cpp ++++ extern/sdl4ogre/sdlcursormanager.cpp +@@ -1,3 +1,5 @@ ++#include <stdexcept> ++ + #include "sdlcursormanager.hpp" + + #include <OgreHardwarePixelBuffer.h> +--- extern/sdl4ogre/sdlwindowhelper.cpp ++++ extern/sdl4ogre/sdlwindowhelper.cpp +@@ -1,3 +1,5 @@ ++#include <stdexcept> ++ + #include "sdlwindowhelper.hpp" + + #include <OgreStringConverter.h> diff --git a/games-engines/openmw/files/openmw-0.33.0-cfg.patch b/games-engines/openmw/files/openmw-0.33.0-cfg.patch new file mode 100644 index 000000000000..18ca7320be03 --- /dev/null +++ b/games-engines/openmw/files/openmw-0.33.0-cfg.patch @@ -0,0 +1,11 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sat Jun 16 00:27:52 UTC 2012 + +use cmake variable for data location + +--- files/openmw.cfg ++++ files/openmw.cfg +@@ -1,2 +1,2 @@ +-data="?mw?Data Files" ++data=${MORROWIND_DATA_FILES} + resources=${MORROWIND_RESOURCE_FILES} diff --git a/games-engines/openmw/files/openmw-0.33.0-opencs.patch b/games-engines/openmw/files/openmw-0.33.0-opencs.patch new file mode 100644 index 000000000000..5abd7da9030a --- /dev/null +++ b/games-engines/openmw/files/openmw-0.33.0-opencs.patch @@ -0,0 +1,13 @@ +https://bugs.openmw.org/issues/2108 + +diff --git a/apps/opencs/view/render/cell.hpp b/apps/opencs/view/render/cell.hpp +index e63e095..67117bf 100644 +--- a/apps/opencs/view/render/cell.hpp ++++ b/apps/opencs/view/render/cell.hpp +@@ -3,6 +3,7 @@ + + #include <string> + #include <map> ++#include <memory> + + #include <OgreVector3.h> diff --git a/games-engines/openmw/metadata.xml b/games-engines/openmw/metadata.xml new file mode 100644 index 000000000000..bd371bf23c84 --- /dev/null +++ b/games-engines/openmw/metadata.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <herd>games</herd> + <use> + <flag name="devtools">Install development tools like + bsatool, esmtool and opencs.</flag> + <flag name="launcher">Install the launcher for configuring + OpenMW.</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.33.0.ebuild b/games-engines/openmw/openmw-0.33.0.ebuild new file mode 100644 index 000000000000..0cc09adf2922 --- /dev/null +++ b/games-engines/openmw/openmw-0.33.0.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/openmw/openmw-0.33.0.ebuild,v 1.1 2014/11/06 20:15:00 hasufell Exp $ + +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 cdinstall devtools +launcher" + +# XXX static build +RDEPEND=">=dev-games/mygui-3.2.1 + >=dev-games/ogre-1.9.0[cg,freeimage,ois,opengl,zip] + >=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 + media-libs/openal + >=sci-physics/bullet-2.80 + virtual/ffmpeg + devtools? ( dev-qt/qtxmlpatterns:4 ) + launcher? ( app-arch/unshield )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen media-gfx/graphviz )" +PDEPEND="cdinstall? ( games-rpg/morrowind-data )" + +S=${WORKDIR}/${PN}-${P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-cfg.patch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-opencs.patch +} + +src_configure() { + local mycmakeargs=( + -DBINDIR="${GAMES_BINDIR}" + $(cmake-utils_use_build devtools BSATOOL) + $(cmake-utils_use_build devtools ESMTOOL) + $(cmake-utils_use_build launcher LAUNCHER) + -DMWINIIMPORTER=ON + -DBUILD_MYGUI_PLUGIN=ON + $(cmake-utils_use_build devtools OPENCS) + -DUNITTESTS=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 + -DSYSCONFDIR="${GAMES_SYSCONFDIR}"/${PN} + -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.txt + + # 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 +} + +pkg_postrm() { + gnome2_icon_cache_update +} |