diff options
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.9.0_rc2.ebuild | 95 |
2 files changed, 97 insertions, 0 deletions
diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index 3c113f37876c..4f57a833697b 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -2,3 +2,5 @@ DIST mattermost-desktop-5.8.1-linux-arm64.tar.gz 103062905 BLAKE2B 0a40d98ab9ff3 DIST mattermost-desktop-5.8.1-linux-x64.tar.gz 103008114 BLAKE2B 0f944b3db932e8533b894137c179b6a3e2cef3c08f9ddb02ee927007612304704c0aca7383ddf9d1147f4f79d4ce559bca60b7af07e1095d29ac35078e04f204 SHA512 ca503d85cd72a7f29cc45edabdd83d0e98e28f553e48631bd209a7a3d1e9e02ab11a9c1778bee5cd7bcc4082d8c760b31ff0fec42a82781a1024bfbc43e51d91 DIST mattermost-desktop-5.9.0-rc.1-linux-arm64.tar.gz 105770477 BLAKE2B c643a2dabda9ce12ab8be63cb759c6a55d985c5585aad20dad6436db430b60013d5b500bfc9b88ff24da15cbf626f389f7d33615f3bd06fbbef54d6c6cd75ac3 SHA512 634e16362cf3431bf8e679108db9549b1043978bc32733dc754572a572ae7a263e25d21ed7c198226ed7e8b27678eb9bea92ce6eb1289e40c32ca645e57588b6 DIST mattermost-desktop-5.9.0-rc.1-linux-x64.tar.gz 105756572 BLAKE2B cc3fa341202a81b1b59b6d1b1e454af89110fc03e6a063270758fc1efbb45e24b6f8a9d85688f831003efeb93ee9c2f0ec2d701bc3af5a3cf5e521471e76c1e5 SHA512 80a86dee71ccf406cad6147dcc2a0c510ba66d29badd756ab5e396a5b7c08969967a508ad0bfe70ddaa273a84d1ab5739094f9818e36543c3ac5a23650ade2fa +DIST mattermost-desktop-5.9.0-rc.2-linux-arm64.tar.gz 105770643 BLAKE2B dc6b23cd64ea5daefd1338d09b91713ffa082eabd69dbb95c4323af0bc3fe7e42429e6eedbc12b29f6b41a190b1d24f41360ef55cabfb514b909c7de46e82d36 SHA512 640849e0fe36b37dd266a6a78537f50d85c0f41b4fb0e37eecdcd1acf13f436342b008347f71510aaceb64ed88e28beb677f7da5cdd86025f057fbf6c81d0471 +DIST mattermost-desktop-5.9.0-rc.2-linux-x64.tar.gz 105756582 BLAKE2B ceae9fb150c5a93e5526e7653202ce0141532a1b04f6f08b06aa2b0505936e223074ea0dcb1a5e892998b5fa6e5063b50b1b1ced08306e9e1560c765cf0ce270 SHA512 877474b3c65a1a482f1b9d82a05db01fc6cef28d89ab21495f518c95f10a09af665623668c8f6875973356309e6eaff976080d4d301cc4d321a0f110ab432b34 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.0_rc2.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.0_rc2.ebuild new file mode 100644 index 000000000000..8db20297843a --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.0_rc2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2024 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 ) +" +S="${WORKDIR}" + +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 +) + +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 %U" \ + Mattermost "${MY_PN}" "Network;InstantMessaging;" \ + "MimeType=x-scheme-handler/mattermost;" + + einstalldocs +} |