pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/upower
Module Name: pkgsrc
Committed By: vins
Date: Sat May 2 07:27:23 UTC 2026
Modified Files:
pkgsrc/sysutils/upower: Makefile options.mk
Log Message:
sysutils/upower: allow optional imobiledevice support
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/sysutils/upower/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/upower/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/upower/Makefile
diff -u pkgsrc/sysutils/upower/Makefile:1.31 pkgsrc/sysutils/upower/Makefile:1.32
--- pkgsrc/sysutils/upower/Makefile:1.31 Thu Apr 30 16:24:01 2026
+++ pkgsrc/sysutils/upower/Makefile Sat May 2 07:27:23 2026
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.31 2026/04/30 16:24:01 vins Exp $
+# $NetBSD: Makefile,v 1.32 2026/05/02 07:27:23 vins Exp $
DISTNAME= upower-v1.91.2
PKGNAME= ${DISTNAME:S/v//}
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://gitlab.freedesktop.org/upower/upower/-/archive/v${PKGVERSION_NOREV}/
EXTRACT_SUFX= .tar.bz2
@@ -27,8 +28,6 @@ CONF_FILES+= ${EGDIR}/UPower.conf ${PKG
CONF_FILES+= ${EGDIR}/org.freedesktop.UPower.conf \
${PKG_SYSCONFBASE}/dbus-1/system.d/org.freedesktop.UPower.conf
-PKGCONFIG_OVERRIDE+= upower-glib.pc.in
-
.include "../../mk/bsd.prefs.mk"
# Free/OpenBSD and Linux are officially supported.
Index: pkgsrc/sysutils/upower/options.mk
diff -u pkgsrc/sysutils/upower/options.mk:1.5 pkgsrc/sysutils/upower/options.mk:1.6
--- pkgsrc/sysutils/upower/options.mk:1.5 Thu Apr 30 16:24:01 2026
+++ pkgsrc/sysutils/upower/options.mk Sat May 2 07:27:23 2026
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.5 2026/04/30 16:24:01 vins Exp $
+# $NetBSD: options.mk,v 1.6 2026/05/02 07:27:23 vins Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.upower
-PKG_SUPPORTED_OPTIONS+= doc introspection polkit
+PKG_SUPPORTED_OPTIONS+= doc idevice introspection polkit
PKG_SUGGESTED_OPTIONS= introspection polkit
PLIST_VARS+= doc introspection polkit
@@ -33,6 +33,17 @@ MESON_ARGS+= -Dintrospection=disabled
.endif
###
+### Enable libimobiledevice support
+###
+.if !empty(PKG_OPTIONS:Midevice)
+.include "../../comms/libimobiledevice/buildlink3.mk"
+MESON_ARGS+= -Didevice=enabled
+.else
+MESON_ARGS+= -Didevice=disabled
+.endif
+
+
+###
### Polkit support in UPower Daemon
###
.if !empty(PKG_OPTIONS:Mpolkit)
Home |
Main Index |
Thread Index |
Old Index