pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/dunst



Module Name:    pkgsrc
Committed By:   kikadf
Date:           Wed Apr 15 10:07:17 UTC 2026

Modified Files:
        pkgsrc/x11/dunst: Makefile
Added Files:
        pkgsrc/x11/dunst: options.mk

Log Message:
dunst: add optional wayland support


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/x11/dunst/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/dunst/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/x11/dunst/Makefile
diff -u pkgsrc/x11/dunst/Makefile:1.54 pkgsrc/x11/dunst/Makefile:1.55
--- pkgsrc/x11/dunst/Makefile:1.54      Sun Mar 22 15:53:15 2026
+++ pkgsrc/x11/dunst/Makefile   Wed Apr 15 10:07:17 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.54 2026/03/22 15:53:15 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2026/04/15 10:07:17 kikadf Exp $
 
 DISTNAME=      dunst-1.13.2
+PKGREVISION=   1
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=dunst-project/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -17,7 +18,8 @@ USE_TOOLS+=   bash:test gmake pod2man pkg-
 TEST_TARGET=   test
 
 MAKE_FLAGS+=   SYSTEMD=0
-MAKE_FLAGS+=   WAYLAND=0
+
+.include "options.mk"
 
 REPLACE_SH+=   contrib/progress-notify.sh
 REPLACE_BASH+= contrib/dunst_xr_theme_changer.sh

Added files:

Index: pkgsrc/x11/dunst/options.mk
diff -u /dev/null pkgsrc/x11/dunst/options.mk:1.1
--- /dev/null   Wed Apr 15 10:07:17 2026
+++ pkgsrc/x11/dunst/options.mk Wed Apr 15 10:07:17 2026
@@ -0,0 +1,20 @@
+# $NetBSD: options.mk,v 1.1 2026/04/15 10:07:17 kikadf Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.dunst
+PKG_SUPPORTED_OPTIONS= wayland
+
+.include "../../devel/wayland/platform.mk"
+
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS+=        wayland
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mwayland)
+.include "../../devel/input-headers/buildlink3.mk"
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.else
+MAKE_FLAGS+=   WAYLAND=0
+.endif



Home | Main Index | Thread Index | Old Index