commit:     d8fd1f9f78f63fa95f60b701c76a418015a76b93
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 30 21:03:37 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Dec 30 21:04:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8fd1f9f

net-im/rocketchat-desktop-bin: add version 3.7.4

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 net-im/rocketchat-desktop-bin/Manifest             |  1 +
 .../rocketchat-desktop-bin-3.7.4.ebuild            | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/net-im/rocketchat-desktop-bin/Manifest 
b/net-im/rocketchat-desktop-bin/Manifest
index 76fadfcbf4b8..346613b26b52 100644
--- a/net-im/rocketchat-desktop-bin/Manifest
+++ b/net-im/rocketchat-desktop-bin/Manifest
@@ -1 +1,2 @@
 DIST rocketchat-3.7.3.x86_64.rpm 72060836 BLAKE2B 
4d7760c954a9e9f75440bb27a2a3b60dc788a72da2e20a64d3231684ec1f465657448426b26c3e261de6f6a06a60ecb072325e00b334258211ade2ed4532095b
 SHA512 
b88f49a567460f6b6ec6c4dc809a0bdc6dbe14194841e85b4a7136113ccf504b020a36fd489ee0b859bacb0d5555b29ff55cf8cf32b2c11f60f79b37550a4535
+DIST rocketchat-3.7.4.x86_64.rpm 72045096 BLAKE2B 
a802cc5201f74061345bfcb7fa04ede24f945fd8ad1f15a24647f6f987c8f6473af6cfc858d742d54cce58219b0bc6e6f34f7d1c0827daa223166502793d01fb
 SHA512 
817dd1fdaf6aa9d343b6557e613f691c158ae262fdb7b6d7029b64808c693f0b7db325be4815e6dff3b417f67484d14c543f370ca00339d6d4551af6fe5360f1

diff --git a/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.7.4.ebuild 
b/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.7.4.ebuild
new file mode 100644
index 000000000000..46fc3d26d958
--- /dev/null
+++ b/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.7.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit rpm xdg
+
+DESCRIPTION="The Ultimate Open Source Web Chat Platform"
+HOMEPAGE="https://rocket.chat";
+SRC_URI="https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${PV}/rocketchat-${PV}.x86_64.rpm";
+
+KEYWORDS="-* ~amd64"
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="
+       app-accessibility/at-spi2-atk:2
+       dev-libs/atk
+       dev-libs/expat
+       dev-libs/libappindicator
+       dev-libs/nspr
+       dev-libs/nss
+       media-fonts/noto-emoji
+       media-libs/alsa-lib
+       net-print/cups
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       x11-libs/gtk+:3
+       x11-libs/libnotify
+       x11-libs/libxcb
+       x11-libs/libX11
+       x11-libs/libXcomposite
+       x11-libs/libXcursor
+       x11-libs/libXdamage
+       x11-libs/libXext
+       x11-libs/libXfixes
+       x11-libs/libXi
+       x11-libs/libxkbcommon
+       x11-libs/libXrandr
+       x11-libs/libXrender
+       x11-libs/libXtst
+       x11-libs/libXScrnSaver
+       x11-libs/pango
+"
+
+QA_PREBUILT="/opt/Rocket.Chat/*"
+
+S="${WORKDIR}"
+
+src_install() {
+       # remove files useless for Gentoo
+       rm -r usr/lib || die
+       mv "${S}"/* "${ED}" || die
+}

Reply via email to