summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2023-08-31 09:02:06 +0300
committerJoonas Niilola <juippis@gentoo.org>2023-08-31 09:02:26 +0300
commit59509c69d67ddb27fd9b358b39c57e357d15f2d2 (patch)
treeda6b6cab51c68776e6847c67ec9d0b1bd729885b /mail-client
parentmail-client/thunderbird-bin: drop 102.14.0 (diff)
downloadgentoo-59509c69d67ddb27fd9b358b39c57e357d15f2d2.tar.gz
gentoo-59509c69d67ddb27fd9b358b39c57e357d15f2d2.tar.bz2
gentoo-59509c69d67ddb27fd9b358b39c57e357d15f2d2.zip
mail-client/thunderbird: add 102.15.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/Manifest66
-rw-r--r--mail-client/thunderbird/thunderbird-102.15.0.ebuild1190
2 files changed, 1256 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 258346251b0f..51153e4b4fe4 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -1,4 +1,5 @@
DIST firefox-102esr-patches-10tb.tar.xz 21740 BLAKE2B 46da143f4d2ef474542752b7648cd80faf52332dc1b315fad6474dc2d1cb60848852f3a1f3e96934b50247f4c9add94d4a5d0d279a848f7d3b959d743ad98482 SHA512 6a0e9661ce30786e5480d3a81efe7df67f550da4b2fa5e71d4cbfd191320c975bdc1a4a9971e7df366e79242c89e58cc951d5a7058452773b354edb20b7f60a0
+DIST firefox-102esr-patches-13.tar.xz 22212 BLAKE2B 02e9edd071a99abbac02faa11ffce061d5d12d8baa9ce54b51d6bfdbf8160022a1565902d65ca30fe51b5670e509fa921b11a460989933cbb797fcd59d635125 SHA512 8b8b0f3789978447a1293fd9acb5c2db3d7e9f724357a0d762b54f7e34d28f11655997ffeafccfe8001a01dd595848d257f90cb983462c405d434cc794216520
DIST firefox-115esr-patches-05.tar.xz 15000 BLAKE2B e6e6918d182100616095119f1da7fd6ddc8fa3dae236d075292451f2b2ab1be7b16620eb17f01e5c10fc81324c81b25c596b9e99e7d7745a7ac0b22a27ae3e97 SHA512 ccda6860d885837c59e7ee4612bdd72dedcbc0dc5d6cf7d40dc6524591b67a2d165a251a13662bf1dd3995ffe392861a73bc08bc606a2320de5a5d8880086314
DIST thunderbird-102.14.0-af.xpi 556871 BLAKE2B dbeeef43b45578f9f5b2114acf48ebfddb13a10085724d9a109c4122170807cfdda5c4cd7af3a29c0159d088c4f405959be754888fc8cfee10b5cead3a469e2f SHA512 4699349cb086d450b77284aeb732c6d6442c640b0e9e1e2b5940d04297a16a85c2eeb0d2c77cd42b870519aac3d17acf3d06266007a6682c9ffd899f655dc82b
DIST thunderbird-102.14.0-ar.xpi 666810 BLAKE2B 3157febda2f6f3270922550e4ddeccd9ee644856ea9b19d595fe74a7e7fba6aa2c50a11826c46fa8ea9baf4dffa3076c1ea5f343f51c4509662ec2f3e70ac34b SHA512 c9d37aa31bd54f913c30ce2b349846d065c21e3b9dcb1253d737c5e48e5d670ec6bc155644b0219bde8c4cb446e59e3c7fba77ccf4e6d56bbc55bc9f05b101a1
@@ -65,6 +66,71 @@ DIST thunderbird-102.14.0-vi.xpi 745666 BLAKE2B 7e7fc54e9a78af51a2a6c5bbd2129a1e
DIST thunderbird-102.14.0-zh-CN.xpi 739888 BLAKE2B 151844f6eb4ae2de5908ebf098ff49a8d63d49d4adcfada737b64034a38ba8e96ffa4066f611823cfe239dc4073afab6e74583a6df9ec1b975b00c74eb30785d SHA512 e2def4a03303b8e6697e1c490034429a69033b1f6a9f58c422ae3b1ee4733c6229e728124077f72f2d7fbfb19be9e1418856807c573e0c91c78bb5c135772344
DIST thunderbird-102.14.0-zh-TW.xpi 748347 BLAKE2B 7c6f8e915e7c7966055c2480c7c119d693aa89643117777808068d1364ccdbae7a02a429f60ac3de72354045dcced11e3a575287d36381b36661492df48a6a91 SHA512 40e494ed03ad2894af29026c63b4a94ba2e26e1870ff04c7db9002e20c4d5967c0e7247180ec9d3ae150477dffa3bf2a165c98edd05a2a358b964a25387f4755
DIST thunderbird-102.14.0.source.tar.xz 502877912 BLAKE2B 19aacace87e019aa0523ce080f2fd867860af50813118136c141ef38fcc15f913dd531161e3c9c2bed1450c9e94bb85a30933d60705049fe50ffadf5539ac37c SHA512 4ae3f216833aec55421f827d55bc1b5fc2f0ad4fefecb27724a5be3318c351df24d30a4897b924e733ed2e3995be284b6d135049d46001143fb1c961fefc1830
+DIST thunderbird-102.15.0-af.xpi 556870 BLAKE2B e4a2cad1cc9df3da406465ae03cb456b4144ed50218e4cec6865a5187f6af4c5e6f3f6ebed5e304a9944711cdaeb2dee4aa319109c5a488673d282bbe305d625 SHA512 9be8bd64e85a55be3d72ce557d2975ecbb53b081132a90ffc257422394e7ffbf0dddd1ce125457bdbb151973a4f833b8c02d7eb2ce77d3f8c423f00b0707590a
+DIST thunderbird-102.15.0-ar.xpi 666812 BLAKE2B 90696b1dcaceb74ae658974a65a564a860c906923fb955576b6bf164eb884daf03396e73edad818db0e19f70b629b27c110888eb5b8962b82a2c1e0109a10fc3 SHA512 756434e1531fcc6be95be0d8a790e914bebc29d7ae66a372ebd77f86a832c7dc030546fc6a86af4da7299f5220eed31f468fdffc052fcae8939d2c8ab205af41
+DIST thunderbird-102.15.0-ast.xpi 572289 BLAKE2B bfe89ade29f6d4e58ba6e51bf1fa4cef495e6ba626b5c54a6be34c134abf34df71f93d3e0857299ec5ba99d201308ca7a8e166ce86ceb997d754c4ce4523e49e SHA512 e98e0284dc85d50e51c8c629320f7c4cd175720b57a49c96ce31b081a6fa065d895a3a9118b5c7f64c886f94ad0da7adb83155a3e5d9e961637c09a6bfd30d34
+DIST thunderbird-102.15.0-be.xpi 701913 BLAKE2B 80037ae144af12855b7523af5be9833ba2ace8f2fdada68d741ae5d82f8cfe0793c720bc61c14dab08489299a867cbe2d5affa93b8852e5b06b8890168cc9f14 SHA512 ea9b8208dead28f00ca0c4c8ede6c4fc2003f4582709a26951d4a59cada4a8c574a49847f4a73de2bdfdb81ee0f5b845cf7a985cc101ba06ade624922341d527
+DIST thunderbird-102.15.0-bg.xpi 693378 BLAKE2B 93b1371050abc9af402f8d9a39b936028cca83a2a8ad9fd977984b63a8c12470c5a063fb23fb538bc2f1d9997314d198181bb274c753c73c41740c1595333c02 SHA512 f87fc1588b5eb8c6c966777b60d6c78631ab663cae95d32c6168327bd74f5e1abfd6eadb5081d089838e6ba2595cfab0f2cf365f17d6584142b08ace87c4859a
+DIST thunderbird-102.15.0-br.xpi 626474 BLAKE2B 9a8bea3efaede1f89547ffb3c75f395859abc2834fc83cabbc0ae0496285274e2d51c0afb75085dc7599c7b9b88d2ea7868f3d01b1c0a75d3ab97284aaec5a73 SHA512 56dc1c5f1c3097faeac6295946b4ebdf959e080b3d0eacbaae2b9cadf052f81da3742c084b78ca52749a7070676089d0e3b8a5de1f7932304b34e5614024c671
+DIST thunderbird-102.15.0-ca.xpi 651368 BLAKE2B 3789575adcc3feedaf1030eb13bbd9ebd52b03fb7a5f0919422e9cf2d592820b579895c6bca7eeb559b9d918781c629d69986ce6c2cd18826358c17eadf273eb SHA512 0c95afbe8f98b06d7ec8190af6bd4d473e472dbd42854481248d86b049b8c0fa662fad35856294af940feed1edaef0bc8d683e184ecc0f2c4416242c90a8ee3e
+DIST thunderbird-102.15.0-cak.xpi 651781 BLAKE2B 82d9702d0ea185b895cf4c4d757f260c7bb3f8a478f46719f9bbfdfaa5b69adde040e6ee0a13c0b677e4aad7afdba3a6fa4f6409cd74677413686400dc792945 SHA512 b672cdd37e47d31e79adf82f8e5f794aa908c5500ec4caba281004bca765946fe036ab263a343c1e0ed78f24b0f36642d2dfdb65ceeeb8bb04aef90b8a12cbb2
+DIST thunderbird-102.15.0-cs.xpi 728626 BLAKE2B ff7b1d9705d034c6765aa6d51db2d34743fe6cac88c68b8b3f106d5be6c7aab7b7cbc45e87a86389ff8ff4235d8bb6d0b315106d407da178422615a156611c15 SHA512 7444a4268efa4339a743a441b526d814e94db91d9027d13b69daa8fff1307f9b5e92f4b8c019b5ac794a3bc9022682c9998044e2e10af03c01873d9e7ce1a749
+DIST thunderbird-102.15.0-cy.xpi 705578 BLAKE2B b86ce7c88936f5a68419a13955218a746e166cf431211b1519fcdd88ccd8d20133e56f3e3bae2a962ef7810e2645a1e75b1345070ed5ab53e729b5c282e7001d SHA512 771411cec2c57bbdb79023df4bf0a08f564029171db06d97427fe7d166b53081690bfc78de87d17e43e1cae261e770dd6759558392e8d9de1ef199c838a36745
+DIST thunderbird-102.15.0-da.xpi 685257 BLAKE2B fc923b97249c0375edcb62b6f1fe9575042bd2f024f1aec9ab84b80629c3443695b08f2c92adc7f9a145b360555d05375cb5c9df92715f7918429d9aa7af1f18 SHA512 71174f7b7ee65df72068ae5c92a167dcb3fde0d6d36f42417474e6cd8be9d617a56018ac27dc4d797e4e2aef28f1e890bb6d892b46a5604af30a76bd5c24f911
+DIST thunderbird-102.15.0-de.xpi 717946 BLAKE2B c3097136e67bffd7a4fbb15b5b5b6447a4572a063a7da8f3d8235a13c227f8f065e1cd1afe65290af13e65f1ca2d3a4751e108bb82674ac89cb3a4e8a77dc431 SHA512 3e1d117802a97dd3464187a5589c21ced686f3946c79882328e92099bb480d9a7cbc0b2acc7491c86a1b6f2cb17cc8fd1cd1f937db01f760d79d9efc1ceaf03f
+DIST thunderbird-102.15.0-dsb.xpi 737088 BLAKE2B 14f536a9ff64f4ff467b22ef1a003cf977160f38a531ceb58b5d9143e6cca81e8b987e9687e4751d1bde987b42623baff3d22b1e3c198b4522e10d44c190a2ee SHA512 225d94283b9c73abe401f57999cf0eca02859f1a309fa770257e02facb64df735deb7dd74a0d9daf33c99d4e47223e97668a28bc9c8643085e0e8dd8bd1b66db
+DIST thunderbird-102.15.0-el.xpi 840815 BLAKE2B 1ccb52662c9f0ef52778313c9a5b81bf0fbfb50899b98475be92ab826399cf0f252f8cd2acf6cd500cdd3f1c773f4105ea180c415c525c7e4547a17030e99b98 SHA512 1816f64727d5f1b9d534ccf057cece5383926aa043c4480bb79fbd05b3495c746c6f271ab290d9756cdc1fa7175cc0c818242fa9f32390e4b0bed25b011d2db7
+DIST thunderbird-102.15.0-en-CA.xpi 659095 BLAKE2B cbf810454a543903c4e24059763b17b2e8d8d7c153834e1d3e4d12656875c2f5811454d43f43ba4e39cdc438beefee6eaf416d9d44e434337881b9ce029b4736 SHA512 e6541997e0e0939f4c46c60f1e1fe56356396780f1907945011f0c8ad19ec342f070fd521322c39fbda71201becf2f63fb9ea855275b4e9091a8f0c2384c38ea
+DIST thunderbird-102.15.0-en-GB.xpi 665010 BLAKE2B 6e368b01cafdb6a4f3140c38dd596d7fb2ad7ae0c99e3d82368c9317747f67417bb986000dfddd6225bb38fe0d0cc0b32e3204d4198fe2b6bf94e4037c9fdc32 SHA512 6ac1d01f881902e83205804f675850a36f34b0cd7b8fab22f6095427487744f69a0a642191e98b9ea0d1bbec9c043cf21f32626b1c2ac834bbf9614b19049421
+DIST thunderbird-102.15.0-es-AR.xpi 717277 BLAKE2B 56fca5b357310bdcad9ecc9ef2d419ba86558bf1b0684d97a1452ee85b1d5888aa3dcbce81e6ca93006566e0aee9023a48274f25f2c618065d04987ff69f6411 SHA512 316a998d526e8527ca23e69cfbb8b6effed57eff361e7f4b16937783a5b8c7791f366645f824758b784c39045646af5a3aded1803ceb204293da9d5ca40935b0
+DIST thunderbird-102.15.0-es-ES.xpi 677484 BLAKE2B 7d269b324427f8b1b0225e9e0a696e4538343b3022125db14a28da6b59c11e2d30e2f92a9f9a0f12b8b7e1cadd72037541d27edf26a6930d568f97fd1c5af4ab SHA512 697a3af8535a6c7047b6055e9e5964a7415982a43764904b7a005544eb97dcf00e9bd888906270864f3160a75407886f098b608cd9806992bce06de8245ef9aa
+DIST thunderbird-102.15.0-es-MX.xpi 719710 BLAKE2B 9d1d4be550586bbbd584a49ec423a1d8e2c1cceb66d12aea5ba4e336ae9822c0f6cb20778d67d7c086d5b8c1cf8b696e3fcfa121c71432c0c7ae6bc5e9ec0ccc SHA512 bec945d20902a0bfaad6287bbdfe54ac3c41bf59bb56e6bb195e3790dd12dda735d2fa0251e4c10bf3d1af4e3c06365d37598915144d2430a979fe38070e703d
+DIST thunderbird-102.15.0-et.xpi 676676 BLAKE2B 8d25354a6e1ad7180d039fd8bddc9193dcffbecdee59fe27243e656a2f8edb7591111024ce997a67936bf888706a9a151845cf467b37d078c3360b441d27747b SHA512 596b61afe4926694f7b57320752aa8c743bf195aa611b8dfd1b7a3b0b626b7690fe8780f3b22adc923341285b2bec99f35a9a40766392b9b6f8b9dff5e4e9fd1
+DIST thunderbird-102.15.0-eu.xpi 701829 BLAKE2B 0d3f20149e782b7d24db57aa2c1b70a2ecc5dd8efc292da42272442548cb41e85963623150563b8162524dba583bea4b9183c5978c969938e91b63fe43714052 SHA512 cbaa214471f2139c7b44713e4a1cfa431441338b4e1e07d7132af0c6ce1b329c55eb7653dad7124c5bfc4c580315edbd6f1c72075c6ff8c07904552650a7c19f
+DIST thunderbird-102.15.0-fi.xpi 693487 BLAKE2B 752479954463e89bb5a6eab32d6cfc6f22223c53661b7830999a213e3a205e67d05f8f59a0bc892dc44484383031bcc6d2039a86703850b916ae791032d47024 SHA512 0ed7230fabcee4765d13ce39a32a136b9552f27f9acdc661360d94183a958c81c37424195c4725d77903a9ee9462e35eb2b518abeee977bd3f711a1972fd0363
+DIST thunderbird-102.15.0-fr.xpi 730320 BLAKE2B febbfa60ce801a4f7e66f53f10e8b630765b2956834754097fcfb4f019836606ade8d816f97bd9d6f9d8dbff0b0746c32ae7eef716fc762f313c64d637fda7e6 SHA512 3146f953ae62d3e3c4dc22e669d6b0a932e3f4fe23a6eabd4f146d2703249c01764697f791ebd0d0536a5fcffd53dc6d5f37be88762720619ec718d6248873d9
+DIST thunderbird-102.15.0-fy-NL.xpi 711992 BLAKE2B 86966b24c5b38ef7833db05c4b229a939372e33cf773b97b948608ae77a9e50970fd07a6e742383ea027d0702e447036ce62aac32dbb3576052f0d00635c93f2 SHA512 e5069b43eebd356869498ac73e62508afe94c3f9293e4803be80ac374bc09b08d6ac00d53223f79b68f682f2f96cd149388e58426a68978036822deed2953f73
+DIST thunderbird-102.15.0-ga-IE.xpi 614539 BLAKE2B 569595780e3d78926fad64cebd0ba28049185b09a45683aa24c7492c9c72af64a465dca1cc4aec13426c4a7799ae80f2268b314822017648b027afd68eff8342 SHA512 bc96d4dfcbbd83e69bca98b9b189f5dc095cd1e183b3e745eabae388a16d6456e90c97d4dc76fb7c4fbdf1a14a07608e385f239df262171c9ae7c00cb4030362
+DIST thunderbird-102.15.0-gd.xpi 643576 BLAKE2B 7b7b04ea96b2571e3dea0b3ae26f82c06d09b559ce6616916e8dc474895469a8223207c6c1d7168cf53ac1973498c5fbe945aac909e890748a5ed89cab3321a5 SHA512 635a93894eb62e60a82487462808b3ddb5e11aa4503a8cd49f4640cb218b717db8e2b9c51627a4beed263738667c0a3d80ce3c03fdcd260214d75b08f8698160
+DIST thunderbird-102.15.0-gl.xpi 673003 BLAKE2B 91247cb6145f9f7bde8c625cccf750ea2bb0b4c7331e3f845287be9cf38ba67b23eb6f0a8d9ba05cf57582949f63dc956483b10713ffba9d28f66772bd27030c SHA512 57d517059e67727afb2142ec895466cd364a6cfe880692b949b568f131f098316ecbbd9cbe1af477e4f18025c337373d6fbc8fa9474ef56971b52f92ecaff582
+DIST thunderbird-102.15.0-he.xpi 676373 BLAKE2B 92aa8a509de8ee0a57a044915b1be181bb6614086849b5c01e7f73fa65407724f609a18a721c61024be46272acf47f19069e501267f085f01ef0671897b5961e SHA512 ba1bf23131ae6979979e2165a0447a7c0a620ea8861687a3b856767f912172fbd8c3c382fb01c7f288f9a1cd9dbc9ca1e1268a39dd6f43bf2ab366dc1108a6ca
+DIST thunderbird-102.15.0-hr.xpi 677722 BLAKE2B e62e130b1e66348b66d51e28d39be285fc59136e2b8b8522d384990611157fbac388f5534fbfd7d761532d0d858931d922c25ffe6e02a83b36b5f57078dfb33d SHA512 479ba8c84e46e3ff169f17e10a94817b273450cd1579f2ca8a0c4432374eea8bc0d44a17e6d00f5c723164cc775bf44abcd09cfe20b81fa25b376386dc3dc171
+DIST thunderbird-102.15.0-hsb.xpi 736542 BLAKE2B da72730992be4faaded4fb9069a074b594ecaef194650b767daca1e18af5b087e970d2b08c8f1957500a21b24f04a3133f89835e7923f36f9562fd51276cd895 SHA512 eb75e62854415dfc71def1d0f9842623f9d14d07bae88726b28158e089b2da6228d5c4d519535dff0215e0e207d216fd36648e35f493235c6bc33e3ef56df5d8
+DIST thunderbird-102.15.0-hu.xpi 741202 BLAKE2B 723d1a4f2133185c8bd1f71e93a8299df6f242927def2e5b1a0a2647e352a7308c1a6b3cc7dda051a53342d0bd6fdfb61c2483c13f45a881e8e346cb1ae88990 SHA512 3c70794a2cbaa58b18d380c92299dac9aab42cfb8700790a2fc4e2918e984b43cc08ab5d0d5f91264bb9829d4f8dc4ef355f061d70d303b5ba07cf6d6c3a90ef
+DIST thunderbird-102.15.0-id.xpi 653193 BLAKE2B 7757a94731ead19970bb06dbe1cc8678c47b28c2cecb4734a93464f059852a339c61fa4eb427eec92dc57bb4165487f1cda76a725be89ed43a32a2eb5bccc09f SHA512 27d3fecd10e31d9d7f49e95f4e2109d4fa996d472d636012c1950b1de509c5c7d4835190061922dcc4d9b62509a880db04329b9e83f184248f6bfb8b3ce2647b
+DIST thunderbird-102.15.0-is.xpi 706393 BLAKE2B 48b9463feea54e698ec2f041b2bee3fdebb7a5172bf47aeea45d29626d83efc99ddf2371a0af14f23004c942d6132b0ecf6010ddeb65302ac0e2bb29137a7887 SHA512 cd0e9344c5603ff79568598faac9e73ec12f1885b2f239f8e978ddb19b755146d851a441fee03d98a392f89ca4e28e782045e0fed1515c0b173fe65c6b7aed21
+DIST thunderbird-102.15.0-it.xpi 639987 BLAKE2B 895ce58ee6342a3bdb16c5cc8615982fdf1066326899e6d22d7960728b545d955ef40b04227cbf9b1551e62dcfbdf1d4c97b80d56de5f77037cedd3eb313083d SHA512 e5a67d0f978e37378c93f83efad8c32fb908826d0f02d2faf274eb4494b81308946288b0b27cabf460dcb8c22d46715d07cac7119c540425a090746959e53697
+DIST thunderbird-102.15.0-ja.xpi 781907 BLAKE2B 75f273209a049b6315cdd5c9ea99677dd3c552a0e8146a3831f06f1ba4217413233022ace2104d8dc7f01edb4601a680f81e7e95c10270f0daf6d888d0fc5827 SHA512 3beb660e6eeff2e3cae8ca334cb6161c214e8e94a774903d021312341f02454456a6a3403e70260d5f6d753059ef006e245bfca39605e4f9fd95ab2e5c51e3f0
+DIST thunderbird-102.15.0-ka.xpi 769804 BLAKE2B eea73079b74bd83ae1e95f65b71ea358d4e94a5c04814743211131433fd48dae5639f0fcd27c22242002d064b589c5f307afed5215845e00f242908495277b24 SHA512 41fcc153af183a9e64bb8e0c3a5abc5e6f2298779c57f2beb8354c76f4e0458042acfb7da179e42f0a8eb6d6ac462798ded18ad37b0e3aeef4d04578040b57bb
+DIST thunderbird-102.15.0-kab.xpi 702705 BLAKE2B ed80233868b49e7561fea8c2272cb4c3fedd0738f0837d8c04f59ec69f6de1a045efa128d2079981bad1f91046e838042b73b18d4467198126cc79c37a20f64c SHA512 67bdb20cc361d7afed341d81fe309d9bba6f47844fb1183e0d18b25aa59274ab80d7f8884990bee15924630d4c7a2e2e0e27b489524876e54ab0e5bb807fe324
+DIST thunderbird-102.15.0-kk.xpi 810969 BLAKE2B 18bd118021467674353d9f50c74a91c447d4a9f97096f72054af9aade54fb6c8276951e9b51544fc986f243af4023af142526833e37d0ca74eedc3820808599d SHA512 596c4f7ca200e0776db7e58290a70b931d8b2eb0fcbde43a42c5ebd6d43c59bc0001b1ea2d80654a40299a9b1b11efb12349667db896904d4761e05eb90c3ff7
+DIST thunderbird-102.15.0-ko.xpi 716822 BLAKE2B 880f9f728d3bf3d096f135e508bf1e66ff6470857a5c20877df9c29ac802774b2686850e2b4203d1870e5916fd03e445a92e414d7815e79b703dd095734717cf SHA512 822f6f953071998e4ec7e7469d8c3bcafcfe83a2162a26ece09eb69824254a465bb1f0fb495eae36650cfc1784026d2c79195df4f65c67b6a7a90980a1501c89
+DIST thunderbird-102.15.0-lt.xpi 690857 BLAKE2B dc665f1972abbf2f42e0e4ea2e754ee33ca856ffe6cc8a4450e7d660640a12ae4c160d9caeb937ce97ea88ea528059f1eb80073cad82d0f3efb118c33db47f6b SHA512 c96ee43189dbe2aebe43f8cfa0e8a565b16e2aa6f26e4e2b306f705b943f3c4ff9c567e21dde7434d590d61ecd6b2fc2aac7f123031762b9ac6ed9986b86564b
+DIST thunderbird-102.15.0-lv.xpi 617768 BLAKE2B 09a2d393788af2201236322d79f843519ca336218c4b73b619296e69f85ff165485c07490ae87a3cee24773cd2ef8194e44b9b700d8f5350f23706accc095248 SHA512 3379503707727c2745ffbeb45df11effbb0238585fb9711abfb8fe45b0cde0c9d0fd019e4b7c6303b38a36054e5f1d4c8bcb6e1547a33ad64dabece11acd581e
+DIST thunderbird-102.15.0-ms.xpi 577760 BLAKE2B f77333d817bffc37f8638e5fd2d08caf4dad795ae04e2767f90f1bc2fe5d443f9bdbd072c69dca34cbe0ef194c1b0fbf00bfa05223e427ef42a6ec2be037b26d SHA512 94b2cbf2c9740a1d0aa6403c7d74c991b2b3de27b5e6b125d56fb836eee81dc1daf665d6ae4eb81d34af030051523b4d98267fbea1bcb225b4b8ef8653791da3
+DIST thunderbird-102.15.0-nb-NO.xpi 662683 BLAKE2B 7c26e0f8e63d84d27869f116e55dfbd08156cc3a51aa5383f9cfb8e4423a856a6068becf52b433d2aa56e12b8cff02f7bbddd929ff5e64cfba49a3bffceba08e SHA512 6ad80558da4e88a41361aafdacbb6a233ff55ac4e85ab170dbea3974aebbfcb1191716166f9469adbbcaf419a76eae3baa07c449170eba92195e432d27fb3c8e
+DIST thunderbird-102.15.0-nl.xpi 703277 BLAKE2B ff633a2d09cd650610d6cd19e5931cff54313b1dff3e4e51f8f65f36fc2ff58c97e9544db94c9f1e89eadd5edcf77aa500697ab0dd94b7bea304638b16aa999e SHA512 5b8ab8a44d6ab041e70960418e086d9cbb6c66bb9e9b4ee507a97c7622660ee9bf1616a30dc74ebbe67b38a42cacb953bdaf512d246f556df8aa175650851a28
+DIST thunderbird-102.15.0-nn-NO.xpi 672833 BLAKE2B 71bffdb35d734d1c2818c2370e354347321d0a614f0874310b1f01f41242b38fba97fe183158de9c4dcf1496c33cdd8de8ce38af6cf42a60880ef9927416ea90 SHA512 0a819fac2bf907e50703c5e2c1fa20d2bafdc6eea08a27a17fcd466c8fcc4e87ad56338efae99652da1d7109875ff2e8bd784b7db6a4ef421f5d38699a69c20e
+DIST thunderbird-102.15.0-pa-IN.xpi 668032 BLAKE2B 5cfc770761012f1f85db061fb17ba2c92f44c1599379896672db32458adaee66c1e90948a3dae1afce878238ea86f22e5d69c26d01a4efad61f8b420ffa2c02b SHA512 5495b8c73b44479ac746485400de6059a3a94275cb7a2442d1c8b70223602568db9551003f81b7caab61e8ff2c3f86c4570b10a43c56323a9cc7a3f17ab12b65
+DIST thunderbird-102.15.0-pl.xpi 716233 BLAKE2B d47cddd57643ba4f5edcbe5093726210a3d75335a72a381ad925f4fd2f7a42f2f4e1e749b38e4a9f7e768c7278ebe7839e41ecd52218e30e8380fe8cd77d56dc SHA512 f00e1273525025aa0d08c9252b06f7b6b931226f606fb3dc2bd62893ec70a747294af561ae4c9fdfea2dea1eef8956505e4920519c2086f65d689c7560b7c750
+DIST thunderbird-102.15.0-pt-BR.xpi 711152 BLAKE2B 13f5dd64879b1c52af9bb017091f0d433ffb88350484e082e3c08f5a39bc5d36aa3b8ec471bcc92716d02296245ceb467699e9c39f4b510ead778d02ef2ba30a SHA512 3e7d9fcd2cbc2fab5d1ea98c8be7b8360c7dd9ba49c3349635e4bcdd8e93d6d56cfe472c89def9ebf39910265f1b8bd10d16974e35ced7ad7755540e9cdd44ce
+DIST thunderbird-102.15.0-pt-PT.xpi 686912 BLAKE2B 7de792a3ba13501c8fdc59331bf320ce2846220c066620d05f601a17f3f1e21f45a0f2ab98a65eed37693eb356866f378b87c80f11d9e7f5bf04dd7c1865e1f6 SHA512 82da03045e9aeb34bb9f03db16fca1ab2a838b395a8020c1808b18c4aeb9c6ae492456f116f61dde0bcb901a704ddb6d0e15d7bf8d204742be5f52348f7c5c4c
+DIST thunderbird-102.15.0-rm.xpi 701684 BLAKE2B 42912e7bcdf447ccfb9673fdfb4d51392cc7b0ef08c29861ef8278d4279ebb49a54c9f8cb58b6793021e2f56c27c944fc3d810a50e5b084c9aa176da0de581ff SHA512 56ea4668499051b9cd3ba3ba5dc7198959fefba292dcdd43b9a72ed304177368eba51ae6d2aeda53a755e4e2a08bf8ccd77303220a19471034305f56a782bd40
+DIST thunderbird-102.15.0-ro.xpi 661284 BLAKE2B fb07bf728d9dbe136b73e7667a2c8928f672fe0cfcf42afda58e93319f0e7abc6348efec48605d258cbb724f65cd9ab9dea36a67dc792ac95d88e6f9aabb6c26 SHA512 bcbee29f124d6eb00d960da8b4b65f84e10222bc9632346643319a39f9e6e8acac7496b09a01226fcffc0a9486ae97b83902e8a77f6d69d4e85862c53a1efdef
+DIST thunderbird-102.15.0-ru.xpi 827223 BLAKE2B 2b05117957b2dc6334b22b287fedeb982bf68afe75c659dc36f198b6c62030a186a8c2b8e54b8bae38adb29aca0380f76cced3c66bb94de3d3c8011b228b0099 SHA512 9c98175577e3f365cadcca827025b9df733df86f021ba8741a53c645fef6971ec053ed4b4e7e070fe8fadeedcebaa97faa2b3bf578b26923dddf126ff28b7905
+DIST thunderbird-102.15.0-sk.xpi 740983 BLAKE2B c1a5c993184223813e880f6d1699c4686c8fb9d092c0d936cbda6da204b9a9bb5657d625a180079bf241b777cf490416549edd8e50ed2c8b2daf609e14ace2f2 SHA512 a8657bf00a7f1ddb810d8218a8f76a435721d97ff6a62c5188f5281c4ecd3d609ab50884fde2b57d2b6d7cdd4781838724a0719a5be03cfda4abe8f05bb144ba
+DIST thunderbird-102.15.0-sl.xpi 704059 BLAKE2B e6f95767daf46cc834f8aa08d4ce690a3c868bcc8e7320a1f92112b9dce1851a20702087eafd502c3a2a17c8650a32bcf797bb20df5c5b6357a49a56fc3e08e8 SHA512 5cc506adf686d2f0841fae3545adbce46b8bcbcbb43002ebcbfbfa8f901b774927ed6a32e5f5fdd6830ee468a4d058706e6a228c88562e0d71ede57d1c9fd4f9
+DIST thunderbird-102.15.0-sq.xpi 726038 BLAKE2B ce798cb5f9b272c3333c9eab0383459ae3ee1eeabb8cbfc9ed41c39ee9f56ab306f0fbce344a2098918af38160ada0024d4b2891d64b74ec7034f25b897f3126 SHA512 a2ca3668ce3f1feb77c5006f4e1f582302c2921ee35294b70b7de32f7fe1dd5e5e44c4b9c026e3dd727a71450bb417ebe11afea2a9526196691ef25432ad4c7a
+DIST thunderbird-102.15.0-sr.xpi 720558 BLAKE2B 0ab5bcbdc5b15a6e16e723d87c004e0294ea8a4c33e32b451304eb09110d3b45093b7db904313d90de40681138362aeef3d6b274e888f8dfbaae88d84a46cac6 SHA512 b9ff378191da230add971ef892b9dd16f68452195e08fe8354a6da48367065ebe8972b8330b7527134367028230d1cbe6fa35adfc40d383e95a944ff45be6ca0
+DIST thunderbird-102.15.0-sv-SE.xpi 706956 BLAKE2B ae39cddb3e7b8d64b05597ccc3b4e9acec075b58ff8be5396ef5ab2387100f6d9ef35e33064a9467b7fc1fe4bbc0a77d3c0c611492e03acf9de0e364f82382ea SHA512 5b1563a0a256f8eeb16aa0a74a0da8bc8974c24dc96932a5f04d276da6361ac6df81a03be85c06fe14eb4af2012872d5f16737467b67109005d7d03c19d4bfcd
+DIST thunderbird-102.15.0-th.xpi 758237 BLAKE2B d2e549ecf7e249c2a907cbc5606148d789a22bb590b40c28e17f9eb8466b06c7cdbdbd7b4b36a0302d5ebd5db3e022dbf7ffac129ff0769deec7b10a08212a83 SHA512 9fa4a874aba722f98b43974f0b85b6a7bf7853f0eaffcaa5aa29487125b34029f86126aa705677208a88730eb7d7ce4c4e1695421ffb6b348e3297c9c9e0f630
+DIST thunderbird-102.15.0-tr.xpi 720177 BLAKE2B 57255a74593d79aadd5652cb91d7ab969ecf857d825b846a6f8b7d52dd4f41c7a7fe4293074f251588ac6c954a26230cb84a89d89943f9389b1ed5f5391743e4 SHA512 576c086495e4b49aa0ef68cad02925540c8f8d3b9e191ef274f6fd6cac8ef9b215b7d0ce28ce72d0d060d7a499cd69550e6ed02dbb39fbad3ae21e6ef26ba398
+DIST thunderbird-102.15.0-uk.xpi 818666 BLAKE2B ffa69ff0a7df3de03a107c0a8a7099fb8d4f332aac6b182c2313b913fefd644cc9246bee08c35cb026894fb2745ec6330cb240d91e2b67cf7d431d2b30b791eb SHA512 7cd881d2377f03bd692f23a58a55f73e963c6b98a431e97ef2bc26723f09fa1af720cbc14c54743d2e15ac06ae278de4e34196b91585d2814d66341ac55c5cd5
+DIST thunderbird-102.15.0-uz.xpi 593015 BLAKE2B c504f55f36f2c3efaf49aba69efb5530d51cb39c49cb8e3614fe8147d07dabbd6c06a8a5864e38ec16007d480e31e909d0d0747db71c6f8a3f84d78116cb3999 SHA512 3c33dc40e2a6bfe50d4fffbbd8f88f70e39ddb9fe8de46f1bc71f4428f96d36b159e41d29346b70fdeb529259ae830930ca3944182e295f12efed3487ecf6b31
+DIST thunderbird-102.15.0-vi.xpi 745664 BLAKE2B c216509e251c68a65ba8073b33f617f9338905454aa052b18cae2bcb37b707c575fa6bbee242c8417192ed2f61f49e47e76c439709cb4a4f8a44420fdf878215 SHA512 9a818d2613acc1888cd86e5a1661a7163799d760bfc2932c02c641bb2ec25ae141dac550d33b85c5b8d68be388c646a65debd823c1af7c11ff3cbaa0414059b4
+DIST thunderbird-102.15.0-zh-CN.xpi 739889 BLAKE2B 34a8010d8196439fbb65944d7ee1b949d301f5a68fbc1b2c2c00c68bf99b18033aa9dd6b986a6cf3dfefbc3f32f20264819594a2b24462daf626eccbfddeb86f SHA512 bc71e1b668cd4a6b5e73d07662c2ebfaf16600c5c5060f3b01f3541f8afaa2c2fddec4cb0c68d22f0115a9b4a8e93b32ce6150ab806d17c9c79407cd27f78010
+DIST thunderbird-102.15.0-zh-TW.xpi 748348 BLAKE2B fd37512a10fd4d7c3922b6fee79f619567209d459dcf5fe4500bb8ac720cb47226fca7471f0e13225cbacaeb2ee67e4bed98122af7abc055c93138033ad98f6f SHA512 95a7f02da8ed56622ee37eef4db013535364f6c1f1ceea971b36fc4ee58056b73846e15a3dabe542ea1107d286b6842df82ab900d323412cad164a45b6ddb548
+DIST thunderbird-102.15.0.source.tar.xz 510180232 BLAKE2B 3f7adaf14d0d4aa271520603c877a53ba20e41a239d70de2789fd9b8414f2d9b6c0b7451aac7a9f490607ee4266f233eb91e420e30d83f942cb96fd925a0f302 SHA512 11d4c77049c532753c9b693d69ab9a0bcd0eb13d49f87a511ad8ba680b70041ac6f64c5f9cd5dd44246d46e7695d9bd51146b1fe62b0b7c9fbc862eb53d5cfda
DIST thunderbird-115.1.1-af.xpi 542155 BLAKE2B e5e5ed36fbce32d08a0a2adca1b7fb9c1d3628d3ca3cb9a3cde3aa044712cd4a409796025ca27579ac131f99116705023d765ebb1cf69e8a103c563d44b25ef9 SHA512 ebc23619f5da7deb072f1f8d3f12c9b20c9999f295462f9ee69d8735a82e1ba73359bc5a3a6e04d00942741683f5a399a0520f20b41f65be46e0b5906db152bf
DIST thunderbird-115.1.1-ar.xpi 653730 BLAKE2B e431167a16c664416b673fdd9575562a3d0f290621f6cb78c4f06246b405e4fda5d35a67c5b49d2a1eb71e8b64e575c57efd07c08488a9cad6f5e9cd6bea49c7 SHA512 a96c994b7b1497b752d0b84d7e5dc3665d21d8e186eb62f43d6a1f1b3d6a117390b5cb9b8f04dfc9f68511f40d3be5d5fa1bafe803f5ca65acdb5eae5b1a4796
DIST thunderbird-115.1.1-ast.xpi 561120 BLAKE2B 28daf4c9a22f8c64fdf96d492c41fbac097ee68042bb702f16d1bd78bda9f838b35452427e41ef1b5f7496ac473dbdeac3ea7c53e02e49ad5417cec8c642707e SHA512 decf97e53823b1b1a27530d35d153b61a9ec4013303a6092f2cf5d5394eae2bde5ce5b743b091581254a64da44fe644f68b8a3ffe18e85356ab56bbc45f24492
diff --git a/mail-client/thunderbird/thunderbird-102.15.0.ebuild b/mail-client/thunderbird/thunderbird-102.15.0.ebuild
new file mode 100644
index 000000000000..20088fd5208f
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-102.15.0.ebuild
@@ -0,0 +1,1190 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-102esr-patches-13.tar.xz"
+
+LLVM_MAX_SLOT=16
+
+PYTHON_COMPAT=( python3_{10..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}
+ || (
+ (
+ sys-devel/clang:16
+ sys-devel/llvm:16
+ clang? (
+ || (
+ sys-devel/lld:16
+ sys-devel/mold
+ )
+ virtual/rust:0/llvm-16
+ pgo? ( =sys-libs/compiler-rt-sanitizers-16*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:15
+ sys-devel/llvm:15
+ clang? (
+ sys-devel/lld:15
+ virtual/rust:0/llvm-15
+ pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:14
+ sys-devel/llvm:14
+ clang? (
+ sys-devel/lld:14
+ virtual/rust:0/llvm-14
+ pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
+ )
+ )
+ )
+ !clang? ( virtual/rust )
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )"
+
+COMMON_DEPEND="${TB_ONLY_DEPEND}
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.79.2
+ >=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 )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ 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] )"
+
+DEPEND="${COMMON_DEPEND}
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM"
+
+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 ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+ einfo "virtual/rust:0/llvm-${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}*[profile]" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] 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
+
+ # Clearing crate checksums where we have applied patches
+ moz_clear_vendor_checksums bindgen
+
+ # 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; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+ AR=llvm-ar
+ 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)"
+ export AS="$(tc-getCC) -c"
+ tc-export CC CXX LD AR AS 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
+ else
+ # This controls the backend of the bundled librnp. Choices are "botan" and "openssl".
+ # RNP Upstream recommends to use botan. In Gentoo it's preferred to use system-librnp.
+ mozconfig_add_options_ac "+bundled librnp backend = botan" --with-librnp-backend="botan"
+ 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-lto
+
+ 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 programs for extra features:"
+ optfeature "desktop notifications" x11-libs/libnotify
+ optfeature "encrypted chat support" net-libs/libotr
+ optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas
+}