This commit is contained in:
Mario Fetka
2024-03-12 20:41:02 +01:00
parent 6efca6afa2
commit a14b80a8cf
74 changed files with 887 additions and 778 deletions

View File

@@ -2,5 +2,7 @@ AUX chrome-remote-desktop-91.0.4472.10-always-sudo.patch 593 BLAKE2B 4cba2a48694
AUX chrome-remote-desktop.conf.d 283 BLAKE2B a0146298fa2e18e16911587de10aa3dd229cfb26a2d1865637cc4c69c317f4cb303b98daa7f91b6e69cc34c6fbbab3d19332396d4f5c11eeef4958401e26ff14 SHA512 5391c4a2d5787047f773abbf1c5a9dd3842160d768122edc32f0a0275e198882a41a3ca88526d52347f89d1fb4e1a51b6dc785c4dd4a0c0b5935e1e6eff30f49
AUX chrome-remote-desktop.rc 1183 BLAKE2B d1d56ac91a2ced2c6f13019f9d5c7f1d554c2fbd3f57842d6d0b791f2e90233e4d6e8a49155b634a5e20c0bad212a5bc5f63924b1a83d45db01b1fd69445fa07 SHA512 831391b6fcaeeda476a3064d6fff1fdcebb8037aba124814a81ad4a1336a68973f319a003d1ed0938eea68f5ddad179fe29fb12efa05fd204f7fa9c5fb8dd735
DIST chrome-remote-desktop_110.0.5481.14_amd64.deb 17742536 BLAKE2B 3a010b73f786e013aa4bf358811ab306e87681860c1db12b5e915c80b653da0a7e190ff36c78c91fa7a68a8873c7f66a23bb6bdb98630fd881b30c33f12559f7 SHA512 66a374f04664c26e15c5c42b2dbd942dd9cdbc23127733f2f1c136deff868509db80c17028b5f9cae48a460b22443f39af337313dfd865705134737d72372600
DIST chrome-remote-desktop_118.0.5993.9_amd64.deb 17677480 BLAKE2B 1f29d8a8d90f12515afbea857e5f4b7ec0ca56a3051e14e7f67c38c906d743c74ca274a00342a8a9745effeb0023a7e88615c886dcbdcbe68bbcafe317b8902d SHA512 ffa0fb28cb7842a13df3228b5ca6e83c2e9d3967c5013b3613cefec7f86f56e6df069f33e65c3a979ce15d971906cb4488b90a4dffc4b95cd5d65346b4a08f87
EBUILD chrome-remote-desktop-110.0.5481.14.ebuild 4808 BLAKE2B 99e6d5789bf9b1e3d9204580f1337d21c86a245766b0fc45898dce1e4770e408acf50cc8a4d4d11500b50c496dcb312ca6099729c685cf01b950819b71149884 SHA512 71b2d4f96ea426ae59547a708bec5fa76c0344daf23fa2d26a375c40159fdd73c95d065485e972be607f1dd598fd29114d102ca828d96b984b3da02ba059f702
EBUILD chrome-remote-desktop-118.0.5993.9.ebuild 4852 BLAKE2B 2441593dd7a8416acf33cdcc6e954e16498eb8f094325b4820d1688e3fac385aea376db6ea7caa1a3fd902819adf1a67b5f39a21d163da73c007f451d1632b6f SHA512 fa3689bfbd73bfbd657e890aa18df43dff7388ca5ce7e65ee97d21e0f5596a9cef093d7b1884bde72b7c29814e33ef34d6a2eb39d3823e8081784ad4d827a8d4
MISC metadata.xml 248 BLAKE2B 2545c58c45b8fd57a236bab059e0bd3da47a3e0d3881d141a9b2dc2e275a2d8f0663d83366b45103b48fd257d62a4a2314a8dd6b79113f8b86c91a90524918c5 SHA512 1397e06cb2ad5941988872f37df6f54100aaa06bfc7ef30ba394f95191ddaa1e9f2180d8eb856eb10f9646d9cbc4a6f020805470633c492519e66e3de788439a

View File

@@ -0,0 +1,147 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Base URL: https://dl.google.com/linux/chrome-remote-desktop/deb/
# Fetch the Release file:
# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/Release
# Which gives you the Packages file:
# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-i386/Packages
# https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages
# And finally gives you the file name:
# pool/main/c/chrome-remote-desktop/chrome-remote-desktop_29.0.1547.32_amd64.deb
#
# Use curl to find the answer:
# curl -q https://dl.google.com/linux/chrome-remote-desktop/deb/dists/stable/main/binary-amd64/Packages | grep ^Filename
EAPI="7"
PYTHON_COMPAT=( python3_{9..12} )
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 optfeature plocale
DESCRIPTION="access remote computers via Chrome!"
PLUGIN_URL="https://chrome.google.com/remotedesktop"
HOMEPAGE="https://support.google.com/chrome/answer/1649523
https://chrome.google.com/remotedesktop"
BASE_URI="https://dl.google.com/linux/chrome-remote-desktop/deb/pool/main/c/${PN}/${PN}_${PV}"
SRC_URI="amd64? ( ${BASE_URI}_amd64.deb )"
LICENSE="google-chrome"
SLOT="0"
KEYWORDS="-* ~amd64"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="bindist mirror"
# Packages we execute, but don't link.
RDEPEND="app-admin/sudo
${PYTHON_DEPS}"
# All the libs this package links against.
RDEPEND+="
>=dev-libs/expat-2
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
$(python_gen_cond_dep '
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/pyxdg[${PYTHON_USEDEP}]
')
media-libs/fontconfig
media-libs/freetype:2
sys-apps/dbus
sys-devel/gcc
sys-libs/glibc
sys-libs/libutempter
sys-libs/pam
x11-apps/xdpyinfo
x11-apps/setxkbmap
x11-libs/cairo
x11-libs/gtk+:3
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/libXtst
x11-libs/pango"
# Settings we just need at runtime.
# TODO: Look at switching to xf86-video-dummy & xf86-input-void instead of xvfb.
# - The env var (CHROME_REMOTE_DESKTOP_USE_XORG) seems to be stripped before being checked.
# - 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+="
x11-base/xorg-server[xvfb]"
BDEPEND="$(unpacker_src_uri_depends)"
S=${WORKDIR}
QA_PREBUILT="/opt/google/chrome-remote-desktop/*"
PATCHES=(
"${FILESDIR}"/${PN}-91.0.4472.10-always-sudo.patch #541708
)
src_prepare() {
default
gunzip usr/share/doc/${PN}/*.gz || die
cd opt/google/chrome-remote-desktop
python_fix_shebang chrome-remote-desktop
cd remoting_locales
# These isn't always included.
rm -f fake-bidi* || die
PLOCALES=${PLOCALES//_/-} plocale_find_changes "${PWD}" '' '.pak'
}
src_install() {
pushd opt/google/chrome-remote-desktop/remoting_locales >/dev/null || die
rm_pak() { local l=${1//_/-}; rm "${l}.pak" "${l}.pak.info"; }
plocale_for_each_disabled_locale rm_pak
popd >/dev/null
insinto /etc
doins -r etc/opt
dosym ../opt/chrome/native-messaging-hosts /etc/chromium/native-messaging-hosts #581754
insinto /opt
doins -r opt/google
chmod a+rx "${ED}"/opt/google/${PN}/* || die
fperms +s /opt/google/${PN}/user-session
dodir /etc/pam.d
dosym system-remote-login /etc/pam.d/${PN}
dodoc usr/share/doc/${PN}/changelog*
newinitd "${FILESDIR}"/${PN}.rc ${PN}
newconfd "${FILESDIR}"/${PN}.conf.d ${PN}
}
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"
elog " (a) install the Chrome plugin on the server & client:"
elog " ${PLUGIN_URL}"
elog " (b) on the server, run the Chrome plugin & enable remote access"
elog " (c) on the client, connect to the server"
elog "(2) headless system"
elog " (a) install the Chrome plugin on the client:"
elog " ${PLUGIN_URL}"
elog " (b) run ${EPREFIX}/opt/google/chrome-remote-desktop/start-host --help to get the auth URL"
elog " (c) when it redirects you to a blank page, look at the URL for a code=XXX field"
elog " (d) run start-host again, and past the code when asked for an authorization code"
elog " (e) on the client, connect to the server"
elog
elog "Configuration settings you might want to be aware of:"
elog " ~/.${PN}-session - shell script to start your session"
elog " /etc/init.d/${PN} - script to auto-restart server"
fi
}

View File

@@ -1,4 +1,4 @@
DIST RemoteDesktopManager_2023.3.1.6_amd64.deb 192209784 BLAKE2B 1c591b417d676da6aed7482ce8049312082d82430248a334edbb60224ffb60a10e15bba73541eb8fcdc2da5b5c61fe2b5107f7ec5393dc297b4238cfb9fd497f SHA512 7833a8d965ddf27e7080766cb6e5269fcb56c1d285ef52cc7ab3c57e7fc60879382d9e0d49ed9ca55e814e8a33948c85bfff61aa36106634d83473785a135480
EBUILD remotedesktopmanager-2023.3.1.6.ebuild 1248 BLAKE2B 2e8e31c500b2506742a48950ce476b48945855cd6ede278d71d46ba4527a66fe9f09feb97a5903c711cab09083afbd3bb62d28cdea838c63136d5a2389bb2076 SHA512 d8f741fcfe7cd63d9495189dc1396fc73095d4e23c2e5327a1b9024d7cb867c01d9b6e47acc1c4ee8353f80924bd2c22f882202585556faa2499af8ce60c73c5
DIST RemoteDesktopManager_2024.1.0.6_amd64.deb 199953216 BLAKE2B 3f3b27b9ffd18d7a10ae5bd471287f57230828065163d21fc5c78e6096271fa65cb3d1691f994bb1722aeee11b61e80b606927e90587fb7b275931e2f3a08da9 SHA512 1a10ec80aadedc9fbf607044d4c7520bf90afcb899f42aa55f0b8e461e1add774c39ebb054845cef9162a733ea540410722b6ee8bae62a621e1f3eea09ff93e2
EBUILD remotedesktopmanager-2024.1.0.6.ebuild 1248 BLAKE2B 2e8e31c500b2506742a48950ce476b48945855cd6ede278d71d46ba4527a66fe9f09feb97a5903c711cab09083afbd3bb62d28cdea838c63136d5a2389bb2076 SHA512 d8f741fcfe7cd63d9495189dc1396fc73095d4e23c2e5327a1b9024d7cb867c01d9b6e47acc1c4ee8353f80924bd2c22f882202585556faa2499af8ce60c73c5
MISC ChangeLog 889 BLAKE2B 216bbbfe9b264ef06f5b56748af1ea7366fa49f2406604264b7d22ce8f464ffd7491a57912d7cf1be7d3dc030578960acca895236d6e06fd017f02a9138f0b7f SHA512 09aa97933a9709827b6e3c01ce8a3829cb3d494f7fdac570faa30da6fac440c752391d8dcaf7d03c5cd1163686e8921c1bf4ad75827e4b8df05bbcde03548488
MISC metadata.xml 408 BLAKE2B 66a3e2838d5c5f95c7463733cd13b1230ef3ca005ec0c5dac797561be30f950da98dfa41eeb4d43cf97500c9a2e0d04c57b0b084d60107072a988dd7c4d16ded SHA512 9cac3e4a07c425e87274de776e03d243e462341168235cd3991ef4706aa1a902cf6591ae8e965b9c4ed370fc2ebef3ca805a9c761d05c4b994ae8667198b267c

View File

@@ -1,2 +1,2 @@
DIST ytdlp-servustv-2023.1.8.zip 26503 BLAKE2B 9045e117ed2b5e67c813ad9099e84dabef7d3544d0cccbf0faf394d521564adcc696d07292d4c439005cf336a99be3c57c26dbee2ef06b712d85b008127c8e3b SHA512 225663ee313505983d20842a02c43b1186d582d43651720ad7ab839c5144d9cd793d7c38dd39caca52bb83f3c478e9e81bb2d7d8769d6538be45fc635befbf70
EBUILD ytdlp-servustv-2023.1.8.ebuild 546 BLAKE2B 1883ad163a43869d81b6a401ae5eba4c54068ad377acb2f85e4dc523eb59948c4c2474de7b3525a780d5a1a88389c3635a2c34c59a0d8a68492ae2d3f34ef614 SHA512 56738f5f24e0b4e45135247c73c92d0ecb4eccbb1a277978545f85ac87798a26ce9b19c43dff6b144394a3fa9fdbb37ac9656036892c94081439b7ebe5c5e152
DIST ytdlp-servustv-2023.12.27.zip 25464 BLAKE2B bc6e96f9c144941c6ebcd61f7f59458df459da8ac5e6d7240c8df86c0eb86b554925c23a0398d47b5976ec118bb229d02fb2241a6c973d627cabb044f7d25ba6 SHA512 5c2515ad8dbddbadba9f1093f63de20e25377776c4678d88fac7dc1fbe21a6233f640b0dd026d43bc04a2de5ff0e3dae4c6ff1bb65acc1a79a06ecddb731a88a
EBUILD ytdlp-servustv-2023.12.27.ebuild 546 BLAKE2B 1883ad163a43869d81b6a401ae5eba4c54068ad377acb2f85e4dc523eb59948c4c2474de7b3525a780d5a1a88389c3635a2c34c59a0d8a68492ae2d3f34ef614 SHA512 56738f5f24e0b4e45135247c73c92d0ecb4eccbb1a277978545f85ac87798a26ce9b19c43dff6b144394a3fa9fdbb37ac9656036892c94081439b7ebe5c5e152