aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Duchateau <duchateau.olivier@gmail.com>2024-11-28 12:52:26 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2024-11-28 12:53:25 +0000
commite279871d61c9f2c40d5127c464685e7e0d02f1c5 (patch)
treee6534ae2b0b1c4d28b665e7dd99f2943bcf4bd8e
parentf0ec11ac76dc991d270c867f9db97e24c02d62f3 (diff)
downloadports-e279871d61c9f2c40d5127c464685e7e0d02f1c5.tar.gz
ports-e279871d61c9f2c40d5127c464685e7e0d02f1c5.zip
sysutils/upower: Update to 1.90.6
Adjust dependencies, man pages build fine without textproc/gtk-doc PR: 282970
-rw-r--r--sysutils/upower/Makefile14
-rw-r--r--sysutils/upower/distinfo6
-rw-r--r--sysutils/upower/pkg-plist1
3 files changed, 11 insertions, 10 deletions
diff --git a/sysutils/upower/Makefile b/sysutils/upower/Makefile
index 5fa0e59cb5d6..6c05643139fe 100644
--- a/sysutils/upower/Makefile
+++ b/sysutils/upower/Makefile
@@ -1,6 +1,6 @@
PORTNAME= upower
-DISTVERSION= 1.90.2
-PORTREVISION= 1
+DISTVERSION= 1.90.6
+DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= desktop@FreeBSD.org
@@ -10,12 +10,12 @@ WWW= https://upower.freedesktop.org/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib
+LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
+ libpolkit-gobject-1.so:sysutils/polkit
USES= compiler:c11 gettext gnome localbase meson pkgconfig
USE_GITLAB= yes
GL_SITE= https://gitlab.freedesktop.org/
-GL_TAGNAME= 8dcf54440d7eb58b75d7982bc1c29ee35dccf0c2
USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
MESON_ARGS= -Dgtk-doc=false \
@@ -24,7 +24,8 @@ MESON_ARGS= -Dgtk-doc=false \
-Dudevrulesdir=no \
-Dudevhwdbdir=no \
-Dsystemdsystemunitdir=no \
- -Didevice=disabled
+ -Didevice=disabled \
+ -Dpolkit=enabled
LDFLAGS+= -lkvm
OPTIONS_DEFINE= MANPAGES
@@ -32,8 +33,7 @@ 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 \
- gtkdoc-scan:textproc/gtk-doc
+ docbook-xml>0:textproc/docbook-xml
MANPAGES_USE= GNOME=libxslt:build
MANPAGES_MESON_TRUE= man
diff --git a/sysutils/upower/distinfo b/sysutils/upower/distinfo
index 4139a7c2f586..3ce7ea607ab4 100644
--- a/sysutils/upower/distinfo
+++ b/sysutils/upower/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688738596
-SHA256 (upower-upower-8dcf54440d7eb58b75d7982bc1c29ee35dccf0c2_GL0.tar.gz) = 6fa0871856c0093ca88809066748591cfd62996214021e0ace747cc359f8d207
-SIZE (upower-upower-8dcf54440d7eb58b75d7982bc1c29ee35dccf0c2_GL0.tar.gz) = 180814
+TIMESTAMP = 1732359685
+SHA256 (upower-v1.90.6.tar.bz2) = aed4e42a21307512ad236ad58d7ee4e0196670c8524a168a0edccdc32964ea0c
+SIZE (upower-v1.90.6.tar.bz2) = 150986
diff --git a/sysutils/upower/pkg-plist b/sysutils/upower/pkg-plist
index bf54e5c24c3b..ab23bceec083 100644
--- a/sysutils/upower/pkg-plist
+++ b/sysutils/upower/pkg-plist
@@ -27,5 +27,6 @@ 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
+share/polkit-1/actions/org.freedesktop.upower.policy
@dir /var/lib/upower
@dir /var/lib/