summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/xbacklight/Makefile30
-rw-r--r--x11/xbacklight/distinfo2
-rw-r--r--x11/xbacklight/pkg/DESCR3
-rw-r--r--x11/xbacklight/pkg/PLIST3
4 files changed, 38 insertions, 0 deletions
diff --git a/x11/xbacklight/Makefile b/x11/xbacklight/Makefile
new file mode 100644
index 0000000..9b4ce95
--- /dev/null
+++ b/x11/xbacklight/Makefile
@@ -0,0 +1,30 @@
+# $OpenBSD: Makefile.template,v 1.83 2019/07/02 12:03:14 sthen Exp $
+COMMENT = adjust backlight brightness in X using RandR extension
+
+
+DISTNAME = xbacklight-1.2.3
+CATEGORIES = x11
+
+HOMEPAGE = https://gitlab.freedesktop.org/xorg/app/xbacklight
+
+MAINTAINER = xenocara@openbsd.org
+
+# MIT
+PERMIT_PACKAGE = Yes
+
+WANTLIB = xcb-randr xcb-util xcb Xdmcp Xau c
+
+MASTER_SITES = ${MASTER_SITE_XORG:=app/}
+
+MODULES = xenocara
+
+BUILD_DEPENDS = devel/xorgproto
+
+LIB_DEPENDS = x11/libxcb
+
+SEPARATE_BUILD = Yes
+CONFIGURE_STYLE = gnu
+
+NO_TEST = Yes
+
+.include <bsd.port.mk>
diff --git a/x11/xbacklight/distinfo b/x11/xbacklight/distinfo
new file mode 100644
index 0000000..8fb428f
--- /dev/null
+++ b/x11/xbacklight/distinfo
@@ -0,0 +1,2 @@
+SHA256 (xbacklight-1.2.3.tar.gz) = 0qjdliRU2N42dShuq07cTRN2rH2gQKOocp7iUObnmME=
+SIZE (xbacklight-1.2.3.tar.gz) = 155062
diff --git a/x11/xbacklight/pkg/DESCR b/x11/xbacklight/pkg/DESCR
new file mode 100644
index 0000000..40955f6
--- /dev/null
+++ b/x11/xbacklight/pkg/DESCR
@@ -0,0 +1,3 @@
+Xbacklight is used to adjust the backlight brightness where supported.
+It finds all outputs on the X server supporting backlight brightness
+control and changes them all in the same way.
diff --git a/x11/xbacklight/pkg/PLIST b/x11/xbacklight/pkg/PLIST
new file mode 100644
index 0000000..e649b4b
--- /dev/null
+++ b/x11/xbacklight/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $OpenBSD: PLIST,v$
+@bin bin/xbacklight
+@man man/man1/xbacklight.1