summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2019-08-11 13:52:43 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2019-08-11 13:53:31 -0500
commitdb390b19d8a74991ac44c81b8c900fac528aed61 (patch)
tree0ffde670ca31037cd4bca38b1b228b14f384a23b /net-im/mattermost-desktop-bin
parentwww-client/chromium: restore stable ebuild (diff)
downloadgentoo-db390b19d8a74991ac44c81b8c900fac528aed61.tar.gz
gentoo-db390b19d8a74991ac44c81b8c900fac528aed61.tar.bz2
gentoo-db390b19d8a74991ac44c81b8c900fac528aed61.zip
net-im/mattermost-desktop-bin: 4.2.3 bump
Bug: https://bugs.gentoo.org/662978 Package-Manager: Portage-2.3.69, Repoman-2.3.17 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.2.3.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 4092e6cf549..8878e7e6af0 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,3 +1,6 @@
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-4.2.3-linux-ia32.tar.gz 66255949 BLAKE2B de657ed1944e516c184eaa65bea7a8e395c97b93e788bd5f7c13e749d6ecde7a26b0c4901a838c23f1785ff1c498cc982082bc9836bdd8b74cce6a53f49d8a13 SHA512 e8ff1893b8e9bfd7ea99b64f99b3a2302939dc21877fe99de5137cfcc5d6ae688f1fabcba4ebac4e0e41366a419666a5a37795a9804a15f6a12d083d20797613
+DIST mattermost-desktop-4.2.3-linux-x64.tar.gz 63208288 BLAKE2B 6f8389bf1149ca14b9f97f71a897e2900e194ca0fc0a4fe68fc317d594347db9d6f3887e5ec191498ee278a3e83aab5101c53857132353f9441b90ea7ea26a67 SHA512 0c0a700741c21cc9f10049b10ba9c561f0d50d705eeecf1044a5a14c3707b93ad4eeb58c7bed8ed3898d4c3ac43853203fd1c3ed8c60830657084159768c4a7b
DIST mattermost-desktop-bin-4.0.0.tar.gz 1217683 BLAKE2B fdd9d2798d90e335c0d125d9df1b81007639b5de61a3b4d10a1a2bda237ddc1c2abbc20aa6259710172f0b9c673297a76ae9abc6226fd8c39c417084dddbe440 SHA512 35ee82de509416fbd9abfe8f519e3b7461da4978dc4df86f82f433edef6e4d575adaac6d9f95ad11bac5d6cda7830c45cdf517d6e8af969751a387915ed1bade
+DIST mattermost-desktop-bin-4.2.3.tar.gz 1126293 BLAKE2B 363236d8fe2df03cef66ce32d650af9caabf83cd1e37b4bd5b36ddb3fd015fa60608e49491d4ffdda3495bcf7318da6f4019e52a27e0971b0e47164ced1bc1f4 SHA512 478124a2cf9fff618035d408a73176fd68c21d16fdbecc307c621bf576d9bbdd2663a52a1dd4be6e3a0ea52029270d3f1d92c2180f0158b3c29d4116630c6f37
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.2.3.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.2.3.ebuild
new file mode 100644
index 00000000000..288732cad02
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.2.3.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2019 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
+}