net-im/mattermost-desktop-bin: 4.3.1 bump
authorMatthew Thode <prometheanfire@gentoo.org>
Sun, 3 Nov 2019 20:08:42 +0000 (14:08 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Sun, 3 Nov 2019 20:21:12 +0000 (14:21 -0600)
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
net-im/mattermost-desktop-bin/Manifest
net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.3.1.ebuild [new file with mode: 0644]

index 199effec862a9eb069f4f5285f47749eaa11c4d8..11fbac65382ac904120da56a2fff0eec9148d471 100644 (file)
@@ -1,3 +1,6 @@
 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-4.3.1-linux-ia32.tar.gz 96713874 BLAKE2B 863b570cb2e67ce675b5ed07add09f9f80fca9902dac70c2ba68ff3a42499b369dd7b4872872564d04e37fb026d6cdac463fcf300e39083533650616f53cd674 SHA512 0da5e1b355b7745a8d8fcd11e2e007aaef8e90691021eb5df5c523888f272ec4d3adf2fb28ad2d011d15e32cf8d9d298eb5d9ef29ef10f3810eb751422881583
+DIST mattermost-desktop-4.3.1-linux-x64.tar.gz 95188620 BLAKE2B ebbe7de9940551d5d217a56e8ff75bcc7eea92baf7916c0e1f57bea18c6267734984b4d4ea79e18cb0b4bda58cc71d6252758aa03d15d192ac38d2b5cb906273 SHA512 f0fef61f14b15c5b63d0533f422792a7540a33963241853b79524090dca8513f677ebafada7a73c22ce8fb36103712f2029ee5b96bf415e12be547634044c899
 DIST mattermost-desktop-bin-4.2.3.tar.gz 1126293 BLAKE2B 363236d8fe2df03cef66ce32d650af9caabf83cd1e37b4bd5b36ddb3fd015fa60608e49491d4ffdda3495bcf7318da6f4019e52a27e0971b0e47164ced1bc1f4 SHA512 478124a2cf9fff618035d408a73176fd68c21d16fdbecc307c621bf576d9bbdd2663a52a1dd4be6e3a0ea52029270d3f1d92c2180f0158b3c29d4116630c6f37
+DIST mattermost-desktop-bin-4.3.1.tar.gz 1187305 BLAKE2B 42005f0eb9b127362ef1a1fa50c50fcba55a3c9402f71dfb79e39dee1b8c74f7b9da01daa10de6f0ef7fa09ed5373ec6f8587f3f42510994eb7f5b0449ec35fe SHA512 8e0a0c904db387dad872aca5430e38927d99445cb53f0afe5ccf0fb783ae53684bc40a338ccac3a78cc0bf578488cddf4580dbc76f131864bfc648667da97c05
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.3.1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-4.3.1.ebuild
new file mode 100644 (file)
index 0000000..288732c
--- /dev/null
@@ -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
+}