[arch-commits] Commit in openrct2/trunk (PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Sun Jul 17 11:46:44 UTC 2022


    Date: Sunday, July 17, 2022 @ 11:46:43
  Author: jelle
Revision: 1254302

upgpkg: openrct2 0.4.1-1

Modified:
  openrct2/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-17 11:24:45 UTC (rev 1254301)
+++ PKGBUILD	2022-07-17 11:46:43 UTC (rev 1254302)
@@ -2,7 +2,7 @@
 # Contributor: Graham Edgecombe <graham at grahamedgecombe.com>
 
 pkgname=openrct2
-pkgver=0.4.0
+pkgver=0.4.1
 pkgrel=1
 pkgdesc='Open source re-implementation of Roller Coaster Tycoon 2 (requires full
          copy of the game)'
@@ -10,7 +10,8 @@
 url='https://openrct2.io'
 license=('GPL3')
 depends=('hicolor-icon-theme' 'sdl2' 'curl' 'speexdsp' 'fontconfig'
-         'libpng' 'openssl' 'libzip' 'icu' 'duktape' 'benchmark')
+         'libpng' 'openssl' 'libzip' 'icu' 'duktape' 'benchmark'
+	 'flac' 'libvorbis' 'gtest')
 makedepends=('cmake' 'nlohmann-json')
 options=(!lto)
 optdepends=('zenity: System dialog box support (GNOME/GTK)'
@@ -19,7 +20,7 @@
             'libpulse: PulseAudio audio driver')
 source=($pkgname-$pkgver.tar.gz::https://github.com/OpenRCT2/OpenRCT2/archive/v$pkgver.tar.gz
         googletest-fix-maybe-uninitialized.patch)
-sha256sums=('fc02d002a5dc12861a50d30da8fbcfb26eeb2faa3e2b6d56108fc8a9ed35e5e9'
+sha256sums=('a7ef1995aca7d19d2167ae68ef3a167157582f29c1606bf90878fbb5ba9f14d6'
             '6c4becab25ec1824883a4c1946d4aa4b45534b9a6199b782db7879b78178ff84')
 
 prepare() {
@@ -33,6 +34,8 @@
 build() {
   cd "$srcdir/OpenRCT2-$pkgver/build"
 
+  # https://github.com/OpenRCT2/OpenRCT2/issues/17371
+  export CXXFLAGS+=" -Wno-error=maybe-uninitialized  -Wno-error=restrict  -Wno-error=null-dereference"
   cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
     -DSTATIC=off -DWITH_TESTS=on -DCMAKE_INSTALL_LIBDIR=/usr/lib ..
   make all g2



More information about the arch-commits mailing list