From: Arthur Taft Date: Sat, 6 Dec 2025 08:30:46 +0000 (-0700) Subject: add rustdesk-bin X-Git-Url: https://gitweb.arthurtaft.net/custom-tools.git/commitdiff_plain/9fde492c9d7e5c9d746d34a494b9a0a95bb5ce89?ds=sidebyside add rustdesk-bin --- diff --git a/net-misc/rustdesk-bin/Manifest b/net-misc/rustdesk-bin/Manifest new file mode 100644 index 0000000..322c990 --- /dev/null +++ b/net-misc/rustdesk-bin/Manifest @@ -0,0 +1 @@ +DIST rustdesk-1.4.4-x86_64.deb 22989172 BLAKE2B 117cff735fe86a9515f09c12ed6eb1eadd64051440e56d10b9fad31210c4643e39dccfd9ab741e2d73d7c4ecf4b1d2eeaf5e3597567667c2a7133dc2a754d4b3 SHA512 b26ff09a70a291b448fbc4a8a0aa8a12b8126d7b1569b6a6c6fd1818037390a5c92bf28099ad8a5f711a698c60b1b62363e61870ac4f116ee0b428ecc83105ff diff --git a/net-misc/rustdesk-bin/rustdesk-bin-1.4.4.ebuild b/net-misc/rustdesk-bin/rustdesk-bin-1.4.4.ebuild new file mode 100644 index 0000000..e6ab3b3 --- /dev/null +++ b/net-misc/rustdesk-bin/rustdesk-bin-1.4.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit unpacker + +DESCRIPTION="The Fast Open-Source Remote Access and Support Software" +HOMEPAGE="https://rustdesk.com" +SRC_URI="https://github.com/rustdesk/rustdesk/releases/download/${PV}/rustdesk-${PV}-x86_64.deb" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="media-libs/alsa-lib + media-libs/gst-plugins-base + media-libs/libva + sys-libs/pam + x11-libs/gtk+:3 + x11-libs/libxcb + x11-libs/libXfixes + x11-misc/xdotool" + +RDEPEND="${DEPEND}" +BDEPEND="" + +S=${WORKDIR} + +src_unpack() { + unpack_deb "${A}" +} + +src_install() { + insinto /opt/"${PN}" + doins -r usr/. + + fperms -R +x /opt/"${PN}"/share/rustdesk/rustdesk + + dosym /opt/"${PN}"/share/rustdesk/rustdesk /usr/bin/rustdesk-bin + domenu /opt/"${PN}"/share/rustdesk/files/rustdesk.desktop + + dosym /opt/"${PN}"/share/icons/hicolor/256x256/apps/rustdesk.png /usr/share/pixmaps/rustdesk.png + newicon -s 256 /opt/"${PN}"/share/icons/hicolor/256x256/apps/rustdesk.png rustdesk.png +}