commit:     603867b4f1332ee3b5993f334c6ecd9150afee37
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Apr 10 08:39:44 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Apr 10 08:39:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=603867b4

net-im/rocketchat-desktop-bin: add new package

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 net-im/rocketchat-desktop-bin/Manifest             |  1 +
 net-im/rocketchat-desktop-bin/metadata.xml         | 12 +++++
 .../rocketchat-desktop-bin-3.1.1.ebuild            | 51 ++++++++++++++++++++++
 3 files changed, 64 insertions(+)

diff --git a/net-im/rocketchat-desktop-bin/Manifest 
b/net-im/rocketchat-desktop-bin/Manifest
new file mode 100644
index 000000000..39341e3f7
--- /dev/null
+++ b/net-im/rocketchat-desktop-bin/Manifest
@@ -0,0 +1 @@
+DIST rocketchat-3.1.1.x86_64.rpm 55360392 BLAKE2B 
6384297c1707c549d9a8a26662a610b7fd9c168886b65ebe875eee15553c600be1f322716284011ccc8f6db70d489feea8ae3b7934651315968caccf4e871c1a
 SHA512 
685e64b1c023baf69b1689aac83ebbfd990a0ae35b3c7b3447058595c04a7d845074d845f33dac698d59506069d05aead03b117039782c7703954b324be3cbf2

diff --git a/net-im/rocketchat-desktop-bin/metadata.xml 
b/net-im/rocketchat-desktop-bin/metadata.xml
new file mode 100644
index 000000000..49aa87d46
--- /dev/null
+++ b/net-im/rocketchat-desktop-bin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <upstream>
+               <remote-id 
type="github">RocketChat/Rocket.Chat.Electron</remote-id>
+               
<bugs-to>https://github.com/RocketChat/Rocket.Chat.Electron/issues</bugs-to>
+       </upstream>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Andrew Ammerlaan</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.1.1.ebuild 
b/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.1.1.ebuild
new file mode 100644
index 000000000..ed8056594
--- /dev/null
+++ b/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-3.1.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+       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/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
+       cp -a "${S}"/* "${ED}" || die
+}

Reply via email to