summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Shiryaev <sergey@shiryaev.pro>2018-02-20 03:14:03 +0300
committerPatrice Clement <monsieurp@gentoo.org>2018-02-20 21:26:27 +0100
commit8f8f665d521228b5429f199ee01466d03b8ef2fb (patch)
treee1278f37531a68aadd7aa5784f0015151e035607 /net-im/mattermost-desktop-bin
parentapp-emulation/nemu: version bump to 1.4.0. (diff)
downloadgentoo-8f8f665d521228b5429f199ee01466d03b8ef2fb.tar.gz
gentoo-8f8f665d521228b5429f199ee01466d03b8ef2fb.tar.bz2
gentoo-8f8f665d521228b5429f199ee01466d03b8ef2fb.zip
net-im/mattermost-desktop-bin: version bump to 4.0.0.
Closes: https://github.com/gentoo/gentoo/pull/7233
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.0.0.ebuild90
2 files changed, 93 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index 554b772199db..a3549de0ec4a 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -6,7 +6,10 @@ DIST mattermost-desktop-3.7.0-linux-ia32.tar.gz 57552057 BLAKE2B 7f543512d4fab0a
DIST mattermost-desktop-3.7.0-linux-x64.tar.gz 56145589 BLAKE2B bebc6ac1e3a4cf3593525008722d74069c28ca73ff489df32fd99aae2ebebde5c96aa13a8fd4db7623afaa69663fefd1b35b43d9238f044c525f5b844ef5cec8 SHA512 f46f13045850579c49a87ab2a01caf3c3d95ac6bb9bc807c414413df6804ea36342bbc0a31a75d10a3b048dc3ac5a3efe8c26883c0705aec8875900366b9b58a
DIST mattermost-desktop-3.7.1-linux-ia32.tar.gz 58727870 BLAKE2B 536164e41832e35404089a0e0866ce0b5ed49f7253d85669e02b0f6054274a49d13df1ec5b2cc08e14e0a065c4b75ba6c6b807de61056915b5401cea8fbd847d SHA512 679aed097874fea7c245cb4d939065b3d42804a972b2d4593f1d3325b0e9208fe9c1b57c0d0b969ca2a4a5a00a8ee82735bef69eb82151932d1753b69ece3d2f
DIST mattermost-desktop-3.7.1-linux-x64.tar.gz 57327001 BLAKE2B 12d863139ef65ac2abf8191c1241fb0f6f8c3a1e7c6225e4a9361eb047ea06487f6f1e9f8b9e145f5c29cc818df1cd6a7c0d272f6ad76a9651bd7d99aed871f5 SHA512 4f709f3377b82e959a553c36932c18662c391a8f6a61a56df227b0f6054569c391a04dba9d071eaa35e9736ec49a2d1ae5339a8962d2476c338344ec977cd64d
+DIST mattermost-desktop-4.0.0-linux-ia32.tar.gz 61337701 BLAKE2B 5e5e2cf40c9f28c3d8384b8a6cffccf8c691bacef3f86d739fba9fda600f39135d48e48fe1d05f73d1e862b83a05931b4dd299e9c18c6e29251e5438d9f8b112 SHA512 0991010a3288ee1c75e5a4ffe40f0daa0c4c180edca6bf8a956e4a2baf97b4e76d4f503a12c0517cdeb0e93e742821fe131367501891046ec6d11336afd05f09
+DIST mattermost-desktop-4.0.0-linux-x64.tar.gz 60248946 BLAKE2B 20f70c6a333d5dad57030076db22dca5a82509713aec1e68e1decbf29057418fc3b738f50c93961828f714f1988b8069062a4ea9cab4750bd1552fad4805a0e8 SHA512 fb470a072b21f53c5b4e5197a6b3c124cbff27302d5612fa04df60f043e85fcefc575c2c7feb8ecc5a842400bac5291fff8b9b3f563abd17437f4e33d7e7421f
DIST mattermost-desktop-bin-3.5.0.tar.gz 763198 BLAKE2B 843c997fbe8145fda87b6d78fa4ccb16daa752443eb024427c520601faa07da16a6737232090d0cd8b2c0c7ce73811396a6ac568b136237526f0fd7c2b17f7a2 SHA512 06924e4ce18cbe8fd50c0742a74b0a2ec732c7a419bb741c6991097a0a7be01afdfc4ce43125856508aa06750e35d12ce34d06a1e5d6eb6ddd14e81a0a6dffba
DIST mattermost-desktop-bin-3.6.0.tar.gz 769891 BLAKE2B 0fcfef0ea4235abffa67451df7583789532185311018c252f75432538a5fedd810e4e22badc8d3ea794944a1b195e93f2cc1712cf323a8674c9ee6e951547d57 SHA512 ef781d4d9823642b767705c4182a38414e457978f775c3042ab72a9cf71c82c7c557193e333d18bdfc69cdcc647c39d0a52a666d72aabfbb848940af2d400710
DIST mattermost-desktop-bin-3.7.0.tar.gz 817335 BLAKE2B bec8dc420473b162ca440b0de1fdf9eebf0ec9d710fd85b86050f117d31155a3caee6949e61d6a510d287302aa1851001a88ba5f2f2dbaaa3a71cab7a10ad655 SHA512 3abcd3078adf74922bd31e6e975afd66f2f335f73017f3153cabd6cb38d8a36d9e9a01a1d572f34d123f4e68ed47280901fa3490e90ca04bbd2002cefb912f2f
DIST mattermost-desktop-bin-3.7.1.tar.gz 817296 BLAKE2B 43b64b243ba170607581ad0389078bf602c40f7ed05c3c9dda7b6ba167933817ec2d30b500cfd0d44527a0a202d4d27c88d090f5368579c01a71a1efee3a5f27 SHA512 92a545c823df644e6bb49712c67770fda606644d32ae3501d903223a1d3851f8bc7a55f86aa67f5df1dafcef5f87d438845ac722e44b074acb7b645accde8ae0
+DIST mattermost-desktop-bin-4.0.0.tar.gz 1217683 BLAKE2B fdd9d2798d90e335c0d125d9df1b81007639b5de61a3b4d10a1a2bda237ddc1c2abbc20aa6259710172f0b9c673297a76ae9abc6226fd8c39c417084dddbe440 SHA512 35ee82de509416fbd9abfe8f519e3b7461da4978dc4df86f82f433edef6e4d575adaac6d9f95ad11bac5d6cda7830c45cdf517d6e8af969751a387915ed1bade
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.0.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.0.0.ebuild
new file mode 100644
index 000000000000..eb29944e4626
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.0.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="${PN%-*}"
+MULTILIB_COMPAT=( abi_x86_64 )
+
+inherit eutils multilib-build
+
+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[${MULTILIB_USEDEP}]
+ dev-libs/atk:0[${MULTILIB_USEDEP}]
+ dev-libs/expat:0[${MULTILIB_USEDEP}]
+ dev-libs/glib:2[${MULTILIB_USEDEP}]
+ dev-libs/nspr:0[${MULTILIB_USEDEP}]
+ dev-libs/nss:0[${MULTILIB_USEDEP}]
+ gnome-base/gconf:2[${MULTILIB_USEDEP}]
+ media-libs/alsa-lib:0[${MULTILIB_USEDEP}]
+ media-libs/fontconfig:1.0[${MULTILIB_USEDEP}]
+ media-libs/freetype:2[${MULTILIB_USEDEP}]
+ net-print/cups:0[${MULTILIB_USEDEP}]
+ sys-apps/dbus:0[${MULTILIB_USEDEP}]
+ sys-devel/gcc:6.4.0[${MULTILIB_USEDEP}]
+ sys-libs/glibc:2.2[${MULTILIB_USEDEP}]
+ x11-libs/cairo:0[${MULTILIB_USEDEP}]
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
+ x11-libs/gtk+:2[${MULTILIB_USEDEP}]
+ x11-libs/libX11:0[${MULTILIB_USEDEP}]
+ x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}]
+ x11-libs/libXcomposite:0[${MULTILIB_USEDEP}]
+ x11-libs/libXcursor:0[${MULTILIB_USEDEP}]
+ x11-libs/libXdamage:0[${MULTILIB_USEDEP}]
+ x11-libs/libXext:0[${MULTILIB_USEDEP}]
+ x11-libs/libXfixes:0[${MULTILIB_USEDEP}]
+ x11-libs/libXi:0[${MULTILIB_USEDEP}]
+ x11-libs/libXrandr:0[${MULTILIB_USEDEP}]
+ x11-libs/libXrender:0[${MULTILIB_USEDEP}]
+ x11-libs/libXScrnSaver:0[${MULTILIB_USEDEP}]
+ x11-libs/libXtst:0[${MULTILIB_USEDEP}]
+ x11-libs/pango:0[${MULTILIB_USEDEP}]"
+
+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
+}