2016-02-28 23:05:15 +00:00
|
|
|
# Copyright 2014-2016 Julian Ospald <hasufell@posteo.de>
|
2016-02-16 01:21:00 +00:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
|
|
|
|
require gtk-icon-cache
|
2016-04-22 15:42:34 +00:00
|
|
|
require github [ user=OpenMW tag=${PNV} ]
|
2016-02-16 01:21:00 +00:00
|
|
|
require cmake [ api=2 ]
|
|
|
|
|
|
|
|
SUMMARY="An open source reimplementation of TES III: Morrowind"
|
|
|
|
HOMEPAGE="http://openmw.org/"
|
|
|
|
|
2016-02-17 01:53:28 +00:00
|
|
|
LICENCES="GPL-3 MIT bitstream-font OFL-1.1"
|
2016-02-16 01:21:00 +00:00
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~x86"
|
2016-05-21 16:42:52 +00:00
|
|
|
MYOPTIONS="
|
|
|
|
( providers: ffmpeg libav ) [[ number-selected = exactly-one ]]
|
|
|
|
"
|
2016-02-16 01:21:00 +00:00
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
build:
|
|
|
|
virtual/pkg-config
|
|
|
|
build+run:
|
|
|
|
app-arch/unshield
|
|
|
|
dev-games/OpenSceneGraph
|
2016-04-21 13:12:30 +00:00
|
|
|
dev-games/mygui[>=3.2.1]
|
2016-02-16 01:21:00 +00:00
|
|
|
dev-libs/boost
|
|
|
|
dev-libs/tinyxml
|
2016-04-21 13:12:30 +00:00
|
|
|
media-libs/SDL:2[X]
|
2016-02-16 01:21:00 +00:00
|
|
|
media-libs/freetype:2
|
|
|
|
media-libs/openal
|
|
|
|
sci-physics/bullet[>=2.80]
|
|
|
|
x11-libs/qtbase:5
|
2016-05-21 16:42:52 +00:00
|
|
|
providers:ffmpeg? ( media/ffmpeg )
|
|
|
|
providers:libav? ( media/libav )
|
2016-02-16 01:21:00 +00:00
|
|
|
"
|
|
|
|
|
|
|
|
|
|
|
|
CMAKE_SRC_CONFIGURE_PARAMS=(
|
2016-04-21 13:12:30 +00:00
|
|
|
-DBINDIR="/usr/$(exhost --target)/bin"
|
|
|
|
-DBUILD_BSATOOL=ON
|
|
|
|
-DBUILD_ESMTOOL=ON
|
|
|
|
-DBUILD_NIFTEST=OFF
|
|
|
|
-DBUILD_OPENCS=ON
|
2016-02-16 01:21:00 +00:00
|
|
|
-DBUILD_OPENMW=ON
|
|
|
|
-DBUILD_UNITTESTS=OFF
|
2016-04-21 13:12:30 +00:00
|
|
|
-DBUILD_WITH_CODE_COVERAGE=OFF
|
|
|
|
-DBUILD_WIZARD=ON
|
2016-05-23 22:15:17 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
2016-02-16 01:21:00 +00:00
|
|
|
-DDATADIR="/usr/share/${PN}"
|
2016-04-21 13:12:30 +00:00
|
|
|
-DDESIRED_QT_VERSION=5
|
|
|
|
-DGLOBAL_CONFIG_PATH="/etc"
|
2016-02-16 01:21:00 +00:00
|
|
|
-DICONDIR="/usr/share/icons/hicolor/256x256/apps"
|
2016-04-21 13:12:30 +00:00
|
|
|
-DLIBDIR="/usr/$(exhost --target)/lib"
|
2016-02-16 01:21:00 +00:00
|
|
|
-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
|
|
|
|
}
|
2016-04-21 13:12:30 +00:00
|
|
|
|