Skip to content

Commit

Permalink
www/vimb: Update to 3.7.0
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rosorio committed Aug 7, 2023
1 parent 38888b9 commit ebc2ad8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
6 changes: 3 additions & 3 deletions www/vimb/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
PORTNAME= vimb
DISTVERSION= 3.6.0
PORTREVISION= 1
DISTVERSION= 3.7.0
CATEGORIES= www

MAINTAINER= ports@FreeBSD.org
Expand All @@ -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...
Expand Down
6 changes: 3 additions & 3 deletions www/vimb/distinfo
Original file line number Diff line number Diff line change
@@ -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
23 changes: 23 additions & 0 deletions www/vimb/files/patch-config.mk
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit ebc2ad8

Please sign in to comment.