aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-09-04 10:13:59 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-05 08:26:39 +0700
commitf9aa370481cedfab874caeebfabebc5b148d6796 (patch)
treed5777a6940c5c7f8601665a4228f0c4b5614ecbe /games
parentc3669930f62a8263136f37149212bffa634533aa (diff)
games/solarus-quest-editor: Updated for version 1.6.4.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/solarus-quest-editor/qt-5.15.patch25
-rw-r--r--games/solarus-quest-editor/solarus-quest-editor.SlackBuild9
-rw-r--r--games/solarus-quest-editor/solarus-quest-editor.info8
3 files changed, 36 insertions, 6 deletions
diff --git a/games/solarus-quest-editor/qt-5.15.patch b/games/solarus-quest-editor/qt-5.15.patch
new file mode 100644
index 0000000000000..05f91b101cdd0
--- /dev/null
+++ b/games/solarus-quest-editor/qt-5.15.patch
@@ -0,0 +1,25 @@
+From 81d5c7f1602cf355684d70a5e3449fefccfc44b8 Mon Sep 17 00:00:00 2001
+From: Hugo Hromic <hhromic@gmail.com>
+Date: Mon, 1 Jun 2020 18:45:16 +0100
+Subject: [PATCH] Add missing include directive for QPainterPath
+
+* Not implicit anymore since Qt 5.15
+---
+ src/entities/jumper.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/entities/jumper.cpp b/src/entities/jumper.cpp
+index 5d4b31e0..edd38fa9 100644
+--- a/src/entities/jumper.cpp
++++ b/src/entities/jumper.cpp
+@@ -17,6 +17,7 @@
+ #include "entities/jumper.h"
+ #include "map_model.h"
+ #include <QPainter>
++#include <QPainterPath>
+
+ namespace SolarusEditor {
+
+--
+GitLab
+
diff --git a/games/solarus-quest-editor/solarus-quest-editor.SlackBuild b/games/solarus-quest-editor/solarus-quest-editor.SlackBuild
index 4242ab626e943..be49584f04a04 100644
--- a/games/solarus-quest-editor/solarus-quest-editor.SlackBuild
+++ b/games/solarus-quest-editor/solarus-quest-editor.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for solarus-quest-editor
-# Copyright 2015-2019 Hunter Sezen California, USA
+# Copyright 2015-2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=solarus-quest-editor
-VERSION=${VERSION:-1.6.2}
+VERSION=${VERSION:-1.6.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Add missing include directive for QPainterPath
+# https://gitlab.com/solarus-games/solarus-quest-editor/-/merge_requests/421
+# https://gitlab.com/solarus-games/solarus-quest-editor/-/commit/81d5c7f1602cf355684d70a5e3449fefccfc44b8
+patch -p1 < $CWD/qt-5.15.patch
+
mkdir -p build
cd build
cmake \
diff --git a/games/solarus-quest-editor/solarus-quest-editor.info b/games/solarus-quest-editor/solarus-quest-editor.info
index 4cb0fecaa13b6..b63f110578355 100644
--- a/games/solarus-quest-editor/solarus-quest-editor.info
+++ b/games/solarus-quest-editor/solarus-quest-editor.info
@@ -1,10 +1,10 @@
PRGNAM="solarus-quest-editor"
-VERSION="1.6.2"
+VERSION="1.6.4"
HOMEPAGE="https://www.solarus-games.org/"
-DOWNLOAD="https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v1.6.2/solarus-quest-editor-v1.6.2.tar.gz"
-MD5SUM="41baa5f00f714baffd825e5efcf9c237"
+DOWNLOAD="https://gitlab.com/solarus-games/solarus-quest-editor/-/archive/v1.6.4/solarus-quest-editor-v1.6.4.tar.gz"
+MD5SUM="3eebb8c607e6c212b1aaf29478c3958d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="glm solarus qt5"
+REQUIRES="solarus qt5"
MAINTAINER="Hunter Sezen"
EMAIL="orbea@riseup.net"