commit: 2a5b4e7ea141718083b646e0b1c859c16d98e170 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Thu Aug 7 09:43:54 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Thu Aug 7 09:58:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a5b4e7e
app-office/onlyoffice-bin: add 9.0.4 gnome-base/gsettings-desktop-schemas needed for org.gnome.desktop.interface Thanks-to: Justin Closes: https://bugs.gentoo.org/960408 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> app-office/onlyoffice-bin/Manifest | 1 + .../onlyoffice-bin/onlyoffice-bin-9.0.4.ebuild | 85 ++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/app-office/onlyoffice-bin/Manifest b/app-office/onlyoffice-bin/Manifest index ba59111e6d39..2018fee05a59 100644 --- a/app-office/onlyoffice-bin/Manifest +++ b/app-office/onlyoffice-bin/Manifest @@ -1,2 +1,3 @@ DIST onlyoffice-bin-9.0.0_amd64.deb 301728986 BLAKE2B bb08aa001dd95c5ad55ee41188ce59780360db7954f1d8484b7d83f7981389c5fdb35e8ae3cc07334c56c447469c010a41d9b0fe6fe16bdfbf3bbcb7a7116f77 SHA512 0f2a1aab391c4690cf5fa5bceed3a447a83f4cd2eb47929d72cc865de2d8e63ca51663f02eb608e7065d1286cb17acd359978548ea253b6a0ee0a02d6c58fef4 DIST onlyoffice-bin-9.0.3_amd64.deb 301921638 BLAKE2B 91c0b736dedf290c98e2aae2d6529f2ba3fd7977e597631387898b78e6b6c8347cf236b6bd5d36f957dbc56ab626869c431a0e4d43aa2ee349e6703fb37d357d SHA512 df7cbb24dd42fa2106f9f13e589e9391f8dafda1788658036bb745a01b09586dade40a99c0fcd61dfa67ebe534e1f95325698f4494a29c9f755d848b2ebda933 +DIST onlyoffice-bin-9.0.4_amd64.deb 306252880 BLAKE2B 2991e5ccb8b20459a540496c83de89c612c5884e837bf9a396c504d55003cb5e667cd8d068737e4f50dccafb98527fe21d830b580eec0ff631dc43beb2d33cf8 SHA512 58b6bf3f205a175034b03d43116916de46d1663d15180a8d7365f40f2d30fe0a2aad23e1c296dc43249cfd03a574b5409717feb7e3503f90b4631efe4d694f94 diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-9.0.4.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-9.0.4.ebuild new file mode 100644 index 000000000000..0d884e264ec0 --- /dev/null +++ b/app-office/onlyoffice-bin/onlyoffice-bin-9.0.4.ebuild @@ -0,0 +1,85 @@ +# Copyright 2020-2025 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 + ) +" +S="${WORKDIR}" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="mirror strip test" + +RDEPEND=" + >=app-accessibility/at-spi2-core-2.46.0:2 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5[eglfs] + gnome-base/gsettings-desktop-schemas + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + media-libs/gst-plugins-base:1.0 + media-libs/gstreamer:1.0 + media-libs/libglvnd + media-libs/mesa + net-print/cups + sys-apps/dbus + sys-devel/gcc + sys-libs/glibc + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXcomposite + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libdrm + x11-libs/libxcb + x11-libs/libxkbcommon + x11-libs/pango + || ( + media-libs/libpulse + media-sound/apulse + ) +" + +QA_PREBUILT="*" + +src_prepare() { + default + + # Allow launching the ONLYOFFICE on ALSA systems via media-sound/apulse + sed -i -e "/^export LD_LIBRARY_PATH=/ s|$|:${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 + doicon -s ${size} usr/share/icons/hicolor/${size}x${size}/apps/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} +}
