From 5b4c3f902928d25a52c5d62add7797028f4d9dc4 Mon Sep 17 00:00:00 2001 From: Sergey Shiryaev Date: Sun, 14 May 2017 10:38:51 +0300 Subject: [PATCH] net-im/mattermost-desktop-bin: version bump to 3.7.0. Gentoo-Bug: https://bugs.gentoo.org/625466 Closes: https://github.com/gentoo/gentoo/pull/4625 --- net-im/mattermost-desktop-bin/Manifest | 3 + .../mattermost-desktop-bin-3.7.0.ebuild | 59 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.7.0.ebuild diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index e387eac088be5..de3a439aa804e 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -2,5 +2,8 @@ DIST mattermost-desktop-3.5.0-linux-ia32.tar.gz 48847084 SHA256 116e2e5a8892de5b 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-3.7.0-linux-ia32.tar.gz 57552057 SHA256 a26061952083611482d775ab059b224ba6756c5fe2feaef2315e8a5d755bbc97 SHA512 159e81dd0cf259cf32ca1b55905579df1b0227dd423a2fa71ee3b1c297ca8ca935ff4fba729e512edbc58358caa8dd1b1f5d565045b8cb56c49f1220c5092a72 WHIRLPOOL b8737f1cd9efc318a172172f940c2edfee6a4fc5c50d00898f763657270c16cfd76af04c41f8f867be83738309ad9b682131d511b160f54d5834ad712c77499d +DIST mattermost-desktop-3.7.0-linux-x64.tar.gz 56145589 SHA256 f6f62d736915c9cceda35580baff3be2af9bf2e23616a83a93187c580b108d4f SHA512 f46f13045850579c49a87ab2a01caf3c3d95ac6bb9bc807c414413df6804ea36342bbc0a31a75d10a3b048dc3ac5a3efe8c26883c0705aec8875900366b9b58a WHIRLPOOL 50593cf3717ec7a43ab0a5b08fec0068f7ec9b27bd208f1e3980c27afae535bf5704762298790f49ccb5cc3dd80950ed608349548a3b34c9039e7d4c107f8a10 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 +DIST mattermost-desktop-bin-3.7.0.tar.gz 817335 SHA256 cc2c1bc2ab6709307d7a1489d40125e81b7208b1b393e0c2af362f415b1dd348 SHA512 3abcd3078adf74922bd31e6e975afd66f2f335f73017f3153cabd6cb38d8a36d9e9a01a1d572f34d123f4e68ed47280901fa3490e90ca04bbd2002cefb912f2f WHIRLPOOL eb761140620c1fd9cf15cf513d763498d8432eccf95318a36f207ef63fbc6088e356e0e21db11c22e59a6ce76500fad89c8d74d3511d64490987fc14ae69ab0b diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.7.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.7.0.ebuild new file mode 100644 index 0000000000000..b7fb85c33a84c --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-3.7.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +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 GPL-2+ LGPL-2.1+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="gnome-base/gconf:2" + +S="${WORKDIR}/mattermost-desktop-${PV}" + +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_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}" + + einstalldocs +}