aboutsummaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-11-09 21:25:15 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-11-09 21:25:15 +0000
commitf198f239fc2f9cb4fff8074d386ea20d2dcc8f80 (patch)
tree5ba3670b00a224ab110a7171c4c39556da0d4298 /accessibility
parentcc34f7ecdc8175ddb261ebebbc98b870ff4017d8 (diff)
downloadports-f198f239fc2f9cb4fff8074d386ea20d2dcc8f80.tar.gz
ports-f198f239fc2f9cb4fff8074d386ea20d2dcc8f80.zip
accessibility/wlsunset: add new port
Day/night gamma adjustments for Wayland compositors supporting wlr-gamma-control-unstable-v1. https://sr.ht/~kennylevinsen/wlsunset
Notes
Notes: svn path=/head/; revision=554791
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/Makefile1
-rw-r--r--accessibility/wlsunset/Makefile32
-rw-r--r--accessibility/wlsunset/distinfo11
-rw-r--r--accessibility/wlsunset/pkg-descr4
4 files changed, 48 insertions, 0 deletions
diff --git a/accessibility/Makefile b/accessibility/Makefile
index 1fbea8e2d4ab..0b81b1765647 100644
--- a/accessibility/Makefile
+++ b/accessibility/Makefile
@@ -27,6 +27,7 @@
SUBDIR += rubygem-atk
SUBDIR += sct
SUBDIR += speech-dispatcher
+ SUBDIR += wlsunset
SUBDIR += yasr
.include <bsd.port.subdir.mk>
diff --git a/accessibility/wlsunset/Makefile b/accessibility/wlsunset/Makefile
new file mode 100644
index 000000000000..fdb24e0db8ad
--- /dev/null
+++ b/accessibility/wlsunset/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= wlsunset
+DISTVERSION= 0.1.0
+CATEGORIES= accessibility
+MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
+
+PATCH_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/commit/
+PATCHFILES+= fa2bd4425314.patch:-p1 33c64bc929b2.patch:-p1 # manpage
+PATCHFILES+= ec0c1614af21.patch:-p1 # avoid USES=localbase
+PATCHFILES+= 49ad3ce7a8e8.patch:-p1 # unbreak Clang >= 10
+
+MAINTAINER= jbeich@FreeBSD.org
+COMMENT= Day/night gamma adjustments for Wayland
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols
+LIB_DEPENDS= libwayland-client.so:graphics/wayland
+
+USES= compiler:c11 meson pkgconfig
+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
+
+.include <bsd.port.mk>
diff --git a/accessibility/wlsunset/distinfo b/accessibility/wlsunset/distinfo
new file mode 100644
index 000000000000..793f49cb1fab
--- /dev/null
+++ b/accessibility/wlsunset/distinfo
@@ -0,0 +1,11 @@
+TIMESTAMP = 1603237309
+SHA256 (wlsunset-0.1.0.tar.gz) = 78ec889f74505aa2f9060eebdee05092bda5452104656c0d868b2f0a4998f53c
+SIZE (wlsunset-0.1.0.tar.gz) = 10914
+SHA256 (fa2bd4425314.patch) = 30d4c28d29f6b63c2faf2d996f67f193326d019662a417953837913a8f17bca6
+SIZE (fa2bd4425314.patch) = 2634
+SHA256 (33c64bc929b2.patch) = ee3e300f940f3ea61404e865c0b81157174111fecebc2f85d6366d9c2a7cbe25
+SIZE (33c64bc929b2.patch) = 971
+SHA256 (ec0c1614af21.patch) = eea84df92cff98adaf3390ee4fdb216e79890ec3016c9b1a184ab697da59a5e9
+SIZE (ec0c1614af21.patch) = 1450
+SHA256 (49ad3ce7a8e8.patch) = 892eeca5eee82295a616066a9e2d3db590e0edd43c18f13896725f10617e43e1
+SIZE (49ad3ce7a8e8.patch) = 970
diff --git a/accessibility/wlsunset/pkg-descr b/accessibility/wlsunset/pkg-descr
new file mode 100644
index 000000000000..0f0d3bd2b67f
--- /dev/null
+++ b/accessibility/wlsunset/pkg-descr
@@ -0,0 +1,4 @@
+Day/night gamma adjustments for Wayland compositors supporting
+wlr-gamma-control-unstable-v1.
+
+WWW: https://sr.ht/~kennylevinsen/wlsunset