pkgsrc-WIP-changes archive

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

waybar: add udev dependency on linux



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Mon Aug 24 16:05:12 2026 +0200
Changeset:	a25e7921b9a3c63c79a7f809fb580c53bb5c4c59

Modified Files:
	waybar/Makefile

Log Message:
waybar: add udev dependency on linux

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

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

diffstat:
 waybar/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/waybar/Makefile b/waybar/Makefile
index b363e4b20a..56da9bf28f 100644
--- a/waybar/Makefile
+++ b/waybar/Makefile
@@ -6,7 +6,7 @@ MASTER_SITES=	${MASTER_SITE_GITHUB:=Alexays/}
 GITHUB_PROJECT=	Waybar
 GITHUB_TAG=	${PKGVERSION_NOREV}
 
-MAINTAINER=	kikadf.01%gmail.com@localhost
+MAINTAINER=	kikadf%NetBSD.org@localhost
 HOMEPAGE=	https://github.com/Alexays/Waybar/
 COMMENT=	Wayland bar for Wlroots based compositors
 LICENSE=	mit
@@ -41,6 +41,12 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/resources/custom_modules/power_menu.xml \
 		${DESTDIR}${EGDIR}
 
+# Linux uses udev for battery plugin
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} == "Linux"
+.include "../../sysutils/libudev/buildlink3.mk"
+.endif
+
 .include "../../devel/meson/build.mk"
 .include "../../textproc/scdoc/tool.mk"
 .include "../../devel/chrono-date/buildlink3.mk"


Home | Main Index | Thread Index | Old Index