summaryrefslogtreecommitdiff
path: root/mail-client/thunderbird/thunderbird-91.7.0.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-24 23:59:54 +0000
commit401101f9c8077911929d3f2b60a37098460a5d89 (patch)
treec2bef4719f6787550f0916aeaa8f4f403a9296af /mail-client/thunderbird/thunderbird-91.7.0.ebuild
parent4cbcc855382a06088e2f016f62cafdbcb7e40665 (diff)
gentoo resync : 25.03.2022
Diffstat (limited to 'mail-client/thunderbird/thunderbird-91.7.0.ebuild')
-rw-r--r--mail-client/thunderbird/thunderbird-91.7.0.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/mail-client/thunderbird/thunderbird-91.7.0.ebuild b/mail-client/thunderbird/thunderbird-91.7.0.ebuild
index 7c1faf2231ea..908703b76654 100644
--- a/mail-client/thunderbird/thunderbird-91.7.0.ebuild
+++ b/mail-client/thunderbird/thunderbird-91.7.0.ebuild
@@ -3,7 +3,7 @@
EAPI="7"
-FIREFOX_PATCHSET="firefox-91esr-patches-05j.tar.xz"
+FIREFOX_PATCHSET="firefox-91esr-patches-06j.tar.xz"
LLVM_MAX_SLOT=13
@@ -510,7 +510,15 @@ src_unpack() {
}
src_prepare() {
- use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ if use system-av1 && has_version "<media-libs/dav1d-1.0.0"; then
+ rm -v "${WORKDIR}"/firefox-patches/0033-bgo-835788-dav1d-1.0.0-support.patch || die
+ elog "<media-libs/dav1d-1.0.0 detected, removing 1.0.0 compat patch."
+ fi
+
eapply "${WORKDIR}/firefox-patches"
# Allow user to apply any additional patches without modifing ebuild