1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

www/luakit-devel: Update to 2.3.6-7

PR:		277941
This commit is contained in:
mew14930xvi 2024-05-07 01:42:34 +08:00 committed by Li-Wen Hsu
parent 57f47b39c2
commit c75e08e6fd
No known key found for this signature in database
GPG Key ID: 82B261B14D3BC7AF
3 changed files with 27 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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)