From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/onlyoffice-bin/
Date: Sun, 10 Sep 2023 08:19:55 +0000 (UTC) [thread overview]
Message-ID: <1694333969.b7bd94d19ca5da5493bbd11ca46bc70637a30286.pacho@gentoo> (raw)
commit: b7bd94d19ca5da5493bbd11ca46bc70637a30286
Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Fri Aug 25 14:19:07 2023 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> 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 <torokhov-s-a <AT> yandex.ru>
Signed-off-by: Pacho Ramos <pacho <AT> 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
next reply other threads:[~2023-09-10 8:19 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-10 8:19 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-09 16:23 [gentoo-commits] repo/gentoo:master commit in: app-office/onlyoffice-bin/ Pacho Ramos
2025-05-09 16:23 Pacho Ramos
2025-04-28 16:48 Sam James
2025-04-17 16:35 Pacho Ramos
2025-03-27 19:36 Pacho Ramos
2025-03-22 6:41 Arthur Zamarin
2025-03-20 18:59 Sam James
2025-03-05 18:12 Pacho Ramos
2025-02-15 12:24 Pacho Ramos
2025-02-15 12:24 Pacho Ramos
2024-12-08 13:52 Pacho Ramos
2024-12-08 13:52 Pacho Ramos
2024-11-17 12:11 Pacho Ramos
2024-11-01 16:25 Eli Schwartz
2024-11-01 16:25 Eli Schwartz
2024-11-01 16:25 Eli Schwartz
2024-08-24 10:45 Sam James
2024-07-17 8:52 Pacho Ramos
2024-07-05 17:08 Pacho Ramos
2024-06-01 11:44 Pacho Ramos
2024-06-01 11:44 Pacho Ramos
2024-03-03 19:39 Pacho Ramos
2024-03-03 19:39 Pacho Ramos
2024-02-02 17:31 Pacho Ramos
2024-02-02 17:31 Pacho Ramos
2023-11-24 10:26 Pacho Ramos
2023-11-24 10:26 Pacho Ramos
2023-10-20 13:14 Pacho Ramos
2023-09-10 8:19 Pacho Ramos
2023-07-31 9:46 Pacho Ramos
2023-07-31 9:46 Pacho Ramos
2023-06-19 13:07 Pacho Ramos
2023-03-16 12:18 Pacho Ramos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1694333969.b7bd94d19ca5da5493bbd11ca46bc70637a30286.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox