From ca4249601a4a4849921e120b79483b8cbc3fb823 Mon Sep 17 00:00:00 2001 From: Viorel Munteanu Date: Thu, 21 Nov 2024 07:52:02 +0200 Subject: net-im/mattermost-desktop-bin: add 5.9.1, drop 5.9.0 Signed-off-by: Viorel Munteanu --- net-im/mattermost-desktop-bin/Manifest | 4 +- .../mattermost-desktop-bin-5.9.0.ebuild | 95 ---------------------- .../mattermost-desktop-bin-5.9.1.ebuild | 95 ++++++++++++++++++++++ 3 files changed, 97 insertions(+), 97 deletions(-) delete mode 100644 net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.0.ebuild create mode 100644 net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.1.ebuild diff --git a/net-im/mattermost-desktop-bin/Manifest b/net-im/mattermost-desktop-bin/Manifest index 85ff33bfc40c..422f97de230f 100644 --- a/net-im/mattermost-desktop-bin/Manifest +++ b/net-im/mattermost-desktop-bin/Manifest @@ -1,4 +1,4 @@ DIST mattermost-desktop-5.10.0-linux-arm64.tar.gz 111098957 BLAKE2B 2fd1b78c8812737da310ed29dd9e38633301ce6e4a3899cc03c8a48d9f36012abfbbb690cbecff08d779d633c84fae339c74ea66c9b6851e0a13da64368134e7 SHA512 a7a37b26a221b30febcf11d38241dbb54a383f25e24a3fe9028483d8295b96a6a86ddb6c60a6cbaf20a843e39ba9c9a3e5e692fa9125f607fd0e2d5776aa2570 DIST mattermost-desktop-5.10.0-linux-x64.tar.gz 280332343 BLAKE2B 8a1b41dae9b85ebf956a8636397b294681035b39490e8d16be4a0d1c2df9f1487becd5ce573999cb0525854e7920350eb22fe5a73592177ff355a4848661621d SHA512 3ebb2cae1673795b17586759ea004dc32075321f7372bd86e779eb63793c5a4c71a78bcacc5028dd62e1d1bba23e06e4c6747fabbc4b62952c175806dcfdd9cd -DIST mattermost-desktop-5.9.0-linux-arm64.tar.gz 105770103 BLAKE2B 582c1acb9a226620a10ea0973444edbdd81d7bb3b3ee715871e41b9bc00f3d21e0bc1c5bb88e96b9a4c96571cba381e022d9dc330bb211428160df9111be1054 SHA512 fe15d0874c0f1020a8c069c0cf9ff8432508e877006fd30ebf8cc3a33a11ba95d49b0698761a13ff324701198ea096908f6b18d0e13f0c3cf29cfc5183e85827 -DIST mattermost-desktop-5.9.0-linux-x64.tar.gz 105756649 BLAKE2B 23cdbf34e42ea98ba3667bf8b3a66fe3811ba8b9c70bb240fc5c4cab1ae32ca71a73eca5ea5ddc5ae3ddd0403fab197b3952bacff6dadcca5011ef05baa761fb SHA512 6877d9294af7823a3cc0064790c660ed09a653ac9a62d399acb64f4fcbd0e7e1f6fcc997869418aadf1434b6464e244eed207bfa8cc7cc3df2813a03892aeea8 +DIST mattermost-desktop-5.9.1-linux-arm64.tar.gz 105770476 BLAKE2B 26da1801500abd50fbee9a41b6c0efc4daa3df269fd81a1e3d9214e348da20cc7f7f5771a9c881359cda1098a255e0561cc35dd02e254296e8dc82ba54697588 SHA512 874b687d34e0a8a35a4d0822208d66845594879c07ba16ba1d7291f37e2241f3b48eb3ae67d0d2c57cf4ec853156718af065cc07c4e484b87a8b88d7c8fb0954 +DIST mattermost-desktop-5.9.1-linux-x64.tar.gz 105756741 BLAKE2B 49d04d9988d5b36adfa18ce2ae028a57046993725a6792b0cac83d3c181e11d1bbb68c9961ca5ef90705dfea8c0d016ab5286cb943b60ede096547524f124648 SHA512 305d1dd42b048aeeca3da2412621e7bac431dfb4ea97eddd20b20372e8ef19014023bbb049dffb2dc8e15bc4eea0757e3c9bf05e07bbc5bc7cc06c1281ce37a9 diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.0.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.0.ebuild deleted file mode 100644 index 8db20297843a..000000000000 --- a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.0.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# 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 -} diff --git a/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.1.ebuild b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.1.ebuild new file mode 100644 index 000000000000..8db20297843a --- /dev/null +++ b/net-im/mattermost-desktop-bin/mattermost-desktop-bin-5.9.1.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 +} -- cgit v1.2.3-65-gdbad