> As it's not needed for normal use of vimb, it's probably better handled as 
> a note in DESCR or README than a hard dependency (same is done with ffmpeg 
> for video playback in Firefox).

Understood, I've added a README with the same wording as the one
from the Firefox package. For some reason 'port-lib-depends-check'
still complains, so I kept the new WANTLIBs. Please see updated
diff below.

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/vimb/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile    21 Jun 2023 10:59:13 -0000      1.25
+++ Makefile    23 Aug 2023 19:14:41 -0000
@@ -1,4 +1,5 @@
 COMMENT =      modal webkit-based browser inspired by vim
+REVISION =     0
 
 GH_ACCOUNT =   fanglingsu
 GH_PROJECT =   vimb
@@ -12,6 +13,7 @@ HOMEPAGE =    https://fanglingsu.github.io/
 PERMIT_PACKAGE =       Yes
 
 WANTLIB += atk-1.0 c cairo cairo-gobject gdk-3 gdk_pixbuf-2.0
+WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gtk-3 harfbuzz
 WANTLIB += intl javascriptcoregtk-4.1 pango-1.0 pangocairo-1.0
 WANTLIB += pthread soup-3.0 webkit2gtk-4.1
 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/vimb/pkg/PLIST,v
retrieving revision 1.8
diff -u -p -r1.8 PLIST
--- pkg/PLIST   21 Jun 2023 10:59:13 -0000      1.8
+++ pkg/PLIST   23 Aug 2023 19:14:41 -0000
@@ -4,5 +4,6 @@ lib/vimb/
 @man man/man1/vimb.1
 share/applications/vimb.desktop
 @tag update-desktop-database
+share/doc/pkg-readmes/${PKGSTEM}
 share/metainfo/
 share/metainfo/vimb.metainfo.xml
Index: pkg/README
===================================================================
RCS file: pkg/README
diff -N pkg/README
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/README  23 Aug 2023 19:14:41 -0000
@@ -0,0 +1,8 @@
++-------------------------------------------------------------------------------
+| Running ${PKGSTEM} on OpenBSD
++-------------------------------------------------------------------------------
+
+For a full multimedia experience, such as playing MP3 audio or MPEG
+videos, install the "gstreamer1-plugins-libav" package:
+
+# pkg_add gstreamer1-plugins-libav

Reply via email to