[arch-commits] Commit in hedgewars/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Nov 21 14:34:45 UTC 2020
Date: Saturday, November 21, 2020 @ 14:34:45
Author: felixonmars
Revision: 758486
upgpkg: hedgewars 1.0.0-119: build with latest network 3
Modified:
hedgewars/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-21 13:37:49 UTC (rev 758485)
+++ PKGBUILD 2020-11-21 14:34:45 UTC (rev 758486)
@@ -4,7 +4,7 @@
pkgname=hedgewars
pkgver=1.0.0
-pkgrel=118
+pkgrel=119
pkgdesc="Turn-based strategy artillery game similiar to Worms"
arch=('x86_64')
url="https://hedgewars.org"
@@ -11,15 +11,19 @@
license=('GPL' 'custom')
depends=('qt5-base' 'sdl2' 'sdl2_mixer' 'sdl2_image' 'sdl2_net' 'sdl2_ttf' 'lua51' 'ffmpeg' 'glut'
'physfs' 'ghc-libs' 'haskell-entropy' 'haskell-sha' 'haskell-random' 'haskell-regex-tdfa'
- 'haskell-sandi' 'haskell-hslogger' 'haskell-network2.8' 'haskell-utf8-string' 'haskell-vector')
-makedepends=('fpc' 'cmake' 'qt5-tools' 'ghc' 'haskell-bytestring-show'
- 'haskell-zlib' 'haskell-base-prelude' 'imagemagick' 'mesa')
-source=("https://www.hedgewars.org/download/releases/hedgewars-src-$pkgver.tar.bz2")
-sha512sums=('9aeb904550239040a878a0e7ae5006aa4d824124b61d813b9e6f6dfe1bd1c8f5fe395e0fd6e58d685ef1259abd4669e03b985be129c620be15f6e5ad82519ec2')
+ 'haskell-sandi' 'haskell-hslogger' 'haskell-network' 'haskell-network-bsd'
+ 'haskell-utf8-string' 'haskell-vector')
+makedepends=('fpc' 'cmake' 'qt5-tools' 'ghc' 'haskell-bytestring-show' 'haskell-zlib'
+ 'haskell-base-prelude' 'imagemagick' 'mesa')
+source=("https://www.hedgewars.org/download/releases/hedgewars-src-$pkgver.tar.bz2"
+ hedgewars-network-3.patch::https://github.com/hedgewars/hw/commit/f813f3d5b63bb5be1b5e0b44930e77656c547aad.patch)
+sha512sums=('9aeb904550239040a878a0e7ae5006aa4d824124b61d813b9e6f6dfe1bd1c8f5fe395e0fd6e58d685ef1259abd4669e03b985be129c620be15f6e5ad82519ec2'
+ '1b36e26986897f613a6ce98479114035be1d76fe256e50d4743506f8d5651ff09a1d694f501a286ca6444d21ca24d52f878cf42be098943fb798c44dca227abf')
prepare() {
cd hedgewars-src-$pkgver
- sed -i 's|set(ghc_flags|set(ghc_flags -dynamic -package network-2.8.0.1 -hide-package network-bsd|' gameServer/CMakeLists.txt
+ patch -p1 -i ../hedgewars-network-3.patch
+ sed -i 's|set(ghc_flags|set(ghc_flags -dynamic|' gameServer/CMakeLists.txt
sed -i '/#include <QSizePolicy>/a #include <QPainterPath>' QTfrontend/ui/page/pagegamestats.cpp
# https://bugs.freepascal.org/view.php?id=37286
More information about the arch-commits
mailing list