diff options
author | jbeich <jbeich@FreeBSD.org> | 2019-08-11 14:40:40 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2019-08-11 14:40:40 +0800 |
commit | c3559a9eb97fd26417bcfbf233c54a6447f23829 (patch) | |
tree | 1ba4813db88e117091ee9381ea806b40dcbf4364 | |
parent | 3042b3ae901b14051d34ddca31c55e80186c572c (diff) | |
download | freebsd-ports-gnome-c3559a9eb97fd26417bcfbf233c54a6447f23829.tar.gz freebsd-ports-gnome-c3559a9eb97fd26417bcfbf233c54a6447f23829.tar.zst freebsd-ports-gnome-c3559a9eb97fd26417bcfbf233c54a6447f23829.zip |
graphics/kanshi: add new port
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 wlr-output-management protocol.
Sway users: kanshi requires Sway 1.2 or later.
https://wayland.emersion.fr/kanshi/
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/kanshi/Makefile | 30 | ||||
-rw-r--r-- | x11/kanshi/distinfo | 3 | ||||
-rw-r--r-- | x11/kanshi/pkg-descr | 10 |
4 files changed, 44 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index 2bcb68257876..460bce8816ab 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -112,6 +112,7 @@ SUBDIR += innerspace SUBDIR += ipager SUBDIR += j4-dmenu-desktop + SUBDIR += kanshi SUBDIR += kb2mb2 SUBDIR += kde-baseapps SUBDIR += kde5 diff --git a/x11/kanshi/Makefile b/x11/kanshi/Makefile new file mode 100644 index 000000000000..57bb9bbeba2b --- /dev/null +++ b/x11/kanshi/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= kanshi +PORTVERSION= s20190607 +CATEGORIES= x11 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Dynamic display configuration for Wayland + +LICENSE= MIT +# https://github.com/emersion/kanshi/issues/45 +#LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libwayland-client.so:graphics/wayland + +USES= meson pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= emersion +GH_TAGNAME= 76e9f41 +PLIST_FILES= bin/${PORTNAME} + +OPTIONS_DEFINE= MANPAGES +OPTIONS_DEFAULT=MANPAGES + +MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc +MANPAGES_MESON_ENABLED= man-pages +MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz \ + man/man5/${PORTNAME}.5.gz + +.include <bsd.port.mk> diff --git a/x11/kanshi/distinfo b/x11/kanshi/distinfo new file mode 100644 index 000000000000..8373400ce69d --- /dev/null +++ b/x11/kanshi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1559470039 +SHA256 (emersion-kanshi-s20190607-76e9f41_GH0.tar.gz) = c80184b5a2f1208af06f4953fbba7dc7fcd6d35cd7feb0afe2e1c9f46b5a9adb +SIZE (emersion-kanshi-s20190607-76e9f41_GH0.tar.gz) = 13834 diff --git a/x11/kanshi/pkg-descr b/x11/kanshi/pkg-descr new file mode 100644 index 000000000000..69ce82dc08a8 --- /dev/null +++ b/x11/kanshi/pkg-descr @@ -0,0 +1,10 @@ +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 wlr-output-management protocol. + +Sway users: kanshi requires Sway 1.2 or later. + +WWW: https://wayland.emersion.fr/kanshi/ |