commit:     87049a1bf5352f57a61d6792fa1fd2e260326416
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Mon Dec  1 15:27:05 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Dec 14 08:47:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87049a1b

app-office/onlyoffice-bin: add 9.2.0

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44851
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 app-office/onlyoffice-bin/Manifest                 |  1 +
 .../onlyoffice-bin/onlyoffice-bin-9.2.0.ebuild     | 95 ++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/app-office/onlyoffice-bin/Manifest 
b/app-office/onlyoffice-bin/Manifest
index 9539e3890a77..1a3f519ba37b 100644
--- a/app-office/onlyoffice-bin/Manifest
+++ b/app-office/onlyoffice-bin/Manifest
@@ -1,2 +1,3 @@
 DIST onlyoffice-bin-9.0.4_amd64.deb 306252880 BLAKE2B 
2991e5ccb8b20459a540496c83de89c612c5884e837bf9a396c504d55003cb5e667cd8d068737e4f50dccafb98527fe21d830b580eec0ff631dc43beb2d33cf8
 SHA512 
58b6bf3f205a175034b03d43116916de46d1663d15180a8d7365f40f2d30fe0a2aad23e1c296dc43249cfd03a574b5409717feb7e3503f90b4631efe4d694f94
 DIST onlyoffice-bin-9.1.0_amd64.deb 322119948 BLAKE2B 
73f180cc217bb111d36dbc174fd018abad5f090891aa34784408112610541faf74bbf93aeae7cb945d405ff30c71a1129cc18a780dacccabe1bcb03dc5c9ab68
 SHA512 
8d4593bdee7b98b7b3b1dce9fef85ba8c8f97864bc99abf4e4bdd4b9fc9cd59d4d1e3f753b7fc59b426cdd2db9a881e1cc3b8ff4ec423225770a81794cfaad24
+DIST onlyoffice-bin-9.2.0_amd64.deb 419978216 BLAKE2B 
e1b81c315861ea0b3ece1d89120846c26c6dfaa8e37ed55b7755217ccd0085b03d45397fbdd98f336154dc1ffb2116e330422f04792683608a4745f31efe8b0d
 SHA512 
4f1ec3d769842c73e7d6ba205526619d9463bbcf205301acb0c2de594cb360b8c561b1a1b67ed7c92c50859983f61ea95fbcac390ed52880ebd38a2a83b67027

diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-9.2.0.ebuild 
b/app-office/onlyoffice-bin/onlyoffice-bin-9.2.0.ebuild
new file mode 100644
index 000000000000..830c19d74b36
--- /dev/null
+++ b/app-office/onlyoffice-bin/onlyoffice-bin-9.2.0.ebuild
@@ -0,0 +1,95 @@
+# 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="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
+       dev-qt/qtcore:5
+       dev-qt/qtdbus:5
+       dev-qt/qtdeclarative:5
+       dev-qt/qtgui:5[eglfs]
+       dev-qt/qtmultimedia:5[widgets]
+       dev-qt/qtnetwork:5
+       dev-qt/qtprintsupport:5
+       dev-qt/qtsvg:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtx11extras:5
+       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
+
+       # Remove bundled Qt libs + icu bug #961968
+       rm opt/onlyoffice/desktopeditors/libQt* || die
+       rm opt/onlyoffice/desktopeditors/libicu* || die
+
+       # 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}
+}

Reply via email to