summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2021-10-27 15:14:16 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2021-10-27 15:14:16 -0500
commit1eff4192179df89f8a3607b9890715665db5e8e6 (patch)
tree079013770d7946fe25353eebf3d5ecabca909faa /net-im
parentdev-python/pooch: drop maintainership (diff)
downloadgentoo-1eff4192179df89f8a3607b9890715665db5e8e6.tar.gz
gentoo-1eff4192179df89f8a3607b9890715665db5e8e6.tar.bz2
gentoo-1eff4192179df89f8a3607b9890715665db5e8e6.zip
net-im/mattermost-desktop-bin: 5.0.1 bump
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Matthew Thode <prometheanfire@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.1.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 90a4e7a2a5b9..ec07cc606551 100644
--- a/net-im/mattermost-desktop-bin/Manifest
+++ b/net-im/mattermost-desktop-bin/Manifest
@@ -4,3 +4,5 @@ DIST mattermost-desktop-4.7.2-linux-ia32.tar.gz 83097780 BLAKE2B a348655796bb84f
DIST mattermost-desktop-4.7.2-linux-x64.tar.gz 84872358 BLAKE2B e82497c1fe15ccff40649b1fe7410b04d48b5bc7ecf934cc210fbdc5c316e4eeaf265cab5784980a0687cb69e7c0078b0066adaa3632b2e2625080442bcc272a SHA512 04a82af251caeb7a59538d2b1ebbebd3a914d9d9f6317fdac2ab3c1950d315783153850fe8f61b8ef354da566442b147fe5496985d8f52fd5c21dccbef29c2d0
DIST mattermost-desktop-5.0.0-linux-ia32.tar.gz 86955404 BLAKE2B 7c28fd55390c5a216cb2dc902809c230a7eb6fc3da6ee22fb3644c3e1891098322bd2147dfa06654a57bf12c75c909e0a23011f2390fa4ba64865849764dee53 SHA512 afcff8617fb3b267df455f8b56da552272719daac2f63d05bcbf2369dc42301b93c5fc031c1350ab6bb7280e259354e8b27bb0755d16a87aa4cb345921b0166e
DIST mattermost-desktop-5.0.0-linux-x64.tar.gz 87313050 BLAKE2B 1993f2d42b288ac5fc396489645fae90f5c94dd71647eba06f2b30035b5c8bc3b131b4a6174da2c010a64f83cd2fc3121651be475429321a5c5e4e7c9ea3aeaa SHA512 6fcef95e93074a1338c1953fb7c8124f77abaecedf2c9b5b3b8db07f6fbdd4ebf9c1598707843886d12875944095da407ec526620d0fd4af6aa5b5cd1dd9c511
+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
diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.1.ebuild
new file mode 100644
index 000000000000..e767c09c1e07
--- /dev/null
+++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.0.1.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
+}