git: ebc2ad83fecd - main - www/vimb: Update to 3.7.0

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Mon, 07 Aug 2023 21:40:16 UTC
The branch main has been updated by rodrigo:

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

commit ebc2ad83fecd2557e5a25d98d9ad4dc9933c8ca2
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2023-08-07 10:31:26 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2023-08-07 21:15:39 +0000

    www/vimb: Update to 3.7.0
    
    Full changelog: https://github.com/fanglingsu/vimb/releases/tag/3.7.0
    
    Port update:
        * Patch config.mk to add the list of used libraries used by pkg-config
---
 www/vimb/Makefile              |  6 +++---
 www/vimb/distinfo              |  6 +++---
 www/vimb/files/patch-config.mk | 23 +++++++++++++++++++++++
 3 files changed, 29 insertions(+), 6 deletions(-)

diff --git a/www/vimb/Makefile b/www/vimb/Makefile
index fab70dad2864..091f1b5f029d 100644
--- a/www/vimb/Makefile
+++ b/www/vimb/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	vimb
-DISTVERSION=	3.6.0
-PORTREVISION=	1
+DISTVERSION=	3.7.0
 CATEGORIES=	www
 
 MAINTAINER=	ports@FreeBSD.org
@@ -27,7 +26,8 @@ LDFLAGS+=	-Wl,--as-needed
 PLIST_FILES=	bin/vimb \
 		lib/vimb/webext_main.so \
 		man/man1/vimb.1.gz \
-		share/applications/vimb.desktop
+		share/applications/vimb.desktop \
+		share/metainfo/vimb.metainfo.xml
 
 post-patch:
 # .git/index needs to exist to generate version.h...
diff --git a/www/vimb/distinfo b/www/vimb/distinfo
index ff091c3aaac8..dcf730f2bb5a 100644
--- a/www/vimb/distinfo
+++ b/www/vimb/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1578004493
-SHA256 (fanglingsu-vimb-3.6.0_GH0.tar.gz) = a8db68df98841f07cbf9b2aa026e5105aab83f809da1d1663defff81250d921e
-SIZE (fanglingsu-vimb-3.6.0_GH0.tar.gz) = 144750
+TIMESTAMP = 1691266212
+SHA256 (fanglingsu-vimb-3.7.0_GH0.tar.gz) = 025b785891f3dc536827eaffaccd56b7d90455a310146180ee168a3cb0501577
+SIZE (fanglingsu-vimb-3.7.0_GH0.tar.gz) = 149769
diff --git a/www/vimb/files/patch-config.mk b/www/vimb/files/patch-config.mk
new file mode 100644
index 000000000000..902c092eb6c1
--- /dev/null
+++ b/www/vimb/files/patch-config.mk
@@ -0,0 +1,23 @@
+--- config.mk.orig	2023-06-19 20:39:23.000000000 +0000
++++ config.mk	2023-08-07 07:27:35.408991000 +0000
+@@ -18,7 +18,7 @@ SRCDIR  = src
+ DOCDIR  = doc
+ 
+ # used libs
+-LIBS = gtk+-3.0 webkit2gtk-4.1
++LIBS = gtk+-3.0 webkit2gtk-4.0 gdk-pixbuf-2.0 cairo harfbuzz pango glib-2.0 harfbuzz atk
+ 
+ # setup general used CFLAGS
+ CFLAGS   += -std=c99 -pipe -Wall -fPIC
+@@ -35,9 +35,9 @@ endif
+ 
+ # flags used to build webextension
+ EXTTARGET   = webext_main.so
+-EXTCFLAGS   = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-web-extension-4.1)
++EXTCFLAGS   = ${CFLAGS} $(shell pkg-config --cflags webkit2gtk-web-extension-4.0)
+ EXTCPPFLAGS = $(CPPFLAGS)
+-EXTLDFLAGS  = ${LDFLAGS} $(shell pkg-config --libs webkit2gtk-web-extension-4.1) -shared
++EXTLDFLAGS  = ${LDFLAGS} $(shell pkg-config --libs webkit2gtk-web-extension-4.0) -shared
+ 
+ # flags used for the main application
+ CFLAGS     += $(shell pkg-config --cflags $(LIBS))