summaryrefslogtreecommitdiff
path: root/mail-client
diff options
context:
space:
mode:
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/Manifest.gzbin3711 -> 3712 bytes
-rw-r--r--mail-client/thunderbird/Manifest67
-rw-r--r--mail-client/thunderbird/thunderbird-102.3.1.ebuild1164
3 files changed, 1231 insertions, 0 deletions
diff --git a/mail-client/Manifest.gz b/mail-client/Manifest.gz
index 6b064723063c..7b66d53851df 100644
--- a/mail-client/Manifest.gz
+++ b/mail-client/Manifest.gz
Binary files differ
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index ee8eb115cfbc..9f2124d701e8 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -5,6 +5,7 @@ AUX gentoo-hwaccel-prefs.js 162 BLAKE2B c5f2dfb727081e2d538c262f12c0cfdda31cbda5
AUX icon/thunderbird-r2.desktop 882 BLAKE2B eb9c2e381b67319d9cd53f26e9b406f55de86b716b28a3df6470594a612e07acda4c7dcdb48b6d55930972592f7f01afbbf14f09ccc4b20265d3c18554a01a2c SHA512 689c9fa5c37a1e6ee80a3dfaebec2a185d91508537c35ce2fb35d13d89b16ae0cf3c640c3115a52c0e4b7a7624aee6a8f8c52679a0073c94dea25cc779ce624b
AUX thunderbird-r1.sh 2896 BLAKE2B 140047417b24e959fe6388c4913457f8e3e786158b7394abf7442b0d2e83de21238e58983845a23b855e1aab60c9289e1a12af430eac9a8b2d9929da97de2852 SHA512 f9b989152a8a3ac274033722c77ec19374085654ad6c85ea4db6f8af8f4b2066d6d9f82b610be2db341c8ac867547f54f806ca6571258ed98dd9e2527d21b357
DIST firefox-102esr-patches-03j.tar.xz 20768 BLAKE2B 49c5be06c5df5eda693a9712a63989f71dbbfc34fb3dadd74f0c95a25b2d8123af973ce92d7c7b342de311d8e94fd652a3c126ad6b9f0eeda09e709d42959cf4 SHA512 8d1e9e37095fc2d1a24064b6b6b16e5535dd387d7a566c52b8add7e060e9e7d0f0c14ff46efe370dc7b8bf7469fe9cb0ba4c2014829195f922bdbb0a2f41bc31
+DIST firefox-102esr-patches-04j.tar.xz 21860 BLAKE2B 1cc1d6493912f85e71cb5a0ec2c3196cda203242f3503bb6ce8c23a93e71a6e8b1138f88498a6a9698066134cc234989b35cb378693fb2cbc9ba4caa8d66761d SHA512 9f7188dd79b9856826ae2a60b0109c2c86c60c10b03cd1828a9f7a7576df5c49ed3e11e4d3319d80e117204d6bc3408e375a62ad16ec8d2e53f999cd298811d8
DIST firefox-91esr-patches-10j.tar.xz 18320 BLAKE2B ec882411eed19bafab8676e3d79f4ae43947bb97c44571c1497bb93a44fcfec99de06ebacbdf8c4944dcecdf949e4f684908d7ce4226cdcec60241e62e75810e SHA512 670a14d852bb74b9074c3fef9310650f71ce1c56314109c49aea02a7a69acc836af60a8beab11da53e21b10a8e6da341fcfa18b68a1dfd33b26978dd63758e9c
DIST thunderbird-102.3.0-af.xpi 551021 BLAKE2B 10ef5b7f8ef3e725c52b9aa748e2c78e893850ffa3749450e43b00de8ec038600692f4219f36e06bbcb7f9af9c5d488c48090fb55d8254e9548116325ca379af SHA512 ac67bdff340212171cb4af0f12e6066f1631afebf8975b553eb0c84e2ec9a9e09ab05286b65829d1e98c62a3ea5a4c5c42cc51b9d76913aea04a546eee84e214
DIST thunderbird-102.3.0-ar.xpi 655344 BLAKE2B 5507cdfeac571588b495ffc73f6a2e49f52b03061f65146f2e320d397b5f21b0dff2a3c548fc8c37ff99e2019adb629c4d78fbac1252f8a788c0a547b7bd36e1 SHA512 7a0e74e73871963062b5f5ab71fe55b617a5e9b391e1f57b14dd1742a2325d663fc8c5cf156dc1222b254b0d5f7ffc7c92208b1c4be29f4f2e0fc44f67b5686e
@@ -71,6 +72,71 @@ DIST thunderbird-102.3.0-vi.xpi 723633 BLAKE2B 65482d0565db77b97f0780e1a36ef4d42
DIST thunderbird-102.3.0-zh-CN.xpi 721838 BLAKE2B 303bdecc376e68c49522cf06b81a1a20d9523c01fa84a08f1e7d86cf2159f578cdead06b886635b82f29cebf715cb5fc7781cfe6c6ef895a71a6462324ca9dd3 SHA512 20aaf8d38614d2fb5f86079d4ab922725396d42b3088afed924a7690c1d52e9aa82da2ba9a8931a336202289598afc5ffd4f7fc7c42eca766f81feb9c9f72d50
DIST thunderbird-102.3.0-zh-TW.xpi 726302 BLAKE2B 41aad182ac38625b5a851ca5827687490a32beff91aefd9309627ab9fcc018bfbbffb569c87d5f7502b642028153fca4caed38e7dbc0dda61c84e76e0567cc31 SHA512 7d45fcd1f67c63c1f6d3835c05895af426a465c0ac8a9981aa8db73d5882ae2e04b97c451099bdbaf44cc0953cb6273122d3dd781d8f67a8147974e3025232e0
DIST thunderbird-102.3.0.source.tar.xz 515366928 BLAKE2B 9fc3e10da925aed285206351d1e30bd13f96a3fede04d6051e5ad70d7c4445df99ecac23d34ab3134318e0cdf7fafbe9e687480d7b8526af3809c84e401f00c4 SHA512 9b9908d9f7b1281df5b2c74a25211973e25d9b780f05b9550c89e5aeb8b39070c517a1a33d0d84a33ed26dbcef99058308b76c056bd4e34987c32f0600e3882e
+DIST thunderbird-102.3.1-af.xpi 551420 BLAKE2B a4284bed51d507ee551a3e316d478e90942c7370a9cb811077722d09314ce1eab83134506ab2055082ddf1c7ef28d151ab0f3e91c72ad86dcc41cb96724708c9 SHA512 5226a93bc94ec69de028138cb8550db20838eec5ccaee94f14297346195b45c0a6534dca75474d0719380ac5462d480d9e5a6997ce017ff7430eeb8ab4dcc83f
+DIST thunderbird-102.3.1-ar.xpi 655776 BLAKE2B e14b0084b408df3b0a04daacdc15daeae31167798b2cccad6aaa20bd0b83fb79d655f26e7ac0e5abd0ef85ade576190542194de476af3e99602981aa702f662d SHA512 13ded198c187540ea8255e69bae5467108deec866b6681caa2cab8c11fbe5c8cd01d6d3e0e8599291ccd160756d2bb646e8a76874736239cd161f4764aaf82ab
+DIST thunderbird-102.3.1-ast.xpi 572178 BLAKE2B cbec4e2d5550cabe5cf0be2077ba538a400095ec21181f9d6e45e0a3274f81098cd9aa6b07353f55f175a17a1116a6b6a27c7963f1c9343084da9497fdf1871d SHA512 1856fe6d8aec0f949bff83595d7144cbfd23f12287c2d77a947ff895421432a1399206279938d72e47708628a88b24d737bd387593a65c24f012949c1cd3b274
+DIST thunderbird-102.3.1-be.xpi 687878 BLAKE2B 7d3ff8f25c1330d77c39a426ca330f2876e5129d9dd310d497c67084e44673285b7e7e9c374d9e8fd75f91d37f4021d5e93b4883d615ec71aaf36a78b30f3fb0 SHA512 0daa8d2d9168558f477751059a9cae3392122837d2e444329e2c68167a6fced1e2d51a2a208ec122dcdb0b1cb6c29fdae74b66c86099e04e60cb783a115a5e06
+DIST thunderbird-102.3.1-bg.xpi 683816 BLAKE2B f1c67b965d0d11536c0b9467006477eea39f7dd107626baf77b6f17af1ce154c3ae82557ff92f7a95f8c1cde6d35e680f9267b81c48011fdf0348ddbf15d2896 SHA512 81a3f8b08944df7b514f082c3d3250a167c3a97f2081953a8a97a250c27fdbf2249c49820cd308108b339d54fca85be06104245dc22a8afe162210adbcf1528a
+DIST thunderbird-102.3.1-br.xpi 615534 BLAKE2B 21e27e6d2b0e44e0066d3a8293abf076bc85683fcf37f43b139fb93b5f11df5ffa92cb80dbdc16a5b0607b482ca9f033f71808a2e067ff762c37500d86c35abc SHA512 f8019a3ab8b65e989f8ec10b114c61213e111136fb6e34f1ea0f15a87a5b943744323ee63fe4dc599cd0ee07d99033556b9c476fb25af7cd5ae9d9a239195ce7
+DIST thunderbird-102.3.1-ca.xpi 637766 BLAKE2B 6ef097cf88fa0a773b77a2183e28300c8c1f9691f1f4e508961f4af95a798bfff53314799ecb1276a327adbc03d19b1d6cb29a6d0350f9f0682413d81b171c31 SHA512 2bb9ca1368d59bc6885f5b8e791160fdad6b1c669744d1affd470c31c16868acc9ae005e897a18e9afdddfca6ee7fd18ebc3569cfb7cf6422b988c972de08418
+DIST thunderbird-102.3.1-cak.xpi 643988 BLAKE2B 44c09c5c51993588a3c5f42f851ee8d5546acab43a6e2850f7228741d05f6395515cdf326f99cc456ce10f16c2a1e481707926f75ca7128fed88437cadf72cbb SHA512 c70a9d0492ff5b2d9ea4b0a9391d36ec7f7d26eb0f289c8562e58e13a6451103fcc5ad77139343a3ddd0b82a8d2eb970cbf79fbdf84d41dd2f4def07fb48a0d8
+DIST thunderbird-102.3.1-cs.xpi 708439 BLAKE2B c288a09d6b798cd9561b5966a578f3052eb54010e470e479bd1de27b35e4197467eb7142693d407fb6b9f2f266fc4b9a88b375d3c12f37a1204b817fa3f331f0 SHA512 3fb74623dc7dcd123a4adf016d63a3870a37d2806506b50a091deb86ea5863d3d971e5e522b84a820fafc937e1e9583100c9c376b9096a1a0a310ce80d63a043
+DIST thunderbird-102.3.1-cy.xpi 686501 BLAKE2B a2febd6e1cd440b80cf5819e92b2d6ea1c0c1efde7ca51e8279238e49bada8e9cc7bfba1b69440585696a5d69841acb44ebfed7bc821e4884db585dd46845e5c SHA512 a8d0bc53e705f1f142b28685054dd59176466f4575a42cbabe31809158c7de0fd374f9b5fb608731bda47836c0d991edd2ec2729655ec338357a983f6b95f9d1
+DIST thunderbird-102.3.1-da.xpi 671989 BLAKE2B 086c47fa1f4fc88e0ced7d9e95c3eb5a3041cc618726d85bccb24fd91c66b9552f2ea2bd075431841c6c8e1105dba99234f543b53c65d01fbe205d79140b2068 SHA512 9d42fbafc61eea61cd24c43d81f4fde92ea1fba99f7afc02ed3e79bdf44f50d4d8bf039a5f015ab06eac29bcb9c78bd2162606dd503359b9160e3fdf80ce561c
+DIST thunderbird-102.3.1-de.xpi 704979 BLAKE2B 7bb5dbe5ffb4c42d25d524b9f173f90e11818926436004559a8441fea58dc63206824f9ed6ca385f1991579bed7179227237e27ec2fe6c8fb0a512a061ed61b5 SHA512 fdfb2d84543256e88b69d80b954224294f14a447be787509c793b593b56f7b9d2b794274dfb7c2a0e407033d846e1b905bbbb9ee9aa3bbadebfbadef23b66881
+DIST thunderbird-102.3.1-dsb.xpi 720016 BLAKE2B 27ff4d24fc0f8d10662311e602a8d82efa13a1d15def63cefd07ae9375241758061ed3e9522998b8e1f797fe650752315ef119f16f73be8f1e62b565fc547f52 SHA512 53cf5ff500bfe65376d42d158febed685d079f0344224dd61b802fdac98a31604ddb6ae59d826211ca70626a0494e75c0974a89e37e9587162578ccc9521dc7d
+DIST thunderbird-102.3.1-el.xpi 816802 BLAKE2B 161592b945cd29049ffff1869fb7932d41c33bc70f9bc70ae26e05829aa6d731aa9220565d4d419d01cb87065ca9d245dec5ba340497ad4c83f907ba9a872247 SHA512 ba28ef46493ac13c19ffed7810fc2e41f7d3ba557610ab727547798689bf3f368532bebb9c35e0b6e53392adddfd3603ebc1405f07e99d2ed7a843f14166febb
+DIST thunderbird-102.3.1-en-CA.xpi 644066 BLAKE2B 89b61d8608b52e1700713a861cc8a27e8b370e8982f796372113e490a81032d962a953ab0c0480fa88004c4736eaf1b60d31373e04a618ceb0e362c6c97d1901 SHA512 be6041ac20f84ba3d45d0076d17e983db40c067bef3e92026b64846dec7274b1ffa3c66915eb46f3f1153f0f526ae84048d87008f50a612ecb8eb57767547240
+DIST thunderbird-102.3.1-en-GB.xpi 646876 BLAKE2B efa1e02066f1f6bbe45caf803040986cfe5ffb8da7bae4cdc02d4caaedc918b2aea09c68130f76b44284141d5af36c90fcb854219db21df8615f58af087cc491 SHA512 d4fa6218f660057c6bb3f0519c17f2d6a9e5eb5ce3193e34fff67842d79dd685a259377e95e4502c18f42656ffb46d665a13db4d80fcfbc67d4947d3062344ab
+DIST thunderbird-102.3.1-es-AR.xpi 696660 BLAKE2B 644fe6f81076e474609c28cffec208157de692c1a172eb49bd23bfda4786322d04ae960572ec4a4689406a62720e639af6884e6aa8355abdf0aec6f9701d1dcd SHA512 968eb1188b27d1619bd8669539b0d8894ab2d28be931b65baa279bab08c49c8212e0c7d0d29f54ee3f8110fbee9ccaa89b5dd68ef27469c2b557e6720561cd6b
+DIST thunderbird-102.3.1-es-ES.xpi 652536 BLAKE2B 5eee398bb93152eb3ee6c9ab9580b60dfc8a1c69bf3f484501cb31782cbf46d547d06e2f06debdf848b51b1547c495e19b306f1b78fc88fd4d54dc68090fb4b1 SHA512 06e5adf92cce38a17c070219c648db91b339ee6e3cd280c2577f4c57c9f1f0b2779accaecd4978ffe1034425054a0114921ec4f25a1f4d31dc358044e54b0958
+DIST thunderbird-102.3.1-es-MX.xpi 699417 BLAKE2B c5b19b0fb07251f09b7a8e4a748963b5e990be46b8ceefdefe5834e5b55104b53db02b88790f263599c9deededcbd87cd444ebd181067afc45c42e41b7ab5f21 SHA512 bb8a9a31eaf681c55866557b0776e028fb3623f242eab2916a92f40cb57890cbd52e0d226af370169979cd1ca39acb5239a79ab3dae3f054f4dda949fc6c9a3f
+DIST thunderbird-102.3.1-et.xpi 667785 BLAKE2B e7a3f44886cbe291e6364a1bea0c7710401c6a0e088522b50bc28db73f374334e0a1cd4097c9ded9c3021c0ab71c921fb2d9e92122c99d92b998fb559f4c9e6d SHA512 24c2faafc254ca262f644648f8410860a6fd66d20ce1a87410dd96190a3e6e1a31d0949f65072a44b215b5f0a1078fa635fae8c8c34303a1504feb9625ce2679
+DIST thunderbird-102.3.1-eu.xpi 680664 BLAKE2B 7fbed9dd8834b3e8123543afa4ec5cd089d3d1b835ed0971126bea0fdd9b6a3e24d6c4c04d2e6606b856300111e40c84b59213be0552d90c55b74720d1cee823 SHA512 0c9a8f2d340b0a6d5627e3c615520d9f5896f2a7e867948f58a8266297e17b4b528d796077f672ff1f1bab90d780b71ddf63c02979cb88c1fc17caeece5174fc
+DIST thunderbird-102.3.1-fi.xpi 673890 BLAKE2B a6afd429b1ee3ce5c69c2a1ab0b521227d7312c2b06ad0b5f46ad1293f957f2c83ae8e2ef243e99bcddd844d03f24f288bd279f5fb9d98cb939b58e231ca9a5a SHA512 7a08f5a3c02929fe19b7a295deaec2cdf7e1577aa1865462eb630eb32903630a43e1b74f36414b8fd17fd20c367abd2be1a57618ae74a8e0981b4a8908d9eb8b
+DIST thunderbird-102.3.1-fr.xpi 709227 BLAKE2B 405003c9c2b48f99f3e53d83b27d50b4e61acaf0ce49c3c1c0d8c728ae7cf8cbdc645f3c2ae317c6ee9a8a3e2cbccdcf15c1aca521215e20f6b8c1b8712114e7 SHA512 050d1db6d2462fdc25115fda2242b253ee3e0cd68eadb31c849b414b895984c7aa251ae8dc34a5e5454a3e612f928d78dd24fac97aa7dc0169a622e0f6183745
+DIST thunderbird-102.3.1-fy-NL.xpi 691697 BLAKE2B 3b247f8f3daebb9ee5666b27f721ec222f88ccc3c791fec12cfdb892204c5b9b13b1f3d4693e3f9107cdff37dd901d179a4831470191356c2a60298a494f4ef7 SHA512 6608ae414b51a40bccfe94d2bd42fba443f238eabc1da7377fb61e478d49abda288bbf45d8b51d39e30629ae9cd859c3ca89d5177f9bee30218d07fc08bea158
+DIST thunderbird-102.3.1-ga-IE.xpi 607657 BLAKE2B e3b16e6ad6e40145d2b2cc95651e6d90368ba6b2380b58dc2c9e23681877beeccb5a941313659efbb0ee14ec3f2f7c5dbba777e19a46dded69e633a7f2522f1f SHA512 5a2f6eff60a68c1a737cc19719eb9e04df119e77bd4d2e4403916eaf9ab8de82d745fc95add84e393568e37de4698c8b06aeba96b01a2916db0f5c2822eede27
+DIST thunderbird-102.3.1-gd.xpi 632518 BLAKE2B 2c0fd0c9527b850f1c24c044987982659dd2004e7c2ec703c0d18070884b053899c3fd375dc3a0632b9f6307aeaeaa1ed4f1b69ee7662d04ab201a84f9642cfc SHA512 48094d897c953bd91bc5057e6aaec1bd8dd95a14fc8848893ca1eece2cd882def107e882a4a0992de0dedb896f8e801dcfb9609f61984bab8b1d192a97e56e81
+DIST thunderbird-102.3.1-gl.xpi 665405 BLAKE2B c09b334b1f0eb11804a23832ecf44e91f4864595a174f867ab4105af7717e46088dda5e2ecd2fc30bdc7b0255de60d21300f7ceb31fdf2bff6df467ef6345f42 SHA512 a026582c949f88477db3becb5eb8d482e9b13c0ec4c2c395dd38809c183b9cab8dfda43876871ab0ccba98357193bba7bc549f8c51b838017bbbdf0425018a32
+DIST thunderbird-102.3.1-he.xpi 664220 BLAKE2B bbaf4c81decf45848441a2376364950c9841e20ad706ac9af5737073181cc254e21718651c3ce451e8e4eb1969a945fdd0a04d661ac5c4a6345a451b4910092b SHA512 718e6ae5207781f3f89d7dd8333b550146c896d7abc2c9a46087fb73a5b0c8a8f245e7ec6a11b0cfa4b31923467a581babe33dd464a88bf0fc094de2406c5a2b
+DIST thunderbird-102.3.1-hr.xpi 662852 BLAKE2B 8fcfeaea6a12ad1b5bd16c01e7d5bd7114b84667c3bebde914fab30620ef8cb24f0725cbc8f2a792742e9c33fa11e6e881dbcb9d87e6e0c5f3dbf57427715811 SHA512 ea1801476940bcd8943ad05cdf598af15faa5e2dd09972bc657c631ec8890c20849a7bf4b0f554ae792104903782ee496ecc9340130598767ea5c3bfd0e904e5
+DIST thunderbird-102.3.1-hsb.xpi 716866 BLAKE2B aca4be086e33227f7630ff1c310d7e93dd592a4ede89cd9e81d14c215fc9b68cfcb2ed8317690e958b7a58dcef38d2085ce1605bfa69fb71333f299abf9625ec SHA512 053079901e58b6f27f3e66b06917aeadabe07207be153ece862cee146bf001d9e4bc3d7f0cefe5abf8b461119282c35b4aa9c8ffa9fe49393c59a3ea190eed7c
+DIST thunderbird-102.3.1-hu.xpi 719744 BLAKE2B 4d8995a7f489077dd14dedc10933d48cffc9624f5c6d87283d1ec8aded53eccdd6411d9a2d67fd3c43d08cb9f331a5d5fe54090cece07a6490960bb47a7e623a SHA512 ba1254c7c699480466da145497b88bf927978477cb75f380e1efee3530239c1d156645187828ab03284dbcc05bc7e67f465aead93470604c3784c131e0692252
+DIST thunderbird-102.3.1-id.xpi 642177 BLAKE2B 8e21b1074c87c7082c4c1fc792f52c51c35d2d775f39ad8690d28d63ffcfc3e600d00422c2ef6c0143537a89bc4717c0a8a1bec44ebc3c1961e5a83b95799111 SHA512 f91ac9c58bb1c7ff235de8a61d61194b2ef748a36309aa84fd94856bfb8f4ff5beff6bd11c5f35c32f65dc07095c59d3eb9581e25174e761ee8b5ff3e0ca0d9f
+DIST thunderbird-102.3.1-is.xpi 683479 BLAKE2B 88e707b2da5458e4f7a28dba085d10623a2a7373a948aee434d07e32afa82e0f0e1183829f35f76e521e6afb85257a8db338e00c1d3d1fe9fa3fe3794317b5e5 SHA512 0cbc8c96f0b67a12dbea25d42be67a69bcc95b8efacb1d3b3e23d1d7547265a8fc991ae5feda8cc0c05092d8a0cadf3b09c2b326b5eb32b032517665c2226bc3
+DIST thunderbird-102.3.1-it.xpi 600561 BLAKE2B 92a8e581600162f75bc5308ded04c440baa83ccd348f1e3dd7b5de813c66fe826733aeceb303bc0cfe738bb9ea3dbfa7ed13eecc85105fb5c419d58c26edb639 SHA512 57afe68c003301c56de7263bb124c6fd56fc2086fed24a39ad433b25617f46972b857045b9004965d02550f570d1314b839d251b2a3a36cafedcbdbb160683b9
+DIST thunderbird-102.3.1-ja.xpi 738137 BLAKE2B 6bd5aa52fe1f31df5c581d096f9ab41efade330f32f94f2f710efd8431b0c90da97b7a6b55ced96b370f72a29626aa7da8337fefc2ea720f24309a24e190c1ae SHA512 6160f957a51083e0732fdc1c72f8f25bbdd8a2d656ac0ed9138cd9f4563ff6cea0e06701ab00a3fec21e29b8d9fa6c9cabc2f9e45f67c5d1cb8707b478b2012e
+DIST thunderbird-102.3.1-ka.xpi 751856 BLAKE2B 57e30f561b24c424e6522e6902981e9cf940f4103e0da400eb4ab79137abc7a0feebe935ccdbd93fe8a8e5b4d6a00ce80c0941ecf539c79dd72990006f2a8698 SHA512 6201efcf1586da86efa77aa9a23d541d6c0d1b130f53aad7ef7a2daa0f7e11ae37bde797670bc26354ca42134ec8a305016d58759c9afe7a14952c76a6dff5d3
+DIST thunderbird-102.3.1-kab.xpi 690534 BLAKE2B f3d95a05ff54f657f36eaac1b3f00d0006118a7a6614018ad0ae22b544034f25a4714f26c3eae7a1df4954ecb313a46f547b4d91bd1b7cbdc891cfebccc86664 SHA512 ef2fe4cf00ed31746c0cb33a4f1fea077f2acc78666a66c4204791a5495d2c0c3ddc9670172da19cff7c8744c8fe7573202b322c07251eca9f6df2bfd1ca6af6
+DIST thunderbird-102.3.1-kk.xpi 733544 BLAKE2B e5e4cdcf5b401d053e0cc32803ae9361486cf7a7bc1e87a5da2ee2c9fe2011a93f660a571cc5bc8a4001be14a5f3c13e57960e340e45ba84c09f7a7115b32545 SHA512 073f86abb3251a16ce6b0a36659159059f426873223a1f088f629e584421207a5fb9dddbc93e18e16d7ebb87cab3668e60e61b3d6085de9f88562932af4efd7f
+DIST thunderbird-102.3.1-ko.xpi 695397 BLAKE2B 0044c00030627e0149fb2a49fca0c95b857a4cf3c6d4bf85b9479affdcdecdc20c9c93f78ba89121b677180820fb4089f22bab112e1c7fa22a6e90679a9fe2b3 SHA512 20ae6f87eca436520b34514c244d468f7e176f93b8033f48e9e5c10a5fd651ad7fafb27532ca14fa94eaf94e5d6d7ba7f2fb67cf88a9eda045929ffd0aa3650e
+DIST thunderbird-102.3.1-lt.xpi 683224 BLAKE2B cb5b55b4bb021dc34d768414c5365d7825b52445e59bdecb3dfa821d59ca7d7ae20db3318c030011ddfa6a157cc83352c66a0a414674bd9f57061dff2ec523a6 SHA512 65cf96922ca51c814df53ee48620c8b3b1b55606f23d5fd81331b624eefde802dcdced795deebae0fe04f897c5d352ac557de4cf32778e7acdbf736a128952bc
+DIST thunderbird-102.3.1-lv.xpi 610772 BLAKE2B a2c1c5e1154d70bf91e9d3c7f791571fe1fcb7ea9af3f80c8568c01b75386913da24beb5a3d67d0912b007c8765033f088d25b4b72bbc805c979cecb6c52e5bc SHA512 14e6b01ef0978ff04e0bc3a8ea701f2fb800ec68fa6dcb6abd4e01fe3ecdeadbf4e6d6c833d5968e1c1bb0ba5815c0b1d302ca519f332005bd24e14f74f18d18
+DIST thunderbird-102.3.1-ms.xpi 571590 BLAKE2B e510f01b94f3c48a34ada6cbd7570b28e4fb8c6f21dadc4ed668f9cfa21133af019ad7660c588b1632370fda464d8cde2b033494b7fa169b4e7645e3bf8fef27 SHA512 de840b274fd52a10b9b2d62942b111ab67f7fb248437bc8d9802aca3533cf2d2aa6b8b9aee90f8c7520f4819bc90b8ea832b720ca34e58944d493623a75bd1f0
+DIST thunderbird-102.3.1-nb-NO.xpi 650155 BLAKE2B 051aa33a470973ef721ab4465610048d90f088f3646e9c69c693a9560bdab3479da1c4e339bbca5948dd333856c52d641bdd6653f23cae6b89b0c8d2f188790b SHA512 724d8e3dca7dd9aed715bdadfe7933d0d2fe68b2bad2ae06280021e366d258a4b1082a02c4063c3d9bd3f2934e14d36d2fe53f87aeda8362a7d63820b24e0b5e
+DIST thunderbird-102.3.1-nl.xpi 683345 BLAKE2B 7dbcb948c5e72a169aafbf24633e2d95c370a298e87d64ef92044c04a89afe78ee6fb0f33ac089ee692f4593a5ff25347f208cf8c3e7287a2bb38e1c4cc11b3c SHA512 6b32ff0265a927f7201ac46d41ccca0b043ed3e8c1b39541ff7908541ef02fb19f887a666be120dd3ec87f3c849640ea321e6d60667dc8f401356c1f24033044
+DIST thunderbird-102.3.1-nn-NO.xpi 657849 BLAKE2B f162494ac21b2eeb7012f70bef8eaf2a4001ebea182fa9957bce5dbd3540e7951e367ad242236ece70adb27fc20d29d1c8d0148b39e14c26d8ae0e5248ddc868 SHA512 5f67e0f6a8221b48ec3c44ca920a351d28a0e359852948063cfbea531746e581eac7a558fc5a520737938083c1cbb4556d8a86770213dd02f578af2365af7e56
+DIST thunderbird-102.3.1-pa-IN.xpi 646678 BLAKE2B 08cade1bab8c72391bbbe0ba50f2612b4a1d2437c7aa000289248d72d75a8773782f26064c21a7801d4aade1c823c1582e52a4d52a9e43f4314e284b9d784500 SHA512 a1b0539c57f745ab127b13c0d7dd736864273a72f4a492054a7794cb10dae7b0c102b7f09d6ce98dce4a1adaee2759dc5a1c6cdffce8535fda2152f4877e713d
+DIST thunderbird-102.3.1-pl.xpi 695628 BLAKE2B 2a36aae44e05450d810d06759b32dfece8f57669854a64bdfd8ca79fc41c9c0814eb390845476a320687af95a4c165ad70acefa875183a81fa43b4c8d15d98db SHA512 d0ecc324769051beec22efbf39146aa5d5b8e3ed55318d365216986a8146da28ce24ec0100eb598361ec4a541d7b52882f422bfcac0fcee585886c12d5513dca
+DIST thunderbird-102.3.1-pt-BR.xpi 691147 BLAKE2B 0dff80ad29212adefa7726f1766fd8f42714ef7b72c22290bfbb7491361a9cfc3492bf56359d068413325dd99a65f8f935d6c8aee27129fb7d3f0fd48d5b113e SHA512 2d53b2d41bd27238a200f698fca808ed87ba066ee9a5b0494a3a98dfd3224a9f2b150dd38249027f4f67c9ea14c4b0f35df4cc1424675a5ac604328ea61657cc
+DIST thunderbird-102.3.1-pt-PT.xpi 667259 BLAKE2B 625f5bfbfddd8f0370ba304fa6ae81b170ae91f2c7d37dda153df78ac90b2f71a4cb2a46bfa0d1601717528247e9e7af5f28e154742ee63f61a26e4c81aa78fa SHA512 2b6c78217043d6c8d5aff55e87ac5666eaff0e11e6c9eabb5abbd1f4c1d85dac532d5e3b946008d2c170b56e790bb05818da632e39f479d577f77fa15bfb6878
+DIST thunderbird-102.3.1-rm.xpi 684541 BLAKE2B 86c6cb70dbcdc1c41d65458794c4bf6525cc4ab008e0227e3506c4b24908366222ea7c9f3c87fcbdf587961255a8a7f587dd424ec5eb8d3bc8ec71295623a678 SHA512 e629d349fe34403ee3b4350e736a308aff7ed342b6334facc95e0bd7279ab9b49e44cc91fa4fcfaa0f6a1f3ded7dfe5ee3a1a96a811de9d33e26679c5798eb8e
+DIST thunderbird-102.3.1-ro.xpi 652959 BLAKE2B 8e9b8a28decfd9b2bdaf60262d0a041deb9cf9b1114db09d48ecddc3e3e371671d0311df90a1ad416d7d8ce83b0f89c9eeb2a898d832e7f3512010ad7781d2c1 SHA512 266754ace42627091e1f21cd2c062680ed7f1bcc98d8256acd34610637c4bf6e9c4f05cbbb967879653f6631193b709ccd1a8404c71531b33740f25f545d6d7f
+DIST thunderbird-102.3.1-ru.xpi 801880 BLAKE2B 1fefa92ea0f23b7b89775cd7824d589984d64759c19d1a253f89c1b62b5eb82ac98d0a325b80bc80f61904271c92b258b8ec6de43df43ea6da641b17ceda12e9 SHA512 617595a0cbae1fc33ff2303b00727192b50f47e3215feba634c6c349294f5b33f57d23b946307b12ef9ec2ba5f4be02184c69a74512d7654805efdc33fe44eeb
+DIST thunderbird-102.3.1-sk.xpi 718806 BLAKE2B 24a357973a87527f593403d4adac2e4f18e6e56612a79fb647e6769161c7c6ecaba1a3934e23f5271413400edad09edb704af5acb0651b71966468f4ec353e67 SHA512 06dc363abf1189b4273f8213da5357c8ec134475eb170e943467966bef11efca4e6423ee0d744f8f7b08fd1905705f9847ecde3e141267b56cc8c26907821fec
+DIST thunderbird-102.3.1-sl.xpi 683839 BLAKE2B a62482b59ab974a0f91a4f8b0bb152dd612aae4924e8b3a72781138bbff6aaa6a5264ef3746c67cb4c51cf129cde18958006b3024a9b3e177cc620cf0ca4180e SHA512 6b892e167e62de496cb40954897295d5f5171e0717423f9c0947ac09450bdca73733daf43dfe1f6e2d320ba7fa705f7ae96d2607f5c0f25621790b46e6833233
+DIST thunderbird-102.3.1-sq.xpi 692096 BLAKE2B 09e64ccde9485565322a141ebc9165bfa313d4acaec9fabc4e977efe932c70ae5b98e066d13e042d0a6f27259152863714105a65c0c0f7620559f4079be880d1 SHA512 4495da421836c9699a013ff6ce258e09257385eb01d2c8afeceb347c87d2309b9a4e43beceec015162b1b46dbf669cad29fd47eb030112d02c99f874d54393ea
+DIST thunderbird-102.3.1-sr.xpi 704615 BLAKE2B 83a3f2d55c2b53b5056987065db89e93b807e3b6df709f2ae2912d4d447b6b86fca12711caa15a99a3ba105307c71857d97043b557f2416a7fe5d95286469bad SHA512 6b1a49972ce4b35f2429863ec95ec5ea331706b20598c9f6929aad3024be3aeb18941c3b4c2295256a2a6ff78829b78125dbddf34ea51ea0e8f026eb58e253f9
+DIST thunderbird-102.3.1-sv-SE.xpi 687049 BLAKE2B dc9601ffb62cc882518a14870ee99c67ace89acb9f395be13f371a151453aea3e01e1176fc3106bf8b150476c43adb947023a46c2aa52528987cdea6ef67f9c2 SHA512 08fd8583e721b99e04bdce5bb34ceb1537e8d1441a8e8ad6725099861bd6f09a1e38af089df08c8d4bbc2e99a096fb411404ed176163be651c6545c6b45ff806
+DIST thunderbird-102.3.1-th.xpi 737391 BLAKE2B 5e1fd24b6d79bbe67329ddc2236bd0b410e4c708cdae582ef8be5515b7ae38d6ada3cba8c34c9e42373b9b1cde2a8f75ce99df2d8866545d4993273dd6f15ff3 SHA512 dfca5be2cbfc4077ff7a547e16b1a3c3f09784cda64a78e69decee05c09cc25d88685d7c87369ddeb273f1e8b407c0a586851d495133d4ade87b4ce86a1a3e82
+DIST thunderbird-102.3.1-tr.xpi 697689 BLAKE2B 4ce4a042639b57407f9b4bace9e8a758941cab4214c5be7651a16fc8d5b5879e9398495e9eb30b50dcb1def1243f2baa03c503153227de24e45828a4a943d7cd SHA512 f05efe8a7f774779523310cdd98f7511a83560396510eabc63cc9de486551a1b2db4d14178e2031cc9dcf0f39545ec1cc2cabb24959d82d64ff64d492d260451
+DIST thunderbird-102.3.1-uk.xpi 794374 BLAKE2B 17b24a9917b088d55cca635705f08aaac655c3d926fa0f39e9297e92c93866e72c407ee5e836fc90fe537fc4071c0e9091177bf9887d2d0081eae7d78d8ab46e SHA512 3a6bb561d52bb4335aa19233b727f89189a75652d886e99c84b971955f5b8e07d76d7347cb5cb18a6121465c47c2ec36654ad8ab1ea5e0001051ff155c8ef75d
+DIST thunderbird-102.3.1-uz.xpi 588030 BLAKE2B 53c8f087fb9dba631054a2f54b55863e27cd737a976d228c731d206020456fa5229f59fc8b96450b0fd0d23e48182ef2b7d771852cb31c05069ba2e08c2d1709 SHA512 d4f739d81f9393aae98cc4f9ca0b419ce191a6e405772c63d5d7c201d0b70370b4c380457a877feef7c672814a70a0a5ca924cff3d250d3ebf4393bdf5255ce4
+DIST thunderbird-102.3.1-vi.xpi 725408 BLAKE2B 175ba67dd70acc7fcc917d5249257b54ec3a27aed71d5d45a842f4ae50a3cc52753dd78297405df909feee567e2a7f6443d9e9c03f0fe43ea223084fa12e1edd SHA512 482f55dea6a4642c9a664bea35f084a3a705c13f14bfdaa775e98c458cd82d49464bfd43eb9faf9657e947dc6b2650f0e194732e0530d1db24decc07feba680c
+DIST thunderbird-102.3.1-zh-CN.xpi 723936 BLAKE2B 4909615711dcea8bbb23e2dc0b4afd566c855ae0a0f0da5b9e8d0a211acb38cc65b96da7f3b644b5d17b4f13eefef6b9fba3f91345ca2efcda876d8c33d74e69 SHA512 98b77d42a496171c055068e4cbbf803aaab1df3d83f04f6cb0948eb52b45f72d284df99d370d1d96f876022b7dc57ff8ebb8efdc3755f968bf42c27ee9af346f
+DIST thunderbird-102.3.1-zh-TW.xpi 727835 BLAKE2B a3dc198cbd322a3151b96c65684ef6bf3644ec72dc94e1103ce235a9c1b086d594ccda83f877f064e4eea765a3b0457f9f2c8780e1c59428e4594a1441a44005 SHA512 058e0303d255b114fac7db6ba7aa8ddba4b3525bee72018b438c9d8ca33d2b48562e4050b538a521f430ba5056ba00a4a437aa7397fa7ef28ee35db3da6f9810
+DIST thunderbird-102.3.1.source.tar.xz 502887916 BLAKE2B 7eb98d8f1d4c42e2e7e5264983be1cdf3cf6e836653de9012558e6787569bd5ea3e9d9a31f15896d1729f3031ab8ffea765bffd0d70b157e9b9c0e180ea0d585 SHA512 8a127958b35c1c14b8acaa3ac256f8a3a7e9bde89fc810299ae4036c80c41d0c0d45c85ed47099d6ec37e2774a6bdeefe0de6b0b4b8bceca8206c7e54c3f93c1
DIST thunderbird-91.13.1-af.xpi 561879 BLAKE2B b3b2f9303e0540dc258fe2a9653a4283ca88645edd7717d3fa885cb3b79cc428b281e53d86862c6a4a78ff0609670749090ef637481f230ca8445686a33beaf4 SHA512 c3eb26d200ef6d121299e041b69d82951b1fdaf40eb409d002e2bec4082f501284463020c7cdb486775062fd5d71b791093c9a188276e51c2287b95043250013
DIST thunderbird-91.13.1-ar.xpi 665731 BLAKE2B 4a82e82a241b00e501d4558f13f021c87d8f90403bae36705bdce155b2f90aca1c8eac98be4c443da06bd62253d6805be5011025b0f61343d5f5e949ddbd0905 SHA512 03792643d2fd90ab3f33b065e9078882c607293bc674e44e4960635e946de8bf5843261528c70a8cf04218386b8058d83b9d3a952115bed5883931bac36b3feb
DIST thunderbird-91.13.1-ast.xpi 580512 BLAKE2B 660ddd94462b403d82a3b26b4e89e515c33a3467bb978da0cbcb6fbbfad45986a99f83d93d6cdff67ae2e187ab4442821f82dbb2ab4a864291afce7aeb681359 SHA512 1ba13cd42b30bfcbd1966e30c274eb790b5f9b92d6705f06d607d6a38460cef9ef1f4fe873a8560413a86cd3a7186461a1d953332c3cfc4a80d47afc260b1124
@@ -136,5 +202,6 @@ DIST thunderbird-91.13.1-zh-CN.xpi 730902 BLAKE2B 2558ad7077397092ee0007891c785d
DIST thunderbird-91.13.1-zh-TW.xpi 731944 BLAKE2B 5641671442b5c87560a1b13c3f9715e2bba22b897a1a8bfab6bc86dd90837f46fbe8d28507c5a73ebbcd0f79b69f73753f1987cbd7d4d0a8cc2626fd01b6f8bf SHA512 91c2e25f7ff34c70621006e33b0663c52ed70861be407b83c8822ef8eb8fc01e26b03141499ff71dadb63bb1fb3d9f79deb2c58ffaed6843d783a7d369c3ec4e
DIST thunderbird-91.13.1.source.tar.xz 402696448 BLAKE2B f5219c185eff49932cd417267665b8e8327d8f5f4894d8adc35e9d46c944e110e5ad2461ffba36bde990509c552d75f464fa790406b1154f3a6e70bd1bd6ea24 SHA512 ca1bf821e6ca010c554fc111157af60e627ace7a0d43785ba39b260cd0606480dd5736c188c49ef6c3f1bda4b4c6870767b75e483241e7fd5a4290d689017e73
EBUILD thunderbird-102.3.0.ebuild 33359 BLAKE2B 9fac47213731dde20d7157fcd35b3076d52dda26acad6efece53681ff19eb76db984d4a67e2cbe21d3cb954f0fbbd1b21b2335675da7fd6a632c6f190b13de44 SHA512 8ffa74ee9ebb8b89b28af2c872b0602be930a91caa10a1b78c81e61760a48873d84a1ddccdcc0af7dfe003a4e108369c32ce789d53c534bc9c4589bac9eeca32
+EBUILD thunderbird-102.3.1.ebuild 33361 BLAKE2B 03b9702b5bac672890e1ffc47eb433e5c45ea5bab2b784b7ca3b94c5589f2ac6d52be4580322171436847c353b13df37c557086406dc33a2a217250b5265aef3 SHA512 060d335c8bff390b0987e10f30adc7457d7d611580e67b105f7ae90e4e00101f4acece4a89244dc1225cadd07eea5b31983aa36b00822ba658d9f8a79420d9c0
EBUILD thunderbird-91.13.1.ebuild 32760 BLAKE2B eca6bb6ad4a3c2cce82926f76410e8543f7c9edb32c4cad7b19fb6a0175384f0bab5706fa42697367011655c3ea9b537386a432059e4766d6a7c5764af6f3e32 SHA512 b941bc14b6d7a23d142eb4c21f8af8641ad2aaa800ed0b56d717ad5ca57988f30b7bee2a4ee4801b09ec25b2523b2d0ace457d358521d2efa4b8d27e237d01ad
MISC metadata.xml 2139 BLAKE2B c348f9dc2bf813c386bc2e62782bf762ef4fdaf3f913cec41bbd115a7bac54b01852dec04e6f7574b24ea5cd6d9500f289109127cdac5887128b07116d6a6cf8 SHA512 09b0670e852cc954b5df5e846935d274ae180e4627d112104d5fedf2a777fda7d52d73cdfde9e50475d9a560ed44946d4c0682d52d793bbfb5f2e1b1e0aac608
diff --git a/mail-client/thunderbird/thunderbird-102.3.1.ebuild b/mail-client/thunderbird/thunderbird-102.3.1.ebuild
new file mode 100644
index 000000000000..c14700d0d23a
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-102.3.1.ebuild
@@ -0,0 +1,1164 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-102esr-patches-04j.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="~amd64 ~arm64 ~ppc64 ~x86"
+
+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
+ selinux? ( sec-policy/selinux-thunderbird )
+ !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 )
+ 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
+ )
+ )"
+
+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
+}
+
+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
+
+ # 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
+}