diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-10-20 13:37:33 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-10-20 15:14:36 +0200 |
commit | f10fb84063ef476096106e2ec97069cd7f5cd7c7 (patch) | |
tree | 45004f20cb13e4944c2d37a2f659ed55862a40c2 /app-office/onlyoffice-bin | |
parent | dev-libs/libgusb: Version bump to 0.4.7 (diff) | |
download | gentoo-f10fb84063ef476096106e2ec97069cd7f5cd7c7.tar.gz gentoo-f10fb84063ef476096106e2ec97069cd7f5cd7c7.tar.bz2 gentoo-f10fb84063ef476096106e2ec97069cd7f5cd7c7.zip |
app-office/onlyoffice-bin: add 7.5.0
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'app-office/onlyoffice-bin')
-rw-r--r-- | app-office/onlyoffice-bin/Manifest | 1 | ||||
-rw-r--r-- | app-office/onlyoffice-bin/onlyoffice-bin-7.5.0.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/app-office/onlyoffice-bin/Manifest b/app-office/onlyoffice-bin/Manifest index fcff0a97dcf1..3c4afee567f9 100644 --- a/app-office/onlyoffice-bin/Manifest +++ b/app-office/onlyoffice-bin/Manifest @@ -1 +1,2 @@ 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 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} +} |