mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-misc/chrome-remote-desktop: switch xrandr to optfeature logging
Bug: https://bugs.gentoo.org/764626 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user