summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac.paragon@gmail.com>2021-08-08 13:58:02 +0300
committerJoonas Niilola <juippis@gentoo.org>2021-08-14 08:45:04 +0300
commite531e49db4ad8801257bff19c9652fb52baa5172 (patch)
tree712f9f69db4798446cd3558bf2f2c3ba8d90eea9 /net-im/mattermost-desktop-bin
parentdev-lang/nasm: Adopt package (diff)
downloadgentoo-e531e49db4ad8801257bff19c9652fb52baa5172.tar.gz
gentoo-e531e49db4ad8801257bff19c9652fb52baa5172.tar.bz2
gentoo-e531e49db4ad8801257bff19c9652fb52baa5172.zip
net-im/mattermost-desktop-bin: bump to v4.7.1
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/mattermost-desktop-bin')
-rw-r--r--net-im/mattermost-desktop-bin/Manifest2
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.7.1.ebuild72
2 files changed, 74 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index 117bf7fa8086..0fd3d8b46af7 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,2 +1,4 @@
DIST mattermost-desktop-4.7.0-linux-ia32.tar.gz 83111746 BLAKE2B 81b7f50570e29a562b5abb9f84296212d7e0b48f9346a0cd9b3f46411010aaf4da05ce96508743f083f7519b2e5ee6fdaedae211228d2e9ea1a00b62eda4d70e SHA512 7520384b61efa0cf80feb9028fcb632d5e4fc29b907a53436c59359aa1d4f2ebbed0be4da41ead97f7450fe389815e69f2513acc9e63cd3cea2286a49e96ff83
DIST mattermost-desktop-4.7.0-linux-x64.tar.gz 84882264 BLAKE2B b9667ee63fe9fe756d431efbe53c259a96cccf05d29a8a47e660f835ebad3ae826bc274aa8a8daa481c333a28d38bce9025b5a22dd730927bab901d87538c5de SHA512 225fa12e684f3735f4c55869ee27ee3cf26385bdfadeedc01c1fe070ebe585277fd701611a7275bd5bc894a0d0460e484ff31f959aa41a0b0b98c19d486986b6
+DIST mattermost-desktop-4.7.1-linux-ia32.tar.gz 83083553 BLAKE2B 75a914adab3d080ca95f76cb2bd8e11a1e9bb7b434ffd55c477ff38295b84e57c01f22596810ba6b4beb28e663e134ce36fce18ed71440213f0595db4b3ad256 SHA512 3d9264030f1b68ce052c5d453259e8e68f8b09a84e4854c84db1fb48beff5e0d67b0be5ac31a6b650c30baf53cd5eb2b024df8bafe37706ad1b721bfd8ef7f02
+DIST mattermost-desktop-4.7.1-linux-x64.tar.gz 84864146 BLAKE2B f0166d52fa49babd4ab13258edabd567f5114544af9dc9c59f094d5751cc3bfc26085523fa345d9cd252f7bc81763ecbeac55b921988a4ca9571fec9e5d5321e SHA512 2698e2fab7bf53554138618b20c54a70feb022d4a0d822f3e65d800cd9de8d0cdf53145f79074f7beb3dc29168c5a9c67f05dae3b3e628db1881c7cdd6c699b6
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.7.1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.7.1.ebuild
new file mode 100644
index 000000000000..c160cee4a147
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.7.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN%-*}"
+
+inherit desktop
+
+DESCRIPTION="Mattermost Desktop application"
+HOMEPAGE="https://about.mattermost.com/"
+
+SRC_URI="
+ 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="
+ app-accessibility/at-spi2-atk:2
+ app-accessibility/at-spi2-core:2[X]
+ dev-libs/expat
+ dev-libs/nss
+ media-libs/alsa-lib
+ net-print/cups
+ sys-apps/dbus
+ x11-libs/gtk+:3[X]
+ x11-libs/libXScrnSaver
+"
+
+QA_PREBUILT="
+ opt/mattermost-desktop/mattermost-desktop
+ opt/mattermost-desktop/libnode.so
+ opt/mattermost-desktop/libffmpeg.so
+ opt/mattermost-desktop/libGLESv2.so
+ opt/mattermost-desktop/libEGL.so
+ opt/mattermost-desktop/libvk_swiftshader.so
+"
+
+DOCS=(
+ NOTICE.txt
+)
+
+S="${WORKDIR}"
+
+src_install() {
+ if use amd64; then
+ cd "${WORKDIR}/mattermost-desktop-${PV}-linux-x64" || die
+ elif use x86; then
+ cd "${WORKDIR}/mattermost-desktop-${PV}-linux-ia32" || die
+ fi
+
+ 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}"
+
+ make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
+
+ einstalldocs
+}