summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2019-09-14 02:55:24 -0400
committerMike Frysinger <vapier@gentoo.org>2019-09-14 03:10:54 -0400
commit54be6912a15cac0c27226e51384c7aad66e73e44 (patch)
treed6eedbc010f8e0fecfe5039b2d8555c7ebb043d2 /net-misc
parentnet-misc/chrome-remote-desktop: drop CHROME_REMOTE_DESKTOP_LOG_DIR setting (diff)
downloadgentoo-54be6912a15cac0c27226e51384c7aad66e73e44.tar.gz
gentoo-54be6912a15cac0c27226e51384c7aad66e73e44.tar.bz2
gentoo-54be6912a15cac0c27226e51384c7aad66e73e44.zip
net-misc/chrome-remote-desktop: add USE=xrandr
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>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/chrome-remote-desktop/chrome-remote-desktop-63.0.3239.17-r1.ebuild5
-rw-r--r--net-misc/chrome-remote-desktop/metadata.xml3
2 files changed, 6 insertions, 2 deletions
diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-63.0.3239.17-r1.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-63.0.3239.17-r1.ebuild
index d8dbea31d66a..fcf88e2f7fb0 100644
--- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-63.0.3239.17-r1.ebuild
+++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-63.0.3239.17-r1.ebuild
@@ -1,4 +1,4 @@
-# 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/
@@ -29,7 +29,7 @@ SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )"
LICENSE="google-chrome"
SLOT="0"
KEYWORDS="-* amd64"
-IUSE=""
+IUSE="xrandr"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
# All the libs this package links against.
@@ -61,6 +61,7 @@ RDEPEND="app-admin/sudo
# 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=""
diff --git a/net-misc/chrome-remote-desktop/metadata.xml b/net-misc/chrome-remote-desktop/metadata.xml
index 6f49eba8f496..1d1150f20e08 100644
--- a/net-misc/chrome-remote-desktop/metadata.xml
+++ b/net-misc/chrome-remote-desktop/metadata.xml
@@ -2,4 +2,7 @@
<!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>