x11-toolkits/wlroots: add CONSOLEKIT option

Allows to avoid root and direct session bugs. Upstream wants a more
lightweight solution but when that will materialize isn't clear.

Requires D18754 at runtime.
This commit is contained in:
Jan Beich 2019-08-02 04:33:04 +00:00
parent f9e9334670
commit c53e7310c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=507840
2 changed files with 13 additions and 1 deletions

View file

@ -33,10 +33,20 @@ MESON_ARGS= -Dexamples=false
LLD_UNSAFE= yes
.endif
OPTIONS_DEFINE= FREERDP X11
OPTIONS_DEFINE= CONSOLEKIT FREERDP X11
OPTIONS_DEFAULT=FREERDP X11
OPTIONS_SUB= yes
CONSOLEKIT_DESC= DRM sessions without root using ConsoleKit2
CONSOLEKIT_PATCH_SITES= https://github.com/myfreeweb/${GH_PROJECT}/commit/:ck2
CONSOLEKIT_PATCHFILES= ac65ec72a2f2.patch:-p1:ck2 # see #1467 upstream
CONSOLEKIT_LIB_DEPENDS= libdbus-1.so:devel/dbus \
libconsolekit.so:sysutils/consolekit2
CONSOLEKIT_MESON_ENABLED= consolekit2
.if make(makesum)
.MAKEFLAGS: WITH+=CONSOLEKIT
.endif
FREERDP_DESC= RDP backend with freerdp
FREERDP_LIB_DEPENDS= libfreerdp2.so:net/freerdp
FREERDP_MESON_ENABLED= freerdp

View file

@ -1,3 +1,5 @@
TIMESTAMP = 1556898946
SHA256 (swaywm-wlroots-0.6.0_GH0.tar.gz) = 9cf3716f3683d800df8b150f256ff66dad65faf13a9d67c284f67a9444d28c70
SIZE (swaywm-wlroots-0.6.0_GH0.tar.gz) = 497934
SHA256 (ac65ec72a2f2.patch) = 83a1995d99f042a12e4b523cfab9e59089fcf1567086350e0e56f59eb507dff5
SIZE (ac65ec72a2f2.patch) = 28370