summaryrefslogtreecommitdiff
path: root/sysutils/upower
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/upower')
-rw-r--r--sysutils/upower/Makefile37
-rw-r--r--sysutils/upower/distinfo6
-rw-r--r--sysutils/upower/pkg-plist9
3 files changed, 29 insertions, 23 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile
index c353e551682b..c7ee2681540e 100644
--- a/sysutils/upower/Makefile
+++ b/sysutils/upower/Makefile
@@ -1,6 +1,6 @@
PORTNAME= upower
-DISTVERSION= 1.90.7
DISTVERSIONPREFIX= v
+DISTVERSION= 1.90.10
CATEGORIES= sysutils
MAINTAINER= desktop@FreeBSD.org
@@ -10,31 +10,36 @@ WWW= https://upower.freedesktop.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
- libpolkit-gobject-1.so:sysutils/polkit
+LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit
-USES= compiler:c11 gettext gnome localbase meson pkgconfig
+USES= compiler:c11 gettext-tools gnome localbase meson pkgconfig
USE_GITLAB= yes
GL_SITE= https://gitlab.freedesktop.org/
USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
MESON_ARGS= -Dgtk-doc=false \
- -Dos_backend=freebsd \
- -Dudevrulesdir=no \
- -Dudevhwdbdir=no \
- -Dsystemdsystemunitdir=no \
-Didevice=disabled \
+ -Dos_backend=freebsd \
-Dpolkit=enabled \
+ -Dsystemdsystemunitdir=no \
+ -Dudevhwdbdir=no \
+ -Dudevrulesdir=no \
-Dzshcompletiondir=no
LDFLAGS+= -lkvm
-OPTIONS_DEFINE= MANPAGES
-OPTIONS_DEFAULT= MANPAGES
-OPTIONS_SUB= yes
-MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
- docbook-sgml>0:textproc/docbook-sgml \
- docbook-xml>0:textproc/docbook-xml
-MANPAGES_USE= GNOME=libxslt:build
-MANPAGES_MESON_TRUE= man
+OPTIONS_DEFINE= MANPAGES NLS
+OPTIONS_DEFAULT= MANPAGES
+OPTIONS_SUB= yes
+
+MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl \
+ docbook-sgml>0:textproc/docbook-sgml \
+ docbook-xml>0:textproc/docbook-xml
+MANPAGES_USE= GNOME=libxslt:build
+MANPAGES_MESON_TRUE= man
+
+NLS_USES= gettext-runtime
+
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
.include <bsd.port.mk>
diff --git a/sysutils/upower/distinfo b/sysutils/upower/distinfo
index 9e90bc412008..0b2d507046f5 100644
--- a/sysutils/upower/distinfo
+++ b/sysutils/upower/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736543390
-SHA256 (upower-v1.90.7.tar.bz2) = ed1869c2c06fe30e3f5ce29c2835cfe885176bc5806e4f194745560aec7291e6
-SIZE (upower-v1.90.7.tar.bz2) = 153279
+TIMESTAMP = 1756224594
+SHA256 (upower-v1.90.10.tar.bz2) = c1baf418b685ffe4150c8a75c04da0cec70323fe094b5b257b287eea564d3f56
+SIZE (upower-v1.90.10.tar.bz2) = 160031
diff --git a/sysutils/upower/pkg-plist b/sysutils/upower/pkg-plist
index ab23bceec083..b3a3e708279b 100644
--- a/sysutils/upower/pkg-plist
+++ b/sysutils/upower/pkg-plist
@@ -23,10 +23,11 @@ share/dbus-1/interfaces/org.freedesktop.UPower.xml
share/dbus-1/system.d/org.freedesktop.UPower.conf
share/dbus-1/system-services/org.freedesktop.UPower.service
share/gir-1.0/UPowerGlib-1.0.gir
-share/locale/fr/LC_MESSAGES/upower.mo
-share/locale/it/LC_MESSAGES/upower.mo
-share/locale/pl/LC_MESSAGES/upower.mo
-share/locale/sv/LC_MESSAGES/upower.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/upower.mo
+%%NLS%%share/locale/it/LC_MESSAGES/upower.mo
+%%NLS%%share/locale/ka/LC_MESSAGES/upower.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/upower.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/upower.mo
share/polkit-1/actions/org.freedesktop.upower.policy
@dir /var/lib/upower
@dir /var/lib/