Permalink
Browse files

version bump

  • Loading branch information...
1 parent 6d05650 commit 766699f3de4698190a9f83f27035ba43e53c5651 hasufell committed Oct 5, 2012
Showing with 111 additions and 0 deletions.
  1. +2 −0 games-engines/openmw/Manifest
  2. +109 −0 games-engines/openmw/openmw-0.18.0.ebuild
@@ -4,7 +4,9 @@ AUX openmw-0.17.0-cmake.patch 3157 SHA256 2a70e52aa163694f1364ccdeffc1034a5a7fe8
DIST openmw-0.15.0-source.tar.gz 2866043 SHA256 a043971a040d92d332db1374a96b8b39ca594f939126a5f34122bfd6b0c7a35e SHA512 741b201fb75dc3e3452bb5a875560db61e9b380cf2aef65f10390905afb22139710e51975a5f25ae656c70c16c1e287537c523c6684816f344d984139d4aa6da WHIRLPOOL 796eb7e8f501e95eab1a3623e2ec293159ae76603c31b04f7c4ad516eb12e646fe38bfe8a45b0a43ae359cebfe53b4d66274452a510cae6adf0141f10b2806fa
DIST openmw-0.16.0-source.tar.bz2 2442025 SHA256 e0cfac969487c7d56c0a15b31bc289278544413e50107d09a6a48b92af737293 SHA512 28e6f0ceaad39bac4c5e26285929cbea2142ebe53fea358065410507a27432df31d5e2002f52ed1faa0d324ebb381c11a988e55c0e40aa8f25f5e528fec1f8c5 WHIRLPOOL 8a4c0584e2dfd9f9fab7a5b5340c095191e4fbad3343710cdf5b672903f3a0f5d75600ea2046b3acf4da36598ad2b918a9c1fa4ec29d3f3292c486526ac055da
DIST openmw-0.17.0-source.tar.gz 1834246 SHA256 7d93247ded85e4480945cb0ddccde79350126bda96e149a84683d4dcefb3582c SHA512 fa95321782fc28704a08e6e31210f8302e4587cdacbf02e516a35cc1d1f605b4a1277696393e104812dcb05e68a831fb330c7a97fef7b39fa9d12d676feff189 WHIRLPOOL f7beb6d3a99fad136363225dead0c2e90760276db121e5bb523a9effe931af84430051c22bba66109214d8ff06d3344296a2f4f4debe1689dc98885fc70ed387
+DIST openmw_0.18.0.orig.tar.bz2 1698465 SHA256 2eedeff099e53c3ddc09f5c171e265860d539c78d680aace06e9885d18c8be03 SHA512 4398af35eba226a36059299bea759a2152f49d183b24656f06e8302854ffe37a61f82b1e721b93134d3d44f7b13a6fffbbe5131960027807289ee98f940a3978 WHIRLPOOL 16624968e9c69857416af3ef239b139d7c644398fee4679b1431ddfa97b9929224c63c5fe6fd5841b608a088b2ac5b6a8c51004563c5102fd7b7b04c8fca3d5f
EBUILD openmw-0.15.0.ebuild 2235 SHA256 3db9659fe45048842d3e4f3d389bd916efa37007c7ba4421ae342ededc9f259e SHA512 1ea471cf60213c003db458869a30fe667d2f86c6728b0cbf59479ce1bc4814969211c8c65afd0ef3b6b83e2110676f75e28f8626a0a0386eea134e162a54aa2c WHIRLPOOL 44ffbe21d12a3b696de745d4f0092bee703395839b92aca4c90c89a1e152ec5aae9b621b5c2dba95b581ac6380028664d817c6e91f61fba07c0f4afbb5398695
EBUILD openmw-0.16.0.ebuild 2239 SHA256 5cf8ebbaa249a07ebe0d54245443a4bfce82235108cec1528d4a43cc51978ea7 SHA512 2f2f9946a4fddb1d804d92278326bde1bfa5c8a09f72fb78c9e9fe836bf30d49d9dc2a5478e83a265ea67d4ed69333902a53b8bb2b9bbc8fd9f5582b70d9ad9a WHIRLPOOL 10457b55111fb18f3a1baebcf2596f255f04db1f3e844e0e1bc5eb6a61309300861005333dad1f54a7ddf4effca988e84149125e28024c56d9a6a33a5f4e56ca
EBUILD openmw-0.17.0.ebuild 2160 SHA256 3ebc843ecf6dc9169aa331a715f3367b6a439450f71d400ee2943b21d0f83213 SHA512 a86850615ff6a5a323880389e5378ec71ce817b6e77ca3b3da083c68419141693fa57c5759e3f464fb210b70f36c896923fa8947220971cc41a5c00542dddd79 WHIRLPOOL d9ff3e55b1b373e0b218c85320ee200b7ae14f64aa5e009edb1f42347c5a3ab6fcff1b3e47b29b05f5b6dac26be3951eee53771f499c7b043748ab2c80d0d559
+EBUILD openmw-0.18.0.ebuild 2546 SHA256 56ae417327df153896599e43013d7caf1eaa6f7c96381534219c5624d6a02b2f SHA512 4f77c4a100d216634beec5d3478786139fdfa1d93eb5c9b588ef99db8e68d5cfdca387b277cc08847bff22b85330379f7306eb9e83062b7493b2dd0b78112c43 WHIRLPOOL 39d710d8d0716ee081641c913368d69acd47f0ad0ac53efe67dc7119397065a0e19690f2b25e8c3a349d0c7a67ffd76438d3e8fc3558227e84e814f8c238b9d6
MISC metadata.xml 363 SHA256 6857b944c7ee335f94e62eb30d4e93101f4017da297a46cf48a7e18d1aa8b813 SHA512 7bad3a90fe2114447f5f6f4958be774e5c2f32c7533b4bef68d3cc1ad6d65dc936f70a9807680ed8aa07c491e70ce83ec5054073cc383d83cfe2acfdbda32e9e WHIRLPOOL b2ce54ba457d7fc53170c6c88288e29ecb2cd7e789aed09b710f5d21b254c9db45d57eb838d26eccc1975e21a6800717afab1ac717ca4483f1408638beba4385
@@ -0,0 +1,109 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils flag-o-matic gnome2-utils cmake-utils games
+
+DESCRIPTION="An open source reimplementation of TES III: Morrowind"
+HOMEPAGE="http://openmw.org/"
+SRC_URI="http://launchpad.net/~${PN}/+archive/${PN}/+files/${PN}_${PV}.orig.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cdinstall ffmpeg +mpg123 test"
+
+# XXX static build
+RDEPEND=">=dev-games/mygui-3.2.0
+ >=dev-games/ogre-1.8.0[cg,freeimage,ois,opengl,zip]
+ dev-games/ois
+ >=dev-libs/boost-1.46.0
+ <dev-libs/boost-1.49
+ media-libs/freetype:2
+ media-libs/openal
+ >=sci-physics/bullet-2.80
+ >=x11-libs/qt-core-4.7.0:4
+ >=x11-libs/qt-gui-4.7.0:4
+ ffmpeg? ( media-video/ffmpeg )
+ mpg123? ( media-libs/libsndfile
+ media-sound/mpg123 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-cpp/gmock
+ dev-cpp/gtest )"
+PDEPEND="cdinstall? ( games-rpg/morrowind-data )"
+
+REQUIRED_USE="^^ ( mpg123 ffmpeg )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.15.0-cfg.patch
+
+ sed \
+ -e "s#globalPath(\"/etc/\")#globalPath(\"${GAMES_SYSCONFDIR}\")#" \
+ -i components/files/linuxpath.cpp || die "fixing global confdir failed!"
+
+ sed \
+ -e '1i#include <stdexcept>' \
+ -e '1i#include <memory>' \
+ -i apps/${PN}/mwsound/ffmpeg_decoder.cpp || die "fixing includes failed!"
+
+ sed \
+ -e '/^Version/d' \
+ -i files/${PN}.desktop || die "fixing desktop file failed!"
+}
+
+src_configure() {
+ local boost_ver=$(best_version "<dev-libs/boost-1.49")
+
+ boost_ver=${boost_ver/*boost-/}
+ boost_ver=${boost_ver%.*}
+ boost_ver=${boost_ver/./_}
+
+ einfo "Using boost version ${boost_ver}"
+
+ local mycmakeargs=(
+ $(cmake-utils_use_build test UNITTESTS)
+ $(cmake-utils_use_use ffmpeg FFMPEG)
+ $(cmake-utils_use_use mpg123 MPG123)
+ -DBINDIR="${GAMES_BINDIR}"
+ -DDATADIR="${GAMES_DATADIR}"/${PN}
+ -DSYSCONFDIR="${GAMES_SYSCONFDIR}"/${PN}
+ -DICONDIR=/usr/share/icons/hicolor/256x256/apps
+ -DMORROWIND_DATA_FILES="${GAMES_DATADIR}"/morrowind-data
+ -DMORROWIND_RESOURCE_FILES="${GAMES_DATADIR}"/${PN}/resources
+ -DUSE_AUDIERE=OFF
+ -DBOOST_ROOT="/usr/include/boost-${boost_ver}"
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc readme.txt
+ prepgamesdirs
+}
+
+src_test() {
+ "${CMAKE_BUILD_DIR}"/${PN}_test_suite || die
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}

0 comments on commit 766699f

Please sign in to comment.