diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-10-05 18:41:37 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-10-05 18:47:18 +0200 |
commit | 7169cf5d86b52b27e382a464d09fe41b0cd1cd03 (patch) | |
tree | 6d697c6b50e6d8ee21e6f549124b87cdfe366356 /mail-client | |
parent | dev-util/ostree: Fix configure --enable-introspection=no (diff) | |
download | gentoo-7169cf5d86b52b27e382a464d09fe41b0cd1cd03.tar.gz gentoo-7169cf5d86b52b27e382a464d09fe41b0cd1cd03.tar.bz2 gentoo-7169cf5d86b52b27e382a464d09fe41b0cd1cd03.zip |
mail-client/thunderbird-bin: fix USE=alsa
Fixes: ca8a6af ("mail-client/thunderbird-bin: drop BDEPEND on dev-util/patchelf")
Bug: https://bugs.gentoo.org/746500
Bug: https://bugs.gentoo.org/746626
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/thunderbird-bin/thunderbird-bin-78.3.1-r2.ebuild (renamed from mail-client/thunderbird-bin/thunderbird-bin-78.3.1-r1.ebuild) | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/mail-client/thunderbird-bin/thunderbird-bin-78.3.1-r1.ebuild b/mail-client/thunderbird-bin/thunderbird-bin-78.3.1-r2.ebuild index 31892aaca854..315fc2ad9d8a 100644 --- a/mail-client/thunderbird-bin/thunderbird-bin-78.3.1-r1.ebuild +++ b/mail-client/thunderbird-bin/thunderbird-bin-78.3.1-r2.ebuild @@ -35,7 +35,12 @@ IUSE="+alsa +ffmpeg +pulseaudio selinux startup-notification wayland" RESTRICT="strip" -BDEPEND="app-arch/unzip" +BDEPEND="app-arch/unzip + alsa? ( + !pulseaudio? ( + dev-util/patchelf + ) + )" CDEPEND="alsa? ( !pulseaudio? ( @@ -176,6 +181,13 @@ src_install() { "${MOZILLA_FIVE_HOME}"/firefox-bin \ "${MOZILLA_FIVE_HOME}"/plugin-container + # Patch alsa support + local apulselib= + if use alsa && ! use pulseaudio ; then + apulselib="${EPREFIX}/usr/$(get_libdir)/apulse" + patchelf --set-rpath "${apulselib}" "${ED}${MOZILLA_FIVE_HOME}/libxul.so" || die + fi + # Install policy (currently only used to disable application updates) insinto "${MOZILLA_FIVE_HOME}/distribution" newins "${FILESDIR}"/disable-auto-update.policy.json policies.json |