diff options
author | eroen <eroen@falcon.eroen.eu> | 2013-11-18 01:41:58 +0100 |
---|---|---|
committer | eroen <eroen@falcon.eroen.eu> | 2013-11-18 01:41:58 +0100 |
commit | 32bd06c91ce2e62b06018b4bd2facaa45ae4db4d (patch) | |
tree | bafd8fcef5dd7ea01831d937e3b32aa6ebe8224e /games-engines | |
parent | ga_wrapper-0.0.1 -- tagged release (diff) | |
download | eroen-32bd06c91ce2e62b06018b4bd2facaa45ae4db4d.tar.gz eroen-32bd06c91ce2e62b06018b4bd2facaa45ae4db4d.tar.bz2 eroen-32bd06c91ce2e62b06018b4bd2facaa45ae4db4d.zip |
openmw-0.27.0
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/openmw/Manifest | 2 | ||||
-rw-r--r-- | games-engines/openmw/openmw-0.27.0.ebuild | 97 |
2 files changed, 99 insertions, 0 deletions
diff --git a/games-engines/openmw/Manifest b/games-engines/openmw/Manifest index c758701..c95bbb7 100644 --- a/games-engines/openmw/Manifest +++ b/games-engines/openmw/Manifest @@ -6,11 +6,13 @@ DIST openmw-0.21.0.zip 2542370 SHA256 f34ff40a7ced5e294c01597fbdaf8860a108a104d1 DIST openmw-0.23.0.tar.gz 2426880 SHA256 681de5de62e7deec5a72fa91d2f7ab2d7a01aad020641f9704e5b4fc1620efbd SHA512 17899bff01cae182c76acc1b4b61255af2ffdc997776716bec8e4a2c652451e35d4a366c3386fc153a3b85500c4969947c597c3d223c6f08127d3fecb2841508 WHIRLPOOL 5c5f89a87127f501e616daf536b57bc835bc20c67083d91281258c435b9804a833fa668e84580694be7214193bd29dbb235dffc92fa583296e51138920022f50 DIST openmw-0.24.0-source.tar.gz 2489635 SHA256 e932db80689991b1ac85be9c34de38c3df8f01ca591fefbd683e1fb004e0591d SHA512 c301777343535c7718b404edc53b90a6ab0d9c933afc6fe375fb6cf9d2625d7638275d8c6e17f166c45e4f9e32a8790c4a285caa5547c2ab381ca8e59091574d WHIRLPOOL 06d05571ec86b87fbb5aa3889ba21ea4a0be1ec9cf13e60b7db98cd5c64da86da168f4312bfc45226674b1649e204812a0e36b69fef146acd4a7adb99f978eb9 DIST openmw-0.26.0-source.tar.gz 2862885 SHA256 5675c2922fc06775a456a0ddaf302d41f84cb286af4d35141aeaaa1aec59397a SHA512 6d9d2502e07ae5dc024894c73aa5bdd2467b4099f152ae3894f97d66e947ca96d08ec264a24494b6c860e47d49b45ffe22d0517c1cc4c70ddf1c52fc34457f16 WHIRLPOOL 5557a1c84879b52c8491222c402a0f12afb25c82477e827d1fe73b90763cb0f0df4b4804ba3f81d690357ec91b74231e78ab5aede0d252344f705e469f3be85c +DIST openmw-0.27.0.tar.gz 3237872 SHA256 83ae1f82fd33c5e53da6bffab604ed3de884cb551844a97a719fb86a34104cb6 SHA512 0b25eed486e660ce087e3302621ee3796349b47efa7056d0f54839340aeada211d13f47082b727402555130c2eb2065ad6f1104a538ed100d34152db122065df WHIRLPOOL 348d61c1fa4f1ea46445c1c552f1d8d5f83f620bf8b05d71d505371e4b2450120708b09970aa2c9109089a439dd3ed7471a26ef13f1fb0bd410c6dcb355a6dc3 DIST openmw_0.20.0.orig.tar.bz2 1757358 SHA256 6fb88901920d6c28a974885065303639ee6227e9c21fd615334bcdc16d7909eb SHA512 e3180ed3efbc7fcb92339d88ea1dbc0987f81cc006f56926a7862ac1ee5ca4f2119cfa9baa286aa6c98f2d3a4ef0938ebdfecc842877f08e6a229ac66b913e2d WHIRLPOOL 2f5489f1108b8b3ce8aaa092f3c3effb382b859822e0ce2dd057e5552a2f5579ae304aa402a0dd798794a6ff7032b029bb993f37d76b5c32c30de2eb9eefc026 EBUILD openmw-0.20.0.ebuild 1625 SHA256 9d7f87bb4b0ca560c12f8675b809a491bcd882ae11c659651eb93a8584a088a8 SHA512 116ce2eb55705a7eb0b9f403b2548c30e1010dad5308d2d91e1bc9e3fcf0f89063161a2f095da570f7b3febdb0067eca17823265ed37e376c241f1303f31b0b5 WHIRLPOOL 4a620f47965ab00754b61ade748ea68818d3bd93512554344791d8481983cb2cfd59ce63abc82d175cb210365c132ee77b9bd50beee443d046f2b864b53c2345 EBUILD openmw-0.21.0.ebuild 1636 SHA256 cc6ce30804a55794041b0d0460fc1d0d60b1f43f0b21c2ebe3e23fa6e4d8d578 SHA512 a4594120ff820ae7b1e583caa9b5bdaaf6e71d5b15f9cb71c38a61337d67e03e823a5f70378c0f4bf2bfe4684d8fde92aa652f43c73978e30f5850c81d263018 WHIRLPOOL 99df5c25c4700d057d55d0004fa2c410cf0b7fb08575f12a46e2c7b61485868a176d202f56aa2e1523726803855d0b42b651d6de4d509bc2f94ff3ba922f5e5c EBUILD openmw-0.23.0.ebuild 1598 SHA256 85a0e719d3d6fd84c51b8849d3ea5dd4885119da66b4f6263d9f7f5e520422cd SHA512 f030f181567e8408524d88df1b371eda20877f308cbcbc220656a8e4cd3af8c0a4a040bd4b0903229ca2431647fab800c34cdc47d8a999d50155594e9685b314 WHIRLPOOL 674b5a96af4fcf0354458cdc92bd34559529f3e72cf848bd8c25c5845de1f8ab6d0bb00c4c60d7f580675439af27ac92173f0980738e368f8579776d11f518c9 EBUILD openmw-0.24.0.ebuild 2015 SHA256 7f38b6e2d659069c8842c968cb45d61564366182d56baefd3f0acc6060e045b2 SHA512 c17d0b5c83845d2752d7a01f7ad0a7a4f29e8469d3ab330bbfc483645326f5b14b9002518cfc6b27d62ee1a6caf1ce627a4c45065df9d86d94d167c36271118c WHIRLPOOL 1138405948d839951d0dd6d3e1b05feb708d6e20cbd1e54936fc7486187ebca7a01b214aea30b27e50ff9ddf8ec4d04a2173879b3067012b28e1c6b258517d4d EBUILD openmw-0.26.0.ebuild 2273 SHA256 040cb2ae217086decfeea766fc3bb10a1f223aaed3735335b2e8a4d6f46eed27 SHA512 22d84f0050aebcf80f5eb88b8951343083e69b26ef485e010691918753cd844683e14c44985cd9580bc76f66c14e74aa3b3f6f4177e9ffe811f78225ac630cf4 WHIRLPOOL 92d19bbe4ff1c02f791eabbaff5b69cb681a85826caf6caf75351dbbf2268bbcce71e42792b34c95c4c481b6a9f9df3ff16462acb89f403dec5e4efff4029178 +EBUILD openmw-0.27.0.ebuild 2676 SHA256 827267d5fc6ee00cb9aa6c9794ee41ecc0b352c645929f003edba5e2131ad3b1 SHA512 5227bbc49cc8cbc85b94af8eb5a7cd65d3ba3097fe5f9de93ee3caa70d18ac88ae2c8b8b74a9b685432e96a45bc181bbc2e52fb5d2c1e035b67978ab8992fdb2 WHIRLPOOL 376f33b2b8e167ee38567bd41329cb281c2396d58d889b965c48e43661dc23813e8267254bb0c7a1562b8294dd66d68a3c9f7f81f8ae95ed277b98f2baa8da3c EBUILD openmw-9999.ebuild 2665 SHA256 05533ccbeab9619cf7738238c76808b452884eecb81f80e549d11d68b996c56a SHA512 db0f29238e96050311acffe54d36cee5b034ff9dc0526b91d3b3c00b608e2a615ec9bc0cf80553107fc73541ec6fac3cacec0ee0c8872b33afc89bcc9718feba WHIRLPOOL 00d15624c7d86ea69d63622e98eac9da0718a161595504046b900eabcbc776967f277af96b504b4885bf26b7620bdad09bacf871e667523d32e3862d63fb4032 MISC metadata.xml 694 SHA256 f4ef03678530f848dbfefcc5e14497d9fd97fd24c94f6eeaffb96be71ab394c2 SHA512 ddb13722bd86a42deaf94f6bae5d0dbae5028eb2bb6c9f0c9a46fd49c33ad3e8ca1d8bfeeb36c7bd9563a5e728572f1fc4264c9472fb6428fb4413a8781875a3 WHIRLPOOL 06436a403fde85cebf57b1feecb83f1138992241f0e3b076312d506f8e4eab0e9305641e78020209436a3de0c11ad8956b78dc9caece3fe83d6d7dd0cd853db7 diff --git a/games-engines/openmw/openmw-0.27.0.ebuild b/games-engines/openmw/openmw-0.27.0.ebuild new file mode 100644 index 0000000..9c2902e --- /dev/null +++ b/games-engines/openmw/openmw-0.27.0.ebuild @@ -0,0 +1,97 @@ +# By Eroen, 2013 +# Distributed under the terms of the ISC license +# $Header: $ + +EAPI=5 + +inherit eutils flag-o-matic versionator games cmake-utils +[[ $(get_version_component_range $(get_version_component_count)) == *999? ]] && inherit git-r3 + +DESCRIPTION="Unofficial open source engine reimplementation of the game Morrowind" +HOMEPAGE="https://openmw.org/" +LICENSE="GPL-3 MIT BitstreamVera OFL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+launcher minimal +opencs profile test +tr1" + +if [[ $(get_version_component_range $(get_version_component_count)) == *999? ]]; then + EGIT_REPO_URI="git://github.com/zinnschlag/openmw.git" + if [[ $(get_version_component_count) -ge 4 ]]; then + EGIT_BRANCH=openmw$(get_version_component_range 2) + fi +else + SRC_URI="https://github.com/zinnschlag/${PN}/archive/${P}.tar.gz" + S="${WORKDIR}"/${PN}-${P} +fi + +OPENMW_LIBS="dev-games/mygui + dev-libs/tinyxml + media-libs/openal + virtual/ffmpeg + sci-physics/bullet" +LAUNCHER_LIBS="app-arch/unshield + dev-qt/qtcore + dev-qt/qtgui" +OPENCS_LIBS="dev-qt/qtcore + dev-qt/qtgui + dev-qt/qtxmlpatterns" + +HDEPEND="" +LIBDEPEND="${OPENMW_LIBS} + launcher? ( ${LAUNCHER_LIBS} ) + opencs? ( ${OPENCS_LIBS} ) + dev-games/ogre[boost,cg,freeimage,opengl,threads,zip] + dev-libs/boost:=[threads] + media-libs/libsdl2" +DEPEND="${LIBDEPEND} + test? ( dev-cpp/gmock[tr1=] + dev-cpp/gtest[tr1=] )" +[[ ${EAPI} == *-hdepend ]] || DEPEND+=" ${HDEPEND}" +RDEPEND="${LIBDEPEND}" + +pkg_setup() { + if use test && ! use tr1; then + append-cflags -DGTEST_USE_OWN_TR1_TUPLE=1 + append-cxxflags -DGTEST_USE_OWN_TR1_TUPLE=1 + fi +} + +src_prepare() { + epatch_user +} + +src_configure() { + mycmakeargs=( + -DDPKG_PROGRAM="" + -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" + -DDATAROOTDIR="${GAMES_DATADIR_BASE}" + -DDATADIR="${GAMES_DATADIR}/${PN}" + -DSYSCONFDIR="${GAMES_SYSCONFDIR}"/${PN} + $(cmake-utils_use_build launcher LAUNCHER) + $(cmake-utils_use_build opencs OPENCS) + $(cmake-utils_use_build !minimal BSATOOL) + $(cmake-utils_use_build !minimal ESMTOOL) + $(cmake-utils_use_build !minimal MWINIIMPORTER) + $(cmake-utils_use_with profile CODE_COVERAGE) + -DUSE_SYSTEM_TINYXML=ON + $(cmake-utils_use_build test UNITTESTS) + ) + cmake-utils_src_configure +} + +src_test() { + pushd "${BUILD_DIR}" > /dev/null + ./openmw_test_suite || die + popd > /dev/null +} + +src_install() { + cmake-utils_src_install + rm -r "${D}"/usr/share/licenses + sed -e "s:resources=resources:resources=${GAMES_DATADIR}/${PN}/resources:" \ + -i "${D}/${GAMES_SYSCONFDIR}"/${PN}/openmw.cfg || die + prepgamesdirs + # /etc/openmw/ is hardcoded, but we set SYSCONFDIR for games.eclass + mv -t "${D}"/etc "${D}/${GAMES_SYSCONFDIR}"/${PN} || die + rmdir "${D}/${GAMES_SYSCONFDIR}" || die +} |