summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac.paragon@gmail.com>2022-02-03 20:26:13 +0200
committerIonen Wolkens <ionen@gentoo.org>2022-02-06 14:33:47 -0500
commit70ba649be53edcb02fdbb5dd483fd9a5065f1ce0 (patch)
tree0295fced3242ae14c7994fff808b51fa1f48cb46 /net-im
parentapp-admin/filebeat: remove unused patch (diff)
downloadgentoo-70ba649be53edcb02fdbb5dd483fd9a5065f1ce0.tar.gz
gentoo-70ba649be53edcb02fdbb5dd483fd9a5065f1ce0.tar.bz2
gentoo-70ba649be53edcb02fdbb5dd483fd9a5065f1ce0.zip
net-im/mattermost-desktop-bin: add 5.0.3
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/mattermost-desktop-bin/Manifest2
-rw-r--r--net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.3.ebuild89
2 files changed, 91 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest
index 660dfb795d99..5ff2a8916fd7 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -1,2 +1,4 @@
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
+DIST mattermost-desktop-5.0.3-linux-ia32.tar.gz 86956056 BLAKE2B c9d1fbd60c6e2c9af011a03afb58817692f23c3beb477cc57c8afa3a7d133beeffdba9035cc73cb7d3e82c4adaac41ad17ba7306626b4a18e2e032dc7791aac5 SHA512 dfb23e1dc71a6fdb1df78d8b5aa7ec0fe8ed57c6ff834fb0a47de5274a91874aada92e7fdb27563e071cf1a0e191e5eb1defa118caf25bb3f0cd30e6c205ac39
+DIST mattermost-desktop-5.0.3-linux-x64.tar.gz 87315409 BLAKE2B 564f9123ab6ed7a3431c2b1ff6614eb417d6ed6577a9f94cf9ce6f1d216329700076fede5d08c24d1d1d49cffe1f808357d22f475df70df4623cac6dc23060d7 SHA512 0d056279ab9a9dbe16ec5098149030b8a1bf54de1dc0c5785a57b118f7667614bb20eab5dc64776ad9ffaa6ce4914a01427db43b91a19cf28f5adf94d70049ae
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.3.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.3.ebuild
new file mode 100644
index 000000000000..ccf40a4e5d93
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.3.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2022 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
+ sys-libs/glibc
+ 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
+}