From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3807F158089 for ; Fri, 20 Oct 2023 13:14:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A3582BC179; Fri, 20 Oct 2023 13:14:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BAD9A2BC13F for ; Fri, 20 Oct 2023 13:14:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CFBF7335D46 for ; Fri, 20 Oct 2023 13:14:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BED31298 for ; Fri, 20 Oct 2023 13:14:52 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1697807676.f10fb84063ef476096106e2ec97069cd7f5cd7c7.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/onlyoffice-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/onlyoffice-bin/Manifest app-office/onlyoffice-bin/onlyoffice-bin-7.5.0.ebuild X-VCS-Directories: app-office/onlyoffice-bin/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: f10fb84063ef476096106e2ec97069cd7f5cd7c7 X-VCS-Branch: master Date: Fri, 20 Oct 2023 13:14:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 66c3c410-4061-49d7-8a5e-04627cadf637 X-Archives-Hash: 267e7f00cef93ae6ec9233bfe3af786e commit: f10fb84063ef476096106e2ec97069cd7f5cd7c7 Author: Pacho Ramos gentoo org> AuthorDate: Fri Oct 20 11:37:33 2023 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Fri Oct 20 13:14:36 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f10fb840 app-office/onlyoffice-bin: add 7.5.0 Signed-off-by: Pacho Ramos gentoo.org> app-office/onlyoffice-bin/Manifest | 1 + .../onlyoffice-bin/onlyoffice-bin-7.5.0.ebuild | 89 ++++++++++++++++++++++ 2 files changed, 90 insertions(+) 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} +}