From 4187bba080530c5ca1c7dae9c233e88f3fc8f535 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 Jul 2024 08:06:16 +0100 Subject: gentoo auto-resync : 06:07:2024 - 08:06:15 --- app-office/onlyoffice-bin/Manifest | 2 + .../onlyoffice-bin/onlyoffice-bin-8.1.0.ebuild | 85 ++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 app-office/onlyoffice-bin/onlyoffice-bin-8.1.0.ebuild (limited to 'app-office/onlyoffice-bin') diff --git a/app-office/onlyoffice-bin/Manifest b/app-office/onlyoffice-bin/Manifest index d3613e6e126a..1a2be4b216c9 100644 --- a/app-office/onlyoffice-bin/Manifest +++ b/app-office/onlyoffice-bin/Manifest @@ -1,3 +1,5 @@ DIST onlyoffice-bin-8.0.1_amd64.deb 208469572 BLAKE2B 95f2e9df7c5673aa6edbb682078a9c133f1a5925dd1a84d3342c34cbe6a07691f4f5f425c264cf7760ae063a828caf1792533da1eb59423c48c77119935c889a SHA512 a16c784f1c9f056a2ed09fecff2cf7a4e2206006e04a1f8d8e260aeddd6b2195b0bbadd9f3b71a454d55311978d16d945cd345938688cf7e37aa9f11967c572f +DIST onlyoffice-bin-8.1.0_amd64.deb 208372598 BLAKE2B 9483c652429a61a87a20f95352db34dc176c65d60f7aef45738e4f7175cb5c6a39c918133c488d6f7bae1bdf2677235f0053f53b11e890717670869e4742d088 SHA512 f755ca7b29cdce3c520cf0ccb386f8be2be229989f6c6baba51b5741d6969ba3f101463f1f4aeb9c7a4cfc8e6d592c3f90c3ad19277ea3e6218a3c87ce6ddd42 EBUILD onlyoffice-bin-8.0.1.ebuild 2031 BLAKE2B 4049d98a19e3e8a6a8fe42051b8383c2e470989961629f1f5c6392510c3ececea66218e13e95b47743d20d543550e006872ca3d21f22650ed692a2e06f253e62 SHA512 9f0d370fdcdd21d5c38193fcd55244ad853528037bba4778fde7cbec1157abbd9a92c357b69724ea5a9acef56c6c53bd3f732cebed60d976f3b319db448f6cbf +EBUILD onlyoffice-bin-8.1.0.ebuild 1938 BLAKE2B d01115622424d0be998da4467173d67e63bfdf483e68f989e9a9c93dc69287f75d5a32523c53d6db639cb065585419e5b410f75deb1724b383d57f4f2b3fe7e2 SHA512 769838ea165c316f8e1ea9c101fd3c0e398ed31c0486cfaa43fc0dfa97e93b35c22d0ce4fc4e2319cf3e0adecc4e33c135708b6c35e1e720453ba540e787db3d MISC metadata.xml 446 BLAKE2B d5d01751407be4985806d5dc9f973f8333d34e8cb9428702c9580038530668b82153e3fd83b7e8f93d74ec45c28e3f9802690e1aa38b7ad2b0da489325092104 SHA512 896aa89e2b98b724154cfbb1321a681a219217b78cd96fe163d587c2a2c167e7bfc18cf75ce3b93eb723098699db95d92a45d0a2cb79931d9a45dc571a315a45 diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-8.1.0.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-8.1.0.ebuild new file mode 100644 index 000000000000..a284a31d72eb --- /dev/null +++ b/app-office/onlyoffice-bin/onlyoffice-bin-8.1.0.ebuild @@ -0,0 +1,85 @@ +# 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 + ) +" +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] + 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 '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} +} -- cgit v1.2.3