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 A3ED0158089 for ; Sun, 10 Sep 2023 08:19:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B89F92BC018; Sun, 10 Sep 2023 08:19:57 +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 9C76A2BC018 for ; Sun, 10 Sep 2023 08:19:57 +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 A5784335CEE for ; Sun, 10 Sep 2023 08:19:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E20F113E for ; Sun, 10 Sep 2023 08:19:55 +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: <1694333969.b7bd94d19ca5da5493bbd11ca46bc70637a30286.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/onlyoffice-bin-7.4.1-r1.ebuild app-office/onlyoffice-bin/onlyoffice-bin-7.4.1.ebuild X-VCS-Directories: app-office/onlyoffice-bin/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: b7bd94d19ca5da5493bbd11ca46bc70637a30286 X-VCS-Branch: master Date: Sun, 10 Sep 2023 08:19:55 +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: 2178a2ce-d857-4310-9cae-0dafe6b47d20 X-Archives-Hash: b0e3e3371dc961772f770a33c8458f45 commit: b7bd94d19ca5da5493bbd11ca46bc70637a30286 Author: Sergey Torokhov yandex ru> AuthorDate: Fri Aug 25 14:19:07 2023 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sun Sep 10 08:19:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7bd94d1 app-office/onlyoffice-bin: Fix launch the Onlyoffice on ALSA systems Add IUSE="pulseaudio" to control install and launch the app-office/onlyoffice-bin on ALSA systems the way similar it's was done for www-client/firefoix-bin using USE="-pulseaudio" Signed-off-by: Sergey Torokhov yandex.ru> Signed-off-by: Pacho Ramos gentoo.org> ...fice-bin-7.4.1.ebuild => onlyoffice-bin-7.4.1-r1.ebuild} | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/app-office/onlyoffice-bin/onlyoffice-bin-7.4.1.ebuild b/app-office/onlyoffice-bin/onlyoffice-bin-7.4.1-r1.ebuild similarity index 84% rename from app-office/onlyoffice-bin/onlyoffice-bin-7.4.1.ebuild rename to app-office/onlyoffice-bin/onlyoffice-bin-7.4.1-r1.ebuild index e88bb3d1c410..b7a024eb6d59 100644 --- a/app-office/onlyoffice-bin/onlyoffice-bin-7.4.1.ebuild +++ b/app-office/onlyoffice-bin/onlyoffice-bin-7.4.1-r1.ebuild @@ -38,7 +38,6 @@ RDEPEND=" media-libs/gstreamer:1.0 media-libs/harfbuzz media-libs/libglvnd - media-libs/libpulse net-print/cups sys-apps/dbus x11-libs/cairo @@ -60,12 +59,24 @@ RDEPEND=" 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