summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2020-08-16 16:32:45 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2020-08-16 16:33:17 -0500
commit23f42545eddd0c38c889cd3cd3837a2fe64e03ca (patch)
tree5b4b41ae653607be34531cb72f3aaeb0344a1743 /net-im/mattermost-desktop-bin
parentsci-biology/bedtools: Add missing ${PYTHON_DEPS} to BDEPEND (diff)
downloadgentoo-23f42545eddd0c38c889cd3cd3837a2fe64e03ca.tar.gz
gentoo-23f42545eddd0c38c889cd3cd3837a2fe64e03ca.tar.bz2
gentoo-23f42545eddd0c38c889cd3cd3837a2fe64e03ca.zip
net-im/mattermost-desktop-bin: 4.5.2 bump
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'net-im/mattermost-desktop-bin')
-rw-r--r--net-im/mattermost-desktop-bin/Manifest3
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.2.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 015bf9035ab4..28521d166f13 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,3 +1,6 @@
DIST mattermost-desktop-4.5.1-linux-ia32.tar.gz 104826424 BLAKE2B c2d29b5ba463d7e6c586c725dc3628ff6a2f04edf033632d35a753d00416ff2d4337e6847e7280b2e74e600697d59a0b177e62b215a359757f7ddf256d41bcae SHA512 9358d8979b022207e5679b3b65a853a5c1d3a1f822c9dbb856253e19bcef29efacc75ab00a713b987e5d91265fab15cc5721413f828c98e4ef2e035c48f655bf
DIST mattermost-desktop-4.5.1-linux-x64.tar.gz 103238742 BLAKE2B dc7e9e2358cb9d82a080fca3082abff38a7850b5cb66cd47d8c111963e2980445f6767ee1f1cdcfedb8b8ff399bf20467de898ff7cc1e7b415e9d999d835e362 SHA512 7b1504c957ee30b2f3faa091556c30ac2e5a8cfd7595282e51bc616a74b2da76a6b363ebc56809c6bfdb931d08ae75360ef85bf6a6abe00c40ccccc14754e0bd
+DIST mattermost-desktop-4.5.2-linux-ia32.tar.gz 104826222 BLAKE2B f0552069099e548b4eff29a8dee8b830ebdba7aeab708748a242776a5d758be2253e8e2bbfe8f0b4eda5d0c25cad46fa7e7728233007f76102ef7b271a0280a5 SHA512 21943587b00585ab103213726de16bd010a013be2d780a9b1bad1ffb2bbcc23bff0cab76699bebb324e950b7d321df1d657cdbb8f889d670bfb7d8ca961ee652
+DIST mattermost-desktop-4.5.2-linux-x64.tar.gz 103238897 BLAKE2B 46e56c55409db645ba0962a816f584610decea4696c182e66544d2085d5b420019aed7d2680c5a90b7bdd293f9549be81508d24f79d409446918f862bfeca474 SHA512 f22938b629840dd6e8fbdec5e6ae6fdadaa0eae0fb727a063ef1539a3a0a625d61dd8468ea8cf45732a8f3b2c6da002dceed2b287aa75b14d09a03268f967eb4
DIST mattermost-desktop-bin-4.5.1.tar.gz 1653861 BLAKE2B 2ad02df830cd2b62a730e8c6b385a739cfa7be30765ee4245f92e7a3db194ea03863490b337d03d47357f0d18ec31dd34fcde4576b93c80702e716ae9fd772a7 SHA512 6e2269de681ec416be2354ff8ee37d219ede4b10361e6a3669cc4e93e9ab06cd6a198dece05411756fdea271e55cafb94ad29161801cc55b5dae02b99b24ccab
+DIST mattermost-desktop-bin-4.5.2.tar.gz 1653801 BLAKE2B fac573ce27cd693489a173d3b90480476e569a7d0c435a53e44b075fc96a56720558e1e555c5a587f0fb7bed06b7f5e53c11728280804e812ee2090adc6d96d3 SHA512 69148aa9de18f6dac78450dc0b79630e9ea1552027ed46f6d03aca02ae57342b251a236f4c3ed6b9145e050be38d7748820bc4dd9f36f300c59940b7c2db7827
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.2.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.2.ebuild
new file mode 100644
index 000000000000..0f1c0d6f81df
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.5.2.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
+}