From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1606936-garchives=archives.gentoo.org@lists.gentoo.org>
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 D790B158041
	for <garchives@archives.gentoo.org>; Sun,  3 Mar 2024 19:39:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2B55DE2AF0;
	Sun,  3 Mar 2024 19:39:46 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 13354E2AEF
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Mar 2024 19:39:46 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 371F333EB78
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Mar 2024 19:39:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 866CEE95
	for <gentoo-commits@lists.gentoo.org>; Sun,  3 Mar 2024 19:39:43 +0000 (UTC)
From: "Pacho Ramos" <pacho@gentoo.org>
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" <pacho@gentoo.org>
Message-ID: <1709494777.edcc8b93b7f04b6f6a1555893ea0b23f094ea101.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-8.0.1.ebuild
X-VCS-Directories: app-office/onlyoffice-bin/
X-VCS-Committer: pacho
X-VCS-Committer-Name: Pacho Ramos
X-VCS-Revision: edcc8b93b7f04b6f6a1555893ea0b23f094ea101
X-VCS-Branch: master
Date: Sun,  3 Mar 2024 19:39:43 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 99198606-2780-4df1-96db-1dae096233c2
X-Archives-Hash: f542924b6a36693a7822746fc61ae976

commit:     edcc8b93b7f04b6f6a1555893ea0b23f094ea101
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 19:23:43 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 19:39:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edcc8b93

app-office/onlyoffice-bin: add 8.0.1

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 app-office/onlyoffice-bin/Manifest                 |  1 +
 .../onlyoffice-bin/onlyoffice-bin-8.0.1.ebuild     | 90 ++++++++++++++++++++++
 2 files changed, 91 insertions(+)

diff --git a/app-office/onlyoffice-bin/Manifest b/app-office/onlyoffice-bin/Manifest
index efb9f59c2a98..77fefd35f799 100644
--- a/app-office/onlyoffice-bin/Manifest
+++ b/app-office/onlyoffice-bin/Manifest
@@ -1,2 +1,3 @@
 DIST onlyoffice-bin-7.5.1_amd64.deb 245522054 BLAKE2B 8802308016b9f40e24b438f713b91c4e880eed17393b45848ee534ba81809e6674befd0d17bec9f38ab188aaaf02af24797da6cf77a9c10e376580d9500a6765 SHA512 20321942fcfed23228b38370efbeeb46bdd2792b2a5acaa934c76b380cc557c7daaea81dc7c7f328a13d18c4dc520f1e489d2d5eb5545d5b4c5c0458eebfeec6
 DIST onlyoffice-bin-8.0.0_amd64.deb 208403072 BLAKE2B 25d3eeaf2acca46e0b0b67f9b5ae1770df1832f02a51e790fb80d8de67c988d3609e5be6a3d00c8649b2b0ba590ef9e8dfd58cae77d6d41dc59c17a81cb9ac04 SHA512 f6db9de8dc0df6d708b21df97b048285f8b1e2cf1a443cc84bb89c928f32d2bd72f6b8febc284139e2304d73f1db60d1fa0dc290d84e6273fb58c9e0cdeae1dd
+DIST onlyoffice-bin-8.0.1_amd64.deb 208469572 BLAKE2B 95f2e9df7c5673aa6edbb682078a9c133f1a5925dd1a84d3342c34cbe6a07691f4f5f425c264cf7760ae063a828caf1792533da1eb59423c48c77119935c889a SHA512 a16c784f1c9f056a2ed09fecff2cf7a4e2206006e04a1f8d8e260aeddd6b2195b0bbadd9f3b71a454d55311978d16d945cd345938688cf7e37aa9f11967c572f

diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-8.0.1.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-8.0.1.ebuild
new file mode 100644
index 000000000000..2e531b9f39d2
--- /dev/null
+++ b/app-office/onlyoffice-bin/onlyoffice-bin-8.0.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 2020-2024 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/apulse
+	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}
+}