The daemon looks for the xrandr program during launch to enable
dynamic resizing. Add a USE flag for it so users don't have to
read the code to figure it out.
Closes: https://bugs.gentoo.org/686002
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/
LICENSE="google-chrome"
SLOT="0"
KEYWORDS="-* amd64"
-IUSE=""
+IUSE="xrandr"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# All the libs this package links against.
# Settings we just need at runtime.
# TODO: Look at switching to xf86-video-dummy & xf86-input-void instead of xvfb.
RDEPEND+="
+ xrandr? ( x11-apps/xrandr )
x11-base/xorg-server[xvfb]"
DEPEND=""
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
+<use>
+ <flag name="xrandr">Enable support for the XRandR extension for dynamic desktop resizing</flag>
+</use>
</pkgmetadata>