diff options
author | Viorel Munteanu <ceamac@gentoo.org> | 2023-06-09 08:12:05 +0300 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2023-06-09 08:12:05 +0300 |
commit | 89e5f80cc0df16dcb57d2872601425b3e1ff4ee3 (patch) | |
tree | 1509d54287ea6c29a31836106a1cae9bfa478617 /net-im/mattermost-desktop-bin | |
parent | dev-util/radare2: drop 5.8.2 (diff) | |
download | gentoo-89e5f80cc0df16dcb57d2872601425b3e1ff4ee3.tar.gz gentoo-89e5f80cc0df16dcb57d2872601425b3e1ff4ee3.tar.bz2 gentoo-89e5f80cc0df16dcb57d2872601425b3e1ff4ee3.zip |
net-im/mattermost-desktop-bin: add 5.4.0_rc2
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'net-im/mattermost-desktop-bin')
-rw-r--r-- | net-im/mattermost-desktop-bin/Manifest | 2 | ||||
-rw-r--r-- | net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.4.0_rc2.ebuild | 94 |
2 files changed, 96 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index 5ccf39d64c8e..96932d67ef3e 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -2,3 +2,5 @@ DIST mattermost-desktop-5.3.1-linux-arm64.tar.gz 99877249 BLAKE2B a519510d2d5e09 DIST mattermost-desktop-5.3.1-linux-x64.tar.gz 99666315 BLAKE2B 5d330cc70404e969c9a7e1ed65c0ad6361453c331639e20443ac25d9c7df179667bf55c737b4392eb738ae58cc708d6542ff1de9a53411381321dbdcafebf725 SHA512 94959fbd20598c7c13838e5ce8c95ed71756d4f59a377dd98662d23f70f8f600d35f8ac027d2fd0da63ae72af930814322cc57a1be1c43389e90cd58ad3b5cfb DIST mattermost-desktop-5.4.0-rc.1-linux-arm64.tar.gz 98203300 BLAKE2B 7e012c44e2270846e52d06608f6a1bc1ae5cd3996213eed0595dc6ecb4bd48eb0c4d67743f20b546d05e632876423514d38975ecafa462ca473c8fdd9a1715a4 SHA512 721376179f5a7ee93039c058427e34002480d27b3ec5de01f434c4f299e11ffb8d92299882cd744ffa8653a889b4a598e88c061670608f998a452226abb8a1ea DIST mattermost-desktop-5.4.0-rc.1-linux-x64.tar.gz 97476728 BLAKE2B 23cc225ff1456f0ec256fc4606fa8bcd63d35b45ad9eb1543f58662a01a03e963b1aacfae0faf8b2c96cd32c2e0f359cca3394aab3086ddcf3e7b996db5398e8 SHA512 232ca64f884ad756c45063fd7b4c8964195ca0267387b02a8c0055edb8552cf6ff77c303b17b58affacc3ff370939f979b4a483e23d0b269179fd8e23ca43981 +DIST mattermost-desktop-5.4.0-rc.2-linux-arm64.tar.gz 98202823 BLAKE2B b29548c8beaac6193003efa9e9e0e5f0530ac5f328723adb2b2d3c81b6eb269f008cddf32c847df51822109938625f8a033efc38e4b39a6bda7e402bff276d7d SHA512 6ff1dd645d4207787b9d3f79b08d8ab5e54c71bcf7ef983ddcc99695fdfa14ddaa82f56a902418a88aff0e2d9783e0002845253d1645ff786c9377506e7d310d +DIST mattermost-desktop-5.4.0-rc.2-linux-x64.tar.gz 97476926 BLAKE2B 250065f5861ba0bea33baaab1b0db63af82b54bd73865346cb2c44584f6e44dad6534ab91648f523f45900e75566e56764102922ad08c5a12a5a7896f47312aa SHA512 ed4fa6f6fed3eded888a9620e08b819356957fad1c52e23a119bf2141edfad8f9ae2443d8a5e22d4154823427ea5b3e4708104c1dfe45d1280375e590c68206c diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.4.0_rc2.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.4.0_rc2.ebuild new file mode 100644 index 000000000000..6239ac543889 --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.4.0_rc2.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN%-*}" +MY_PV="${PV/_rc/-rc.}" + +inherit desktop xdg + +DESCRIPTION="Mattermost Desktop application" +HOMEPAGE="https://mattermost.com/" + +SRC_URI=" + amd64? ( https://releases.mattermost.com/desktop/${MY_PV}/mattermost-desktop-${MY_PV}-linux-x64.tar.gz ) + arm64? ( https://releases.mattermost.com/desktop/${MY_PV}/mattermost-desktop-${MY_PV}-linux-arm64.tar.gz ) +" + +LICENSE="Apache-2.0 GPL-2+ LGPL-2.1+ MIT" +SLOT="0" +# Starting with 5.2.0 upstream dropped x86 for their binary release #879519 +if [[ ${PV} != *rc* ]]; then + KEYWORDS="~amd64 ~arm64" +fi + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2[X] + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-libs/wayland + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-libs/glibc + x11-libs/cairo + 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/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 + opt/mattermost-desktop/libvulkan.so.1 + opt/mattermost-desktop/resources/* +" + +DOCS=( + NOTICE.txt +) + +S="${WORKDIR}" + +src_install() { + if use amd64; then + cd mattermost-desktop-${MY_PV}-linux-x64 || die + elif use arm64; then + cd mattermost-desktop-${MY_PV}-linux-arm64 || die + fi + newicon app_icon.png ${MY_PN}.png + + insinto "/opt/${MY_PN}/locales" + doins locales/*.pak + + insinto "/opt/${MY_PN}/resources" + doins -r resources/*.asar* + + insinto "/opt/${MY_PN}" + doins *.pak *.bin *.dat + exeinto "/opt/${MY_PN}" + doexe *.so *.so.* "${MY_PN}" + + dosym -r "/opt/${MY_PN}/${MY_PN}" "/usr/bin/${MY_PN}" + + make_desktop_entry "${MY_PN} --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto" \ + Mattermost "${MY_PN}" + + einstalldocs +} |