[arch-commits] Commit in openmw/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at gemini.archlinux.org
Sun Feb 20 03:57:05 UTC 2022
Date: Sunday, February 20, 2022 @ 03:57:05
Author: svenstaro
Revision: 1135181
upgpkg: openmw 0.47.0-4: Build against ffmpeg4.4
Modified:
openmw/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-20 03:54:49 UTC (rev 1135180)
+++ PKGBUILD 2022-02-20 03:57:05 UTC (rev 1135181)
@@ -3,18 +3,27 @@
pkgname=openmw
pkgver=0.47.0
-pkgrel=3
+pkgrel=4
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' 'qt5-base' 'ffmpeg' 'sdl2' 'unshield' 'libxt' 'boost-libs')
+depends=('openal' 'openscenegraph' 'mygui' 'qt5-base' 'ffmpeg4.4' 'sdl2' 'unshield' 'libxt' 'boost-libs')
makedepends=('cmake' 'boost' 'doxygen' 'ninja')
-source=("https://github.com/OpenMW/openmw/archive/refs/tags/openmw-0.47.0.tar.gz")
-sha512sums=('517e650d0054cdba8d38de05ed3975b0fcf8de32fda59c8df7c34b973e5390efa0dd9ec79babdfdaa79dee7aa8a75009776f62fad91b9aa9aa28016c5032652b')
+source=("https://github.com/OpenMW/openmw/archive/refs/tags/openmw-0.47.0.tar.gz"
+ https://gitlab.com/OpenMW/openmw/-/commit/98a7d90ee258ceef9c70b0b2955d0458ec46f048.patch)
+sha512sums=('517e650d0054cdba8d38de05ed3975b0fcf8de32fda59c8df7c34b973e5390efa0dd9ec79babdfdaa79dee7aa8a75009776f62fad91b9aa9aa28016c5032652b'
+ '37dfc5611523bf158fe2b6c19bdc11ebd0a70837943183b16b1ec36e06df37c7e089586935753c7442720349d5a7e356dc4f11e79666af0c4d5146f8f64d4853')
+prepare () {
+ cd openmw-openmw-$pkgver
+ patch -Np1 -i "$srcdir"/98a7d90ee258ceef9c70b0b2955d0458ec46f048.patch
+}
+
build() {
cd openmw-openmw-$pkgver
+
+ export PKG_CONFIG_LIBDIR=/usr/lib/ffmpeg4.4/pkgconfig
# We can't use system bullet because openmw needs a version built with double
# precision but the one we ship in Arch is built with single precision for
# performance reasons.
More information about the arch-commits
mailing list