diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-01-11 06:36:36 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-01-11 07:08:22 -0500 |
commit | 28af20091a8243d35db232d7d71c41563cba5ee1 (patch) | |
tree | fdb00a8b9a9a780840b12e8204777ee6eed0e413 /net-misc/chrome-remote-desktop | |
parent | dev-libs/xmlrpc-c-1.51.06-r1: stable on amd64/x86 (diff) | |
download | gentoo-28af20091a8243d35db232d7d71c41563cba5ee1.tar.gz gentoo-28af20091a8243d35db232d7d71c41563cba5ee1.tar.bz2 gentoo-28af20091a8243d35db232d7d71c41563cba5ee1.zip |
net-misc/chrome-remote-desktop: switch xrandr to optfeature logging
Bug: https://bugs.gentoo.org/764626
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'net-misc/chrome-remote-desktop')
-rw-r--r-- | net-misc/chrome-remote-desktop/chrome-remote-desktop-88.0.4324.33.ebuild | 7 | ||||
-rw-r--r-- | net-misc/chrome-remote-desktop/metadata.xml | 3 |
2 files changed, 4 insertions, 6 deletions
diff --git a/net-misc/chrome-remote-desktop/chrome-remote-desktop-88.0.4324.33.ebuild b/net-misc/chrome-remote-desktop/chrome-remote-desktop-88.0.4324.33.ebuild index ace3c7112e56..32d84d049579 100644 --- a/net-misc/chrome-remote-desktop/chrome-remote-desktop-88.0.4324.33.ebuild +++ b/net-misc/chrome-remote-desktop/chrome-remote-desktop-88.0.4324.33.ebuild @@ -18,7 +18,7 @@ EAPI="7" PYTHON_COMPAT=( python3_{7,8,9} ) PLOCALES="am ar bg bn ca cs da de el en_GB en es_419 es et fa fil fi fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv sw ta te th tr uk vi zh_CN zh_TW" -inherit unpacker python-single-r1 l10n +inherit unpacker python-single-r1 l10n optfeature DESCRIPTION="access remote computers via Chrome!" PLUGIN_URL="https://chrome.google.com/remotedesktop" @@ -30,7 +30,7 @@ SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )" LICENSE="google-chrome" SLOT="0" KEYWORDS="-* ~amd64" -IUSE="xrandr" +IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="bindist mirror" @@ -69,7 +69,6 @@ RDEPEND+=" # - The Xorg invocation uses absolute paths with -logfile & -config which are rejected. # - The config takes over the active display in addition to starting up a virtual one. RDEPEND+=" - xrandr? ( x11-apps/xrandr ) x11-base/xorg-server[xvfb]" DEPEND="$(unpacker_src_uri_depends)" @@ -119,6 +118,8 @@ src_install() { } pkg_postinst() { + optfeature "Dynamic resolution changes" "x11-apps/xrandr" + if [[ -z ${REPLACING_VERSIONS} ]] ; then elog "Two ways to launch the server:" elog "(1) access an existing desktop" diff --git a/net-misc/chrome-remote-desktop/metadata.xml b/net-misc/chrome-remote-desktop/metadata.xml index 09ff7ff62a4c..496b9d3fd3e6 100644 --- a/net-misc/chrome-remote-desktop/metadata.xml +++ b/net-misc/chrome-remote-desktop/metadata.xml @@ -4,7 +4,4 @@ <maintainer type="person"> <email>vapier@gentoo.org</email> </maintainer> -<use> - <flag name="xrandr">Enable support for the XRandR extension for dynamic desktop resizing</flag> -</use> </pkgmetadata> |