From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1240991-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 54A3A1382C5
	for <garchives@archives.gentoo.org>; Mon, 11 Jan 2021 12:08:36 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 837EDE08F6;
	Mon, 11 Jan 2021 12:08:35 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 6A3E6E08F6
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jan 2021 12:08:35 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4AF41340FEE
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jan 2021 12:08:34 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 05642B8
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Jan 2021 12:08:33 +0000 (UTC)
From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" <vapier@gentoo.org>
Message-ID: <1610366902.28af20091a8243d35db232d7d71c41563cba5ee1.vapier@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/chrome-remote-desktop/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/chrome-remote-desktop/chrome-remote-desktop-88.0.4324.33.ebuild net-misc/chrome-remote-desktop/metadata.xml
X-VCS-Directories: net-misc/chrome-remote-desktop/
X-VCS-Committer: vapier
X-VCS-Committer-Name: Mike Frysinger
X-VCS-Revision: 28af20091a8243d35db232d7d71c41563cba5ee1
X-VCS-Branch: master
Date: Mon, 11 Jan 2021 12:08:33 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f6651691-2f6d-4408-b251-b30295145175
X-Archives-Hash: 30414edcfdcdc19df8aac0b3a5329e90

commit:     28af20091a8243d35db232d7d71c41563cba5ee1
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 11 11:36:36 2021 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Jan 11 12:08:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28af2009

net-misc/chrome-remote-desktop: switch xrandr to optfeature logging

Bug: https://bugs.gentoo.org/764626
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 .../chrome-remote-desktop-88.0.4324.33.ebuild                      | 7 ++++---
 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 ace3c7112e5..32d84d04957 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 09ff7ff62a4..496b9d3fd3e 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>