[arch-commits] Commit in openmw/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jun 8 19:47:17 UTC 2021


    Date: Tuesday, June 8, 2021 @ 19:47:17
  Author: foutrelis
Revision: 959878

archrelease: copy trunk to community-staging-x86_64

Added:
  openmw/repos/community-staging-x86_64/
  openmw/repos/community-staging-x86_64/PKGBUILD
    (from rev 959877, openmw/trunk/PKGBUILD)
  openmw/repos/community-staging-x86_64/openmw-0.46.0-limits-includes.patch
    (from rev 959877, openmw/trunk/openmw-0.46.0-limits-includes.patch)
  openmw/repos/community-staging-x86_64/openmw-0.46.0-missing-include.patch
    (from rev 959877, openmw/trunk/openmw-0.46.0-missing-include.patch)

-------------------------------------+
 PKGBUILD                            |   42 ++++++++++++++++++++++++++++++++++
 openmw-0.46.0-limits-includes.patch |   36 +++++++++++++++++++++++++++++
 openmw-0.46.0-missing-include.patch |   19 +++++++++++++++
 3 files changed, 97 insertions(+)

Copied: openmw/repos/community-staging-x86_64/PKGBUILD (from rev 959877, openmw/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-06-08 19:47:17 UTC (rev 959878)
@@ -0,0 +1,42 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Sandy Carter <bwrsandman at gmail.com>
+
+pkgname=openmw
+pkgver=0.46.0
+pkgrel=9
+pkgdesc="Open-source engine reimplementation for the role-playing game Morrowind"
+arch=('x86_64')
+url="http://www.openmw.org"
+license=('GPL3' 'MIT' 'custom')
+depends=('openal' 'openscenegraph' 'mygui' 'bullet' 'qt5-base' 'ffmpeg' 'sdl2' 'unshield' 'libxt')
+makedepends=('cmake' 'boost' 'doxygen' 'ninja' 'git')
+source=("git+https://gitlab.com/OpenMW/openmw.git#tag=openmw-$pkgver"
+        openmw-0.46.0-limits-includes.patch
+        openmw-0.46.0-missing-include.patch)
+sha512sums=('SKIP'
+            '2c13813ed11e00e2118251192ca0ef3933cce87fc4898930e590a9421d28e0b6ca2bff0edf48b0ec9da528282fcad2ee6e211f2c6692f36b360d8eb6d4f33049'
+            'd0d47fe249e8fb366e00e272dc62853f8a2aaa75d45d83d270891e76674c1382fd3405e674e3b6c383bbc17125c4471893e77251744deae4d17bc373d847a638')
+
+prepare() {
+  cd openmw
+  patch -Np1 -i ${srcdir}/openmw-0.46.0-limits-includes.patch
+  patch -Np1 -i ${srcdir}/openmw-0.46.0-missing-include.patch
+}
+
+build() {
+  cd openmw
+  cmake . \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DDESIRED_QT_VERSION=5 \
+    -GNinja \
+    -Bbuild
+  ninja -C build
+}
+
+package() {
+  cd openmw
+  DESTDIR="$pkgdir" ninja -C build install
+}
+
+# vim: ts=2 sw=2 et:

Copied: openmw/repos/community-staging-x86_64/openmw-0.46.0-limits-includes.patch (from rev 959877, openmw/trunk/openmw-0.46.0-limits-includes.patch)
===================================================================
--- community-staging-x86_64/openmw-0.46.0-limits-includes.patch	                        (rev 0)
+++ community-staging-x86_64/openmw-0.46.0-limits-includes.patch	2021-06-08 19:47:17 UTC (rev 959878)
@@ -0,0 +1,36 @@
+diff --git a/components/sceneutil/mwshadowtechnique.cpp b/components/sceneutil/mwshadowtechnique.cpp
+index cb3a1b278..653e4d3a1 100644
+--- a/components/sceneutil/mwshadowtechnique.cpp
++++ b/components/sceneutil/mwshadowtechnique.cpp
+@@ -23,6 +23,7 @@
+ #include <osg/Geometry>
+ #include <osg/io_utils>
+ 
++#include <limits>
+ #include <sstream>
+ 
+ namespace {
+diff --git a/components/sceneutil/shadow.cpp b/components/sceneutil/shadow.cpp
+index 035c19a5f..1ec2b1c5e 100644
+--- a/components/sceneutil/shadow.cpp
++++ b/components/sceneutil/shadow.cpp
+@@ -1,5 +1,7 @@
+ #include "shadow.hpp"
+ 
++#include <limits>
++
+ #include <osgShadow/ShadowedScene>
+ 
+ #include <components/sceneutil/vismask.hpp>
+diff --git a/components/terrain/quadtreeworld.cpp b/components/terrain/quadtreeworld.cpp
+index f998b7877..cadf5eaa4 100644
+--- a/components/terrain/quadtreeworld.cpp
++++ b/components/terrain/quadtreeworld.cpp
+@@ -2,6 +2,7 @@
+ 
+ #include <osgUtil/CullVisitor>
+ 
++#include <limits>
+ #include <sstream>
+ 
+ #include <components/misc/constants.hpp>

Copied: openmw/repos/community-staging-x86_64/openmw-0.46.0-missing-include.patch (from rev 959877, openmw/trunk/openmw-0.46.0-missing-include.patch)
===================================================================
--- community-staging-x86_64/openmw-0.46.0-missing-include.patch	                        (rev 0)
+++ community-staging-x86_64/openmw-0.46.0-missing-include.patch	2021-06-08 19:47:17 UTC (rev 959878)
@@ -0,0 +1,19 @@
+Fixes build on ~arch system, patch from upstream, to be dropped for 0.47
+
+From 10daadefbea1f62a818c339dc7f3d69a858bc8a6 Mon Sep 17 00:00:00 2001
+From: elsid <elsid.mail at gmail.com>
+Date: Thu, 30 Apr 2020 21:57:22 +0200
+Subject: [PATCH] Add missing include
+
+diff --git a/components/detournavigator/offmeshconnectionsmanager.hpp b/components/detournavigator/offmeshconnectionsmanager.hpp
+index 30d7976aec..155ce32963 100644
+--- a/components/detournavigator/offmeshconnectionsmanager.hpp
++++ b/components/detournavigator/offmeshconnectionsmanager.hpp
+@@ -13,6 +13,7 @@
+ 
+ #include <boost/optional.hpp>
+ 
++#include <algorithm>
+ #include <map>
+ #include <mutex>
+ #include <unordered_map>



More information about the arch-commits mailing list