summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2020-06-19 10:29:42 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2020-06-19 10:29:58 -0500
commit108d6a0c512b52ceffcc13e2809e6b54f08dd25b (patch)
tree2ebd7c6036e18426ea93a0c0190739c7d7daa17a /net-im
parentmedia-plugins/live: bump to 2020.05.15 (diff)
downloadgentoo-108d6a0c512b52ceffcc13e2809e6b54f08dd25b.tar.gz
gentoo-108d6a0c512b52ceffcc13e2809e6b54f08dd25b.tar.bz2
gentoo-108d6a0c512b52ceffcc13e2809e6b54f08dd25b.zip
net-im/mattermost-desktop-bin: 4.5.0 bump
Closes: https://bugs.gentoo.org/728772 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mattermost-desktop-bin/Manifest3
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.0.ebuild93
2 files changed, 96 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index ad4413e17c1d..9eff5effad30 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,3 +1,6 @@
DIST mattermost-desktop-4.4.0-linux-ia32.tar.gz 95565337 BLAKE2B f81d381656d812274b1d54740d8bd1e1aacc47762c279a4edd1fb2ad9fdd595b2575a92825a37c1b12ab4a0a98423905ba605040cac8f7ababefe946a6bacd1e SHA512 412ebe5c110528372ad462d24c395125c46fe0930515a09ff705693cdd905a71037bd3672c2fe3ccc263addca4ecf497787f7dc70b45e782fbba1413a871eb7f
DIST mattermost-desktop-4.4.0-linux-x64.tar.gz 94614879 BLAKE2B c83d449e45bfbde229316885210d6bd6eb5cfc6f6791c863fc02d4b1cb6ab9a89d5268e1fe4beb3273ee3b09a408fc5fa4c6949e05da8c19e7d92a13940be232 SHA512 eae1a08cf73199bab1d2b35d68134193211d71fae532486ff328534707c652e8a33cdfd984de79b663f4b40d1f29923c3a9afb8bf6be7bbe9fac3c381dc7f50e
+DIST mattermost-desktop-4.5.0-linux-ia32.tar.gz 104812036 BLAKE2B 340c208bf6b58c06e0ba5b51a5a1e8618273d785b63ac452f71e6ee5197b4818bd593566df813cfac7194c33b597129a3a10d551a6ebcbe9a1b5be99778fb5b6 SHA512 01f93fdce44177d1729a3a984089b9ee3a825cddfc3b034619a34695175d912e2246f46123d5ff1384e90fa782a2c1fe3948ada35e83ea09293d658de33c9c5f
+DIST mattermost-desktop-4.5.0-linux-x64.tar.gz 103227052 BLAKE2B 38a3fcfb2df79c9a25c7d8efd43f97e2a531ccb084479637b07c28e77f23dd09c8090550a665c07745d32a46446b3b1d920bc0afc43610fd42a70a55f969e4de SHA512 389c862902a7c82e5c5c3f5622c48a85fc1fdf5b07361fddde7a94cd005e4a85f829cd2ff0034652bcb857ba918b59487675974eb19a181b4eb55886aede49fd
DIST mattermost-desktop-bin-4.4.0.tar.gz 1295527 BLAKE2B 89fd256e96c732e2e808ffef71e4d615e54d17af24c7392ddc699a18d9df1c5184d9d9263b01172a78b096e8941567abf6ca98789966407dfc2b360e41d1d50c SHA512 7f4d72fe1b90fe17796c1e9eb2c5ff9bf3d3c7ff855585f9f20c1997317eb805b917f3b2a58e6add67668e60a542cb5e3be6202a30af4ce495184335e2b94b3e
+DIST mattermost-desktop-bin-4.5.0.tar.gz 1653847 BLAKE2B 07947a59c2fb3d818859847ed26199eba3255543f33bef212fa2e6d52fe931a00c69a77e5febb67d9572cb52727136bc309189a2fbb038b27c7f1cc92907132d SHA512 4d05da854f8fb1655255d20799b742a021483e96291ef96f4bc6b735215e29c679393e38699b204573248a2900e3b5c35babc22f7e7e825b487d3cc97ca96f8c
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.0.ebuild
new file mode 100644
index 000000000000..0f1c0d6f81df
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN%-*}"
+
+inherit desktop eutils
+
+DESCRIPTION="Mattermost Desktop application"
+HOMEPAGE="https://about.mattermost.com/"
+
+SRC_URI="
+ https://github.com/mattermost/desktop/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ amd64? ( https://releases.mattermost.com/desktop/${PV}/mattermost-desktop-${PV}-linux-x64.tar.gz )
+ x86? ( https://releases.mattermost.com/desktop/${PV}/mattermost-desktop-${PV}-linux-ia32.tar.gz )
+"
+
+LICENSE="Apache-2.0 GPL-2+ LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ gnome-base/gconf:2
+ dev-libs/atk:0
+ dev-libs/expat:0
+ dev-libs/glib:2
+ dev-libs/nspr:0
+ dev-libs/nss:0
+ gnome-base/gconf:2
+ media-libs/alsa-lib:0
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ net-print/cups:0
+ sys-apps/dbus:0
+ sys-devel/gcc
+ sys-libs/glibc:2.2
+ x11-libs/cairo:0
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/libX11:0
+ x11-libs/libxcb:0/1.12
+ x11-libs/libXcomposite:0
+ x11-libs/libXcursor:0
+ x11-libs/libXdamage:0
+ x11-libs/libXext:0
+ x11-libs/libXfixes:0
+ x11-libs/libXi:0
+ x11-libs/libXrandr:0
+ x11-libs/libXrender:0
+ x11-libs/libXScrnSaver:0
+ x11-libs/libXtst:0
+ x11-libs/pango:0"
+
+QA_PREBUILT="
+ opt/mattermost-desktop/mattermost-desktop
+ opt/mattermost-desktop/libnode.so
+ opt/mattermost-desktop/libffmpeg.so
+"
+
+DOCS=(
+ NOTICE.txt
+ LICENSES.chromium.html
+ LICENSE.txt
+ LICENSE.electron.txt
+ README.md
+)
+
+src_unpack() {
+ unpack ${A}
+ use amd64 && mv "${WORKDIR}/mattermost-desktop-${PV}-linux-x64" "${S}"
+ use x86 && mv "${WORKDIR}/mattermost-desktop-${PV}-linux-ia32" "${S}"
+}
+
+src_install() {
+ insinto "/opt/${MY_PN}/locales"
+ doins locales/*.pak
+
+ insinto "/opt/${MY_PN}/resources"
+ doins resources/*.asar
+
+ insinto "/opt/${MY_PN}"
+ doins *.pak *.bin *.dat
+ exeinto "/opt/${MY_PN}"
+ doexe *.so "${MY_PN}"
+
+ dosym "../..//opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}"
+
+ newicon "${S}/icon.svg" "${MY_PN}.svg"
+ make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
+
+ einstalldocs
+}