From dc0161a75dbe91a9669bade33faada0f72c8a411 Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 16 Feb 2016 02:21:00 +0100 Subject: [PATCH] games-engines/openmw: initial import of version 0.38.0 --- metadata/categories.conf | 1 + .../openmw/openmw-0.38.0.exheres-0 | 60 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 packages/games-engines/openmw/openmw-0.38.0.exheres-0 diff --git a/metadata/categories.conf b/metadata/categories.conf index 22755fd2..6b0a963e 100644 --- a/metadata/categories.conf +++ b/metadata/categories.conf @@ -3,6 +3,7 @@ dev-games dev-lang dev-util games-board +games-engines games-rpg games-strategy media-libs diff --git a/packages/games-engines/openmw/openmw-0.38.0.exheres-0 b/packages/games-engines/openmw/openmw-0.38.0.exheres-0 new file mode 100644 index 00000000..1530be15 --- /dev/null +++ b/packages/games-engines/openmw/openmw-0.38.0.exheres-0 @@ -0,0 +1,60 @@ +# Copyright 2014 Julian Ospald +# Distributed under the terms of the GNU General Public License v2 + + +WORK=${WORKBASE}/${PN}-${PNV} + +require gtk-icon-cache +require cmake [ api=2 ] + +SUMMARY="An open source reimplementation of TES III: Morrowind" +HOMEPAGE="http://openmw.org/" +DOWNLOADS="https://github.com/OpenMW/openmw/archive/${PNV}.tar.gz" + +LICENCES="GPL-3 MIT BitstreamVera OFL-1.1" +SLOT="0" +PLATFORMS="~amd64 ~x86" + +MYOPTIONS=" + ( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]] +" + +DEPENDENCIES=" + build: + virtual/pkg-config + build+run: + app-arch/unshield + dev-games/mygui[>=3.2.1] + dev-games/OpenSceneGraph + dev-libs/boost + dev-libs/tinyxml + media-libs/freeimage + media-libs/freetype:2 + media-libs/openal + media-libs/SDL:2[X] + sci-physics/bullet[>=2.80] + x11-libs/qtbase:5 +" + + +CMAKE_SRC_CONFIGURE_PARAMS=( + -DBUILD_OPENMW=ON + -DBSATOOL=ON + -DESMTOOL=ON + -DOPENCS=ON + -DBUILD_UNITTESTS=OFF + -DBINDIR="/usr/$(exhost --target)/bin" + -DLIBDIR="/usr/$(exhost --target)/lib" + -DDATADIR="/usr/share/${PN}" + -DICONDIR="/usr/share/icons/hicolor/256x256/apps" + -DMORROWIND_DATA_FILES="/usr/share/${PN}/data" + -DOPENMW_RESOURCE_FILES="/usr/share/${PN}/resources" + -DGLOBAL_CONFIG_PATH="/etc" + -DUSE_SYSTEM_TINYXML=ON + -DDESIRED_QT_VERSION=5 +) + +src_install() { + default + keepdir /usr/share/openmw/data +}