From b3830a745865c7d85daf3317603ad23dac6434da Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 20 Oct 2023 15:52:41 +0100 Subject: gentoo auto-resync : 20:10:2023 - 15:52:41 --- app-office/onlyoffice-bin/Manifest | 2 + .../onlyoffice-bin/onlyoffice-bin-7.5.0.ebuild | 89 ++++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 app-office/onlyoffice-bin/onlyoffice-bin-7.5.0.ebuild (limited to 'app-office/onlyoffice-bin') diff --git a/app-office/onlyoffice-bin/Manifest b/app-office/onlyoffice-bin/Manifest index 7e7a180511a7..698f60eed025 100644 --- a/app-office/onlyoffice-bin/Manifest +++ b/app-office/onlyoffice-bin/Manifest @@ -1,3 +1,5 @@ DIST onlyoffice-bin-7.4.1_amd64.deb 202066536 BLAKE2B eb617fadb0bbffcff80d45cfe19e58a163af50d748f183ac09ae5799164bc5c20567c6e8961cfe6e151041df3ce090dd8de9de67b24e9081755cd92363ecfcc3 SHA512 8676d791ad9e32115837ffa060b208072d47b70b001abb2cbaa4fe1ff15265895756ca2bd2ae571b2f03e3af7d923534e5f3bc65f96a7a56052719e8156b6025 +DIST onlyoffice-bin-7.5.0_amd64.deb 245586576 BLAKE2B 8689b8ceaee44225718546532bdafed65a4a877011c90e2ca448a9811b053f30975f08527814abe0197494289db859a4ad9c6e0dd6f30f6cb8cf0317643695b8 SHA512 136d722b4e0687433bd4d2d36616f18c9cb8735d48f38edf401b156522cefb51daba0c2b7729f66767c436c527fdfdd9fc27e0f0f678831bfbe31265b09a886e EBUILD onlyoffice-bin-7.4.1-r1.ebuild 2028 BLAKE2B c3ff54388e63b34dbff271b7ac29a79dfaf63587133c41c1044479cfea8a17a89cbb5288b56d403e4ceb3c6f8ce454a3b6d1fd69c627fa6a4caa495024d6478b SHA512 0c277fd0f1d5322ded1ecd5e9f60e3a897640be66b226d92fb7c1f4b4b282d3c9f074f1e92f82992301b5a8186516f6312f21543263d9c50a434bcaa5717d62a +EBUILD onlyoffice-bin-7.5.0.ebuild 2028 BLAKE2B c3ff54388e63b34dbff271b7ac29a79dfaf63587133c41c1044479cfea8a17a89cbb5288b56d403e4ceb3c6f8ce454a3b6d1fd69c627fa6a4caa495024d6478b SHA512 0c277fd0f1d5322ded1ecd5e9f60e3a897640be66b226d92fb7c1f4b4b282d3c9f074f1e92f82992301b5a8186516f6312f21543263d9c50a434bcaa5717d62a MISC metadata.xml 446 BLAKE2B d5d01751407be4985806d5dc9f973f8333d34e8cb9428702c9580038530668b82153e3fd83b7e8f93d74ec45c28e3f9802690e1aa38b7ad2b0da489325092104 SHA512 896aa89e2b98b724154cfbb1321a681a219217b78cd96fe163d587c2a2c167e7bfc18cf75ce3b93eb723098699db95d92a45d0a2cb79931d9a45dc571a315a45 diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-7.5.0.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-7.5.0.ebuild new file mode 100644 index 000000000000..b7a024eb6d59 --- /dev/null +++ b/app-office/onlyoffice-bin/onlyoffice-bin-7.5.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker xdg + +MY_P="ONLYOFFICE-DesktopEditors-"${PV}"" + +DESCRIPTION="Onlyoffice is an office productivity suite (binary version)" +HOMEPAGE="https://www.onlyoffice.com/" +SRC_URI=" + amd64? ( + https://github.com/ONLYOFFICE/DesktopEditors/releases/download/v"${PV}"/onlyoffice-desktopeditors_amd64.deb + -> "${P}"_amd64.deb + ) +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror strip test" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-libs/wayland + dev-qt/qtgui:5[eglfs] + dev-qt/qtdeclarative:5 + dev-qt/qtwayland:5 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/gst-plugins-base:1.0 + media-libs/gstreamer:1.0 + media-libs/harfbuzz + media-libs/libglvnd + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libdrm + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/pango + || ( + media-libs/libpulse + media-sound/apulse + ) +" + +S="${WORKDIR}" + +QA_PREBUILT="*" + +src_prepare() { + default + + # Allow launching the ONLYOFFICE on ALSA systems via media-sound/apuls + sed -i -e 's|\(export LD_LIBRARY_PATH=$DIR$LDLPATH\)|\1:'"${EPREFIX}"'/usr/'$(get_libdir)'/apulse|' \ + "${S}"/usr/bin/onlyoffice-desktopeditors || die +} + +src_install() { + domenu usr/share/applications/onlyoffice-desktopeditors.desktop + for size in {16,24,32,48,64,128,256}; do + newicon -s "${size}" opt/onlyoffice/desktopeditors/asc-de-"${size}".png onlyoffice-desktopeditors.png + done + + dobin usr/bin/desktopeditors usr/bin/onlyoffice-desktopeditors + doins -r opt + fperms +x /opt/onlyoffice/desktopeditors/{DesktopEditors,editors_helper,converter/x2t} +} -- cgit v1.2.3