summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac.paragon@gmail.com>2021-11-22 09:21:21 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-11-29 09:31:20 +0200
commitaaed36e58c4dca48a5aa3c3207db848accb71eca (patch)
tree2b6a8ce418f7a8d4a5b616cccfba313fed9308fc /net-im/mattermost-desktop-bin
parentmedia-gfx/viewnior: add missing deps for 1.8 (diff)
downloadgentoo-aaed36e58c4dca48a5aa3c3207db848accb71eca.tar.gz
gentoo-aaed36e58c4dca48a5aa3c3207db848accb71eca.tar.bz2
gentoo-aaed36e58c4dca48a5aa3c3207db848accb71eca.zip
net-im/mattermost-desktop-bin: bump to v5.0.2
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/mattermost-desktop-bin')
-rw-r--r--net-im/mattermost-desktop-bin/Manifest2
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.2.ebuild88
2 files changed, 90 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index 7e1e45969f75..e996c64ec00f 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,2 +1,4 @@
DIST mattermost-desktop-5.0.1-linux-ia32.tar.gz 86954607 BLAKE2B 69235ffb605ba7db2138b2d13c51d05002d71914bd830cf40b33db04ae87924b380743725f84634e65fbe862105f02be1ddbe3a8c8fba25562063df2805ee8e9 SHA512 d04bde26e9ffb5d6750f1da87ac9c1f4fa3b464f2a48181d69fd5767a5b5ec2e71adecb4b2f59f326e3630f80b2cded40583a5efc0ef16ce73d962be4b6d991d
DIST mattermost-desktop-5.0.1-linux-x64.tar.gz 87312465 BLAKE2B e53efef88f3b3489334c5fd0145b1a559ee7ef39c360538286173e1017fb0e553b4a818d558a91962330063af3dc372c8fa562e514ede01f6f7a66b40308d770 SHA512 20b320efe99e1e0c8bfb8ab8dcfdb8987053680f9d0f83a5088d7607052d70a343459532c47e2ed76831425a4a7758f03c4efddd58bcbe5a480d8a94e3675617
+DIST mattermost-desktop-5.0.2-linux-ia32.tar.gz 86954293 BLAKE2B bcefc68f92358e072da236d51dbc970366674aac68640c77b24375661e027b357baa799bbe52834e7e616206eed2edea9fa8ae2e136a32dd8db027b1691f80e2 SHA512 15a9e71695f7c520c225b94a34e2887ecf9b39e72ecdf95f0c18d58d2c3ba13eeb771c49fcdf5f9fd7a36d11d1cec625965eda71762b19e1e9fff9514c083649
+DIST mattermost-desktop-5.0.2-linux-x64.tar.gz 87312644 BLAKE2B 44a77b62d7aeb978baad20ebad14f75fbad73bd160533287bfadba0148c8c3319f77ccf68ea7625f9fa2dd9d3a6baed6b2e48b9afea21b20ae407389a2161c3b SHA512 e9ad2b24b995ce04c53c4c18661822d40d6ad1ff0d990f9e0dbf00294d80e7884fb5b08302d5b1e8cece4bb95705814ff0ffd0243e4aef290d0a8b79ce622e40
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.2.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.2.ebuild
new file mode 100644
index 000000000000..e767c09c1e07
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN%-*}"
+
+inherit desktop
+
+DESCRIPTION="Mattermost Desktop application"
+HOMEPAGE="https://about.mattermost.com/"
+
+SRC_URI="
+ 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="
+ app-accessibility/at-spi2-atk:2
+ app-accessibility/at-spi2-core:2[X]
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/nspr
+ dev-libs/nss
+ media-libs/alsa-lib
+ media-libs/mesa
+ net-print/cups
+ sys-apps/dbus
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libdrm
+ x11-libs/libxcb
+ x11-libs/libxkbcommon
+ x11-libs/libxshmfence
+ x11-libs/pango
+"
+
+QA_PREBUILT="
+ opt/mattermost-desktop/mattermost-desktop
+ opt/mattermost-desktop/libnode.so
+ opt/mattermost-desktop/libffmpeg.so
+ opt/mattermost-desktop/libGLESv2.so
+ opt/mattermost-desktop/libEGL.so
+ opt/mattermost-desktop/libvk_swiftshader.so
+"
+
+DOCS=(
+ NOTICE.txt
+)
+
+S="${WORKDIR}"
+
+src_install() {
+ if use amd64; then
+ cd "${WORKDIR}/mattermost-desktop-${PV}-linux-x64" || die
+ elif use x86; then
+ cd "${WORKDIR}/mattermost-desktop-${PV}-linux-ia32" || die
+ fi
+
+ 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}"
+
+ make_desktop_entry "${MY_PN}" Mattermost "${MY_PN}"
+
+ einstalldocs
+}