pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

upower: Add gudev and libusb1 dependencies



Module Name:	pkgsrc-wip
Committed By:	Dan Cîrnaț <dan%alt.md@localhost>
Pushed By:	cirnatdan
Date:		Tue Nov 23 11:31:20 2021 +0100
Changeset:	b6123497933ddfc9818d4d20b7e90304b1ddf9d3

Modified Files:
	upower/Makefile
Added Files:
	upower/PLIST.Linux

Log Message:
upower: Add gudev and libusb1 dependencies

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b6123497933ddfc9818d4d20b7e90304b1ddf9d3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 upower/Makefile    |  7 ++++++-
 upower/PLIST.Linux | 10 ++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diffs:
diff --git a/upower/Makefile b/upower/Makefile
index 88ca7151e2..87b87aa97a 100644
--- a/upower/Makefile
+++ b/upower/Makefile
@@ -9,7 +9,7 @@ EXTRACT_SUFX=	.tar.xz
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://upower.freedesktop.org/releases/
-COMMENT=	UPower is an abstraction for enumerating power devices
+COMMENT=	Astraction for enumerating power devices
 LICENSE=	gnu-gpl-v2
 
 BUILD_DEPENDS+=	libxslt-[0-9]*:../../textproc/libxslt
@@ -39,6 +39,11 @@ BUILD_DEFS+=	VARBASE
 
 .include "options.mk"
 
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Linux"
+.include "../../wip/libgudev/buildlink3.mk"
+.endif
+.include "../../devel/libusb1/buildlink3.mk"
 .include "../../security/polkit/buildlink3.mk"
 BUILDLINK_API_DEPENDS.dbus+=	dbus>=1.0
 .include "../../sysutils/dbus/buildlink3.mk"
diff --git a/upower/PLIST.Linux b/upower/PLIST.Linux
new file mode 100644
index 0000000000..bb82027717
--- /dev/null
+++ b/upower/PLIST.Linux
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+lib/udev/rules.d/95-upower-battery-recall-dell.rules
+lib/udev/rules.d/95-upower-battery-recall-fujitsu.rules
+lib/udev/rules.d/95-upower-battery-recall-gateway.rules
+lib/udev/rules.d/95-upower-battery-recall-ibm.rules
+lib/udev/rules.d/95-upower-battery-recall-lenovo.rules
+lib/udev/rules.d/95-upower-battery-recall-toshiba.rules
+lib/udev/rules.d/95-upower-csr.rules
+lib/udev/rules.d/95-upower-hid.rules
+lib/udev/rules.d/95-upower-wup.rules


Home | Main Index | Thread Index | Old Index