summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorSergey Shiryaev <sergey@shiryaev.pro>2017-03-20 11:50:59 +0300
committerPatrice Clement <monsieurp@gentoo.org>2017-03-22 00:07:59 +0100
commitae03f83397d11adb361b7c0e46fffbda64d72283 (patch)
tree5abc0e5c48cbc8248c2d700aa7cb89a38a5ee519 /net-im
parentdev-java/saxon: remove leading spaces. (diff)
downloadgentoo-ae03f83397d11adb361b7c0e46fffbda64d72283.tar.gz
gentoo-ae03f83397d11adb361b7c0e46fffbda64d72283.tar.bz2
gentoo-ae03f83397d11adb361b7c0e46fffbda64d72283.zip
net-im/mattermost-desktop-bin: version bump to 3.6.0.
Closes: https://github.com/gentoo/gentoo/pull/4252
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-3.6.0.ebuild63
2 files changed, 66 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index d7829030f382..e387eac088be 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,3 +1,6 @@
DIST mattermost-desktop-3.5.0-linux-ia32.tar.gz 48847084 SHA256 116e2e5a8892de5b640da58b82eb593b98f62882486f972d015f623862e282b7 SHA512 cdb363ca5c13090ec484976a55efdc398549d6cfaefe19619443433f0cd8382ef00b1a65dc3e82caf4b7b7535e903392e9a51abcece131d4ea9c31661c024e99 WHIRLPOOL 14dc96fdeda67ac8fcbfe1a2eb3fc785c9bb342a34179a7948b60876c962ab31d30777ff2f7940f217ff2c9ca0a6d9422b091cb71065cccdc4cb63152c15c9d5
DIST mattermost-desktop-3.5.0-linux-x64.tar.gz 47617590 SHA256 a00d98b1cb921e2584a78a75c7b86b936780b788dbb9898b3cba0405bfe33cec SHA512 b9bd3a9c3e3c63fd45764916acbde863c9297b9c6a5fcf6f6321d19945709b6f8d50842bec880d003c0ca5555bde0d46725a485557f8cbfb36fdf36875915f13 WHIRLPOOL a5513503d6f756e9aebdb2ac7ec3c25db96254ea2004d4905071a8c09728874ca29d657438ceac5f4fadde7ccc624349b3e25db4109e13bb49602c52ed590d6d
+DIST mattermost-desktop-3.6.0-linux-ia32.tar.gz 48965181 SHA256 e5e0edff7d7760ad1e56b632c48303f81290f775d6e4990e16ffbb052bff893e SHA512 bfe521f7abb0883e9126f8aaa53adaa066d838f30a7c2a04eb120c04ce62e4cee30e23636b202f413bba8d7ea1289ebedc1bf4485098470aa3a9b07844a94bf3 WHIRLPOOL a6536d452129b8db9c8edf7a40cc3243d05411dee3ad0b410d9219212a09b9f5816c4d4cb8e0ed2492ce9a569ae3ab9f3d2d700b7d63fae0651a2d1b493089c0
+DIST mattermost-desktop-3.6.0-linux-x64.tar.gz 47733150 SHA256 2c3d4dab359f6f43b65dacf8778866015d208c6bef2df6b8f525efb578185f6f SHA512 4f5226f666c798455f2f8702027269b02f72a581dc3d5759727dd70f7a974c9eb9aec418d0b89fdfe2fa3cdf208bd277dca8e684f2e158d2cdb95be9657fe9d1 WHIRLPOOL b3e3471c7d17202de65e9118319bcceb17b1f45b0affe9e81a198d040576a08a06746648a94af9a93068d95ae51edb101a31ac44b57d57aaaf145f6f6d088505
DIST mattermost-desktop-bin-3.5.0.tar.gz 763198 SHA256 9948a5647906c6e759961072f838cebb38c5649a112fe9d053b90ec13e2c564c SHA512 06924e4ce18cbe8fd50c0742a74b0a2ec732c7a419bb741c6991097a0a7be01afdfc4ce43125856508aa06750e35d12ce34d06a1e5d6eb6ddd14e81a0a6dffba WHIRLPOOL 00e696a34a3c509cf3a15bdc7eb15043eb3141ef6f0aea0e7a2154485093260819e494c46c57d9d7c3a9a293991e35754cfdbb342657d3599d974d8c31f07d14
+DIST mattermost-desktop-bin-3.6.0.tar.gz 769891 SHA256 4f85d81455f8d7f6948e0e997dd8df11936bdf6170f8882bcebaf0ef95fdff7a SHA512 ef781d4d9823642b767705c4182a38414e457978f775c3042ab72a9cf71c82c7c557193e333d18bdfc69cdcc647c39d0a52a666d72aabfbb848940af2d400710 WHIRLPOOL c78d6368f1518dfc3027b5bc21bf5f2c70433c30de85f519fdc2ac4ab1ddc478e48144c7e2604d9f5adc52a01095ee963e04a889a6b0ab3739c54461c63942a3
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.6.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.6.0.ebuild
new file mode 100644
index 000000000000..71d5332674bc
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.6.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils
+
+MY_PN="${PN%-*}"
+
+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"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="mirror"
+
+S="${WORKDIR}/mattermost-desktop-${PV}"
+
+QA_PREBUILT="
+ opt/mattermost-desktop/mattermost-desktop
+ opt/mattermost-desktop/libnode.so
+ opt/mattermost-desktop/libffmpeg.so
+"
+
+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.png" "${MY_PN}.png"
+ make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}