games-engines/openmw: rm old
This commit is contained in:
parent
464bcbc413
commit
22bff70be0
@ -1,49 +0,0 @@
|
|||||||
From a1f323f5283aae895f4d2dc3c5ddece22a05f4b3 Mon Sep 17 00:00:00 2001
|
|
||||||
From: scrawl <scrawl@baseoftrash.de>
|
|
||||||
Date: Mon, 6 Jun 2016 13:32:27 +0200
|
|
||||||
Subject: [PATCH] Fix build against OSG 3.5.3
|
|
||||||
|
|
||||||
---
|
|
||||||
extern/osgQt/GraphicsWindowQt | 3 ---
|
|
||||||
extern/osgQt/GraphicsWindowQt.cpp | 14 --------------
|
|
||||||
2 files changed, 17 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/extern/osgQt/GraphicsWindowQt b/extern/osgQt/GraphicsWindowQt
|
|
||||||
index ad456ef..3be1da0 100644
|
|
||||||
--- a/extern/osgQt/GraphicsWindowQt
|
|
||||||
+++ b/extern/osgQt/GraphicsWindowQt
|
|
||||||
@@ -37,9 +37,6 @@ namespace osgQt
|
|
||||||
// forward declarations
|
|
||||||
class GraphicsWindowQt;
|
|
||||||
|
|
||||||
-/// The function sets the WindowingSystem to Qt.
|
|
||||||
-void initQtWindowingSystem();
|
|
||||||
-
|
|
||||||
/** The function sets the viewer that will be used after entering
|
|
||||||
* the Qt main loop (QCoreApplication::exec()).
|
|
||||||
*
|
|
||||||
diff --git a/extern/osgQt/GraphicsWindowQt.cpp b/extern/osgQt/GraphicsWindowQt.cpp
|
|
||||||
index 46df721..78a2ae6 100644
|
|
||||||
--- a/extern/osgQt/GraphicsWindowQt.cpp
|
|
||||||
+++ b/extern/osgQt/GraphicsWindowQt.cpp
|
|
||||||
@@ -639,20 +639,6 @@ class QtWindowingSystem : public osg::GraphicsContext::WindowingSystemInterface
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
-// declare C entry point for static compilation.
|
|
||||||
-extern "C" void graphicswindow_Qt(void)
|
|
||||||
-{
|
|
||||||
- osg::GraphicsContext::setWindowingSystemInterface(QtWindowingSystem::getInterface());
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-void osgQt::initQtWindowingSystem()
|
|
||||||
-{
|
|
||||||
- graphicswindow_Qt();
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-
|
|
||||||
void osgQt::setViewer( osgViewer::ViewerBase *viewer )
|
|
||||||
{
|
|
||||||
HeartBeat::instance()->init( viewer );
|
|
@ -1,66 +0,0 @@
|
|||||||
# Copyright 2014-2016 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# 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.80]
|
|
||||||
x11-libs/qtbase:5
|
|
||||||
providers:ffmpeg? ( media/ffmpeg )
|
|
||||||
providers:libav? ( media/libav )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
|
||||||
"${FILES}"/${PNV}-osg-3.5.3.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
|
||||||
-DBINDIR="/usr/$(exhost --target)/bin"
|
|
||||||
-DBUILD_BSATOOL=ON
|
|
||||||
-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
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user