pkgsrc-WIP-changes archive

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

Import kanshi



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Mon Mar 9 17:33:20 2026 +0100
Changeset:	5be87e98c800c4edb2533ba514604e7a2169848a

Modified Files:
	Makefile
Added Files:
	kanshi/DESCR
	kanshi/Makefile
	kanshi/PLIST
	kanshi/distinfo

Log Message:
Import kanshi

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

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

diffstat:
 Makefile        |  1 +
 kanshi/DESCR    |  8 ++++++++
 kanshi/Makefile | 23 +++++++++++++++++++++++
 kanshi/PLIST    |  4 ++++
 kanshi/distinfo |  5 +++++
 5 files changed, 41 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index d0034e2ee0..64f528a7f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1912,6 +1912,7 @@ SUBDIR+=	kakoune-lsp
 SUBDIR+=	kallisto
 SUBDIR+=	kamailio
 SUBDIR+=	kannel-gateway
+SUBDIR+=	kanshi
 SUBDIR+=	kapacitor
 SUBDIR+=	kapow
 SUBDIR+=	kawa
diff --git a/kanshi/DESCR b/kanshi/DESCR
new file mode 100644
index 0000000000..c2f261941d
--- /dev/null
+++ b/kanshi/DESCR
@@ -0,0 +1,8 @@
+Kanshi allows you to define output profiles
+that are automatically enabled and disabled
+on hotplug. For instance, this can be used
+to turn a laptop's internal screen off when
+docked. This is a Wayland equivalent for
+tools like autorandr. Kanshi can be used on
+Wayland compositors supporting the
+wlr-output-management protocol.
diff --git a/kanshi/Makefile b/kanshi/Makefile
new file mode 100644
index 0000000000..dd3c7515ea
--- /dev/null
+++ b/kanshi/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=		kanshi-1.9.0
+CATEGORIES=		x11
+MASTER_SITE_GITLAB=	https://gitlab.freedesktop.org/
+MASTER_SITES=		${MASTER_SITE_GITLAB:=emersion/}
+GITLAB_TAG=		v${PKGVERSION_NOREV}
+
+MAINTAINER=		kikadf.01%gmail.com@localhost
+HOMEPAGE=		https://gitlab.freedesktop.org/emersion/kanshi
+COMMENT=		Dynamic display configuration for Wayland
+LICENSE=		mit
+
+USE_TOOLS+=		pkg-config
+WRKSRC=			${WRKDIR}/kanshi-${GITLAB_TAG}
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../wip/libscfg/buildlink3.mk"
+.include "../../wip/vali/buildlink3.mk"
+.include "../../textproc/scdoc/tool.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/kanshi/PLIST b/kanshi/PLIST
new file mode 100644
index 0000000000..80bb93a3a0
--- /dev/null
+++ b/kanshi/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/kanshi
+man/man1/kanshi.1
+man/man5/kanshi.5
diff --git a/kanshi/distinfo b/kanshi/distinfo
new file mode 100644
index 0000000000..cefe60db95
--- /dev/null
+++ b/kanshi/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (kanshi-1.9.0.tar.gz) = 3b57de6f46ffcb188a8d6525611209a6efc2bf74fb32d61451b8b4f5b2fc4dc2
+SHA512 (kanshi-1.9.0.tar.gz) = 1eeb1ec70c233345d61bfa8da5765b5e97be176ffa8be4d04154d67d4df8eec8176898ec4529a49144e4eaa977c94876e040acd93e1266095bc32e59bd19a0e8
+Size (kanshi-1.9.0.tar.gz) = 24045 bytes


Home | Main Index | Thread Index | Old Index