summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-10-13 10:14:58 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-10-13 10:15:17 +0300
commit07e37e46c3946b7bb633f9c29443e1e454b107fc (patch)
tree87bdd4e65de81a874138ab1a202a9bb7c49bbed5 /mail-client
parentkde-plasma/plasma-desktop: Stabilize 5.25.5-r1 x86, #875965 (diff)
downloadgentoo-07e37e46c3946b7bb633f9c29443e1e454b107fc.tar.gz
gentoo-07e37e46c3946b7bb633f9c29443e1e454b107fc.tar.bz2
gentoo-07e37e46c3946b7bb633f9c29443e1e454b107fc.zip
mail-client/thunderbird: add 102.3.3
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/Manifest65
-rw-r--r--mail-client/thunderbird/thunderbird-102.3.3.ebuild1165
2 files changed, 1230 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 999c401ba5e2..f3f009cf279f 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -130,6 +130,71 @@ DIST thunderbird-102.3.2-vi.xpi 725409 BLAKE2B cacf3c086077c13767fcd690abb324c02
DIST thunderbird-102.3.2-zh-CN.xpi 724290 BLAKE2B af8278ebdd50b3ef7db42c70d374797b73dc02697c28d76e4f3e58d403b92f12d47299583e2409b3d55133072281c0ba9cf79f8254ce3b4de807e32d8d6e600b SHA512 da1bc2160e201b36ec7980f7937fa1991bb40a92a6d9850205d97ea881c95f4cd0d3ecc7d2ac97137b6e882cb606899e48fc5ce261a7145fd0f25f9307ea474c
DIST thunderbird-102.3.2-zh-TW.xpi 727975 BLAKE2B a6580f53529165b401a9bc4d665d0b0deb4108531ba298fdfef4c52208632dd47eb9ebac923599144abe586c06d0492b34027fbe6bd543aa92626dcb8c17d9d4 SHA512 370d80ef21fd1c143ad47d8657d23288e375b62b00a28042d145a63ef190ac8cb60c68bb503b556db06923049a104a56eab9b3732887f160ef4423ad6ffd7399
DIST thunderbird-102.3.2.source.tar.xz 500105016 BLAKE2B e09c854dc9e3aa68a08f8e76fa436e69c3b48a7f4ba4fd49902b0e5be93a8f6d68210d5bec8fd0de95bbbb7c4d6e3054dda583cb51c488756a1d213f6f415393 SHA512 e10b0322293a723c5683231e4337b1c3a214c064bbcc7f569c111c4ace42e74ddc312f2f30a260020dac48e44662f093538fab935a78ee0f6fc4a2a70488f74a
+DIST thunderbird-102.3.3-af.xpi 551914 BLAKE2B b45e147fd3e2917bf9d5188c88aaa4a7567a97de86262cb780f566eacff409ea60cc7330263490f91b0adbbd9b2d265ef4937f162d88e2680f66e4ff4c77f98d SHA512 48b815d40572a261267536e49e2dbcd488536d2b884071bad9138ca81cbacee34881c17649df919794343ad7169c91de56a3fdf66cca0f998c100af26bc30055
+DIST thunderbird-102.3.3-ar.xpi 656148 BLAKE2B 32326ccb11e64e76f9d2eb0cf62ad3662cc331860c40f1ef1585c9bb212a23571b47fd7e25b36c12482c64bad4184282dd5e4d2e08c80e44cffeca1a50551f2f SHA512 10d9d36db74833c4167a6b403a39bb7db471edc141440632f7ab5dedc6dc8ae8ef2f1ebb814dabfe28196426a8acd37ebe182a90af5e5ee5f62f8e7fc4777a12
+DIST thunderbird-102.3.3-ast.xpi 564832 BLAKE2B 5be1aacf8a08dde4d5ac308b8f4e94c78ab021b9c763c88ab1397e4b6ca356eb5bb3ae6e9835fdfa133273ced9c10fd90d3e11a492a33842bc261e9444346cb0 SHA512 3d4b080ff8150d7b3576f09e4df65c530d59dac098fb3f1678c5fbe3206d345612112f82c84e99b7f49e914263243b1ed0b2b21e7c67b25317697ed14dce22e6
+DIST thunderbird-102.3.3-be.xpi 686677 BLAKE2B 9298b60670c913221d6c50b37b9b20075a6fad59cc516a7702a424aa3b0dd3d85c933948bfe90ce3130e90e4d2f25f765b539746fed53dcb1b16a77bf4c77604 SHA512 3c7ba4b4f02b9a95a08bcfab79c9d2a0568bcc06a1e5663d8e35f6ca391ad613dbb11bb1ab7f93a715363df7b28e8d9d984de8d3a2d5f10be8fa9d258fc21667
+DIST thunderbird-102.3.3-bg.xpi 682265 BLAKE2B c314d1ca411b818864f14eb0897ab2f5152dc7e5d28858509b5a70674b8b515ecf4298511df0f627df0365f2919fb4c9a22a929170e176ec0ae26d290b49e8dd SHA512 4ee20e692b91fa55bad268c73d7eef01465148dfa5e02f38c043ff9d5b7217398593666aca2b2fc838a521298aa6a39942a88e5dae43a4180de2a2174dbdd090
+DIST thunderbird-102.3.3-br.xpi 615114 BLAKE2B c12af2a5d74dfb585eecedb7de71b15159d72e13786868d27f8ef08a6b2de2c44dd127b0d23f966c56ffffb5c597d0b463de2a6b211e8bcd207d8958ede79f8a SHA512 2c90b0b6cc065f2bda52cd66a4245588f7eddca23972e8200ab138f735a04654b507f667cefd0a72bf6cfaefc1dbbf55a0bd7197005a3c4ffd67f03cefa2f044
+DIST thunderbird-102.3.3-ca.xpi 636171 BLAKE2B f6b11c32f1c74e18ae0614c3ab4e0813316f7650acc61712d7c826cad5ed2e0fba460424c8d056c67938777f3b5d718c198391b02e73e0b22bfb9bdae1ade38f SHA512 56e8ef2e778d2a71354d126dfd98ac6dfe251d49e3d2c5c5b83c5478369d71076dc8226e83b7035e5338776cd63e1a9989707a71cee85088dbb9c0fc6eecc785
+DIST thunderbird-102.3.3-cak.xpi 641840 BLAKE2B 551f13ab7cbd1d4d5409b19858f591b70bf1da2a6ef0d052b41cb1780217bc3cb811967bd3a6877f34248454301e1e129d7128a9894e24ceb8707a320d4674cf SHA512 aa72c09354ab9388f117fc13ec7f22a5fa9389421789d92bfe060782a82837dc6bb42509cfc09cb77b014706f4621947cf7a9f628fa5c5263d50c60a8f8459f1
+DIST thunderbird-102.3.3-cs.xpi 706225 BLAKE2B 894af4fcd5c0bb25e077de55b57d281efe2044b1ef8d5b34bd523a9a58edabd9ad3ada24be4726e590859d52b22cd98d811064c41177116370e4e3c392c9cbfa SHA512 acf528c82129f95b18623062f4a9915e59d17a34444c0779332e409f328f7ca8d856864df4fd5434a84812935c8a9d6dc1b595b8e38f879d278de7557846abd6
+DIST thunderbird-102.3.3-cy.xpi 684714 BLAKE2B b66a03b7b9693666e27f8bc367e429df6a25633c07e2a4e0b9f9e51dbedc3247d95b3385a99aa232af206e56f3cfa8aba8405be3f91fa36996f0bbb04f0b5ba3 SHA512 eeb5ec62a9372052f061604035bc256a946ee9a9504b576dd9580609768e8c9b023789767fc7e2347dfd91549b6996b1bf52b231fd336f3345f8d14146df7783
+DIST thunderbird-102.3.3-da.xpi 670576 BLAKE2B 86583878dc7dc85a75f01d71c0dba6dc55d637000b271ca0c350967f6455dc7f338f5f7abafe89fe7af0c34279a2c1687886e3402aa1d8c03fd8df38777f844b SHA512 8a493bc5dada1dada6e96594669ab1442e2c83619f1de3d6f3ec59c8173a5de9818e28af0680687dbee42d9d1634e5100c7a9ce04c4369b272d647d6144d5a98
+DIST thunderbird-102.3.3-de.xpi 703558 BLAKE2B 3dd69715bfed4f57998db1894161c1731eb3966027a2d250bff3cf3d43f83496e2db8b021c7278ef19d63ea940c1b0f9413db1a961965745b552283fefce28da SHA512 431f54dce4322cfb866895412bde083cbb9200f05ef25f6acf0f76a9dda4b389bd028c1f8a7d46df8ccdd2c83820c1cd3f5dad7c65cb9f6a7f0f9b7ab3c4f173
+DIST thunderbird-102.3.3-dsb.xpi 718467 BLAKE2B 6b543080bedce7f5579c7a95239f62a68041ceb6cda9fef1425d723eb5c00fea941b2e094c0899d696e803f474bcd4757057b23d009053fa7236a181cf1002fd SHA512 25a976bd1ef064717d7ffaf481cad3cfa84c32a8418131cec4a5bc17d5d0e47e9f65893a2f3ce1d6f8280d2c1d84a986d466257e0a7a9ffc1c1be885952854fc
+DIST thunderbird-102.3.3-el.xpi 816314 BLAKE2B a2c9ec3b3907ec037b995569770c87a4c6780a4e6a2ec1a09d5968d2924b64c8e78329df8e5e20c81935df18a89addc768483360c64d40f2d52aaafd9f1e34fd SHA512 5a4ecb1949dc700c1eeeaa00054f3a806af0b0a25a435bb3d0d30660caa6cbed5cd5ed8a609d3bec575fb497d3807fa8c75856c41e8b0c00558a1aeb3ffc6353
+DIST thunderbird-102.3.3-en-CA.xpi 644396 BLAKE2B 4ebe7644adbee98d854a52322808fc803dd66b207428ebbfe13f624ad8a37ac24b687b970c38deb5d6f6909de6037886063f8d587b6b64577b75789922b844da SHA512 edbe6747521bc66266331b4b1d0d7a536e7ecc0eb1452d1984514501b7befd6aa6c5d52f60f1f141f428a8f08d89d112946f86d80be4592a8b29475936328e53
+DIST thunderbird-102.3.3-en-GB.xpi 645396 BLAKE2B 6eec1979ca1e0acaebe3bf52bce006fdbed0133947dc6a14b305c5cf3b65c3182b5a3a0a63c62ec82da84483a5d6a9cb5b712087c8144b24e8a4ebec7b2243d7 SHA512 8723d7f4e2deca7b3cb1713ea34d2bed16535931d4c177aef4215fe2627319eb890c4d706374efc886feea01950dc8ee6dd1f8053ed895ca4ef7297054df1d1e
+DIST thunderbird-102.3.3-es-AR.xpi 695962 BLAKE2B 85fa81ce20aead9fefb79b0a116b87be05f9af2001d7f3f44e1b64e9d819133f3d6b8d9c67e00de53803e08d1b6e8688dea34808086efea94e986d84add4f1f8 SHA512 0a409974a5876104e15bff70b6a9030e589b268d6ffdd8d769184622ba91c82d3753144beb3376edf8bc14f077364c81eda8ab80a5b8b468ff2b1fa51bf2f381
+DIST thunderbird-102.3.3-es-ES.xpi 652044 BLAKE2B db4f5c6485e4cf9d355f26754699cb804e6e36ba84f0cb0b595ae1dc9c81069830252a07ef901570a7eff1e6a2b513653a27407036121889eab9acff3c4bbe1b SHA512 f194f6da15998e7d7bd5c0330928cff19c30898f5892a87be95094eca5335f1be6a37f098ab51b45a0dfe44e5b38704c0b20ca38b7e387af0805b8192e28b8d8
+DIST thunderbird-102.3.3-es-MX.xpi 698651 BLAKE2B 14558656c37fda346a72e46de047929aa68070f914921a1c739281edad7c3d3479765631a9c1009587f4d1af24a2a0e9433b182efe6eea1bfd5d01312f2260d8 SHA512 4be53c80c3dc244e34652b3bbd1c349ec7446d8ca7a6885988ba6cd93f722625eaa3e5c5fee2ce51b4c9e925debe9028169eb3c40c9b6a07b57d9b4e86a0738b
+DIST thunderbird-102.3.3-et.xpi 666813 BLAKE2B 469a08fc36a23457303c6a8b370fb6d3a9c98bbd85dd83e8e4d5174c79af4dda711f3ead902fc470459c699965c222200d5d695888a702fed35ba04b052b3735 SHA512 6afd0294fdc31e1b0d2fecf3bf4c448beab10923e5ceb03ee1a8d9bea1e279e5db0afb5534cb0eaaf11ca10bbaa5d135ce11dc8ae8753840f302ffc699ef0a49
+DIST thunderbird-102.3.3-eu.xpi 680209 BLAKE2B 5ad38b5583cb431fc5f9fd73cf6d8e47ee6417690918849f1b391cbb99baada79b8cdb5906f08c0cb1d1ee9228f991eea074f27ba1fa43cf27d8a77f92064ac4 SHA512 b72d8f831678c66434daee691ab928edfe504ffa33c921959889c08c78f5be6f7fa0ef9466ae3e4a57a585c6f101a401ce747e9f88a34d8ef45df628ed3bc94e
+DIST thunderbird-102.3.3-fi.xpi 673899 BLAKE2B e7a784343794756f3862760de42868112366f3f6db778a4c9cc0d24b571018de2b81391b038e62cf9fddc237a03acca6438554e41771b6eaca0366d77768c0f6 SHA512 db57a415db4c54a3f351855485bea784585ff3102029160f758decf711b9becee2f74eaaa815a97465875ad5b27df39f95b11c95cc2258f8516aa50d74b51b38
+DIST thunderbird-102.3.3-fr.xpi 708765 BLAKE2B 190bf8a74ff62318291bd3d6d01ee360079140e875a6f9ba3a9d5ed06f50d234ab20e22d3fa821172bc8bcbed66c4d2c03f99f5907010cf48ade509ab90a3ab1 SHA512 8064666216e16360606af3744fedcf562d5110238b4aa527a3a7670d8d980d87ddc19a31e3f3ae922c507dd798028746267dd476b42f9af92ee359b034b953bd
+DIST thunderbird-102.3.3-fy-NL.xpi 690680 BLAKE2B 5c8c9a68d74f606e2e863eadb3007a5721083364722436d4a746d53e66b33f7a857a2e5b967fea08beaf8da2073a906b52407249a1d126f0acbacde66127d3f5 SHA512 80f0acebd80a78b1a70304785e0fe489699f69025eec5001750506daf34cd512bff9cb91b7bbc14457fa51e6ea1361762b9b7952b7f97a6841a08ff559cabfe5
+DIST thunderbird-102.3.3-ga-IE.xpi 603096 BLAKE2B 321b72a377f6094c8514d6118b48d54891c0ad0bd884a3a507b3c066392ef4170044af5d4eb7b2dfc29e3fa67017a8dfdc20cc76d04e9647fafe505f1d495048 SHA512 536754659a3bcdcd82203ad63bca8e4b72ec15b95b93af30205fa15a6a54b448da482c02486d18755be6c4d128f44bd5106ac786599c95fac83fe10817c6ad5e
+DIST thunderbird-102.3.3-gd.xpi 632443 BLAKE2B dde7102b9c5783c201d4b08fe6af4e2bd526ee4e4e26af4c9e499a377357b0d25099cfa9cde4ef8b04149a03e57de682ec7e98b8a5c60d4a1b9005cee651f652 SHA512 608e2d52263b777e00d4f750753ccfdf4afa9f794c2553e986e748213757a98a12ee54e7c6bc875cbe1b5563d425de377f125ca9a504388081439fc1e140f853
+DIST thunderbird-102.3.3-gl.xpi 663207 BLAKE2B 99c86d4d2cfd2f5e21f4a164dafd23086ed350899d809303ed2525fd6e66d5f26f28a31d8162aef0d1bb312c312cfe9e2ca660a93b92b36d7596cf812da9abf6 SHA512 7f133956b90b3021dc08e000d0fbc80115aab2b83be94a88610e32bfaad7ad1eb80e45a1f649af7d4afc3f18196087150cf47abec72f08939b8984a7880a6906
+DIST thunderbird-102.3.3-he.xpi 662888 BLAKE2B c8d232a0aa4560b25ca61140d8326ea24f1cb32f81b0c88f5be1262c571540381da184267bd08bcf9093a9907edb23b5672f8363bd20824f920d8ebd85c5e91b SHA512 41314ef5035a26cf17a87af7fd20773f7dc1fdc6cb46d379782975cb5092d8a4bda592d1ae3060c9d109e169cce1dc639578c0f0ca053a2d192b0fb31b9a280d
+DIST thunderbird-102.3.3-hr.xpi 661111 BLAKE2B 7e21e41f83335d1948c04666f84796b99bd754bf150a9dfe552e54ac4e6b65c895825cffea1075e1eb3d02a87faf31c73d68914270a26c2ae0037b8830894a18 SHA512 38ff0cf101c888d94cb486f5b343e1a437723a2edaf5cc70971ac85e3a2a70a15ff89875c0d41eb9f9291556b44f1819734ede52ff097d3b67ac8e3b75b8f49d
+DIST thunderbird-102.3.3-hsb.xpi 715751 BLAKE2B 831d0e99f3fbb1c5cb4ad38c857b61c98fafac55e5b18fb96565ab68e0a220c5950be10c6f515c096aec7d8a1e7bc0a0e9a31818424703cbbe0efb79c462d862 SHA512 8354909ced8c7e3fe703cce4f28d1666dd325f2e5a76a9617c7b96e55aba3be176db4ac1da9991f2a28174dd1ae2c58c48e370637d85ca196afdbc5d12335866
+DIST thunderbird-102.3.3-hu.xpi 718783 BLAKE2B b923fe975165df1ac4e7cd4f4cb10c4cf46266b5fb2d0278a4e4ad614303381779de6773a0f08568a20e3df7c525e9629fe3120a8c23e2891b3f6f9ea71799a1 SHA512 c2815864a7e62a8006648f3fb3e63a8f071e22c2fb6bae2f9a019b481b3d9722c1d5bdc2138cf8a43b9ffb268d05d51329a374040ff0204a9158fda58968f4b8
+DIST thunderbird-102.3.3-id.xpi 639538 BLAKE2B 82339acf56659544b0aef6c4e9ffb4b5c3c84b2201bb9b288cb3f7633b3687053e2810d77fbebba36640e3ae4f48dcd8714479828473a407de463670b1159e3e SHA512 f8ebaaa26efa37c74d9a04561b7da3559dbb82eb7dae725019468eeeefa078596011cebe1e0bd18b87a0d6bb49ffd029086667ea38e0eb6d788d87e7b116e63d
+DIST thunderbird-102.3.3-is.xpi 685614 BLAKE2B 4523de5150d21aff3f8a8f12198aa3e3a8b1c385a4ee9cb95cb851d92b9b046003fcee855ea388b7fe5d211c19e4290b3de308a49dd6de2b26f13c6ec1ac9ecd SHA512 4d74af459130fd87cb0ab009f5463cc98169c898acdc0501139efef6f07f38a0695b1760e3749a2838304d42ada63bb5218eddcd9aea6a02b3b57d8cfb9271b4
+DIST thunderbird-102.3.3-it.xpi 617778 BLAKE2B 8c44c64eaf7134da1194e85329027493061beafacd160729b935beee05d7100bd5274a6e8cfe7195301349ebe2a72fe4e1b0718048ecab0261cb1771f5b8aae1 SHA512 bb2a11b341964ed81e40ec1316523efaed89d3b796eb822479c1b78df1d0b533d0a843ebab01a69a12359b39d7faae94575bbf4ef6b94eee5741cddeb6df2f0a
+DIST thunderbird-102.3.3-ja.xpi 755142 BLAKE2B 6426ff212f0ab0094140616368fd0ac6ea997d244c34a1f5e2f1cd1424915fcd4b2f13a34adf98ef0a34087b00a1acb298bfba5fd71de6ca570fb8ce5b5c6663 SHA512 5fabe66b296567f017b1a700a1d698f64b466624d5d59288a4ae2e785905ca7c9b9ebe551da1acb4d752159bedf8b239495ebfcea9a9b85781f969ef919b26c2
+DIST thunderbird-102.3.3-ka.xpi 752975 BLAKE2B 61f208d4d8734ce49eb9244b6fb4280dfa6449a969e5f9fc3406eb1a7e13463d13bc93d05f76f20d883d231d112bdf8a96bfd4945456599330efee5f8aaff953 SHA512 c0c401353fa1c20def0510248ea92856d1b095384af51c2d94448c251f2b43d6d278313387da1fb086fa91327379f7acb96db14fab7b377e12d3d8eca7455bca
+DIST thunderbird-102.3.3-kab.xpi 688569 BLAKE2B 33089a39c255d60a3d94b5765842f3cd74c9a8e160653a869e1705b8b8c32c7691a0de7b09a9601463034eae37cb46bfb738a249bbc211be3dd7259f48e59077 SHA512 5f66cfc3556198fb7b43a11cb66cc4ca9801ca8a89bd57ada09fadfe2502f089c4e973dc029342b5ea11a07371ce1c9d38e945f778cefa35fb1bda603cb6a1c9
+DIST thunderbird-102.3.3-kk.xpi 731940 BLAKE2B e079f428cac0c9d599d9ab275b236a8aef7e6e59608473844875761edf0fb3faa1dee39ad3cb73d69e6ed90c6b3d7b5f5b3aeb2b24388d237248facce820e2ca SHA512 65a338801833e3d062511458976ea28d0d994ec961870464434c62c17fea917be966e894d1a22d2959bac38a5769f29459a687cbce9db23cc0ecde7a002a1270
+DIST thunderbird-102.3.3-ko.xpi 692940 BLAKE2B 94fa8d71e733440668c38be0697893bfb19fc59593d5f86c2c63814e72bfb712f9bebb6cf9efcc60344723df94840b7808fa973d6d52994d78a879b2da32fb66 SHA512 c254b873dadbb8ec23064a5c5542357ca5aaeaa45098a8b2eb0759a6b64336f28dd8051adba93cbe37f0c9bab0e91c3a007fb34802e06ef7f4f42eaa5714cf43
+DIST thunderbird-102.3.3-lt.xpi 680718 BLAKE2B 07b4b685a78a2a1bddf5c621eb23bc154aaaf6c01fceb3421a14106fd0c7d8c264ca63a89309be0af15d2c14d5547f53bff89f399b95ebef6b7f6d1d9d51c3e4 SHA512 7b342d35f2d384c35000146a65a4db879e92f90563ee3d0d9d3d91492da46e16b165e44d9fa5dd2e562e18ea81d1a7ad3c8002d759cfbcca311157133c8281d8
+DIST thunderbird-102.3.3-lv.xpi 608588 BLAKE2B 619a7f8d0407367fc50f1cc350bce6d350289cf0975cf21cef526c9d173bca8136804d333e6d2540c18d5065c90270121a369311ceed3c89ecbe9b3b345fb3a9 SHA512 a4441bcf714e953a4da6428037fa645704e35032d383d83d59c4da436c5106928c49b22d9d2d6efc0fb6a8cf4132c5a6d716f80df17eb24ed824923d57992dd6
+DIST thunderbird-102.3.3-ms.xpi 568528 BLAKE2B 31a5870ebf869726a582fd49d86240c5c5efd7564872185f797e190a4ffda1b3e1d569142c2b920a379332df2d43b19250753d07f2c56742aa1778c9fa28e97b SHA512 464935c2e6ab93b75af64465e30f7145ee8d807cc753c9092a91905f9c4d6ac7d033b68a83a65237a4474def24b8bb4b97072f7ae05433d239a3367e6a517c1f
+DIST thunderbird-102.3.3-nb-NO.xpi 648581 BLAKE2B 1d5194124c9b3c2ddde70e200ad8e3a25bf8b64aceee2a898dc64721378103be24f9ca713196309d0f9b0697d827f64e0bc3117e736baaef0d7754a8798502f1 SHA512 53bd453e8cf1fcc75afe6d040d0bca8752fa6927de95efffeb071eaa4c17ab712f546aa0f0e26326bdf2b2b72eef567378c1ad2ed7da404294b21553c431471e
+DIST thunderbird-102.3.3-nl.xpi 682267 BLAKE2B 44a6a5543538b1bfeac91ebf9fa7099049efcb03272592f8d7d0a550efc502bce6e81a833293f072fec7a9152ccb0ff09b878e2a255b2d825a4de45a1670a8a0 SHA512 16a62c37562086f83eebf03add12a233d311f02c32f4da75ad061ba1d05feda341811c241958edb535bd636b90146a4112bac48e9b31c04a5595ec638dbe8a5e
+DIST thunderbird-102.3.3-nn-NO.xpi 656904 BLAKE2B f469e64b979d36e2446c3c3dd814d37064bd83dbe833c0ba96d5e2ca4f4007552b400dda655fda20ee61040283f802ca9912fbe8acee28ef0c730d1c520e43ae SHA512 1b36f8d11de3defecf8b5578ff690f9de6e12f70612ed1737726db4786d37fb9b63bbe8ab3418f8e79b8b974cbf2e7f6755091f6c92671ea6b21b4df7034fbb6
+DIST thunderbird-102.3.3-pa-IN.xpi 654092 BLAKE2B 9b0e358adca76f1568f332e5ed95949e00ec24e051e0ff4bfcad8a55de14fb2e88f47d11b2cbe96f45a6864aa8594ff4db5c39245290dcc9ed960d5034f503d1 SHA512 18ea82aa3d5e4e7a24e68a879510c6402c1eafe94495eb6b42ae69783f0a0eb29ef013a76081b7e2b1c507c5311aee285882c3fccf44273a9ded6dd9ed64d8ef
+DIST thunderbird-102.3.3-pl.xpi 695416 BLAKE2B 0246539c62ce221404bc084a8d6c32a8b15355c84bd6eeccc44d93eb0819988607454e6a4268b2c7943b987574072071780cff07439b2d2d5951b7ecb0139925 SHA512 85fe0049465c56190e8bea9f2aa8e02e2dc361761575b087e995d18cf67c19ba49653b0edd78234bb3b2408e4816591472bae10b22087f56181cde1de3fb465a
+DIST thunderbird-102.3.3-pt-BR.xpi 690286 BLAKE2B d581fb0753fafdc9652fdf8babd597f81c7f5a367f97859ba4927c896319e2ab901b462a681f889f7235db358f36c22e848d561d4cec65066ea4a7241afb620f SHA512 b7592740e3b1bae397ad5d63db9fe5ff2ed19e436f7b4f3cf491a0a580eced8bb3c97b34dabd6eacc53ef865ca841a21727f478d6699792a63cd9882f0f455f8
+DIST thunderbird-102.3.3-pt-PT.xpi 666877 BLAKE2B 7df4350845b657cc257d6cd0f8305abed9015c9ff1c70faa16b508f0154023e819bf8ecd3ad7b51909507d8f9a6d648f2cd368ebaa5b0f28e467d6d7f90ea897 SHA512 e2a874a1bdebda736329f42881dc2f1d17ca594c28835523655974df0d23f7de37b434aa91b38b5017d90b5b0a0bc326486dca9def29d3efe2e87f109f27507a
+DIST thunderbird-102.3.3-rm.xpi 686109 BLAKE2B 6a822f56a7a9e524d36dd893d38bc6d92f2a9febf91492db911f061b70b885a87fcc4f37412df95ff96bf6bd435ebf55d625cbe5b6e175ce4071b0a44372126d SHA512 152f7331262e292b9b55942f4541dc9d6c7e12be2599620f19cbb8fb0ea999bc7c6e3f10019db5a18527533811fb457d6aa476e894ae1b75b448a1b7cef8f03a
+DIST thunderbird-102.3.3-ro.xpi 651332 BLAKE2B 2f74a500e1f161dfbb537be961e2e2287258020beae303f6810ea215420f96f76f317935996e22e8f63fd9a64a14b28232e04c46e6c732042a137a35a783d778 SHA512 0fbe6e0da0580d98a25b928f45a8ee76fb84775b2173ada96d9854172609fbe2fad210cf87de0b5b437b9084717a75ed6c335b57f6d6445a88f9fd942666a705
+DIST thunderbird-102.3.3-ru.xpi 801783 BLAKE2B 3ca4bc0be7025f2b603236b8aa2efb0f990ec1b71b2f20f86617e80c75de0e275ffbdf1f729257bb3dee326cc0fd611901d9663700026cac9115eb718dc81f01 SHA512 e1d4f680038a98612de612c5209ebc30acedfab17ff28b19d79e5ea8f72701cb22bd5d3568e6925d452cd0bfb86c090a7b4faf1e9aed279ffea7f8c530abac9b
+DIST thunderbird-102.3.3-sk.xpi 718252 BLAKE2B d16983156199581bf176825a1f5831df72f9a879da81412502472cf2e0a849f9f737f2182dd23b98b02007b92ac8306fe2d245aa1b13520c666e7213eccec9a3 SHA512 d5a27037fe309f84bb38a30be01fa337612c7c41a6216528b441b8f586b62cf0af71f15bbbca391397d542537d58a52a8fd4342d564590de8ac28908142b764e
+DIST thunderbird-102.3.3-sl.xpi 683686 BLAKE2B ce660f97e8c3ec2a349c199c87a9b32566d197cf7c58377af29f41f98539445180e8174ea837ab8507b8ec34d595b7f12e19c13c4e5ee8fc8f3a6b7ba99a54c4 SHA512 302de72a255de678664922841c56229109ed9967753987f84daf4052152d53a850ca8ebf25d4a5464cd0942daa9ad72e4bcfd7ff969543c1b7d96e76de59febf
+DIST thunderbird-102.3.3-sq.xpi 690224 BLAKE2B 91f154899f1d630d5414ca3353ade64294064efddbb84dcc997633959c8f38d31d004c816becfc3b3c65df2f5c2c16c5408f7433c155bba788b550a4cd616295 SHA512 4c17aae68a153335e16923901efc1e224adca0f2e571127bdaaa4ccb05df881c01833ce1a1ca65d8ef2eb479fee28024c7ca259f2852c3dd8002793b011787d4
+DIST thunderbird-102.3.3-sr.xpi 705269 BLAKE2B d2651f2d2ed2fa406265cd385b0f7aabcbaf0b7dda3f87208ca277443b56f64de0cbfba65e748c685593aa6e88aea1a5d1a601bc0063f4677c41bbbbdd7ce6d8 SHA512 4e2f99e331bc69dd5463d16f59d6f9707631b7ad55646c8210e00f864e0d9ce54ec6acec036f333193d04a174ffdc08ed65649f7d7cfee250039b37477d2a61f
+DIST thunderbird-102.3.3-sv-SE.xpi 685683 BLAKE2B fa99325bb386c177f8c9b902fbedfafce10c23bdb8aea93fb7b3d952901e074583e5651be386836b8b3783bc6e0d15b7ca8951cf370d8e5832fda018d20503f3 SHA512 8d2f378ef1f6f2b9ba47acc55d17db23382ad51e7cae07d39144f0e446da3a2ff326cfdcc9dc76fdbfd34b92e0225506d0a0628ef86ad4226d3d86cd5d60f9bf
+DIST thunderbird-102.3.3-th.xpi 734539 BLAKE2B f6b858285d72e6babe56d2736f793c8ff4bfa7bfcb790fb15b7973f71a216276d24b2c511510a162332806f395ed92c72d44d8411e62d4abd1e82d2204db73da SHA512 6231a8554379dd2a0f5d8026ee7e2ec4d94c8b18f839d3cff3784f4700a8262a16d0a6ea941313a853eb4c4513f3fc926fe08272bb03045eff245be5722a4c20
+DIST thunderbird-102.3.3-tr.xpi 697055 BLAKE2B 93ded0c99553abce0f70b7eee9ae1c609a7845e4d9c92f423f43ce10dcc56cd5eb7cb237d351334c0a6d73d86baab9eb7a609c7969c569dbb3cf52c3efd35eef SHA512 c1ea088b93e88194b8c899fbb0d8a9db8cd1d56cfd94c06725648d8882253e832c5f3f9c56395d8b78eefd37ef3e058cbee969e609ae695e40e3596e2575f714
+DIST thunderbird-102.3.3-uk.xpi 794404 BLAKE2B 5daa954b989c5302b1d1b83e23d18ed85bee025c2a015804263b25c31b66b1c0f2c0b99927f405648fd3f60377262f28dfb4b8e772e6e3fc997e10c68ab334c1 SHA512 d1464684f3281dc5b44c56fb39266c0724d24a1b90cedf8a0f02e106aaee268bd27824653a387ae9835a12501dfadb56b9e74e3890de725684fb3d30e22b13d2
+DIST thunderbird-102.3.3-uz.xpi 585350 BLAKE2B 01fc2d181b3fd27abf042db1f0ea7d4bb8553abcdf970f4c37894bb724630780267343a91724431c7e216f7fb362828582a418a5409e511202e447e4f6f1ad68 SHA512 ed50753badd0b588348f56d651e863d92ff52aac759ad919fe75a36fa26ebbaa42b2c916757b150fe3a1b775547486ab800a239381a6939c0c071ad493516b5e
+DIST thunderbird-102.3.3-vi.xpi 724846 BLAKE2B 8bb5dfd792edbc8e5d60c9122a2a3c0d003aedfd37667001fa902743c61b5abe0c1a7a36a6906bdd02b47876d4bb1f0b5a4a8356a0ca72a52a6ee473aa22da3c SHA512 00f91b0cf8e77c8d6582462edf6eed069b5be8ace290e0ad6ec6ab9d0998c5712db82354f42b363b3cee41d3b2e386cd14a8828e6556dc391166faf05230324a
+DIST thunderbird-102.3.3-zh-CN.xpi 722696 BLAKE2B 8d8ed51ef4302f790628eb8a5971125aaaab1476efdd20e5380dea9feba46de30800f61ee9d14f46db6e134651918e6399ac364285bc2977c46f1aafc1fe5889 SHA512 7360f3cb3ec5ff68ffd49bb9051a44b66ab082767bcd2f699a3ad3c8eb5226f3a03f7ece672654785d40599e401b92f6be533b1ab1b39036da8f318230a19e90
+DIST thunderbird-102.3.3-zh-TW.xpi 725967 BLAKE2B 5c36662e1156c86da6e3ab1493d53a0a9191294964791c56d7e6d8fdf46b2cef3211444174e6624715dc197d22bd6aeacfcbd0cd52d99fbd083bb5421059119e SHA512 de7e4373513b95f131eea4d48795d9d5260499a95237af275440e43c9873eec45eef665a89251dc61d4f25d307f6e96130531398342d7afedafdc59dfffaf3a0
+DIST thunderbird-102.3.3.source.tar.xz 504792532 BLAKE2B bf6697e959325d4ab6aa6e9d0d86935ee8e8970e43372a748947842cdbb3227b6aff5c78a073a40f7fe9893d6503ab499c80033d253b3656d4175e2d9d70c2b5 SHA512 37027f251513885d1432ee8cbe0fb2b4cb3c95b0ce88bd35f207cd7a4552d6700a63d13e0542712f796d46be6cfc165d6d1c224b30a445be7f5058fc396655fe
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
diff --git a/mail-client/thunderbird/thunderbird-102.3.3.ebuild b/mail-client/thunderbird/thunderbird-102.3.3.ebuild
new file mode 100644
index 000000000000..10909f4d3856
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-102.3.3.ebuild
@@ -0,0 +1,1165 @@
+# 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 )
+ wayland? ( dbus )
+ 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
+ export 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
+}