commit: beddba500395abab9fbfbd4001a0b651334e722b
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 8 11:07:19 2026 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Mar 8 11:07:19 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beddba50
app-office/onlyoffice-bin: add 9.3.1
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
app-office/onlyoffice-bin/Manifest | 1 +
.../onlyoffice-bin/onlyoffice-bin-9.3.1.ebuild | 81 ++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/app-office/onlyoffice-bin/Manifest
b/app-office/onlyoffice-bin/Manifest
index e5941ccbffdf..6d20ed85515b 100644
--- a/app-office/onlyoffice-bin/Manifest
+++ b/app-office/onlyoffice-bin/Manifest
@@ -1,2 +1,3 @@
DIST onlyoffice-bin-9.2.1_amd64.deb 420024856 BLAKE2B
a77611ab6a40b2f4b85313f82eef9ee773eb880448079bfb7d2fddf17a36d673bd846d319998588c9fb11d76f170729d597a82824eeee0fdd95bc49042cfc207
SHA512
6e5e0b88411f8f6e41f79786f106bb8465e93964960a3224215e99fa092986c1a51d04742300e898cb405ba1900db4266d288ab429325af20b5d9afbffd5bf90
DIST onlyoffice-bin-9.3.0_amd64.deb 331297616 BLAKE2B
6b755800afc8e3f00d0f728f7f6cd8b2520b16bd528565f11f7f131e895a005e64e3017e688dbfca3b2d2a3b9a9f126c74589a39198c5cb27fac5e823cbb1e48
SHA512
cb02b48f99d3552b07480db8514ac2d53e318cd59607af2ec70893d9a7086b857615e7e96940d7c2e9a624c79ad61fbec7daa111acb6b957bb1c1b6e44053cc1
+DIST onlyoffice-bin-9.3.1_amd64.deb 331409028 BLAKE2B
1dcd8272cd7403cadc5628206130ef50829a6957d021ad48bdf4d3e821b78a9a19e0cd27c7f79a9ca0598c9e6662f16e100bd9be6b6aa265a6dd934d1474eddb
SHA512
51a89efef1f1d3086e69921b694be5b2f2a4673b5435760451df6f36a667aa596bade7a220ebd41e7591b0de3a6ba72ef2c17c28cbb4c51508a1ce9075c912d5
diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-9.3.1.ebuild
b/app-office/onlyoffice-bin/onlyoffice-bin-9.3.1.ebuild
new file mode 100644
index 000000000000..17e4d71b09bc
--- /dev/null
+++ b/app-office/onlyoffice-bin/onlyoffice-bin-9.3.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 2020-2026 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="A free and open source office and 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
+ 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[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libdrm
+ x11-libs/libnotify
+ 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}
+}