From 3ed2009d0a4424e88d5e1a4576f4e17c3acd5b04 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 25 Aug 2016 01:32:27 +0200 Subject: [PATCH] games-engines/openmw: bump to 0.40.0 --- .../openmw/openmw-0.40.0.exheres-0 | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 packages/games-engines/openmw/openmw-0.40.0.exheres-0 diff --git a/packages/games-engines/openmw/openmw-0.40.0.exheres-0 b/packages/games-engines/openmw/openmw-0.40.0.exheres-0 new file mode 100644 index 00000000..0d01e6ff --- /dev/null +++ b/packages/games-engines/openmw/openmw-0.40.0.exheres-0 @@ -0,0 +1,63 @@ +# Copyright 2014-2016 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + + +require gtk-icon-cache +require github [ user=OpenMW tag=${PNV} ] +require cmake [ api=2 ] + +SUMMARY="An open source reimplementation of TES III: Morrowind" +HOMEPAGE="http://openmw.org/" + +LICENCES="GPL-3 MIT bitstream-font OFL-1.1" +SLOT="0" +PLATFORMS="~amd64 ~x86" +MYOPTIONS=" + ( providers: ffmpeg libav ) [[ number-selected = exactly-one ]] +" + +DEPENDENCIES=" + build: + virtual/pkg-config + build+run: + app-arch/unshield + dev-games/OpenSceneGraph + dev-games/mygui[>=3.2.1] + dev-libs/boost + dev-libs/tinyxml + media-libs/SDL:2[X] + media-libs/freetype:2 + media-libs/openal + sci-physics/bullet[>=2.83] + x11-libs/qtbase:5 + providers:ffmpeg? ( media/ffmpeg ) + providers:libav? ( media/libav ) +" + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DBINDIR="/usr/$(exhost --target)/bin" + -DBUILD_BSATOOL=ON + -DBUILD_DOCS=OFF + -DBUILD_ESMTOOL=ON + -DBUILD_NIFTEST=OFF + -DBUILD_OPENCS=ON + -DBUILD_OPENMW=ON + -DBUILD_UNITTESTS=OFF + -DBUILD_WITH_CODE_COVERAGE=OFF + -DBUILD_WIZARD=ON + -DCMAKE_INSTALL_PREFIX=/usr + -DDATADIR="/usr/share/${PN}" + -DDESIRED_QT_VERSION=5 + -DGLOBAL_CONFIG_PATH="/etc" + -DICONDIR="/usr/share/icons/hicolor/256x256/apps" + -DLIBDIR="/usr/$(exhost --target)/lib" + -DMORROWIND_DATA_FILES="/usr/share/${PN}/data" + -DOPENMW_RESOURCE_FILES="/usr/share/${PN}/resources" + -DUSE_SYSTEM_TINYXML=ON +) + +src_install() { + default + keepdir /usr/share/openmw/data +} +