summaryrefslogtreecommitdiff
path: root/mail-client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-23 20:45:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-23 20:45:29 +0100
commit26062b5638b6d2a6eedba7797ed6dde6f3d1f01c (patch)
tree39029c21f40249c93a1ca385bf838b14e41aecae /mail-client
parentcdfd4f0c915964d401cba19362c7dea8e89ad1da (diff)
gentoo auto-resync : 23:08:2022 - 20:45:29
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/Manifest.gzbin3707 -> 3705 bytes
-rw-r--r--mail-client/claws-mail/Manifest2
-rw-r--r--mail-client/claws-mail/claws-mail-3.19.0-r1.ebuild2
-rw-r--r--mail-client/thunderbird/Manifest66
-rw-r--r--mail-client/thunderbird/thunderbird-102.1.2.ebuild1179
5 files changed, 1247 insertions, 2 deletions
diff --git a/mail-client/Manifest.gz b/mail-client/Manifest.gz
index e7a3c000a33f..2e371c7a8f23 100644
--- a/mail-client/Manifest.gz
+++ b/mail-client/Manifest.gz
Binary files differ
diff --git a/mail-client/claws-mail/Manifest b/mail-client/claws-mail/Manifest
index 8cfc8d8bf0eb..791129f328c3 100644
--- a/mail-client/claws-mail/Manifest
+++ b/mail-client/claws-mail/Manifest
@@ -6,7 +6,7 @@ DIST claws-mail-3.18.0.tar.xz 6517632 BLAKE2B 534a37a081ceeb4d3066717d738d04e202
DIST claws-mail-3.19.0.tar.xz 6543188 BLAKE2B eeb7df2b921dbd7ad40c845804fcabe5ddc2064fcf410e7809004be472bbe2ba8bfd89a868420a1bb76845180856fee8a0b3cde879ae67b1a1aab14442fe5d2d SHA512 88780df55873919197d3c6df5102a8eb89a586e8287419c179e1d0af839435a719814b1e3643aa783a7badeadceafda2dc3cb4a3265432b5ad3a210663922b20
DIST claws-mail-4.1.0.tar.xz 6471604 BLAKE2B 30d1725c2679e8a0b44edd6c30b15f28633c0a017935980d1412dabffdfb1f33e1c36bee3506e90af54410db222b64422155be821ba18f5e315ed411d477ed63 SHA512 83c7b1a8065628b1dcac58feb4d852b759b3fc376531572e88450b8e9517172a641f710a219b7e16bbc672dbe69853783e4edd1d7647a3f2aacb92e47be9175b
EBUILD claws-mail-3.18.0-r3.ebuild 5631 BLAKE2B 82456d518d3316d71923667da8743142d7df7d631544e516bbee05ae555eca221bc73f374ba8afaf57c87f2cd97bbd2fc22728ce36c905553672271f8fe21a89 SHA512 b256cb224632450a22bd3fb66ae75cbeeb3e0524e964d6cf48cdc92a50ae00c3c22b83047a1a639c00e0abb252970b8e7d888c0cd639cc8c3340062f2f82bea1
-EBUILD claws-mail-3.19.0-r1.ebuild 5626 BLAKE2B 816327494f7365fcf80f70f4516928f67f1a7f2fc1e8545d1bcf9578ca6e35ff9c598ba15cb4f607d3c0809cffd7ea8a978d0c1ab18514d7f6c32df8aa7e7987 SHA512 4feda77714d71a830189a38e627e799d8c35512207b17022fc42e78130cb2d488bef7d9e116b97e94992b28877288fd211efeb97e9695d451df94386997daedf
+EBUILD claws-mail-3.19.0-r1.ebuild 5625 BLAKE2B 5b815f6be5b482d15a32c8c51d49c927cf80aec0ad8706b32af80c1bde46434ff7fd794d8677fc8ef29c15cf58f650e503674d46a7e0e0fb956eb445641906fd SHA512 05569a87074f974e86ccbf03118020b2b2449f3cf3014a9082c2bc759f3e7c69f37fa823103e7f244749cd55d45a0682e2a62882e8ddacbc69da4a403d6681ee
EBUILD claws-mail-3.19.0-r2.ebuild 5674 BLAKE2B 2e7d16867ff97f487479672a09cebd43e6867e922f51834e1111095d7da20fe733f871daa5ea90f4dfb633d14bc1a454a75cee11346e8ef0a610bed37b1748df SHA512 ef74c181adb25adb3c5bc1b672c6435a9293005db1513e5ab1de47b9d1e2164dcb3752cbadb05e4ad7873a04870704819db12d83dd289d559a684625f2473d7e
EBUILD claws-mail-4.1.0-r1.ebuild 5803 BLAKE2B f28c848ac152e31c6b94b853e683e7f9e7fc6bcd9ce1a167e87d2e5b8f110b7cffc60891a992f94559943fd1803cbbca4548275f4c9c2619a33f1e97255a60cc SHA512 757d373627aa3496cbade99d31ac57810ba07ff4093a6f8146b890647ce7cb7f95c632688cdd32e7c7a71094b12b67ba996db62f16e36235c42b10850811d9ab
EBUILD claws-mail-9999.ebuild 5998 BLAKE2B 4c9c1d9e74dd51a1dc4352f08284ffbc2db37b5107a91e9dd72bf417ee3a5b053dcc17a867db41f46236b99ddd3040b07947f7f8a260b01ac1a4c98efc1620af SHA512 d88dc00c953d137a6bc94887193aac83c3be8fdec211ccf59ccc101cea918ed90a13f0219563c2d2142e3cc49b45aa750d2ffb516e3bc0004f35e4a71bbafcd2
diff --git a/mail-client/claws-mail/claws-mail-3.19.0-r1.ebuild b/mail-client/claws-mail/claws-mail-3.19.0-r1.ebuild
index 79da3a5baea2..7ffe6a957de4 100644
--- a/mail-client/claws-mail/claws-mail-3.19.0-r1.ebuild
+++ b/mail-client/claws-mail/claws-mail-3.19.0-r1.ebuild
@@ -15,7 +15,7 @@ if [[ "${PV}" == *9999 ]] ; then
EGIT_REPO_URI="https://git.claws-mail.org/readonly/claws.git"
else
SRC_URI="https://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
- KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86"
fi
SLOT="0"
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 10fbd75f7966..2a8cd00021d1 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -71,6 +71,71 @@ DIST thunderbird-102.0.3-vi.xpi 716789 BLAKE2B f0a3a46ffc3b0b41c785f25d80f012400
DIST thunderbird-102.0.3-zh-CN.xpi 714291 BLAKE2B bd5840000aa7a778a20c53f8d0a1d4c85ee1f1c0843a688493a6b66f3206404ceffc1ce868e3b65964223e5ed04a470dfc94319779484e4b0c1a9a1bb7a85bd1 SHA512 8a844c08943cb30dd81da95519709543370d3419e09e36ce34ea1d4c7e7ba9aef4a93a9beedf919a9490e4621254f445d3c89969a89f67d73fa956cc95aebb7e
DIST thunderbird-102.0.3-zh-TW.xpi 719022 BLAKE2B 3436d155d4d65082698763c5b95e54fa9c5e3a0d4f31cccea33787d3cb74254802b3ada8c4257780e2e0f6d17de03a78453a0b146092a36dc226c4cfc987046a SHA512 ef1b62e699d0e1af298fdf7056db51e7c2bc306dac75d3952402bdcf9f81b632ee404d523a5a0f2f90d7ba42f51b6516934149342cb1e75bcd311d4fc54cdcf4
DIST thunderbird-102.0.3.source.tar.xz 504782192 BLAKE2B c659458c1582277f41b7ae47f0770267320fe377ce422c10ebe88f0d95e7959e0e764b27f7ed11f3d9c8f51d91bd71ddc0f761798c3af77f784a23c24926bf44 SHA512 ac9f22935ef558890c95cf7fbbbe32a5bb1b7140acb10088ed0d037d1ca5c6e11695c131eb40844807003b77e83b1dd2d9008df420ec394fed5008d5c4c6c3cb
+DIST thunderbird-102.1.2-af.xpi 542660 BLAKE2B a2cb565dc08b9d381b2b0693af08099ef5558f5f8fa01841cd77e8105c3b7dc371b381bdab153890c00a3892d41e7e1e2cd533b7cd6582b62b18fea6d298e9cf SHA512 3619cdb9e7745b090222905568393f0a9b28625d9742ebcfce53b996fc64b4745c101d98c1e2cdb9bdc95d97d382e8b12d37f5a1e4fd4d3d2c35f785b99816bf
+DIST thunderbird-102.1.2-ar.xpi 651376 BLAKE2B d766dccb74c9ee49d2e78dfcea460f13e0556ac5f8ef2cc086bd1e36de4fa57e2cc1b00734d28f0595a515a23f592670d75e2a01d5de5d2f7e8eee3e447e24ae SHA512 9a6db8a26633ff9b9b270c70d43d5419f33a9bfc35164724780ff15769e72f97245a107f11589527732f435c923a8b24d4a06bdad80ae65f9ad7955c68b1842d
+DIST thunderbird-102.1.2-ast.xpi 568428 BLAKE2B 425b3d58137ab9c4cd7388dcc7f042acceec7a099d95762b6b83e5338bc87f7190282c8cd82ec7527381bb9fe513d5d2390daba5d10cdc533bdc3c0dc61b7677 SHA512 1fbad8d4fa39d101b1c5272ce429d8363c7bbe4d7b170e10340cef2856ef07befbd53abf64f45ce5c36077f4a0d2bcff8659ba328fc857d4ba05c959217a3115
+DIST thunderbird-102.1.2-be.xpi 681032 BLAKE2B a0ade9564b0a15e5756f862daab453afcba3c1392d2161e7c4c0a0b5856badc93ed722f4dd53e2c5b0467f9311acccf283f633cad3f9923a7d93c51ec367c12a SHA512 0708c51c2653a16f82fe748b820f211d65a8f76b5cc561163b492538608f922605eabdeddfcc442e0b0d263727f7ecc31c13fac47a65331ab7e98148608166c0
+DIST thunderbird-102.1.2-bg.xpi 678803 BLAKE2B c762d3fd9a77f26c2243d0380730a48f912383662ce275457e746b740a6079023b43eab890e87438579dfe7e694bec71e40d470d05f5485b23e404ff1f929a88 SHA512 d77931227b1258484fcaa310147eceb73533d78ca1c7fe97e085122a9bd400d1c3b0cec176812f2aad515ce929cf20887913101e9c85c89f0c48df31aad51aa1
+DIST thunderbird-102.1.2-br.xpi 610069 BLAKE2B 7410975db0b3a23603a31611d24926f01eb69d6f2cbef81575d299fa69cbff3c744b1e4fd255829b5e243fa6195a4e4a5aed9a154aeb7d453443c4fae9047653 SHA512 6a62a5724dae9c1eacae75cdacc605162f9653f7ca69dd393399b86140728f0deb16217bd47fc37769083d26c8ebdfd9b643f5faaea18ed094857a29044bf49c
+DIST thunderbird-102.1.2-ca.xpi 633395 BLAKE2B 20156232cd06e9ba97e0776f940cbcf22447d5d2e04b42be641529e10fba9682297fdd0236206421444cb26040b0eb7b57c4a03b251e77451529cd2943b5deb5 SHA512 851490137c929da1b5196288418231ed5eb90b8bab0269900c9f2746f15e9f91f61c003d9341dbfa531c36249643eb39cde66e5602167be09eb429c2761da9b3
+DIST thunderbird-102.1.2-cak.xpi 639838 BLAKE2B f9543bf6c18caa222abb1c93feb46629b2a880d847deab77a83a5b1b6e38d2a1d68ba19ed1253e12c01ddebc3b0bdc9ee0912c4851dab23a92d74c9d71b2da83 SHA512 fab05cae22ed262aa9d245160747db75415d0cacbaf3448cb16b5ac7ddd9398c51ed404b8d062133c5e9a3bf61c1c11c91dcf809abbb8bd410f2c2d4c04bcb3b
+DIST thunderbird-102.1.2-cs.xpi 702971 BLAKE2B 88817c5ea1f5caa4b56bea547eb7fd8240bd8c47ba5c822e96ff8923a6e33b7543598b0b6603ca3ea5d9e07afa3f5826dccacae0b5e45f25058a12c9c1245f2a SHA512 f50dfc0a83719173c36f3ae6ec59884e1ea6a621064479c0101d67509e36d7731043898fc8fceb3ed149e80bdd5950fabf0a02d9719abf618f4066b98bf22cb9
+DIST thunderbird-102.1.2-cy.xpi 679614 BLAKE2B 4fb544c35b0c41c207edc239f50624a002ac297734ec3b5368b5889127241e6c8c4da281587d9a8d57797af509bc51ac1836d18b0e3d74d7dfcd2945deb0baa0 SHA512 a5ca9c39243c97b1b4401a687704754ffecea7a37334ab718b8b008dcb04f75bc338a751d3552a6cc88d1c6e31c724204f82d5c12f30eb2f24a18681988c62c8
+DIST thunderbird-102.1.2-da.xpi 665648 BLAKE2B 8af3ba104490c32a2ff2a52484f85970187c273336048b75a627f9be7a44dde709caadf9349d9cbe7e40d97dc817d7e637fc4869d927fd810986f068775e8ff8 SHA512 932b160819967dee9910ba1d2b28b850295f3b65d7403651d1a5d7a28dc390fe5d9a85ade77d9dce3e2a800b1a4af572a73cec5da4961917da7cf79330d146b1
+DIST thunderbird-102.1.2-de.xpi 699296 BLAKE2B adb3e7eb2f3c8b3d968f7625e45cb2b75fc3b6a8057b01d6fdd3e4fee3f8b1cd75e96e2781e6dbf99d5af3c2f5c0743e81ec3d276cfb58f79d0b53a4c2e13bc6 SHA512 05557414f330169532b703d716ebfc92a8a093e41195f77c570cb5bbb9f9a8fcb240ed9652bf05cc77ac665d590c8277a7b62cb0e09cad3cb79edea3c9eaf14b
+DIST thunderbird-102.1.2-dsb.xpi 712722 BLAKE2B 7c4319bec8036b6bf870b42791efaf25582bcc822bc649a859328cace5cadbdf2eb4f6a12b3467a0fe2bae508b6fc6ea5a25abc45a80c355d95f4cf638e7fcc7 SHA512 8329373283f5b8a4dca6c90bb56a1f0ef24066a02be9201c01f1fd7ca6ec4da60f54e4cd378ec9b40c6d54c4435f93b454d2385604478e6e5c24303bd074944a
+DIST thunderbird-102.1.2-el.xpi 808754 BLAKE2B 4dfb443f97325b65b8b3bfb8763f8c795a881f26188ccc226e693b19f52e908ec1233e317999191b110cbbae997603c949d61577b485b0f640590310e5ee802e SHA512 9872d09fe69b6d8451bf457f9403718240f48bce3b2ca69715a7e27540593cf9df87451c9a088c484267d941938ec12acb6256569031ead5a488bc4653daa478
+DIST thunderbird-102.1.2-en-CA.xpi 640175 BLAKE2B ddc3839745b26357b2f922c5bccb70b06dac8a042177003408eab8a03e6143389bd6d7bec408b076aab8d3c085cf88df8d16b1c48af5c679a9b13b311d7257cc SHA512 bde6a1e386b1716063eae162a0513e7191916f7dfa3dcebc37c0356888c054b755a4e451b987f2e423fd76c3e410c916c40e4625ade09e35999e4325c6a4ee86
+DIST thunderbird-102.1.2-en-GB.xpi 640193 BLAKE2B 825a2140d34c6f069f9a151dfe9eb477355fde6123460d538c5e1da878ea150c89f46160ee6a8eaf663613c3562840b2ff601b5f46f7d0973625f6454ef6b8bb SHA512 ab79c021f931e7a891fad7e5c7db6f20eabffadab72a97a5191a9f07d55f573457bc4678fcb99eb8b41761f8d0f9cdb03a7f9482102c299cb54ff9ed855b4707
+DIST thunderbird-102.1.2-es-AR.xpi 689434 BLAKE2B 8713f5bebc65587d71797333170fb0da9e7b9357f8f63d5d38160c3148e1a4cdf322461a16e0a915057e6e9fdd294073e35ceb758efcba8f526d726da1f300df SHA512 a5d6e8efbfe2a2c872f8a98c5fb23274b8b8a02b6a8d8f95afe2906740d400012e4e9296bcca96f422b7005378e88e967a487a784e94500d58452446cfa89b4d
+DIST thunderbird-102.1.2-es-ES.xpi 645921 BLAKE2B fe456820efbee4470fa3a5aa3f1d123dd62525b30f16d517c1dcb050c5709f884c7e8fc0693ef4c7d5d6693039a60cd9e8e5453126317a08156d2268b9562625 SHA512 ade12fd5cffa8309bb33988c2e2f0e24d5faca2867a0d82f9255b2c671e73eb745cb3c759697270504c2173bf5826e2f1c8946ea2b942dff88f05540a85f6393
+DIST thunderbird-102.1.2-es-MX.xpi 692126 BLAKE2B ca1dfa89f002460d5c39afb918b8b0b26d31b550817edb2fb6fff277c56bf4c76b9e2aa9b861122a779358772d5c85d82c2f9ddbca374679705c0edca420aa27 SHA512 a93e64f68b90b65385191f2c73e5f78e23de98e6df21d4e82e3431896afbc2cc524240bc0c82e566c18c8466b594b5542c3f937a1c276ff91b2f02275374a3af
+DIST thunderbird-102.1.2-et.xpi 663768 BLAKE2B cd746a65a963e2b8df8ac9ed3174e4461ab983f0047b397c3eb07b9b48bdd948eb211ae432887ec0d57df78104e8b432e20c03512926a0f0b37e9ff865731070 SHA512 b1014c44e1fc2ef19ce99befea4a64d60c8ee8bc6968dd68069fdca972124762f4f5bf8a693d7ec3d72ce8fb3d436e4409ae178ae8870423b0754e2882c79b38
+DIST thunderbird-102.1.2-eu.xpi 674440 BLAKE2B 96d078a2bbc0f6a279b55ed02d68131242780fb8f7411a7c5e6d2f57e9f58fa0cdb0cf26425e10bb9d24e799b9d4aa0385fd0e87133a03ef9f71daf137db489e SHA512 f396529dba421cdb950475a889d12278419ccda423c676faac56754d3891ca7535aff6246d1a33e389f6ec4a3509a9567804009dfd3d92ebf12d77eddcbf1b8f
+DIST thunderbird-102.1.2-fi.xpi 664491 BLAKE2B d66b9ba84e457aa8a23bd4b71f1e7281d2c1408e2f7eac28eb54856f039a294bd06a240e0dbf4d39d295d74e43f79bfa6372fd7968c64b19dd7f22d2de0d0594 SHA512 1fefa33f7306af48bca31a4ed870694c23eb40d8dbee14bc2c104c10df8cd72ff0f5a1c4be6133d4b6db832fbb15068d10ceba9b3eed68721ac3d2f09ebcf920
+DIST thunderbird-102.1.2-fr.xpi 701868 BLAKE2B 22acb025b4049ae8d3748ab521cd8c0de103427f4b57343b0641777196db9da16d47bd1eac3fac1bdb1cb316f5ea25c8c69ed7765778ce91c66ecea8de51807b SHA512 79cfc4383bc618a2695c4f1dbf1cc3d3fc91c6c06f0682b848d4409ab4fe4e9963b16e64d885c4eaec35edfee734e6c83ac17ac7582ceacdbe2060645779f60b
+DIST thunderbird-102.1.2-fy-NL.xpi 684396 BLAKE2B 5db25bdd303d35014914618a1e1fcd6385c9bb461bff64e37b17f300abb8c85668ba80548badf514d018644cae7d5983b90b7ffb977d82ce592457148d8e1f37 SHA512 3f41301922cbfea54119bc321ae7c45f0824ed048ed8c0139aca978fea16180991d5e1d0df485460b3ab5a63df53d03c6bec40c375cb95ce3bb32d6bd0b35dfc
+DIST thunderbird-102.1.2-ga-IE.xpi 603945 BLAKE2B d2c92ccff06f4fc53a83320838ed063534b533eb4e5150c38bb1a07cd56d15bb3c9d4a410fa13b00f8e7f4bff03abb27718e189bc554d1492b082fb16c2fffa1 SHA512 b81fdb969376b332cb2045285949f2d6bda56507a2b49642cce98d0c55af7a8a9fa2621db768fafadedad5783e8fcaff42ea18a4c6dc4a191e7eca5fb8f12bc8
+DIST thunderbird-102.1.2-gd.xpi 629767 BLAKE2B 30aba5842be2350f2a9e3d9e830529a73507963802683db21da531ec508effabe25179c3126f4abd9b0a60d28782de890003d4a362b501309a968babf59bb949 SHA512 81e4b3e8e560e0de71dbd7262d817d6a964e9d59162fb86c8899689fdbe3e915d5eca3e8dd53b491b30beeb5b32dfd9d307673625a41ffd0fcaa1d4d153f19ad
+DIST thunderbird-102.1.2-gl.xpi 661366 BLAKE2B 9540f0f60cbdb2ac1cb2d27601bc09d6b23574223b2e7a9b211722b708112488ee16f7e769d2c210acc22a50b79bb330044a87093ece8ecc4ce87b8f18dbff1f SHA512 5a562375e87f40bdd7b724c77f6bfdbc55a523f6894bde0e2c9eaf8f470b25c7436fe7d443ecba5a9cfbc8f10d5dd873cf391f6672dcf7ce4eaa48959e2f91f6
+DIST thunderbird-102.1.2-he.xpi 658316 BLAKE2B d887cb88f52519ec0138a5cddd538286f44bef502ff4e4a7f62e899266e2b3c2cbd3ec7fe182fa6bc4556b725131e7cc5a5ec6bfbec2aed14e963dfef4aaa507 SHA512 62cde12bfb3de77b56ef11adf847766dec4f1fd603f33f3a473c19bb2c6a7bde6d460cf62ab90486a6cd9d945c4179383afc21dd82df60e8c4f1f6f0ccb0d01d
+DIST thunderbird-102.1.2-hr.xpi 657388 BLAKE2B f5331c49169f7a13d49e23d1f718ddec61fc2eac2e70df3029e19b762212e2ba4c0dcd67fb6b02f63156d7076b46a570e74ea3a0940cec639562750f1f935089 SHA512 45b1b81b2eac33179455916bc8428dd263a5134ad87c3851c992495ad1e3c2564c827ed040f91336483bef15ae509695a214e65fd51b1da6bb7c5bceda02708d
+DIST thunderbird-102.1.2-hsb.xpi 709544 BLAKE2B e7fcfddb3c7ac33352bbe30f7075915fa0ffb7be2557018e352869513b5cbb4a16af26d6c2d2261bd76a5cc335b617e32501a789f07e4624a99bf3028d3d4eda SHA512 157d113d222d957fde020051cfc9929ec9423ba5d835b5d248e786842ae26fc3804d9e99934a8a8500a4ba18c4b87797c2b6b27c6e59ef05b571bc111ededfd2
+DIST thunderbird-102.1.2-hu.xpi 712257 BLAKE2B 608a240c4595dc1ca307272b118e157c261a13284833744939c82a2a0eb32962233833671d8ba76a3f2e7016bbcd7fbe186cf43c9dfe43e123c5819cff1eccb8 SHA512 85b4e2b9822c60e27593264be48c6262282561ecc7f8b00adc490137de21ae07774783fd5ca9382f39dc07568dd38c8a1c89e3760d164a01140247c397b6c5f9
+DIST thunderbird-102.1.2-id.xpi 636716 BLAKE2B d6efc04544e9e152815a99638c5aedff43182df92fdc63fc1e912dcefc061686a93b517d89227c2de63e8400f3e6ddd90cb58cd24c694a2dba574427d75e5ade SHA512 a24463d1e1a1b4f129dd90e4a45951234a4faff482ea6620f3e4a1894006be8771bcc22688095da798519d9fee4a85b1c0e4342a990b6a1460069e3086af45d1
+DIST thunderbird-102.1.2-is.xpi 675463 BLAKE2B aa037804a1d5459db53a30565cfc2728b4919c6637e369ffae4713e57673f6cad619d0f4361bea8eef8fc2a8e6011ebf19dd43c226424b82fcde84a879a960f1 SHA512 1f69f714d2c1c171407d38504048f8a61e650ae97e2d2127882063bc39b457762a690a3304a16e7eb31073708f2921cf24dd141076fa611353b202bcc10e6c36
+DIST thunderbird-102.1.2-it.xpi 594360 BLAKE2B e699e84d4ac20d06149232f3db6f0c1b9ab0797f216db96263a8936843b4354463871e3871364b3823db95354c2a8eeed24ee56223fa8616ce441fbb7ae4b30f SHA512 bcc1680d77bc2db4b868cef2d6ac7b4e5b5a7d37dfcfd5e76f2f7e4d712e95d5db4efa65faed7e20d5e2ca93df30c633c0fd165c6c811013cadb41c8f7528479
+DIST thunderbird-102.1.2-ja.xpi 730232 BLAKE2B 557ea4d9ad895c241aad0ae818de57158da1def7bc7ea5d301f1773db62c570a9658d1f7415792fe5c253b5c2b0929785c8652b288206db88328878b7235196f SHA512 0b81869f300c81230e6de8dea56131e65315ea7ff5805666d9acec9584a3b0edbccc1bbd2014b8c447e6794199336810f629d72114659aeedc332ab52910a85b
+DIST thunderbird-102.1.2-ka.xpi 747174 BLAKE2B e174e27cae479c141bfa56da65cf4479b3035de28c34693ebbb69321db94093728f35f0f1a152c75461f717e7caf161a7c3c6ea710d5fe28486a5f0c69488452 SHA512 4d8cf1d867cae8734851d95581eb509b9410504b33ff5c2c82b058f22ae116fb2480a6cce51f8338f63508ff511352e0db95bb09999dd8b886ae136b2c95a8c7
+DIST thunderbird-102.1.2-kab.xpi 680696 BLAKE2B ca9bb435175d9655d28db4aea4af1f52bf5ee1eca29fd441eb11e2d5366c22e3ddc52710c6f6c2e29a3a8c26a902454385408346aaeac171c4d336a97452bba5 SHA512 ff5eeebc37d38d581560bdac42386992c4d8a3eea0543849005a23c555309c26f2a7840a1664e60a48a4bbd77a740358d51390e391ca3be15b818871cb9300a3
+DIST thunderbird-102.1.2-kk.xpi 728091 BLAKE2B cc8f668178658243534fcd5720b4a802f05cc0abda5dfabcf471c5e8a2e7ea11652ea632b5fe6a1244e297982d8acdc8a32fe472824ae58f776db0ccf48f5956 SHA512 809741371aef8ce84ba00b8096ca8c6c9c6b4726287b193ea5ca339c887a365f26c9dfb14ef85469ea2ef2a11686b16949526d951924ad0bc53e8f6f4f8cdef8
+DIST thunderbird-102.1.2-ko.xpi 689722 BLAKE2B 6b92d2eabbf66075e810a474daf94d40e7ffae81cbf4e57e56513318f5f5c875869649f3847599ad93486910ade8c5c00e45d1053feba55419e83a67b09f5056 SHA512 1ade3c3570a17c1d453cc4b1df81751eb4aca162aa648334cfb3eb028ad44cb00030508e2cafccef827e388a3b31bb7a294a1b4bd365a999277be8bbe953ccaa
+DIST thunderbird-102.1.2-lt.xpi 679124 BLAKE2B 8cbce1a18265f738ada9acc124e4beed2abede1e9a9b8101be6c41dda956e03ccd33344f10bd062affad6f6bfdb44457378be3c29888ba32491fa2002a51ca78 SHA512 4fddfac25b98d6d17aa3c59ec5ffebcf29642493da8a1424bbc0d9978e896576669d66b33e01df01b6aea37f01ac5bc93eb51f35bc8c47d9d5752264167b4a7a
+DIST thunderbird-102.1.2-lv.xpi 606682 BLAKE2B ef26dbe985e63f5605419007e2cdb3d65994a41dacef4aa566122889864753565cc3675983af56f2bfd2d286547fd559107c83cc10562d6ca7d7bf646ae54795 SHA512 ea09596c7c1fbba2dbaf87088df3accae543ce360c7130bdadfb1acd8c2f38aad58329b0a89befbbeeaeed18d1d58da2a14dfcb2e4a778dac18cb4649fc8364c
+DIST thunderbird-102.1.2-ms.xpi 567578 BLAKE2B 952da9051b3d5992075e32c09c036855a3bb4e1c8b754f00363c6673a9923fbaea2c987033a957f1d88b5d2acbb3b03cbb99a050a1e5d530dab83387e1e53ad6 SHA512 0f73e22cdc1c75cf9595a498e8c4c9eacf3ccd142b6a18e47079029afa6cb9168cc70096e4c9f042c2c59f78bb42de1c96da4f95827262e76c66ab5521df2a7a
+DIST thunderbird-102.1.2-nb-NO.xpi 644163 BLAKE2B 1513ea5f9964a7ce132ea7945a0f15add2593f62103a66fd39b34f91b03c84002de02b383d77ff077d5213da9fd4b376d7cd6f3a44fd866f27854b31be5d09b9 SHA512 f56ff082fd0c099771878b456ff6206a768ee8347cb607857e8b586e2c8d7cca79197bfecced7558107e90a1a6d527b47d0cd7186f9cc85848a70dd9b61246c4
+DIST thunderbird-102.1.2-nl.xpi 676369 BLAKE2B 5dd150b9de16435afce05f0f004b7c31c9e2cc53b8df250811469755e9efedc4373e4b9e11e5dc3c4441698881bfadc027e44383775706a6ad440532556a56f4 SHA512 8897c4c6d70422a1d89194e58419b560be174c530c4f7979900153cf51537c6f75991025bd58134dd6c053f867d6c50d5271908a1aec870b0de06d750ea9e5ff
+DIST thunderbird-102.1.2-nn-NO.xpi 648550 BLAKE2B a07ffc1289fb7c41e104a6111ee0391524506ab6de319820e1907d86c97a13dc8267effac0319b5d3d8330172588472454c9e729f2f3290519bcf99523c2e5ea SHA512 7f570fdd3b83d0f4928dfa92f15bc7379a470cffa6083c56c6babc0aadbf7c42968ee8cd5fbfe325840c7358c1fd97f8e8283d09c8680b927d4264cdd0901c14
+DIST thunderbird-102.1.2-pa-IN.xpi 640669 BLAKE2B 527340261a58e91b12aaa05f196e2456a061ad7cfa573150a49398315de3d72a8474b1bb08fa9377f51020d8c1dc90cbff54220064e767c8eba1b2dec52c1f76 SHA512 140c705ba262831f14564c2809f904059f0bd821d49d7d707d7865fca1701d3adce9916943edaba4cd8a881487ff5e2ee0215a16838f9d10472da0feb590a448
+DIST thunderbird-102.1.2-pl.xpi 687672 BLAKE2B 3f1ad53805d8fe12f50205890d03bb97f192edbdf04178462d5c744e7d234204059407cf9bf79213aa9dc705c7bb9740770c6087f7d5e4f17b1121e4c4cc2440 SHA512 42d8429856462ba6da465d5a255371b4bd3dc22e1b481c81c41f27999a43fc401ffdec5362e97316af0921b298f1debb58412fee2ba310a250845476dd89286f
+DIST thunderbird-102.1.2-pt-BR.xpi 683859 BLAKE2B 6c877c6d779ff167358a2c106b1cc4849e84a7262febb34e22b3dcf710319196d1d761d57213418b57884acc7e542a962b758a94d7ade31c71cda6559ad851e1 SHA512 80340bc692da96cb633a593175056943a16c1e45ed055e56bb4e0053dd6500a78ae038147371cc13d41d7870b32079705722e09755677bc90ebd9fc2a0d88658
+DIST thunderbird-102.1.2-pt-PT.xpi 662071 BLAKE2B 0a68e802ebf039e06b6889551977bc907445fffc2684cec7f7f2c4e711ba33c8656f2288fe3b649f90620e936e755b4f22d528200db77fbc06e0edde91991995 SHA512 cf96ddbaf3056d3963a88fdfb95f33ce4156d4a21b9625c53e10bbcf0dcca5e59acb1fad33991148f27fd7eeb7ad26d697611bada8faf4d8fddcc7df4bd2af69
+DIST thunderbird-102.1.2-rm.xpi 678357 BLAKE2B e34811a7a5667e56c1474ac434a528a702ab73a7e4db02ca4a1b55a948fe2aa5dd448c0d8b70bc8f9c3f3a68f114299d86017f25ac227454ec4d4cab999c719c SHA512 c46e6db6bf67223e460b1715f1a48675fa2ab4f89668034842a673f97a75fc934117aa7993c05acc8d658fb712b41dd30cb282f0d38928d66f6d9ec639b4fb12
+DIST thunderbird-102.1.2-ro.xpi 648822 BLAKE2B c36e490e5d161ff4e8e811d69d657b165d77d7efae033b1ecac2370f129f6e409424b9a38d7802c543a5c0b9e604c558777d48b82a26121bfede605abe33ad63 SHA512 ae14e8535bfd26a32cc1e59a341fd7337345a990dc92753f8b44c5dced4afdd6fa01ec2471d87dbb4e5924c9afa41372361c1fe98df379f90ebfaf4fe2895fea
+DIST thunderbird-102.1.2-ru.xpi 793355 BLAKE2B e4f3b855e8a7702e3ed718ad23e5bdedb9c255fe31d2b1be2b0ea9e3d698da9aa18b30468f14771d5b0a76c3238de3c1f81f93084f105c74d5e21e2681c43134 SHA512 29c0df70f8a7e3bb3f16263ce7a3e5b53b0f51b01e95adc98617edc583d7c4fbd691f03b265da9c4a57d8101a9c9a10cd19ca6d125aa4b6bc0b44134d4b491a8
+DIST thunderbird-102.1.2-sk.xpi 712163 BLAKE2B 4b151269436b0224fe2a85c930c01f7b57248ee75a86e88a380166e1daebb7d25a268edb14b4c01de8feb095e309edbb708142e2ba4e738a4d05f191722459a5 SHA512 3efdfb0c588ee7b6a0c33c60c3ad88783b9345ee43843d008d7b578598c46fab8729408763e4de895ffba8536864e80c5b874ec4f22a0493039ee3161d1c0e0f
+DIST thunderbird-102.1.2-sl.xpi 675592 BLAKE2B c491b491c9acb47358683c71fff359ef93a1aabab3ea38d03044933ce344430db0b43b8b08460b835aa524a4c68b66c2a9cd43a16307209f537ad0fa41afc8f9 SHA512 1ffe2d049a5e4726fb7966a6d0fe370d22386067134c29d275f8d30c093986ef15cb026868a97796c9f6bc04c4f1e5b43c6f6fe62781189047f6f3887892d9f9
+DIST thunderbird-102.1.2-sq.xpi 688021 BLAKE2B 3bbf2a53e68976e493c02a3e98c45aa87e4f67bed08dde14660fcbdc0b062c7e687e6c893e8ce84d989c550d588a5d042b28bde379df7d4169625944ca1b26a0 SHA512 bd80eb460dbc1f6776588fc49b96680645677ad1132a55684c849d3aa8fc9d996d4450335d0294c1645638fa1a65da8bd36d250dc62ca07f20892d7dcf261ec6
+DIST thunderbird-102.1.2-sr.xpi 696444 BLAKE2B a7b4e91bbf4d2e93d19abc41f02903759be1480d0bd65674bf44e344068679443b688b0fa70aaffe00252551605faac8457c0a2b18579a3f5379980e7b3a7d26 SHA512 f4570c985fcc85e20ed56a9d667c4aa9f9b8374c090406d7e01babdc6a4f72d55ba49b72764cf6347439fd1b51ba0ada090bbdce2b907d033d89c5845b120965
+DIST thunderbird-102.1.2-sv-SE.xpi 679882 BLAKE2B 7666e69605b104399f14aa6f0681dc8cb7e2a3bc9c7b2cd667503f5e09e63bd53649efe9b85c7d5e1680142dc837a36149c8bb3db9ca1bdaff23d82d5c5283d8 SHA512 049e7c959b9b54bbbaa0f47886ee4b9ed0aa412be987b1eb5ea2e720e74432440ee2f579c0b0138cde104099a6a0ef558ee2ab2d8d7e60a78d15c5d300cdbacb
+DIST thunderbird-102.1.2-th.xpi 732054 BLAKE2B 06cae4561e0243f1ffa2363b128a56884404b380ad62c6f743b2357b953bc39dadda2780327438df4d5109496f6b2af4b6bf84e97789b5817078b2fdb59b98f4 SHA512 a1cfac8f36c561b00177fb276c6d98528b1a34df3647e42a33bd3298ee0b6c3e1a4a7ccb41db7a6b6b4655843ed74312a5b9bc5e742b33532693b1318188963c
+DIST thunderbird-102.1.2-tr.xpi 686850 BLAKE2B 126f904d9e3f52e5c48ff603b1b4fe2d7bfc2a3cfbb42dc21625076c56fb9da7cc9f9c2e17d1428c9c275f04e966b3b0153a538b7962473570f96dfe8e26970f SHA512 cfb545610e4e4c3f90fa083e6cc7af2e29fde9eac862e107827f9a05ad1212186736450cd34e767887afee36ed2ad7743f5e422dbb3cf58301f7f7bc0dfceb8f
+DIST thunderbird-102.1.2-uk.xpi 786278 BLAKE2B 85737d7438b396e5ee7c8f20eabc1f21f9f40dd82f5e32a42f1e868cc15c0e55e8743aa5ef5f4a01a00ab020664265937a834e0946d71ebfc13c368f66aea30d SHA512 62a7b07db95e48dbb1b0687bf49c1ead5416b8231cf78ce1289d918b75b88a72d4fa72d133c2077e5217e9e2c1fe193c7e07fed52b8dce36722fdf65797f90ad
+DIST thunderbird-102.1.2-uz.xpi 584873 BLAKE2B d5cefe0a3adb6d29b8e20014d3914e5b9afac84acbf8a7c7ff20fe09cd975ebddf94b777710141525917dbeb76405589abc01c4197e7595fcb81905dc0bbb795 SHA512 e3a83f8d506da21d0a9b94a98e2558d563d417b2fe720822ff282b4b3400b5347ba69465a5e371c357e6fbf9cbe01780cc92c955bcdcac0a18a7e727e02de340
+DIST thunderbird-102.1.2-vi.xpi 718477 BLAKE2B 274c7f5c9e2d0f34588f565f5a888130a801152f62ff3c96de8a37dbe1bd9967e8c66016753049e54c2ec0db47be03ac1f1bf3c777ff689c85eea6c10e384b6b SHA512 2cc59b6d89030d202f24e72be23e04f22c78880b4f4f55d1562523dd17f6162643380856265fadbb3b6f311b72abfe43119667d1e73a4a5a77a507b14734c150
+DIST thunderbird-102.1.2-zh-CN.xpi 715016 BLAKE2B fba7e8fa2a4fed5063f5f364fc34701a60c91fdcf6a5ea4780720df5ddf39b88197e8a4478aa3d606edf8aae8cb402a0d98acc2dfba6de624f1c0deb131a1b5b SHA512 58b89f090593cc9a44fe0233ccdf9c8a0a1166de7e8e34d74f02dfa4bf4bc133c76fbd4c57d1dcd991a5a1f42861ced949bf3ccc014bb76d833e856063d88d78
+DIST thunderbird-102.1.2-zh-TW.xpi 720232 BLAKE2B 06c273242a962d1920112fe7feee5c028e0348cf89ec329ab8c1eb5e1b683e06b3f4242485374d9c83b5749c8fa35110037498a9964d58af927b93690ab8f460 SHA512 dd32ad01a3b77c88b8dc7fac6d66fb1cf4e95ce3c3f7bca07bbde382c9d57956f247fb52da1b910e2453b14b2ab75d4b37205e8fbb9a283c5ff507467561bd2e
+DIST thunderbird-102.1.2.source.tar.xz 505593480 BLAKE2B db71bb4f05633c98032a41e88e9e27593bedd64767145e3ae14d1027564e1185a1908c0ea7bfacb1b358fcd775093cae33e78163e5d3e984747c65d2a62ef000 SHA512 f5c6c77e932b30b43eaa6384b1dd1ab511d0ae8262cb51a5789f7c633235d5f8f343000d1cc1cae12e00a1d73571a814f98b0bf78681e00d7a51a34cfefdfdf1
DIST thunderbird-91.12.0-af.xpi 561877 BLAKE2B b32da4d389738f5984c6a5ab27810d122b3413d43b120862ac6cb4c4b550a45c4870d0f038d2421cad92eafa077f0539cca89c42ca745931061f2b9fb497a292 SHA512 dc1b72fe8c088ac48611678c1332aab525624940c8d9f5fdf1ffcf512837bc003e7893882f4bce724c2c4cf54487038c600e326ed227849250ff5e8cd76879fb
DIST thunderbird-91.12.0-ar.xpi 665730 BLAKE2B 8919628c0d364635ea1c9a92acd5184f016ddf32ecf5c66cf7653ab26db05b208cd5ab9c3e6b4addfdb559754fc284c1874f7560f949d8b9fa6aa9c4758ec72b SHA512 97b228149582f5a4608cc2727c22e41253b7b3081837d9d020ac5af32144722c31f5d8d6b812641a43efb3be221a3e3ef66b034ff3e02fca902793d4156d2218
DIST thunderbird-91.12.0-ast.xpi 580510 BLAKE2B 65e4d8e38b9f4d0189dd939e1440ca758c4196907159e1e627487509e8bf6a7ff156e57120c95bad223d980d7a97bcc20abed4c890f46c430671d6e68fdfcf11 SHA512 c77245fbbe002ab17f7f33d2abaee1f6ce24617845c70fce606380f1013128992e9d818f6f924f5877c7b78dc539f1aa785396eb622caa2037230c68e4e76af9
@@ -136,5 +201,6 @@ DIST thunderbird-91.12.0-zh-CN.xpi 730901 BLAKE2B 9d183dcfbcd2bc8cfd200c5b9e580e
DIST thunderbird-91.12.0-zh-TW.xpi 731943 BLAKE2B 441081aafebc9bff1ad0a6c8c33cba392854f41b30be59bc614a57ec316d5c0ccae774d3b0c238df3be61c1c072507e09a4cad612259f13145153f33bfd14ffd SHA512 b93fb3cd53646394ace88650ae2384b8b4160e7b60975b068d750e0add4474e926e9f47112432d940b90e90180bfe308c999bc93d06ff56f5d1bdbe8c5320d31
DIST thunderbird-91.12.0.source.tar.xz 404609860 BLAKE2B 960958211bd4661cd36e55aff024ebe800aca867e7a9a5b54de694c4477473360d2422373accc325ca2cf7a3bdc720be427bf281beba2e9ab052fcf2a62ecf67 SHA512 1c0200a84ccc4124127d472713d72c4ff7ece8d61ad120d5c45c732a3ab4f86a2edfea23a8bf26e4739d24956654aec30e7bc59a28af17fbbf10f3d67466649a
EBUILD thunderbird-102.0.3.ebuild 33898 BLAKE2B a2c155edf69f932119d6a0f4c5f4d10731dd43809c484a4e16b9b9d9e7bc78f6e755248a26a40cb56582149c1df21cee8c32c4772be7df534790ab311a5bd392 SHA512 c5c73c480412487f621862333f3e33a7605f13f1f106490af526b3d39de5743b36b5582d60c41fe05988dc3e2826df8505abea6027a6527f9ac17b9b506066e3
+EBUILD thunderbird-102.1.2.ebuild 33902 BLAKE2B b93dfeac93616b250a3f6b3491b9e983bfedf6d5de4ee69d0be9e966ff8f6d0bbb7e3a353ce72b7b5d4beb04a756cbd8f4b70bdba8861d0678caa1a8b1842d6a SHA512 434f946b32bccc0a856f139dc55172968cd3edd3cf6872214680475a98f15c60125a73774d725fe5bba68d36c7bdf1e995e4b5a9f826042e7ad25cc21cca94ec
EBUILD thunderbird-91.12.0.ebuild 32760 BLAKE2B eca6bb6ad4a3c2cce82926f76410e8543f7c9edb32c4cad7b19fb6a0175384f0bab5706fa42697367011655c3ea9b537386a432059e4766d6a7c5764af6f3e32 SHA512 b941bc14b6d7a23d142eb4c21f8af8641ad2aaa800ed0b56d717ad5ca57988f30b7bee2a4ee4801b09ec25b2523b2d0ace457d358521d2efa4b8d27e237d01ad
MISC metadata.xml 2209 BLAKE2B 5bdf2fabb2b6006e2d1ed2271d6ced3ec06982a3d992effe203b850bc3feb1f7c2854a3e6e1e746f6dd780d1a3c35c860f2af09f8fd491f68e743116f2976501 SHA512 bc633d3f53994730d2ef98ee4a5a0417ecf7af4fb73250460f93b5256ca3c2ae3842a0ff516208d0e5bc34cd6054bd44a4d894d07f88344a9db341daae35556e
diff --git a/mail-client/thunderbird/thunderbird-102.1.2.ebuild b/mail-client/thunderbird/thunderbird-102.1.2.ebuild
new file mode 100644
index 000000000000..42687aff1b50
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-102.1.2.ebuild
@@ -0,0 +1,1179 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-102esr-patches-02j.tar.xz"
+
+LLVM_MAX_SLOT=14
+
+PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="pgo"
+
+MOZ_ESR=
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+ # Convert the ebuild version to the upstream Mozilla version
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+ # ESR releases have slightly different version numbers
+ MOZ_PV="${MOZ_PV}esr"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils \
+ llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \
+ virtualx xdg
+
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
+
+if [[ ${PV} == *_rc* ]] ; then
+ MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
+fi
+
+PATCH_URIS=(
+ https://dev.gentoo.org/~{juippis,whissi,slashbeast}/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
+ ${PATCH_URIS[@]}"
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="https://www.thunderbird.net/"
+
+KEYWORDS=""
+
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
+IUSE+=" wayland wifi"
+
+# Thunderbird-only USE flags.
+IUSE+=" +system-librnp"
+
+REQUIRED_USE="debug? ( !system-av1 )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+# Thunderbird-only dependencies.
+TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2
+ !system-librnp? ( dev-libs/jsoncpp )
+ system-librnp? ( dev-util/librnp )"
+BDEPEND="${PYTHON_DEPS}
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ virtual/rust
+ || (
+ (
+ sys-devel/clang:14
+ sys-devel/llvm:14
+ clang? (
+ =sys-devel/lld-14*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:13
+ sys-devel/llvm:13
+ clang? (
+ =sys-devel/lld-13*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
+ )
+ )
+ )
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )"
+
+COMMON_DEPEND="${TB_ONLY_DEPEND}
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.79
+ >=dev-libs/nspr-4.34
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ x11-libs/libxkbcommon[X]
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ dev-libs/dbus-glib
+ sys-apps/dbus
+ )
+ jack? ( virtual/jack )
+ libproxy? ( net-libs/libproxy )
+ selinux? ( sec-policy/selinux-thunderbird )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-gfx/graphite2-1.3.13
+ >=media-libs/harfbuzz-2.8.1:0=
+ )
+ system-icu? ( >=dev-libs/icu-71.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
+ system-libevent? ( >=dev-libs/libevent-2.0:0=[threads] )
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
+ system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ wayland? (
+ x11-libs/gtk+:3[wayland]
+ x11-libs/libdrm
+ x11-libs/libxkbcommon[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ dev-libs/dbus-glib
+ net-misc/networkmanager
+ sys-apps/dbus
+ )
+ )"
+
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4
+ )
+ )
+ selinux? ( sec-policy/selinux-mozilla )"
+
+DEPEND="${COMMON_DEPEND}
+ x11-libs/libICE
+ x11-libs/libSM
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+llvm_check_deps() {
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use clang ; then
+ if ! has_version -b "=sys-devel/lld-${LLVM_SLOT}*" ; then
+ einfo "=sys-devel/lld-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use pgo ; then
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES es-MX et eu
+ fi fr fy-NL ga-IE gd gl he hr hsb hu
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+ pa-IN pl pt-BR pt-PT rm ro ru
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+mozilla_set_globals() {
+ # https://bugs.gentoo.org/587334
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=(
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
+ )
+
+ local lang xflag
+ for lang in "${MOZ_LANGS[@]}" ; do
+ # en and en_US are handled internally
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
+ continue
+ fi
+
+ # strip region subtag if $lang is in the list
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
+ xflag=${lang%%-*}
+ else
+ xflag=${lang}
+ fi
+
+ SRC_URI+=" l10n_${xflag/[_@]/-}? ("
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
+ SRC_URI+=" )"
+ IUSE+=" l10n_${xflag/[_@]/-}"
+ done
+}
+mozilla_set_globals
+
+moz_clear_vendor_checksums() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -ne 1 ]] ; then
+ die "${FUNCNAME} requires exact one argument"
+ fi
+
+ einfo "Clearing cargo checksums for ${1} ..."
+
+ sed -i \
+ -e 's/\("files":{\)[^}]*/\1/' \
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json \
+ || die
+}
+
+moz_install_xpi() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local DESTDIR=${1}
+ shift
+
+ insinto "${DESTDIR}"
+
+ local emid xpi_file xpi_tmp_dir
+ for xpi_file in "${@}" ; do
+ emid=
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
+
+ # Unpack XPI
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
+
+ # Determine extension ID
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
+ else
+ die "failed to determine extension id"
+ fi
+
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
+ newins "${xpi_file}" "${emid}.xpi"
+ done
+}
+
+mozconfig_add_options_ac() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_add_options_mk() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_use_enable() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_enable "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+mozconfig_use_with() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_with "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has usersandbox $FEATURES ; then
+ die "You must enable usersandbox as X server can not run as root!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6600M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+
+ if has_version =mail-client/thunderbird-91*; then
+ ewarn ""
+ ewarn "You are attempting to upgrade from thunderbird-91, this upgrade path is still"
+ ewarn "not supported by upstream. If you wish to continue, please backup your"
+ ewarn "current thunderbird profile, and uninstall mail-client/thunderbird before continuing."
+ ewarn ""
+ die
+ fi
+}
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has userpriv ${FEATURES} ; then
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6400M"
+ fi
+
+ check-reqs_pkg_setup
+
+ llvm_pkg_setup
+
+ if use clang && use lto ; then
+ local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
+ [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
+ [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
+
+ local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
+ [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
+ [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
+
+ if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
+ eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
+ eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
+ eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
+ eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
+ eerror " - Build ${CATEGORY}/${PN} without USE=lto"
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)"
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
+ fi
+ fi
+
+ python-any-r1_pkg_setup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset \
+ DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XAUTHORITY \
+ XDG_CACHE_HOME \
+ XDG_SESSION_COOKIE
+
+ # Build system is using /proc/self/oom_score_adj, bug #604394
+ addpredict /proc/self/oom_score_adj
+
+ if use pgo ; then
+ # Allow access to GPU during PGO run
+ local ati_cards mesa_cards nvidia_cards render_cards
+ shopt -s nullglob
+
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
+ if [[ -n "${ati_cards}" ]] ; then
+ addpredict "${ati_cards}"
+ fi
+
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
+ if [[ -n "${mesa_cards}" ]] ; then
+ addpredict "${mesa_cards}"
+ fi
+
+ nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
+ if [[ -n "${nvidia_cards}" ]] ; then
+ addpredict "${nvidia_cards}"
+ fi
+
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
+ if [[ -n "${render_cards}" ]] ; then
+ addpredict "${render_cards}"
+ fi
+
+ shopt -u nullglob
+ fi
+
+ if ! mountpoint -q /dev/shm ; then
+ # If /dev/shm is not available, configure is known to fail with
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
+ ewarn "/dev/shm is not mounted -- expect build failures!"
+ fi
+
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+ fi
+
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+ fi
+
+ # Mozilla API keys (see https://location.services.mozilla.com/api)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+ fi
+
+ # Ensure we use C locale when building, bug #746215
+ export LC_ALL=C
+ fi
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+}
+
+src_prepare() {
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ eapply "${WORKDIR}/firefox-patches"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+ # Make LTO respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure \
+ || die "sed failed to set num_cores"
+
+ # Make ICU respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/intl/icu_sources_data.py \
+ || die "sed failed to set num_cores"
+
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
+ || die "sed failed to set toolchain prefix"
+
+ sed -i \
+ -e 's/ccache_stats = None/return None/' \
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \
+ || die "sed failed to disable ccache stats call"
+
+ einfo "Removing pre-built binaries ..."
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
+
+ # Clearing checksums where we have applied patches
+ moz_clear_vendor_checksums audioipc
+ moz_clear_vendor_checksums audioipc-client
+ moz_clear_vendor_checksums audioipc-server
+
+ # Create build dir
+ BUILD_DIR="${WORKDIR}/${PN}_build"
+ mkdir -p "${BUILD_DIR}" || die
+
+ # Write API keys to disk
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
+ echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
+ echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
+
+ xdg_environment_reset
+}
+
+src_configure() {
+ # Show flags set at the beginning
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ local have_switched_compiler=
+ if use clang && ! tc-is-clang ; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+ have_switched_compiler=yes
+ AR=llvm-ar
+ AS=llvm-as
+ CC=${CHOST}-clang
+ CXX=${CHOST}-clang++
+ NM=llvm-nm
+ RANLIB=llvm-ranlib
+ elif ! use clang && ! tc-is-gcc ; then
+ # Force gcc
+ have_switched_compiler=yes
+ einfo "Enforcing the use of gcc due to USE=-clang ..."
+ AR=gcc-ar
+ CC=${CHOST}-gcc
+ CXX=${CHOST}-g++
+ NM=gcc-nm
+ RANLIB=gcc-ranlib
+ fi
+
+ if [[ -n "${have_switched_compiler}" ]] ; then
+ # Because we switched active compiler we have to ensure
+ # that no unsupported flags are set
+ strip-unsupported-flags
+ fi
+
+ # Ensure we use correct toolchain
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG
+
+ # Pass the correct toolchain paths through cbindgen
+ if tc-is-cross-compiler ; then
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
+ fi
+
+ # Set MOZILLA_FIVE_HOME
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ # python/mach/mach/mixin/process.py fails to detect SHELL
+ export SHELL="${EPREFIX}/bin/bash"
+
+ # Set state path
+ export MOZBUILD_STATE_PATH="${BUILD_DIR}"
+
+ # Set MOZCONFIG
+ export MOZCONFIG="${S}/.mozconfig"
+
+ # Initialize MOZCONFIG
+ mozconfig_add_options_ac '' --enable-application=comm/mail
+
+ # Set Gentoo defaults
+ export MOZILLA_OFFICIAL=1
+
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-gpsd \
+ --disable-install-strip \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-updater \
+ --enable-js-shell \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-ffi \
+ --enable-system-pixman \
+ --host="${CBUILD:-${CHOST}}" \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix="${EPREFIX}/usr" \
+ --target="${CHOST}" \
+ --without-ccache \
+ --without-wasm-sandboxed-libraries \
+ --with-intl-api \
+ --with-libclang-path="$(llvm-config --libdir)" \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-system-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system \
+ --x-includes="${ESYSROOT}/usr/include" \
+ --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
+
+ # Set update channel
+ local update_channel=release
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr
+ mozconfig_add_options_ac '' --update-channel=${update_channel}
+
+ if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
+ mozconfig_add_options_ac '' --enable-rust-simd
+ fi
+
+ # For future keywording: This is currently (97.0) only supported on:
+ # amd64, arm, arm64 & x86.
+ # Might want to flip the logic around if Firefox is to support more arches.
+ if use ppc64; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ fi
+
+ if [[ -s "${S}/api-google.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+ else
+ einfo "Building without Google API key ..."
+ fi
+
+ if [[ -s "${S}/api-location.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-google-location-service-api-keyfile="${S}/api-location.key"
+ else
+ einfo "Building without Location API key ..."
+ fi
+
+ if [[ -s "${S}/api-mozilla.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-mozilla-api-keyfile="${S}/api-mozilla.key"
+ else
+ einfo "Building without Mozilla API key ..."
+ fi
+
+ mozconfig_use_with system-av1
+ mozconfig_use_with system-harfbuzz
+ mozconfig_use_with system-harfbuzz system-graphite2
+ mozconfig_use_with system-icu
+ mozconfig_use_with system-jpeg
+ mozconfig_use_with system-libevent
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-png
+ mozconfig_use_with system-webp
+
+ if use system-librnp; then
+ mozconfig_add_options_ac "+system-librnp" --enable-compile-environment
+ mozconfig_use_with system-librnp
+ fi
+
+ mozconfig_use_enable dbus
+ mozconfig_use_enable libproxy
+
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
+
+ if use hardened ; then
+ mozconfig_add_options_ac "+hardened" --enable-hardening
+ append-ldflags "-Wl,-z,relro -Wl,-z,now"
+ fi
+
+ local myaudiobackends=""
+ use jack && myaudiobackends+="jack,"
+ use sndio && myaudiobackends+="sndio,"
+ use pulseaudio && myaudiobackends+="pulseaudio,"
+ ! use pulseaudio && myaudiobackends+="alsa,"
+
+ mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
+
+ mozconfig_use_enable wifi necko-wifi
+
+ if use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ else
+ mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3
+ fi
+
+ if use lto ; then
+ if use clang ; then
+ # Upstream only supports lld when using clang
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
+ fi
+
+ if use pgo ; then
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1
+
+ if use clang ; then
+ # Used in build/pgo/profileserver.py
+ export LLVM_PROFDATA="llvm-profdata"
+ fi
+ fi
+ else
+ # Avoid auto-magic on linker
+ if use clang ; then
+ # This is upstream's default
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
+ else
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
+ fi
+ fi
+
+ # LTO flag was handled via configure
+ filter-flags '-flto*'
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ else
+ if is-flag '-g*' ; then
+ if use clang ; then
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
+ else
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
+ fi
+ else
+ mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
+ fi
+
+ if is-flag '-O0' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
+ elif is-flag '-O4' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
+ elif is-flag '-O3' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
+ elif is-flag '-O1' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
+ elif is-flag '-Os' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
+ else
+ mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
+ fi
+ fi
+
+ # Debug flag was handled via configure
+ filter-flags '-g*'
+
+ # Optimization flag was handled via configure
+ filter-flags '-O*'
+
+ # Modifications to better support ARM, bug #553364
+ if use cpu_flags_arm_neon ; then
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
+
+ if ! tc-is-clang ; then
+ # thumb options aren't supported when using clang, bug 666966
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' \
+ --with-thumb=yes \
+ --with-thumb-interwork=no
+ fi
+ fi
+
+ if [[ ${CHOST} == armv*h* ]] ; then
+ mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
+
+ if ! use system-libvpx ; then
+ sed -i \
+ -e "s|softfp|hard|" \
+ "${S}"/media/libvpx/moz.build \
+ || die
+ fi
+ fi
+
+ if use clang ; then
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
+ # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64')
+ local disable_elf_hack=
+ if use amd64 ; then
+ disable_elf_hack=yes
+ elif use x86 ; then
+ disable_elf_hack=yes
+ elif use arm ; then
+ disable_elf_hack=yes
+ fi
+
+ if [[ -n ${disable_elf_hack} ]] ; then
+ mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack
+ fi
+ elif tc-is-gcc ; then
+ if ver_test $(gcc-fullversion) -ge 10 ; then
+ einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
+ append-cxxflags -fno-tree-loop-vectorize
+ fi
+ fi
+
+ # Additional ARCH support
+ case "${ARCH}" in
+ arm)
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif use lto ; then
+ append-ldflags -Wl,--no-keep-memory
+ else
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
+ fi
+ ;;
+ esac
+
+ if ! use elibc_glibc ; then
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+ fi
+
+ # Allow elfhack to work in combination with unstripped binaries
+ # when they would normally be larger than 2GiB.
+ append-ldflags "-Wl,--compress-debug-sections=zlib"
+
+ # Make revdep-rebuild.sh happy; Also required for musl
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
+
+ # Pass $MAKEOPTS to build system
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}"
+
+ # Use system's Python environment
+ PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
+
+ if use system-python-libs; then
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system"
+ else
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+ fi
+
+ # Disable notification when build system has finished
+ export MOZ_NOSPAM=1
+
+ # Portage sets XARGS environment variable to "xargs -r" by default which
+ # breaks build system's check_prog() function which doesn't support arguments
+ mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
+
+ # Set build dir
+ mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
+
+ # Show flags we will use
+ einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ # Handle EXTRA_CONF and show summary
+ local ac opt hash reason
+
+ # Apply EXTRA_ECONF entries to $MOZCONFIG
+ if [[ -n ${EXTRA_ECONF} ]] ; then
+ IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
+ for opt in "${ac[@]}"; do
+ mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
+ done
+ fi
+
+ echo
+ echo "=========================================================="
+ echo "Building ${PF} with the following configuration"
+ grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
+ [[ -z ${hash} || ${hash} == \# ]] \
+ || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
+ printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
+ done
+ echo "=========================================================="
+ echo
+
+ ./mach configure || die
+}
+
+src_compile() {
+ local virtx_cmd=
+
+ if use pgo ; then
+ virtx_cmd=virtx
+
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ addpredict /root
+ fi
+
+ local -x GDK_BACKEND=x11
+
+ ${virtx_cmd} ./mach build --verbose \
+ || die
+}
+
+src_install() {
+ # xpcshell is getting called during install
+ pax-mark m \
+ "${BUILD_DIR}"/dist/bin/xpcshell \
+ "${BUILD_DIR}"/dist/bin/${PN} \
+ "${BUILD_DIR}"/dist/bin/plugin-container
+
+ DESTDIR="${D}" ./mach install || die
+
+ # Upstream cannot ship symlink but we can (bmo#658850)
+ rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
+ dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
+
+ # Don't install llvm-symbolizer from sys-devel/llvm package
+ if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
+ rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
+ fi
+
+ # Install policy (currently only used to disable application updates)
+ insinto "${MOZILLA_FIVE_HOME}/distribution"
+ newins "${FILESDIR}"/distribution.ini distribution.ini
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+ # Install system-wide preferences
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
+ insinto "${PREFS_DIR}"
+ newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
+
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+ # Set dictionary path to use system hunspell
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
+ pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
+ EOF
+
+ # Force hwaccel prefs if USE=hwaccel is enabled
+ if use hwaccel ; then
+ cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \
+ >>"${GENTOO_PREFS}" \
+ || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
+
+ if use wayland; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs"
+ pref("gfx.x11-egl.force-enabled", false);
+ EOF
+ else
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs"
+ pref("gfx.x11-egl.force-enabled", true);
+ EOF
+ fi
+ fi
+
+ # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
+ if use system-harfbuzz ; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
+ sticky_pref("gfx.font_rendering.graphite.enabled", true);
+ EOF
+ fi
+
+ # Install language packs
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
+ if [[ -n "${langpacks}" ]] ; then
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
+ fi
+
+ # Install icons
+ local icon_srcdir="${S}/comm/mail/branding/thunderbird"
+ local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg"
+
+ insinto /usr/share/icons/hicolor/symbolic/apps
+ newins "${icon_symbolic_file}" ${PN}-symbolic.svg
+
+ local icon size
+ for icon in "${icon_srcdir}"/default*.png ; do
+ size=${icon%.png}
+ size=${size##*/default}
+
+ if [[ ${size} -eq 48 ]] ; then
+ newicon "${icon}" ${PN}.png
+ fi
+
+ newicon -s ${size} "${icon}" ${PN}.png
+ done
+
+ # Install menu
+ local app_name="Mozilla ${MOZ_PN^}"
+ local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
+ local desktop_filename="${PN}.desktop"
+ local exec_command="${PN}"
+ local icon="${PN}"
+ local use_wayland="false"
+
+ if use wayland ; then
+ use_wayland="true"
+ fi
+
+ cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
+
+ sed -i \
+ -e "s:@NAME@:${app_name}:" \
+ -e "s:@EXEC@:${exec_command}:" \
+ -e "s:@ICON@:${icon}:" \
+ "${WORKDIR}/${PN}.desktop-template" \
+ || die
+
+ newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
+
+ rm "${WORKDIR}/${PN}.desktop-template" || die
+
+ # Install wrapper script
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+ newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
+
+ # Update wrapper
+ sed -i \
+ -e "s:@PREFIX@:${EPREFIX}/usr:" \
+ -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
+ -e "s:@APULSELIB_DIR@:${apulselib}:" \
+ -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
+ "${ED}/usr/bin/${PN}" \
+ || die
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+
+ # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
+ # does not need to be forced into the LD_LIBRARY_PATH
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ einfo "APULSE found; Generating library symlinks for sound support ..."
+ local lib
+ pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
+ for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
+ # A quickpkg rolled by hand will grab symlinks as part of the package,
+ # so we need to avoid creating them if they already exist.
+ if [[ ! -L ${lib##*/} ]] ; then
+ ln -s "${lib}" ${lib##*/} || die
+ fi
+ done
+ popd &>/dev/null || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ elog "Apulse was detected at merge time on this system and so it will always be"
+ elog "used for sound. If you wish to use pulseaudio instead please unmerge"
+ elog "media-sound/apulse."
+ elog
+ fi
+
+ local show_doh_information
+ local show_shortcut_information
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ # New install; Tell user that DoH is disabled by default
+ show_doh_information=yes
+ show_shortcut_information=no
+ else
+ local replacing_version
+ for replacing_version in ${REPLACING_VERSIONS} ; do
+ if ver_test "${replacing_version}" -lt 91.0 ; then
+ # Tell user that we no longer install a shortcut
+ # per supported display protocol
+ show_shortcut_information=yes
+ fi
+ done
+ fi
+
+ if [[ -n "${show_doh_information}" ]] ; then
+ elog
+ elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
+ elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
+ elog "DNS traffic to Cloudflare by default is not a good idea and applications"
+ elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
+ elog "(\"Off by choice\") by default."
+ elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
+ fi
+
+ if [[ -n "${show_shortcut_information}" ]] ; then
+ elog
+ elog "Since ${PN}-91.0 we no longer install multiple shortcuts for"
+ elog "each supported display protocol. Instead we will only install"
+ elog "one generic Mozilla ${PN^} shortcut."
+ elog "If you still want to be able to select between running Mozilla ${PN^}"
+ elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
+ fi
+
+ # bug 835078
+ if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
+ ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
+ ewarn "enabled for Firefox. Nouveau / your GPU might not support the "
+ ewarn "required EGL, so either disable 'hwaccel' or try the workaround "
+ ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
+ fi
+
+ optfeature_header "Optional runtime features:"
+ optfeature "encrypted chat support" net-libs/libotr
+}