diff options
author | Alfred Wingate <parona@protonmail.com> | 2023-11-14 11:25:45 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-11-24 11:26:51 +0100 |
commit | e0b476eb374d1a356ff9f54071e03e79fd7cb26b (patch) | |
tree | 35fbb5692a24116cedcaf8929ad66b1568193dbb /app-office/onlyoffice-bin | |
parent | dev-java/java-diff-utils: add github upstream metadata (diff) | |
download | gentoo-e0b476eb374d1a356ff9f54071e03e79fd7cb26b.tar.gz gentoo-e0b476eb374d1a356ff9f54071e03e79fd7cb26b.tar.bz2 gentoo-e0b476eb374d1a356ff9f54071e03e79fd7cb26b.zip |
app-office/onlyoffice-bin: add 7.5.1
Signed-off-by: Alfred Wingate <parona@protonmail.com>
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.1.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/app-office/onlyoffice-bin/Manifest b/app-office/onlyoffice-bin/Manifest index 3c4afee567f9..24d6355a0fce 100644 --- a/app-office/onlyoffice-bin/Manifest +++ b/app-office/onlyoffice-bin/Manifest @@ -1,2 +1,3 @@ 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 +DIST onlyoffice-bin-7.5.1_amd64.deb 245522054 BLAKE2B 8802308016b9f40e24b438f713b91c4e880eed17393b45848ee534ba81809e6674befd0d17bec9f38ab188aaaf02af24797da6cf77a9c10e376580d9500a6765 SHA512 20321942fcfed23228b38370efbeeb46bdd2792b2a5acaa934c76b380cc557c7daaea81dc7c7f328a13d18c4dc520f1e489d2d5eb5545d5b4c5c0458eebfeec6 diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-7.5.1.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-7.5.1.ebuild new file mode 100644 index 000000000000..b7a024eb6d59 --- /dev/null +++ b/app-office/onlyoffice-bin/onlyoffice-bin-7.5.1.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} +} |