From 5d4291ee2ba8b85e8515b5f47b814a5c872eed04 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 28 Oct 2024 03:04:40 +0000 Subject: gentoo auto-resync : 28:10:2024 - 03:04:40 --- net-im/Manifest.gz | Bin 9095 -> 9091 bytes net-im/rocketchat-desktop-bin/Manifest | 2 +- .../rocketchat-desktop-bin-4.1.1-r1.ebuild | 102 +++++++++++++++++++++ .../rocketchat-desktop-bin-4.1.1.ebuild | 101 -------------------- 4 files changed, 103 insertions(+), 102 deletions(-) create mode 100644 net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-4.1.1-r1.ebuild delete mode 100644 net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-4.1.1.ebuild (limited to 'net-im') diff --git a/net-im/Manifest.gz b/net-im/Manifest.gz index 91175d3d76c5..ccc058906c90 100644 Binary files a/net-im/Manifest.gz and b/net-im/Manifest.gz differ diff --git a/net-im/rocketchat-desktop-bin/Manifest b/net-im/rocketchat-desktop-bin/Manifest index 930adc6813b9..1aac81b8cd60 100644 --- a/net-im/rocketchat-desktop-bin/Manifest +++ b/net-im/rocketchat-desktop-bin/Manifest @@ -1,5 +1,5 @@ DIST rocketchat-3.9.10-linux-x86_64.rpm 73538525 BLAKE2B be674b902c9c75481c51b50d3de3922a296adbf44eade04a4e1b01988254d4635aa2915f7566b59535fb0026aa41bf8fee121f5748b29ccc44c89b271df3d484 SHA512 75df8faef6b775eaa0e405319ae3d9f69244a93c38b1cc4ccd87be21c7f66f1f03246b0fe1de09c9eeeb70e6898609e6906c64914e57d2a24b7ada908f2737d2 DIST rocketchat-4.1.1-linux-x86_64.rpm 80672397 BLAKE2B bc4b3e73034ebbb4f5c751da9d1e1368e896903de69e34838c72b5047e21f613dabfb72756c4171d83b7275a2c5a5233f7a9c245fcf06d6fcee19d98fc7a5a3b SHA512 840f2844e4866568de2ffccf1bd8c4f4aed217248780f190221f5f836e2b0e356239736840ceb3dc319637ffe456c19a14a574c285c589d2ad7ef1d08223313e EBUILD rocketchat-desktop-bin-3.9.10-r1.ebuild 2555 BLAKE2B 6b394b0dba8ef7e305ea477b48930ce7c02b9c77bacd869cbc186a085330beedca11b3ce79393da53dafd81ea4e72269c7011ee8a923f6340794059688d3dc92 SHA512 878e80b027d19590b0ff6afe1936beea1c7fb9bf91b2da507d59a10db5d11200a20f09ebe6caae19f876c46fd72c2f796fce23ddfe8844a0c50f00b08fc24bc4 -EBUILD rocketchat-desktop-bin-4.1.1.ebuild 2444 BLAKE2B c8ecc38fc704f567c8a23fef2a86573ee7626025019c75a76ac1bb249bfce034ed868f48dda2517849d0cc93b990ac6fd349fe185cf4713a87b07be338649b9d SHA512 2314b9e14fb488fe5cf56e226ef33f782534fcb6b005c8f2ce11892c66e67c5a7dfa080ca17227dd4cd01d8ff30584d2b175833e23bac6d6da8bd9dae9237277 +EBUILD rocketchat-desktop-bin-4.1.1-r1.ebuild 2478 BLAKE2B 80b163127562000d8cccf2bf904f76397ce27a4bf06ad50bdd8a1c133eb6900e215c09760461eb0030f68dfcf0cd0c6371c6d713f50ad0b916f92d80beef00da SHA512 34b2548736ecd7baf49e72e9fe6730eee9eb4c357e35649eb95138a5bebfdac4a930b3f70f54713b8d9128b8c17730f8921bd5f3f98fce5aece665accd59b92d MISC metadata.xml 343 BLAKE2B 550cccafaf9403016c1683ce3cbd8618c38a6f7555c2635d63e1083174c70be99134cfac88e8276cea6ce3a3229f9a4ed38afb70b51b6268fdb53b7ae08fc968 SHA512 de171baf1e04d370b73dbd7f2ff46c87d11b34be7fec922ac54b3c522ae31c89d8d210b7fa70406f6e2f283781a780b34ac30c0f3c9dfbcd89f91e5667b62778 diff --git a/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-4.1.1-r1.ebuild b/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-4.1.1-r1.ebuild new file mode 100644 index 000000000000..2fc58ad7904e --- /dev/null +++ b/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-4.1.1-r1.ebuild @@ -0,0 +1,102 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CHROMIUM_LANGS=" + af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he + hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr + sv sw ta te th tr uk ur vi zh-CN zh-TW +" + +inherit chromium-2 desktop rpm xdg + +DESCRIPTION="The Ultimate Open Source Web Chat Platform" +HOMEPAGE="https://rocket.chat" +SRC_URI="https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${PV}/rocketchat-${PV}-linux-x86_64.rpm" +S="${WORKDIR}" + +KEYWORDS="-* ~amd64" +# Electron bundles a bunch of things +LICENSE=" + MIT BSD BSD-2 BSD-4 AFL-2.1 Apache-2.0 Ms-PL GPL-2 LGPL-2.1 APSL-2 + unRAR OFL-1.1 CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved +" +SLOT="0" +RESTRICT="bindist mirror" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/libayatana-appindicator + dev-libs/nspr + dev-libs/nss + media-fonts/noto-emoji + media-libs/alsa-lib + media-libs/mesa + net-print/cups + sys-libs/glibc + sys-apps/dbus + x11-libs/cairo + x11-libs/gtk+:3 + 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/Rocket.Chat/*" + +pkg_pretend() { + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + # cleanup languages + pushd "opt/Rocket.Chat/locales" || die + chromium_remove_language_paks + popd || die +} + +src_configure() { + chromium_suid_sandbox_check_kernel_config + default +} + +src_install() { + for size in {16,32,48,64,128,256,512,1024}; do + doicon -s ${size} "usr/share/icons/hicolor/${size}x${size}/apps/rocketchat-desktop.png" + done + + domenu usr/share/applications/rocketchat-desktop.desktop + + local DESTDIR="/opt/Rocket.Chat" + + # https://github.com/RocketChat/Rocket.Chat.Electron/issues/2536 + dosym ../../usr/lib64/libayatana-appindicator3.so "${DESTDIR}"/libappindicator3.so + + pushd "opt/Rocket.Chat" || die + + exeinto "${DESTDIR}" + doexe chrome-sandbox rocketchat-desktop *.so* + + insinto "${DESTDIR}" + doins *.pak *.bin *.json *.dat + insopts -m0755 + doins -r locales resources + + # Chrome-sandbox requires the setuid bit to be specifically set. + # see https://github.com/electron/electron/issues/17972 + fperms 4755 "${DESTDIR}"/chrome-sandbox + + dosym "${DESTDIR}"/rocketchat-desktop /opt/bin/rocketchat-desktop + popd || die +} diff --git a/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-4.1.1.ebuild b/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-4.1.1.ebuild deleted file mode 100644 index e35b54606762..000000000000 --- a/net-im/rocketchat-desktop-bin/rocketchat-desktop-bin-4.1.1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 2019-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CHROMIUM_LANGS=" - af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he - hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr - sv sw ta te th tr uk ur vi zh-CN zh-TW -" - -inherit chromium-2 desktop rpm xdg - -DESCRIPTION="The Ultimate Open Source Web Chat Platform" -HOMEPAGE="https://rocket.chat" -SRC_URI="https://github.com/RocketChat/Rocket.Chat.Electron/releases/download/${PV}/rocketchat-${PV}-linux-x86_64.rpm" -S="${WORKDIR}" - -KEYWORDS="-* ~amd64" -# Electron bundles a bunch of things -LICENSE=" - MIT BSD BSD-2 BSD-4 AFL-2.1 Apache-2.0 Ms-PL GPL-2 LGPL-2.1 APSL-2 - unRAR OFL-1.1 CC-BY-SA-3.0 MPL-2.0 android public-domain all-rights-reserved -" -SLOT="0" -RESTRICT="bindist mirror" - -RDEPEND=" - >=app-accessibility/at-spi2-core-2.46.0:2 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - media-fonts/noto-emoji - media-libs/alsa-lib - media-libs/mesa - net-print/cups - sys-libs/glibc - sys-apps/dbus - x11-libs/cairo - x11-libs/gtk+:3 - 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/Rocket.Chat/*" - -pkg_pretend() { - chromium_suid_sandbox_check_kernel_config -} - -src_prepare() { - default - # cleanup languages - pushd "opt/Rocket.Chat/locales" || die - chromium_remove_language_paks - popd || die -} - -src_configure() { - chromium_suid_sandbox_check_kernel_config - default -} - -src_install() { - for size in {16,32,48,64,128,256,512,1024}; do - doicon -s ${size} "usr/share/icons/hicolor/${size}x${size}/apps/rocketchat-desktop.png" - done - - domenu usr/share/applications/rocketchat-desktop.desktop - - local DESTDIR="/opt/Rocket.Chat" - - # https://github.com/RocketChat/Rocket.Chat.Electron/issues/2536 - dosym ../../usr/lib64/libayatana-appindicator3.so "${DESTDIR}"/libappindicator3.so - - pushd "opt/Rocket.Chat" || die - - exeinto "${DESTDIR}" - doexe chrome-sandbox rocketchat-desktop *.so* - - insinto "${DESTDIR}" - doins *.pak *.bin *.json *.dat - insopts -m0755 - doins -r locales resources - - # Chrome-sandbox requires the setuid bit to be specifically set. - # see https://github.com/electron/electron/issues/17972 - fperms 4755 "${DESTDIR}"/chrome-sandbox - - dosym "${DESTDIR}"/rocketchat-desktop /opt/bin/rocketchat-desktop - popd || die -} -- cgit v1.2.3