git: c75e08e6fde6 - main - www/luakit-devel: Update to 2.3.6-7

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Mon, 06 May 2024 17:44:00 UTC
The branch main has been updated by lwhsu:

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

commit c75e08e6fde617270ba00dc5ea11ad9231d7ccbc
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-05-06 17:42:34 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2024-05-06 17:42:34 +0000

    www/luakit-devel: Update to 2.3.6-7
    
    PR:             277941
---
 www/luakit-devel/Makefile              | 22 +++++++++-------------
 www/luakit-devel/distinfo              |  6 +++---
 www/luakit-devel/files/patch-config.mk | 15 +++++++++++++++
 3 files changed, 27 insertions(+), 16 deletions(-)

diff --git a/www/luakit-devel/Makefile b/www/luakit-devel/Makefile
index 06248d7af171..542a86c39496 100644
--- a/www/luakit-devel/Makefile
+++ b/www/luakit-devel/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	luakit
-DISTVERSION=	2.3.3-0
-DISTVERSIONSUFFIX=	-g68e4ffc
-PORTREVISION=	3
+DISTVERSION=	2.3.6-7
+DISTVERSIONSUFFIX=	-g0bc0e39
 PORTEPOCH=	2
 CATEGORIES=	www
 PKGNAMESUFFIX=	-devel
@@ -13,17 +12,13 @@ WWW=		https://luakit.github.io
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING.GPLv3
 
-BUILD_DEPENDS=	help2man:misc/help2man \
-		${LUA_MODLIBDIR}/lfs.so:devel/luafilesystem@${LUA_FLAVOR}
-LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
-		libharfbuzz.so:print/harfbuzz \
+BUILD_DEPENDS=	${LUA_MODLIBDIR}/lfs.so:devel/luafilesystem@${LUA_FLAVOR}
+LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz \
 		libsoup-2.4.so:devel/libsoup \
-		libfreetype.so:print/freetype2 \
-		libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
-		libfontconfig.so:x11-fonts/fontconfig
+		libwebkit2gtk-4.0.so:www/webkit2-gtk3
 RUN_DEPENDS=	${LUA_PKGNAMEPREFIX}luafilesystem>=0:devel/luafilesystem@${LUA_FLAVOR}
 
-USES=		compiler:c++11-lang desktop-file-utils gettext-runtime gmake \
+USES=		compiler:c++11-lang desktop-file-utils gmake \
 		gnome lua:51 pkgconfig sqlite
 USE_GITHUB=	yes
 GH_ACCOUNT=	luakit
@@ -37,6 +32,7 @@ PORTDATA=	*
 PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS LUAJIT
+OPTIONS_DEFAULT=	LUAJIT
 LUAJIT_DESC=	Use the Just-In-Time compiler for lua
 LUAJIT_LIB_DEPENDS=	libluajit-5.1.so:lang/luajit
 LUAJIT_MAKE_ARGS=	USE_LUAJIT=1
@@ -44,9 +40,9 @@ LUAJIT_MAKE_ARGS_OFF=	USE_LUAJIT=0
 
 post-extract:
 	@${REINPLACE_CMD} -e \
-		's|share/man|man| ; s|luakit/doc|doc/luakit| ; \
+		's|luakit/doc|doc/luakit| ; \
 		s|/etc/xdg|${PREFIX}/etc/xdg| ; \
-		s|gnu99|gnu11| ; s|-ggdb||' \
+		s|-ggdb||' \
 		${WRKSRC}/config.mk
 	@${REINPLACE_CMD} -e 's|bin/env lua|&${LUA_VER_STR}|' \
 		${WRKSRC}/build-utils/gentokens.lua
diff --git a/www/luakit-devel/distinfo b/www/luakit-devel/distinfo
index 4227a0757f63..7c837b0275eb 100644
--- a/www/luakit-devel/distinfo
+++ b/www/luakit-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1673789816
-SHA256 (luakit-luakit-2.3.3-0-g68e4ffc_GH0.tar.gz) = 7576866112a7a1c3e3162d5e83025088959b8979147e823e87f573997278cbcb
-SIZE (luakit-luakit-2.3.3-0-g68e4ffc_GH0.tar.gz) = 507448
+TIMESTAMP = 1711344330
+SHA256 (luakit-luakit-2.3.6-7-g0bc0e39_GH0.tar.gz) = 4a95e772ae1870a8c10fdd6d606636e29a4c7b9bc190f1040df012152a0826fd
+SIZE (luakit-luakit-2.3.6-7-g0bc0e39_GH0.tar.gz) = 511284
diff --git a/www/luakit-devel/files/patch-config.mk b/www/luakit-devel/files/patch-config.mk
new file mode 100644
index 000000000000..75fd733c4427
--- /dev/null
+++ b/www/luakit-devel/files/patch-config.mk
@@ -0,0 +1,15 @@
+--- config.mk.orig	2024-03-25 05:36:59 UTC
++++ config.mk
+@@ -98,10 +98,10 @@ PKGS += gthread-2.0
+ # Packages required to build luakit.
+ PKGS += gtk+-3.0
+ PKGS += gthread-2.0
+-PKGS += webkit2gtk-4.1
++PKGS += webkit2gtk-4.0
+ PKGS += sqlite3
+ PKGS += $(LUA_PKG_NAME)
+-PKGS += javascriptcoregtk-4.1
++PKGS += javascriptcoregtk-4.0
+
+ # Check user has correct packages installed (and found by pkg-config).
+ PKGS_OK := $(shell $(PKG_CONFIG) --print-errors --exists $(PKGS) && echo 1)