hedgewars: update to 1.0.2.

This version removes the obsolete CMakeSystemSpecificInformation.cmake
module preventing the package from building properly.
This commit is contained in:
Krul Ceter 2022-11-26 23:47:45 +03:00 committed by Michal Vasilek
parent 0a2622e2b4
commit c52dfd4888
3 changed files with 4 additions and 26 deletions

View file

@ -1,13 +0,0 @@
--- a/hedgewars/uWorld.pas
+++ b/hedgewars/uWorld.pas
@@ -1168,8 +1168,8 @@ procedure RenderAttackBar();
procedure ShiftWorld(Dir: LongInt); inline;
begin
preShiftWorldDx:= WorldDx;
- WorldDx:= WorldDx + LongInt(Dir * LongInt(playWidth));
-
+ Dir := Dir * LongInt(playWidth);
+ WorldDx:= WorldDx + Dir;
end;
procedure UnshiftWorld(); inline;

View file

@ -1,10 +0,0 @@
--- a/QTfrontend/ui/page/pagegamestats.cpp
+++ b/QTfrontend/ui/page/pagegamestats.cpp
@@ -22,6 +22,7 @@
#include <QGraphicsScene>
#include <QGroupBox>
#include <QSizePolicy>
+#include <QPainterPath>
#include "pagegamestats.h"
#include "team.h"

View file

@ -1,7 +1,7 @@
# Template file for 'hedgewars'
pkgname=hedgewars
version=1.0.0
revision=3
version=1.0.2
revision=1
build_style=cmake
configure_args="-DNOSERVER=1 -DDATA_INSTALL_DIR=/usr/share/${pkgname}
-DPHYSFS_SYSTEM=1 -DMINIMAL_FLAGS=1"
@ -15,7 +15,7 @@ maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
license="GPL-2.0-only"
homepage="https://www.hedgewars.org/"
distfiles="https://hedgewars.org/download/releases/hedgewars-src-${version}.tar.bz2"
checksum=211634e61f2e4beecc3c98c6f749601fcd08321fda1ba969b3b3832a004f155b
checksum=201fe5e45bd8ca5b3d81b18ec06bd6bbc9fa7c2c63bf019005e2f80be5bcf212
nopie_files="/usr/bin/hwengine"
nocross="Needs investigation: fails to link hwengine"
replaces="hedgewars-data>=0"
@ -53,5 +53,6 @@ pre_configure() {
}
post_install() {
vman man/hedgewars.6
vinstall ${DESTDIR}/usr/share/hedgewars/Data/misc/hedgewars.desktop 644 usr/share/applications
}