[arch-commits] Commit in openmw/repos (3 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Tue May 11 19:29:18 UTC 2021
Date: Tuesday, May 11, 2021 @ 19:29:17
Author: svenstaro
Revision: 930532
archrelease: copy trunk to community-staging-x86_64
Added:
openmw/repos/community-staging-x86_64/
openmw/repos/community-staging-x86_64/PKGBUILD
(from rev 930531, openmw/trunk/PKGBUILD)
openmw/repos/community-staging-x86_64/openmw-0.46.0-missing-include.patch
(from rev 930531, openmw/trunk/openmw-0.46.0-missing-include.patch)
-------------------------------------+
PKGBUILD | 39 ++++++++++++++++++++++++++++++++++
openmw-0.46.0-missing-include.patch | 19 ++++++++++++++++
2 files changed, 58 insertions(+)
Copied: openmw/repos/community-staging-x86_64/PKGBUILD (from rev 930531, openmw/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-05-11 19:29:17 UTC (rev 930532)
@@ -0,0 +1,39 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Sandy Carter <bwrsandman at gmail.com>
+
+pkgname=openmw
+pkgver=0.46.0
+pkgrel=8
+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-missing-include.patch)
+sha512sums=('SKIP'
+ 'd0d47fe249e8fb366e00e272dc62853f8a2aaa75d45d83d270891e76674c1382fd3405e674e3b6c383bbc17125c4471893e77251744deae4d17bc373d847a638')
+
+prepare() {
+ cd openmw
+ 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-missing-include.patch (from rev 930531, 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-05-11 19:29:17 UTC (rev 930532)
@@ -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