git: c793ea1db006 - main - games/solarus-quest-editor: Update to 1.6.5

From: Danilo Egea Gondolfo <danilo_at_FreeBSD.org>
Date: Wed, 11 Jan 2023 18:15:25 UTC
The branch main has been updated by danilo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c793ea1db00656f61a1a8f826c44434cee16a6e4

commit c793ea1db00656f61a1a8f826c44434cee16a6e4
Author:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
AuthorDate: 2023-01-10 22:17:13 +0000
Commit:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
CommitDate: 2023-01-11 18:15:19 +0000

    games/solarus-quest-editor: Update to 1.6.5
    
     - Update WWW
     - Add LUAJIT option as defined in games/solarus
---
 games/solarus-quest-editor/Makefile                 | 21 +++++++++++++++------
 games/solarus-quest-editor/distinfo                 |  6 +++---
 .../files/patch-src_entities_jumper.cpp             | 10 ----------
 games/solarus-quest-editor/pkg-plist                |  3 ++-
 4 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/games/solarus-quest-editor/Makefile b/games/solarus-quest-editor/Makefile
index 382ad1c11aa7..65a2d8f91caf 100644
--- a/games/solarus-quest-editor/Makefile
+++ b/games/solarus-quest-editor/Makefile
@@ -1,19 +1,17 @@
 PORTNAME=	solarus-quest-editor
-PORTVERSION=	1.6.4
+PORTVERSION=	1.6.5
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
 CATEGORIES=	games
 
 MAINTAINER=	danilo@FreeBSD.org
 COMMENT=	GUI to create and modify quests for the Solarus engine
-WWW=		http://www.solarus-games.org/engine/solarus-quest-editor
+WWW=		https://www.solarus-games.org
 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/license_gpl.txt
 
 LIB_DEPENDS=	libphysfs.so:devel/physfs \
 		libmodplug.so:audio/libmodplug \
-		liblua-5.1.so:lang/lua51 \
 		libvorbis.so:audio/libvorbis \
 		libogg.so:audio/libogg \
 		libsolarus.so:games/solarus \
@@ -24,12 +22,23 @@ USES=		cmake compiler:c++11-lib openal qt:5 sdl
 
 USE_GITLAB=	yes
 GL_ACCOUNT=	solarus-games
-GL_COMMIT=	e541e1312c242bff10aa1fb84a7eb8b6cb8504ba
+GL_COMMIT=	c8d0835c3a62a0e60cdb32d26be8b75485a23a96
 
-CMAKE_ARGS+=	-DSOLARUS_USE_LUAJIT=OFF
 USE_SDL=	sdl2 ttf2 image2
 USE_QT=		buildtools:build concurrent core gui linguist qmake:build widgets
 
+OPTIONS_DEFINE=	LUAJIT
+OPTIONS_DEFAULT_amd64=	LUAJIT
+OPTIONS_DEFAULT_i386=	LUAJIT
+OPTIONS_DEFAULT_powerpc=	LUAJIT
+OPTIONS_DEFAULT_powerpc64=	LUAJIT
+OPTIONS_DEFAULT_powerpc64le=	LUAJIT
+
+LUAJIT_CMAKE_BOOL=	SOLARUS_USE_LUAJIT
+LUAJIT_DESC=	Use LuaJIT instead of standard Lua
+LUAJIT_USES=	luajit
+LUAJIT_USES_OFF=	lua:51
+
 DESKTOP_ENTRIES=	"Solarus Quest Editor" "${COMMENT}" "${PORTNAME}" "${PORTNAME}"  \
 			"Game;" false
 
diff --git a/games/solarus-quest-editor/distinfo b/games/solarus-quest-editor/distinfo
index ffc8e2186b10..b3a180ee5ce9 100644
--- a/games/solarus-quest-editor/distinfo
+++ b/games/solarus-quest-editor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1617890550
-SHA256 (solarus-games-solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba_GL0.tar.gz) = 89d7a62b555a0a9da976be2decd753f909c022f7623a4a98b4e2d5125bc6cef5
-SIZE (solarus-games-solarus-quest-editor-e541e1312c242bff10aa1fb84a7eb8b6cb8504ba_GL0.tar.gz) = 58038936
+TIMESTAMP = 1673303232
+SHA256 (solarus-games-solarus-quest-editor-c8d0835c3a62a0e60cdb32d26be8b75485a23a96_GL0.tar.gz) = 74d619f39d1181752eeab5f7ac12fd003eda74d1299dac57722165c980ffd372
+SIZE (solarus-games-solarus-quest-editor-c8d0835c3a62a0e60cdb32d26be8b75485a23a96_GL0.tar.gz) = 58067507
diff --git a/games/solarus-quest-editor/files/patch-src_entities_jumper.cpp b/games/solarus-quest-editor/files/patch-src_entities_jumper.cpp
deleted file mode 100644
index 5ff58a9d2cc4..000000000000
--- a/games/solarus-quest-editor/files/patch-src_entities_jumper.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/entities/jumper.cpp.orig	2020-05-21 09:50:59 UTC
-+++ src/entities/jumper.cpp
-@@ -17,6 +17,7 @@
- #include "entities/jumper.h"
- #include "map_model.h"
- #include <QPainter>
-+#include <QPainterPath>
- 
- namespace SolarusEditor {
- 
diff --git a/games/solarus-quest-editor/pkg-plist b/games/solarus-quest-editor/pkg-plist
index ae060ff08ca8..ed274baabbc0 100644
--- a/games/solarus-quest-editor/pkg-plist
+++ b/games/solarus-quest-editor/pkg-plist
@@ -22,7 +22,6 @@ share/pixmaps/solarus-quest-editor.png
 %%DATADIR%%/assets/initial_quest/data/enemies/slime_cyan.lua
 %%DATADIR%%/assets/initial_quest/data/enemies/slime_egg.lua
 %%DATADIR%%/assets/initial_quest/data/enemies/slime_green.lua
-%%DATADIR%%/assets/initial_quest/data/enemies/slime_green_small.lua
 %%DATADIR%%/assets/initial_quest/data/enemies/slime_purple.lua
 %%DATADIR%%/assets/initial_quest/data/enemies/slime_red.lua
 %%DATADIR%%/assets/initial_quest/data/enemies/slime_yellow.lua
@@ -310,7 +309,9 @@ share/pixmaps/solarus-quest-editor.png
 %%DATADIR%%/assets/initial_quest/data/sprites/enemies/wings_evil.dat
 %%DATADIR%%/assets/initial_quest/data/sprites/entities/arrow.dat
 %%DATADIR%%/assets/initial_quest/data/sprites/entities/arrow.png
+%%DATADIR%%/assets/initial_quest/data/sprites/entities/block.dat
 %%DATADIR%%/assets/initial_quest/data/sprites/entities/bomb.dat
+%%DATADIR%%/assets/initial_quest/data/sprites/entities/chest.dat
 %%DATADIR%%/assets/initial_quest/data/sprites/entities/crystal.dat
 %%DATADIR%%/assets/initial_quest/data/sprites/entities/crystal_block.dat
 %%DATADIR%%/assets/initial_quest/data/sprites/entities/crystal_block.png