summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2021-09-01 09:43:09 +0200
committerMatthieu Herrb <matthieu@herrb.eu>2021-09-01 09:43:09 +0200
commitc317de4d7a302cac45cc0e68e228f5fb411b8c2e (patch)
tree3a25a2d53426787e17323d078baa92b5e12784d0
parentf9107d44feefa780b2b7af71e7a1b8a68bfbfa7e (diff)
add xbacklight 1.2.3
-rw-r--r--meta/xenocara/Makefile1
-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
5 files changed, 39 insertions, 0 deletions
diff --git a/meta/xenocara/Makefile b/meta/xenocara/Makefile
index 33c5786..7a3d845 100644
--- a/meta/xenocara/Makefile
+++ b/meta/xenocara/Makefile
@@ -14,6 +14,7 @@ RUN_DEPENDS = \
x11/xf86-input-ws \
x11/cwm \
x11/iceauth \
+ x11/xbacklight \
x11/setxkbmap \
x11/xauth \
x11/xclock \
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