aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Duchateau <duchateau.olivier@gmail.com>2025-03-09 17:31:15 +0000
committerGleb Popov <arrowd@FreeBSD.org>2025-03-09 18:07:36 +0000
commit4cf452d1bb3ffe576abf8fd30aba788261877e9d (patch)
treeb3568c468bea46eea0f5257739fceccb9f87d352
parentf87670494f1a995214d9f979590aa0f7699aa6b9 (diff)
sysutils/accountsservice: Add VAPI option
PR: 285288
-rw-r--r--sysutils/accountsservice/Makefile10
-rw-r--r--sysutils/accountsservice/pkg-plist2
2 files changed, 10 insertions, 2 deletions
diff --git a/sysutils/accountsservice/Makefile b/sysutils/accountsservice/Makefile
index d7b57124c667..1717fa4db052 100644
--- a/sysutils/accountsservice/Makefile
+++ b/sysutils/accountsservice/Makefile
@@ -1,6 +1,6 @@
PORTNAME= accountsservice
PORTVERSION= 23.13.9
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils devel
MASTER_SITES= https://www.freedesktop.org/software/${PORTNAME}/
@@ -23,7 +23,6 @@ MESON_ARGS= -Dconsolekit=true \
-Dgdmconffile=${LOCALBASE}/etc/gdm/custom.conf \
-Dlightdmconffile=${LOCALBASE}/etc/lightdm/lightdm.conf \
-Dsystemdsystemunitdir=no \
- -Dvapi=false \
-Dtests=false
USE_GITLAB= yes
@@ -31,4 +30,11 @@ GL_SITE= https://gitlab.freedesktop.org
GL_ACCOUNT= arrowd
GL_TAGNAME= 665c4390164f47283f234970087105e52245ae67
+OPTIONS_DEFINE= VAPI
+OPTIONS_DEFAULT= VAPI
+OPTIONS_SUB= yes
+
+VAPI_USES= vala:build
+VAPI_MESON_TRUE= vapi
+
.include <bsd.port.mk>
diff --git a/sysutils/accountsservice/pkg-plist b/sysutils/accountsservice/pkg-plist
index fd029358fc1b..4b159291e445 100644
--- a/sysutils/accountsservice/pkg-plist
+++ b/sysutils/accountsservice/pkg-plist
@@ -90,6 +90,8 @@ share/locale/zh_CN/LC_MESSAGES/accounts-service.mo
share/locale/zh_HK/LC_MESSAGES/accounts-service.mo
share/locale/zh_TW/LC_MESSAGES/accounts-service.mo
share/polkit-1/actions/org.freedesktop.accounts.policy
+%%VAPI%%share/vala/vapi/accountsservice.deps
+%%VAPI%%share/vala/vapi/accountsservice.vapi
@dir(,,0775) /var/db/AccountsService/icons
@dir(,,0700) /var/db/AccountsService/users
@dir /var/db/AccountsService