git: cffe8a902ad7 - main - devel/libgusb: fix vala binding option and rename it
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Dec 2022 17:25:05 UTC
The branch main has been updated by tcberner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cffe8a902ad7752e091d092baf59e549346447ff
commit cffe8a902ad7752e091d092baf59e549346447ff
Author: VVD <vvd@unislabs.com>
AuthorDate: 2022-12-20 17:21:29 +0000
Commit: Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-12-20 17:23:28 +0000
devel/libgusb: fix vala binding option and rename it
The option was previously called VALA. The canonical name for vala
binding options is VAPI. So switch to that.
Further the meson option was also renamed from vala to vapi, so update
the option switch accordingly.
PR: 267239
---
devel/libgusb/Makefile | 9 +++++----
devel/libgusb/pkg-plist | 4 ++--
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/devel/libgusb/Makefile b/devel/libgusb/Makefile
index af4867a45e77..11fae343688a 100644
--- a/devel/libgusb/Makefile
+++ b/devel/libgusb/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libgusb
PORTVERSION= 0.3.10
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= gnome@FreeBSD.org
@@ -18,8 +19,8 @@ GH_ACCOUNT= hughsie
USE_GNOME= glib20 introspection:build
-OPTIONS_DEFINE= DOCS VALA
-OPTIONS_DEFAULT= DOCS VALA
+OPTIONS_DEFINE= DOCS VAPI
+OPTIONS_DEFAULT= DOCS VAPI
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
@@ -27,8 +28,8 @@ OPTIONS_SUB= yes
.if !${PORT_OPTIONS:MDOCS}
MESON_ARGS+= -Ddocs=false
.endif
-.if !${PORT_OPTIONS:MVALA}
-MESON_ARGS+= -Dvala=false
+.if !${PORT_OPTIONS:MVAPI}
+MESON_ARGS+= -Dvapi=false
.endif
.include <bsd.port.mk>
diff --git a/devel/libgusb/pkg-plist b/devel/libgusb/pkg-plist
index 0fe7247b98c9..8ee1520d05fd 100644
--- a/devel/libgusb/pkg-plist
+++ b/devel/libgusb/pkg-plist
@@ -41,5 +41,5 @@ share/gir-1.0/GUsb-1.0.gir
%%DOCS%%share/gtk-doc/html/gusb/style.css
%%DOCS%%share/gtk-doc/html/gusb/up-insensitive.png
%%DOCS%%share/gtk-doc/html/gusb/up.png
-%%VALA%%share/vala/vapi/gusb.deps
-%%VALA%%share/vala/vapi/gusb.vapi
+%%VAPI%%share/vala/vapi/gusb.deps
+%%VAPI%%share/vala/vapi/gusb.vapi