summaryrefslogtreecommitdiff
path: root/mail-client/thunderbird
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-07 01:47:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-07 01:47:32 +0000
commitf0582d2144b45247a9a3e72569c44ca9539c0f4a (patch)
tree2d8e5a76fa75b9eb31410f2b077b45cc8bb8fdc3 /mail-client/thunderbird
parentd0283dc748c38f55706c7e4c04f4848afeef54a9 (diff)
gentoo auto-resync : 07:03:2025 - 01:47:32
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest67
-rw-r--r--mail-client/thunderbird/thunderbird-128.8.0.ebuild1166
2 files changed, 1233 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 28766f946482..484998ec3a31 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -5,6 +5,7 @@ AUX gentoo-hwaccel-prefs.js 162 BLAKE2B c5f2dfb727081e2d538c262f12c0cfdda31cbda5
AUX icon/thunderbird-r2.desktop 913 BLAKE2B d065ceb9a6bff30bce0ded0410a90a55f04cf19e237f26d5573b5956eebcbeec6e0ad94ecc4e306d51522ac511b4e8e9cb9c452ba2a4496e2c9a340a991709af SHA512 92b7e7f8170cbfd765935d4ebda91ab4292e2533fa6e07602648f19ba0959fdefbd00bb3552498f455bf8c38ac50711fedac8c52204751bf60596ad2fca02c67
AUX thunderbird-r1.sh 2896 BLAKE2B 140047417b24e959fe6388c4913457f8e3e786158b7394abf7442b0d2e83de21238e58983845a23b855e1aab60c9289e1a12af430eac9a8b2d9929da97de2852 SHA512 f9b989152a8a3ac274033722c77ec19374085654ad6c85ea4db6f8af8f4b2066d6d9f82b610be2db341c8ac867547f54f806ca6571258ed98dd9e2527d21b357
DIST firefox-128esr-patches-08.tar.xz 17564 BLAKE2B d904b74fdae2e76866ded11de5377a7b6883d35996b358ae3419ffb7da53b04b2c7d4bb10d48998a8318a84e8221de39955289cb33a8f278c131b4af2006be62 SHA512 344a2d04dec679cd8ed714dcecc9dd5b56696803cee9267e7c0c45c439d78728e7eae674bb5f0a64f2e5802dc59c1ec25f1703885024d88bda8a02e2b3e0d69e
+DIST firefox-128esr-patches-09.tar.xz 17976 BLAKE2B 78f64f5086951f7bf2b304c1148154647aef5c4e699257cba5e94a83d8d8c159a591d0b2a7a5f8bc0f8ec28d5eae66a0783b45f94b4ef713282a6f88e46c75be SHA512 159d8c94af0f90c10baf7446e573a37397b3be7103e7001fb6b38845a28a41793c21ad24c23e0b3cfc4daa2c3a6040ef701f612693c9f4dfff8534f82e7b18a1
DIST firefox-136-patches-01.tar.xz 12568 BLAKE2B 9056b1c750eeb7c226bd4ff5ebdb03d491177d93bbee95552f7176903ec8796131a491c39304030370ed55281f92585422e28926b5f7491081d33912360d999f SHA512 48548637f6152fd3a72e283e3d16708a563fe84cd22d84129d5bd58f6b6baf7a6e50d521cb371ef21e7b9f95c13cc72531a3e1ab735abb70c51e5c02424fb2ca
DIST thunderbird-128.7.0esr-af.xpi 530351 BLAKE2B 665e3c36027491ec674b4d11f668de264b9e7fdb476930dd151a7df7449759be5768986ac83ad348f6a9e1495ce34faea05a3647e31503a0a531c5ed35dbf516 SHA512 18dd42b98b74e951d624a868c89ae9713d5e5b1e991170506a880d2ab8ddb22e834b11a42bf9ab01c2664742eb503afcfbae93dc6baf3c0c2b5ce1322e545632
DIST thunderbird-128.7.0esr-ar.xpi 686986 BLAKE2B 4b219c2ddb940ea9363f86167d1d94acb68ebb280a17c761d8a54b09dab85939f4fe861b82c6ffc90b79be061b85167b35e9e96abde1ebb5732d82f59f9e426a SHA512 f9e314831d230b1488b64056caf22a410f4e883c50e697746965949775333f785ed0316d0baac1df460c33f7724eb93a8e0784d7ee99d5fc9513245552f7749e
@@ -136,6 +137,71 @@ DIST thunderbird-128.7.1esr-vi.xpi 794033 BLAKE2B 94d10d0287650d3864dbb82a162e2c
DIST thunderbird-128.7.1esr-zh-CN.xpi 794062 BLAKE2B 5b93207a294c70d9e6305ace560209e318f3ae353649003a7feed1d62621a78a268d68452544e381176538ab0d1aa6e8dfb1dd98bc210154a91ef5f3b2b33649 SHA512 f75913eac9ca58ab3a81ab1a28d84557776506493e842644cb272ffbda3599a380c89fa4c867a6d9b256344814a3d3bcaf3caf629d0e6d07d74b13301555ea6c
DIST thunderbird-128.7.1esr-zh-TW.xpi 797334 BLAKE2B bec51940d11ac011fb0c6d6a063ce0a97685d90b5dbf56611476f615282f6db7880009ff60122f35bb56d09f5f2a7d87c4d7ce05eb821d58ff479b3608d27fe6 SHA512 f2697c244fdb85ebdfcec4f2589d1611e0aa3e88f7d3f3b250913782a4d996eedc7bef09dad4eca7cd6dad0f45b5a0faea5694aae2499ade0674ce8ce70d8873
DIST thunderbird-128.7.1esr.source.tar.xz 679801568 BLAKE2B 27840ccf9bf8abfa681cab54cbf13dd176abb107853b148a2bdde443f3a25a99d4ba99aa701a7397066a5efaaa2a941b5687074414ce8882f614f92efd1c2b46 SHA512 3f84e1f1a83379da1f154b66dbb5f941d04548ad017aab32aa9520f4315edb524e3754ac1fe9a7ae27f7aa33e2881c6783f11ccc53cda713f107760b7d880667
+DIST thunderbird-128.8.0esr-af.xpi 542241 BLAKE2B 27f371983be4afa1c86b4b027763a27b03414a4db04184349480fad4134d5ada0fb2b1be72c64653398c7ce5e75d90de64afc3cf2d3c74d21599a4f48e1da98c SHA512 2bf2c96ab67d50de58af301d6deee1204ccf096f836d1b3f1a76d6b60c93df49506b2418e2696cc8539a0dbe2c04bdd76c02279ca3b34212dacdcda866340f21
+DIST thunderbird-128.8.0esr-ar.xpi 695797 BLAKE2B 6fa599cc67fb932e7da3c2e9f207e4b612592474eb798f21fcd43b991e164f735aee695bdfeb0478d59d37bb2b5e517b3b05cd6da20be96170cd2fbb67e3f4cf SHA512 59380d5a485a70704fc88fa295149801a698ab1c256a503de71faef09f7a01793b6f556f30637d38aba5122245cb58e94ae9043b4cf4b4c0b3eadec9d7d6f943
+DIST thunderbird-128.8.0esr-ast.xpi 566202 BLAKE2B 3d0b4501fbed55419422eccfb6e77ce347f2506058fc397a7d093b7a57a8bde81911909c48085257f197489ed023d568a9cce5ce6aef21205fd825ef977a8655 SHA512 42db63d7b71b0f17b2b790ae6fde130f0393b9d2a1a26400ba449767ea5d6bb8c53cdc3f735b4087d95ae18ee5413d6ae85aef7623005da617f82cec715c88d2
+DIST thunderbird-128.8.0esr-be.xpi 777280 BLAKE2B 090a94f730a0338b00ce878ca4cb519612ec06969e4c3c6b373d7e687c0e5128eaed6d3db51d05bc8f7bb07c9eeab6f9b1da0f070513fbc0aeb6f6333199f985 SHA512 df3c4a923f987ff0df6af1737d81061b9326748bc92c598f68efd22515e6be7e2256e1725e06634763ba38ca0252fab2a46ee24a04e49dab3df7b0ec9c32ddbb
+DIST thunderbird-128.8.0esr-bg.xpi 820584 BLAKE2B 03c0791c4fcf53c00ef98eed2f21f6b69477a08e2011c61ab654ba65bf2cc4a074d6982df36d0e2a7b54c39637c5a2bab4b702354e375c6d3f0cb924fb92e789 SHA512 9ce423ef4ceb3e51b8a0e8f79f032e590983e926504d78732da2560be62fef42e142caab1e19f88c57a1444ea64e19e8c613c30b8267347134cd945a9563a2da
+DIST thunderbird-128.8.0esr-br.xpi 657273 BLAKE2B ac1e892e9d419e982dbe55f24a4dca460bc2ba5df99035957b3e14753cd2cad22cea7b8b6d75414bf1bf37979cbc699552a73ae2e777344275549db2b0ab6086 SHA512 b1e4f432e51d7caae4e5a35521a1c3d295b76c002f22a0de0bd6366248db10af2c18f83500cdcc4d990bf1a7deac1ad16c13658dbe52d57b85f23583a739699f
+DIST thunderbird-128.8.0esr-ca.xpi 714028 BLAKE2B bce491ca2b85653321412dc2ffff0eef8c907006a8a087166f9cfb7d447066e0151c856c5329fe2a59ab1c314f0c6b72ab4b8a82ca7fdb25a4dd58cdbe83ca32 SHA512 6e2411eff7ce6fe72a446eda660c52c18d2dfe7449f9e612f836df4149c5e96cfecf4c99b78a77ddecf77ede2fe03f7087cb8f0cb70897c1e5a94a34f8807ea8
+DIST thunderbird-128.8.0esr-cak.xpi 676495 BLAKE2B 6a78be4627f39083ba0cca40058dede7980fbf2c0cad0868b341e7f496b0d4b9b8b8786cbbb19fe19c298b7fca0a941652f395c495a70e23da752cbfb83c4bc2 SHA512 18eb0fdf96d1f7475388254893afb83458deec1286392d0b403dd0bafde2e996cad3ad8d34d2bf4b3ffe3db5a7fabe6c6ea83ce5343bb8ccff7620c9fb10aa44
+DIST thunderbird-128.8.0esr-cs.xpi 795938 BLAKE2B ee015ed44455634a0ddc33c1da7b43ef97cc8423957adf4d762c1ff6a25e3e038f64bb57df781d446f13c96ad77f28396ea60679840e305735f2a1d640672fa1 SHA512 e0e0912c4da0e2a830561e86331885c22d7e48a1cda62815b2df3d5b3bc2ef2e461f85997e21ca0c93e51e30fc77c23af24d231e3a93ef4e9da44f8a7ee8b2ab
+DIST thunderbird-128.8.0esr-cy.xpi 759134 BLAKE2B c3ff38ad14b77ad16da39b92bb4d38dce80852400d8dc203f5b4fb53fac6b2ca57e48d140fa3c42473b72384b323f511696ddd3d8d1987e10ba0f2681f5a4a02 SHA512 893d102e3cde1da124eb527551f619103d41507d7459c33f63aa895695228469f9ab1c5b9c60c32ec032474c82c790d4b55401e75536b3ead7622185772945ca
+DIST thunderbird-128.8.0esr-da.xpi 745005 BLAKE2B 827dcb29ae3caca6e326a839f35466f7b807c52478932ded7af25acb7185890e01da362dbd03e0d4d7eb4ea1887c7a6e33392b81867b6853a43735c78240aa7d SHA512 bc8b106595fc5b199a4c8b0e99478145f9a8674154002f8d2f8eab1e947b8931480e441e570ec3caf16f81854b42411d7906aa34abbebbdc1c502526dc157817
+DIST thunderbird-128.8.0esr-de.xpi 777493 BLAKE2B bc506cf15db98ee6794dae288408a1a8bda2196eedd10e23001693b990c3ae67c241da095cd1087843dda2c835224085359faaadf12d1697ecefd146dfa22014 SHA512 db654492c108abd40bf627e534eab54e301a9c87fd2c6f4e78e69798823fd98a786e7f98ff720b4f9dc113170a4a82f5b3e1adc4b93df63e537bdcb6993e05c9
+DIST thunderbird-128.8.0esr-dsb.xpi 793687 BLAKE2B 43a2a1c5346de1e511704725c3190b8d56a7b025822ec0de2b62dcc75efdba371a5c273436271d9302fd1b6b3af820cdc6a804842e0f58e89517eaa212509fb9 SHA512 8e7e6bfaeeca1e31d02010bccb2cf4452087c949dad7395c14bafc93b5b0a9a69944a92765195b8cb9992bdba03e670c811d12032e832cb69310b5f0ad1fd7ac
+DIST thunderbird-128.8.0esr-el.xpi 898950 BLAKE2B a8ef5a856422d29d2e129f33ac852c53aff7e5189690bac6f0bbeb685a42ec16f624e8958c2a3369b8aaf0c9807e787c342494731e6c829b3b1ac078093b6fd9 SHA512 32d7fb088478a1f24d085bbdcc42caa0692deef29995acdc27007d05d12a78a1c1340ce7cd099913316eaa6423104ece46df8bedf59a625fedab62ab27cd5ec1
+DIST thunderbird-128.8.0esr-en-CA.xpi 710348 BLAKE2B a5a33c24becf34176c44f7c47b2ad95e9c106b40da15afdcdb58536350c80ca6320192218d15142dd6a021ecf4370cc38bde0fb22a3bb5999aa68467a4d4be20 SHA512 a5d51e66f04e346c3341a0a2268b1fcb950ba558f04ccb632bcebf1a4702328d10fe34e1e27eb94d5e4b0612846a238d113123896315bfdd193c784a14b5a1cc
+DIST thunderbird-128.8.0esr-en-GB.xpi 712291 BLAKE2B 3e43f90906b337a5610cd982d42b11b54764401120805c9c30b751e1e7515a9ab4693966e364e6371fca528aab2b1d03829f5b960c608102413402473f67e72c SHA512 899fce9a43e20cb6cda0f241c8edaac8b0e54d45e4cde6253b2cf1253935c1ccc514fee27708d544b08c2ba1ce6833d93f4490c3a5af1c4a675b3b390a45fbf2
+DIST thunderbird-128.8.0esr-es-AR.xpi 768390 BLAKE2B b411f80eb0e832e0c4694681c55cb61f6147c6be6b8d08e96c9a391ea15ab02acf0e6d17e10e027b082944990a5853561a37f4a2e082c12f0b16ade981ea8ce2 SHA512 f82c6342bd6bae158bf6bda86dcb531bd7a292eab806f815f23c62aa3d9d63cae79f712a6376060d4e9c0056118be143d582f2bf54dc8ad389d2453c19a37334
+DIST thunderbird-128.8.0esr-es-ES.xpi 742908 BLAKE2B 03e14d0147fcbf67a3db0dda9fda08ee2621d74114cd0ad415a1e43b3fe1e313d0bac484f763acc8463df951d90db973e68942edb3229e656f6f8d6d5f8fdb41 SHA512 c9aab3bd94c302774c773043e7a106c4c51049f1d8bdd4193ba220404cc6433373d8d1002422724154fee5b5761fc6161dff6f4c780d62d717f88d622e39d20e
+DIST thunderbird-128.8.0esr-es-MX.xpi 759030 BLAKE2B 2e901e33026aaea4bb70eee45f50e5e0d98a49b9eed8c66f7af556af70e8ceda5453164075acd902fc08ef406b20c80dd271c134d65c3f9381efba8b12ab1029 SHA512 0483c38013a480a6b74caf959cba0a3974b754f7385c94888eff967a8080b4cfef7c237806285418339f62da906d6a22395f1d48abace321ecdb8344eac83ac9
+DIST thunderbird-128.8.0esr-et.xpi 702583 BLAKE2B 7127da13d02ca5e76b459f84c0fb6acbf3ab3f81fe06d0b92156cac62d9ca505097d6037031f2fd3d85002dd025c61d36a1d92d37773c5e944686d8081b33aa4 SHA512 3256241d53907cab2442400cb741874d32aa70d36904a926bead3998cad8ec69b210df5cd502b02bcab429f96f10bbcc2856a3ca1d9550a29e8a8b5acb58cab7
+DIST thunderbird-128.8.0esr-eu.xpi 744876 BLAKE2B eb52d7ebef57669519ebe88c83d656795ae0623bbee86db982e08bf8468cedf367122868e0eb8f41534510e01e1077506ff2a37ebd54e4b30f8d0d2219b95549 SHA512 0a05a5f7f23256242ad8287e2d2e3ece9f979486b6369e7c951fdb44f84fd2a6f24ce8a2de07d36f97db7a60c484321c11cd94fa530330a18df94cea4b3cc379
+DIST thunderbird-128.8.0esr-fi.xpi 743155 BLAKE2B 213844ff4baa84d96924d74b6eb2cf54a66d9dc2ad1bb0e5f9957a76a0278664c8ab970596420c68ad34345a83e5389164034dd5c880f2022859f9e0a5e401df SHA512 738be9971020c2241da8c6b8dc63d2baa0334c5a5463532247c2a55c8976f7accca2f15745794a94be6df53031aaa8b275ab4260a0a230da03c9a51603176780
+DIST thunderbird-128.8.0esr-fr.xpi 781730 BLAKE2B 44c322bef1efc0a910198b6d2abe8e619992111079fd8c817672c2f3990a53af707fe3a4d3185901e13522c85c82094688d3a94cefc9dfeb3668ebda338e872d SHA512 cb889ed34189c71ecf222be4a9cebb12b727ef147c70bf931b0cd23ff58d72b148509cc6c3a6ec048fbb76fc2cb11befbc483757ed7f1b8371a1e912ba60b6d3
+DIST thunderbird-128.8.0esr-fy-NL.xpi 763107 BLAKE2B 7ee43c49307c1658ab0b4e0e08e3eb6c9eef2d9a9ee524c84191c98e171bb84f0545aac8a41ffebbab2f3ed0b5d6e09a8f3697b18ff13fe180f7fc741a9a5e18 SHA512 6afa4559b559b190cd5b4145036ee995e6c627763b52af7309ebc10da7156e05b7a90ef0b2345175642209e60ed782d680a23384c5171b4ff78771ebf46bf823
+DIST thunderbird-128.8.0esr-ga-IE.xpi 625854 BLAKE2B cb3d3fe26eef7ca0a52f38bedfe88f527201e78c8bf98ae9a83e1800922d77cca0e9cae5911ef3fc8141b9f884b71c2f6848373ffdd3862f237604b5bb119550 SHA512 5081cdd204907832302d9faa7a9cbefbaeb9c7e7ec050d00bbdaf18fc2dd5d8ba42e94e499364e23076db53c3d4b34997723fe0121f13a0d44440792a4c52eee
+DIST thunderbird-128.8.0esr-gd.xpi 733178 BLAKE2B adc5f6ae81330062f91cf50ab5b3dc5c676b57e16001184d89aadcae9eee80788ac424a5b96ffeb694fa3a3b2681487fa4b7b54894cc929fd66b9499950c011c SHA512 b41a92257a79018e1f46bf64e84232003dc17a3e0524c75c8b3434ad2b4fe5d6dd12a5c454b69275fd4d21ac25281aba61975249e398c922620e9e702e869dcb
+DIST thunderbird-128.8.0esr-gl.xpi 745170 BLAKE2B 403c04a51a77741afc1f3bb0a7288ee5dc006ec5ea0e99295e2cfaa0aae1396f55b9fe9cbee2d732a397c6730ad9c71ae013e5e5795290b55332f7aa62423283 SHA512 59cded195e96cc994ae835005e7e1331940901d5472b1e87434a04538aaaef83639cdc5cca667d4913fee5562f65d6e9bb62b9764721110144b95dea45b9128c
+DIST thunderbird-128.8.0esr-he.xpi 706736 BLAKE2B b74a6c635d49df1997c35219db64dd6574568b0e07427274f55d1024e982a2d3f61a1d562027037cee0fd2bea5c1b3fae956d34d5b12cc219f23fab822083308 SHA512 3b7f318f8a29858c95401621f68af506f6a11cfdcd81c5455dad0c2a20772f6919dd6ef34da3110f00109eeff6824f203bee55f92d5bbcbac3253cf27553c0fb
+DIST thunderbird-128.8.0esr-hr.xpi 731594 BLAKE2B c553f5e35a78c1ce8df2017f3b8013c1dc6aa256c3ef5316b6154f4d9b41fe9c77cce5276419791478d8d61725c8935a8c019a28a91209b33f0fd3221831826c SHA512 ea4ed18ecd832775d109b2e70d935702be20ed6c22133c33865b521276a5ffa792731b23cc80aec3a1d62582fa4280b91b6e8e8a4675a32e96e30f26b434fc95
+DIST thunderbird-128.8.0esr-hsb.xpi 791207 BLAKE2B 60fedd6c25835718bea59e3791b899d682f695261179aaf41a5294fb24421b4add40ecff8ce4b363acb963eb47ecaf3236a11db1e4188ad109948d8f3c2d1322 SHA512 9e26d7957773766d6c23965e873595c61d7e11c0bbe5886e57e78c83ef0848c6763cd68acb83550031348196959994fc2f7439f7bc30734bb654986501d94659
+DIST thunderbird-128.8.0esr-hu.xpi 793585 BLAKE2B 01f6296eacefc1e4618e66fc54aa751ba30bcc60ef74496f86e6e88c57b99fbbf0e7216c1e186aeee78e1750dcf27e64473352f625a6ecec8896f808d3f1ca7b SHA512 b1801d87d3fed4c5b294f2036c00e309c2472219b3ea6e64a646c73bf1b96ca1f35e1e133eea21c7982f73c37b7b8f407b5377bd2c80a4a1b2d4ce40f18a5b92
+DIST thunderbird-128.8.0esr-id.xpi 725488 BLAKE2B 565445e26d9b5d70d375957222ee0fc48f7dd719fd0e9f73d1dc82628f6512cbe04141c5468a134bf027543ab84f0f3e83a73d1e892f59c90c7e3d8b92c6c844 SHA512 3031cbd80e5f85e0c65a923c7395c080b9a517a5e237b64ac6bba970dd4a9d77dcdeedbc9af6b7291038c765102cd02ce62f9be7e4f503cd8975b2c7c698eac5
+DIST thunderbird-128.8.0esr-is.xpi 758192 BLAKE2B 9d458f7985442ae1992c4c22fcf6c62fd51121add433efa841e5c8c8b52bf94182a2fd33fc7e71d380599b1e947129f99ceb1b2a0f0cfdcff31da347abcae6c5 SHA512 db0d55e99d3219d026da8702fc97fcec6015a0605f4cfced616a0ae71766a101feecc035b025dbc6f5bc7cbc7ac7174cd0c69f7294abf793ac800e08f85842e9
+DIST thunderbird-128.8.0esr-it.xpi 748986 BLAKE2B 54d90905e890705f9ba99d2f45253844344f038b580fe7942863d3bcd0559c64819f2d04d4c45fe0fe858287dfc241010f121b4a4cc7eeff662f5d2507ab77a6 SHA512 05cd60622b1d9147c31a84e501db7b1eaf647ec3a72a2850e3d3890ee7fdad082e8e4df7d62d5c97fe7607ef75bfc12ac3e327474c42f55f6b0144f2210c2735
+DIST thunderbird-128.8.0esr-ja.xpi 820094 BLAKE2B 62560f0fb1bc252fbcb09dc4fa8b036831c65966b199b97e37cd041943b26bf62a2bd882fa96ae9b44cce2703f5b6240a6eaacbfbc37cc5db081bd5347d295a6 SHA512 38fff88be851f937722015b9babf88eec651ee1229efa0a9c26ca36afdad82336ed97e242f4529ec55e6f274eae7003ffb9614de88be6ae2f36d706b62f73ff0
+DIST thunderbird-128.8.0esr-ka.xpi 817016 BLAKE2B 4ef211e2f5b85a50cb3c871b97ace43d4eb42db5c5631a51664712b84dc85b476ca4e484c01fb5bcb51d57769d1e0ae4dec04fb8906e5d5e29b1e52d847b6f32 SHA512 2b8d630e3d5028da9b78d0a50ee755e05f384fead4efd9e75e788772afb9773090569c81b238c94175e61c46524ef1531fccafa831f3f41595a28bf3b02234a1
+DIST thunderbird-128.8.0esr-kab.xpi 739547 BLAKE2B 6fa184c403df092c2a8878ecaea82494b54351579a9769aefd2ce909ad9d27749edf243a289952dedcc09a56a314a4c73a0ecc0c7bb806fdb9d0e62e162933d1 SHA512 7d220bf78757040d96a20df57333ff0582b90574985028fb5d7265a5587e1f484692af23bc93e61603db1af34c4d9d60b12e96a2f6fd81a6e4482dd4220c3f0b
+DIST thunderbird-128.8.0esr-kk.xpi 866574 BLAKE2B f8270f38b5d8a54bcec03aa982225de59f5071a9c14251d1f60d9a63566669cd768dfbb3035868c1d8e0e395841079ead89590f25dfad0a8662355e3a16c48c8 SHA512 c8d4478cea9fb80f130a42c0ba579c33c02e25fc3354224505e27be27a7e83a33c718c57de508818ee874cc5c2f589bdf97e3375c062978b4a4388253349bc82
+DIST thunderbird-128.8.0esr-ko.xpi 765495 BLAKE2B c2e0082f2a41d25e3b4aeb10567b25548cc92cb8cc4f3509a12f19eaffe7a9cf4f821c3bae2d8d98716b09799b0694ac250f8247c359e65a82559664969a8bcc SHA512 4074e145197e666ade528ac54370ac1adece4ab1cc532b1fa48506cc3a320e0c5c1f9cc6f612aa1ce40b49b1105495438325c30f8ff8f2984cc4e4930ab3f393
+DIST thunderbird-128.8.0esr-lt.xpi 707204 BLAKE2B 792ec05bdc86e36af6945ac6c9d333d238c38181a271c78649e0fa4e317662f25ba81dbdd4a2560182a708bd17beb1e4675b85612e678eb3d6d159cb239b81a2 SHA512 27da308b8b31b97e2c67e2c1ada4b5897d664fb3bf69d89e11065e5ac0aa9bc5c650c4ad6030a9db2f14867185a692543f68df6d8887b00c36c299f974068e28
+DIST thunderbird-128.8.0esr-lv.xpi 630393 BLAKE2B 08afd33e79bd32890c6dad401787716f870cd55fe2e7f4aa7b810403d192ab7aa63649289668708a76bd83c3ecb546debb67a295e029db0fd8d48dc87beb9243 SHA512 1cdea8073a6ebd64899886f89fc0c1cfdcb444bf0c31c4b5a0c4f6d4959a669b899295200739a44b3a2149ec40e16046ff020756ad1d10c78c4628eefd896481
+DIST thunderbird-128.8.0esr-ms.xpi 596571 BLAKE2B 9e6a87fc50081fb29d61358cb68a78f450decaaff105fc760b14b08faa8490eced6b2259f6c8decc47de1d1dbce5727861b2d111d06342359b82aa9d985c46a2 SHA512 8920910f62c040651e45604c85a09721902822f4125f93fd5852384dba2c2625cfb75084c3fe697fba09295b07ff37b684b8d69e71b616976b61086c74b7a411
+DIST thunderbird-128.8.0esr-nb-NO.xpi 709656 BLAKE2B bf781b1f660ae8c55c815a1ca1dc6bec91bbe935e8671b45488dcd9e9879eee296317d61279629c72f4991953172f97587e1bec636d0dffae2fa95125152456a SHA512 3f957ba529eed5ff08d6df7484ae9ad6e905addaf2acc5b0f531414cb0117e81941b9b97695a7f2ffcdb77c492666e0c17ab9bc0fbddaeac254a8aae9410d780
+DIST thunderbird-128.8.0esr-nl.xpi 754404 BLAKE2B da819fab2e33a2850d3a905e259fbb9a3cc184aff61365a3ba002b25767a676d33f083d6f491b1a95b02ebbd704182794c769a95a231e10f6f2293d0b62733c7 SHA512 096fb0dfbc51040f47e75dfd6d3a1f9a486dfab0266ee5a1f06c72b9f7282f6a77fccf31441c2bb346600bec36808bb776bd48dc95006a6e09b194e30c26d5e4
+DIST thunderbird-128.8.0esr-nn-NO.xpi 731250 BLAKE2B 19468f93fb9c1ec245cfd96fe8d23e0750986b1c77fca4e92a2833bbea6c5b50441d87262e6daafd9152a62867148f8ba62701d9a98ef61f8a1436ed4bf5e41a SHA512 b7603e35b1b26785ee3058c7b2320a769b03484bc6b5eda2ca463d89554ebdcb61e12874464e84a97cdc0fb1ceba622ba7e6bc33da43cdfa9e138fa3a954db73
+DIST thunderbird-128.8.0esr-pa-IN.xpi 693728 BLAKE2B 3adbd3f982cd696373b4f56ece7dfde38485843345364a4e9330b63874f835a73928dabbe7c1d290ba346942d38399c599b9e799e95288437af467b94498fbbb SHA512 4463270cf5bf8570280f28d3779e8f32da00221ab7d1931c5001262d348cc3e38bca4cf9805f8e41f51d1f8cac38a4f14096c628e1838553e790e2a5a66cb929
+DIST thunderbird-128.8.0esr-pl.xpi 779286 BLAKE2B 8a81def88a24bc26c1a1b3b20eb22ac058999f7541d38d901210da55e4a303a61399ddf203b5be148f6ed36b3f102856331a5b38da415e32ddd7f9c8a9821edc SHA512 3710d3ef566581dd1ea78d7920e9aafce972aecc00fbf6e2894c008e89e660b529b91cf16dfac77472c4c45ae0a8ba0392dca57a7b9a0504c9f0aa8bdb9a263c
+DIST thunderbird-128.8.0esr-pt-BR.xpi 761899 BLAKE2B 56ef325a3d5599c0a4e4935f638bccdfb85350436419e4d2045761b207a6b54a56e6aead6c498383d1af09bb0c13fae0911a9f8302492646f9adb27c497bd4be SHA512 de6e0c49bf735a929aae9e701dd74e6272df1f7c610b12600070c672599b50c4c9ad0028cbaee026de6c26dc32232c12dd7ee20a9510dafbe13b0f8cbb46c0ae
+DIST thunderbird-128.8.0esr-pt-PT.xpi 755776 BLAKE2B 02981dcb7da1c1ca969528a8608f8092cb586201033ff65f1a83e5bfebb1e1f1df7f1c9e7bdf1e9435dc11900944b03d7c1081034716f60d23293bda7965fc71 SHA512 d5715743871452b801476e7f580d6a47e91163423ff73558180de95d4119fd8323c7e7ec69ecb5db4482f861e394e3d7e3ea941fc8ad7e4e38c02d23a925c074
+DIST thunderbird-128.8.0esr-rm.xpi 758942 BLAKE2B 1696d77a41cfbcc3564c3432c0fc3b59b10776310477b2df1c25b31d1a1949bcd4348af213b584c69e5d38d9ba8ec1e87c3402cb223e9799946ba43be1eaee5f SHA512 f6fe58d47eb653d9afb8f537f5a8b3637c7823cbd226f51238897b383486e05f4429d93639e8e96b0bb72a6d182f9818748013a076fd2ec1e10d7d730fcd8311
+DIST thunderbird-128.8.0esr-ro.xpi 676132 BLAKE2B 9ab421c65ff7f7aa8898e92550fe76ac50468069b75202a5a9cd14c7bd553b9c08daf5a69dec6faadeabda9efaaa7ac3fb66f36134b4316c42cffe92ec5cea94 SHA512 3e97a1d17118ff42b7aa13ddfbf0d06c00b5560b92fb7d74f703d83f5591c25ffa9a51a2af5b867e65a5c4d46978e5ab13866444a6f6964a71af3adc3656b5b1
+DIST thunderbird-128.8.0esr-ru.xpi 883500 BLAKE2B 05c032285fc752ca6b848e26d994b990f6b89367a0d9b5658383814f48cfa947a11aa5477a41b198c847c6e72e8f68b3c150bba00460d88da6893b0df4e56aab SHA512 1f2181740bae80772b5ccab436c7984751d995166fe1634084886abff73f81ed1311066c40b404a149b07b31b3d9c57462c2bd43bdfb3e98ca6fc0e3901662f8
+DIST thunderbird-128.8.0esr-sk.xpi 794969 BLAKE2B 87de94ad42b8c0030734d6ab9e67e7c813750c2d96f149f631e2e8a9a7ecf5b8cc5241319486cbed125dcb8333b0f7661a8038c2eab371a60e733a2215564e6c SHA512 de2e295b52485e05144223a37ef8dc6c5eb8a8258c8f7176a863d7286f4a1da8d279bf77b98f7fc373d53e81f30168d104ef1658d0b604ec11930e679a34437f
+DIST thunderbird-128.8.0esr-sl.xpi 757005 BLAKE2B 1fd785cb2d54a8ac2a644c9d2eb0a777a142bba4a0c0893aac6d0d95711854ec06366ed7c8029638739c4041ef7547e9ef19dce8e0ed49f7855b696942975899 SHA512 7a8f43f4c146a38a8a0cd48a6ae471ea1273eded0b623030c301bef0bf12496b6e77f167142f51c0efdb53e4fbc2b8866e4984ef769f2b95cd456df89b626418
+DIST thunderbird-128.8.0esr-sq.xpi 779475 BLAKE2B 3ee481e73f09e86aca30f0b3b55670fb4b1f15d7adb6990de1a4798b408272f375c674840ecfc8300ec528626adb97688be5f7e12374aa6b8ede5ee155541b18 SHA512 44a3c439bc4d1a5476615b6d2c8ad1bdc4048bc7ed4847e341faf3d303cee0de2c9e0d36996cb74252da35cdcafd57b46f10b27b6c6b66c35e0ff3929bad0323
+DIST thunderbird-128.8.0esr-sr.xpi 778039 BLAKE2B bfa6dda21476cb7bae6f62b184951e127548a45e89790198578fa6b6f42c0c8f42fdbd0228964a51176cb44a0a8d34ee01282945ad63fa1e0e6cc7b3cb899e5e SHA512 ba1c590a4cb3d53a40e310e284317683fde4a28a439800e219c45c482540e421b62aba1db51a9e88f9d0ece7924f71e2ce95125a776ff42b5eeac8457f668969
+DIST thunderbird-128.8.0esr-sv-SE.xpi 757657 BLAKE2B 823ec03930d5f2a182011a242d88c67682cb5dd56f1aaac57e1c0e4362269a6c94ea8fa3817ebfc99ebca8ff9a1e6ae049fb587bb67a9988c9d62f853846a481 SHA512 a976f9e59a27407efc22f55c29ecc1db396d1a3171e1b7d883e0cdf28172c6dfa9b56f777edf2f7782555bde9a683b802dd86af6e610a46e1be8dc4fd8320235
+DIST thunderbird-128.8.0esr-th.xpi 825082 BLAKE2B 543e595c9fa64efb58eedc0485833e646dd85e2655a123f31e65d8bc90bc61a41bd82f88f361056ef1c631a4a963445e99a37b96701fb40e870c28c75bf11c2f SHA512 dc4bb1c19531fdaaed96731878bcbe02146ebcee468b9a18183196662f6282c37face5490b731de1953d00823627c346b0f74c39ea8b45cdfdcd96d4fc80327d
+DIST thunderbird-128.8.0esr-tr.xpi 768116 BLAKE2B a08fbb7e2c72a3fc45b3b861c8e7f98176bed3259ab7257029018d49af6fefc3c54eb817e5f2e94124776ba98a6df8272abc3e74d8785a19ccd9a07391553cbe SHA512 5e20d9a02fed8a89ce9bce54433756475bee2549f01a1d5a31c6ca66aabf7157aa0b93cffcfe7102b44e7369720f9767697c4787c6e6659558c39c18c893d616
+DIST thunderbird-128.8.0esr-uk.xpi 873925 BLAKE2B 6a7485f07ee7edee187e12c91cd2c362aa182a69a733c35406ba74e4613b8ba5980571a2ddfdd3c78ac4c4ebefc69f926653af9232aaf1cf5c34d966dc0eabb1 SHA512 ac01440bbb84bc7143d8f57b232ee4e13ec148a9cd81c14e342f9ccdb9500c6b8ddf6065b3d7d5d06f828dc7e821c947a1449e156b5dba46449d63242b0dc268
+DIST thunderbird-128.8.0esr-uz.xpi 600290 BLAKE2B 3580f1936c23c5efcf21ae09b420d4cfad87a0dae52d01798272f98dbceac3dea1a3d39dd70260e6f69c7350d8a4b61f5149a34844ed8cbab178a33cab3870fe SHA512 a5174653f6569cd5007a9241d15314e5838789aaca3073346b8b8b72b86c2f0c0c0e52b21eb76cf985ef1d7054f7f01db0af5cb0068d6a19ff1a1aef85e21695
+DIST thunderbird-128.8.0esr-vi.xpi 797499 BLAKE2B 201ce115b4e61e2cd72e106cec4ec33374bef00ce85b95a024ecb751dae598964f55b2e0a8c5264eb4697e707959f1a2291695fecf180a2a2a7b940920d1bb83 SHA512 73165f6366761f86b98e5e1031b22d6d8ae4f18dadb93b899cfb7df52dcb112468265b76a9988a92f7c3b9409152f9ab2b16ed605ef15696d614b1a6bc24ab31
+DIST thunderbird-128.8.0esr-zh-CN.xpi 796658 BLAKE2B 4e5d6b1059d2f92435ff2cd2246c0346a814639c591f1c92a5e19ee4a97a5402ad3e8706cd7bb834c13d4f6473e8897e70580352b0ae70804bad0ced454644da SHA512 0d5dca1f927245f54a24a82664237cce56367f2db8bf080d90e80ef55e04fc935c0d612da51faa5ad0cd337bee037462b973855a8a313bdf397f5f59efed392a
+DIST thunderbird-128.8.0esr-zh-TW.xpi 800397 BLAKE2B 91062bc3211ccc586b928f5b36468c829e2a974725c1be6287021e44dfb6f9a3480bc7e5f7c92fcc251567ec0f376e08ad91b1875f59f348ea3b3b3c90eeccdf SHA512 e1402fc20b81a3964c152a26ce96faa4d4e32c708568fac6eb832bef86e883269038b8cce7e0165c32f4c1c4da58858444b009d5b69b00c4adb76a42f172634c
+DIST thunderbird-128.8.0esr.source.tar.xz 673614340 BLAKE2B 5aef89845b6bbc153f74e3f31f0880af8e70f74f0362a2c2cd723d5633c35de48ddb4f1488030204de76f38ea325755f985f8cba6abd424bf4b7a61e204b9e5f SHA512 a6ccdf5a067a1f908246885b22a1dadc66f4667d4ac74d1c1867c88a70b194c508e8d9e139f357ebc1d344f032fdc9b75c365fe49937d2463d7bd61b85ef86d1
DIST thunderbird-136.0-af.xpi 315237 BLAKE2B 38c380818291313eb232db7840994d66897673181cc7d86b7dd223345d045f8a5fd46157be92a39ad113f1ceafcb449930e8fad3e15a82d7ff413fccc86fbaa9 SHA512 a19f7361376ec99a1ad0c31372f1dd9aa4ead954666c2d9ce21a9ee7542ccaf52e57274a777b9be29a335b9fafb68c92d695cd5bf802222fe01f1d64aa9f024c
DIST thunderbird-136.0-ar.xpi 430240 BLAKE2B 123843dab3332af07ad41966d561f1104cc540a172e9a1cfda4c799479139edd510306f839bbc024d4a3e71889ebf57179ea73865f943bcad091cdd3221f36e9 SHA512 232bb40b11b302f9f8fabd1e47fdf2746ace3e5df710b547e3dfc45ab40426720e5a5f9ebfa70c0074b2208d9830e14477db1c9ff6e434f4f9d9d50278140c8a
DIST thunderbird-136.0-ast.xpi 340880 BLAKE2B 43dac2dd4a52e17656fa33497f38cb4850c88593a5ae9008e5131807ebc41e8f6990aebe7238e209c49d1afab78111e62332985ef4b3185fb180c9c3b69bd6ad SHA512 0bf29c38fbd54b6643257e8e651ae7039ff72504a2dca34923b645edb4524ca54dec8b176cc0efe5353e12ff1234747fcc5208baeb250d5046065de8c8d16156
@@ -203,5 +269,6 @@ DIST thunderbird-136.0-zh-TW.xpi 503558 BLAKE2B c943c3883d0442e7faeba9502f2202cc
DIST thunderbird-136.0.source.tar.xz 724177104 BLAKE2B 32a1c23efb28625bf900840ab5eeace63f98c10f95b3e4f665a6fb6b8c653319adec522bbf76d60bccb0f2673ac12c6623ec1cca37eae02aafa08594419d1479 SHA512 37c94258b49a7e87b24b4cffaa6eae81698356ddc3f0f49ea675b885dea2c56a3ca758dac2ddb2720beaf2f34faa15a9ab9b5eda0b352c0c8f14167c01838714
EBUILD thunderbird-128.7.0.ebuild 34193 BLAKE2B f703dbb10b61cfd419f37e7bc97384163edccda25cb4f52b2e792176c1b6336ae2adac308bffae54322b7fb70e2326ad14897a112221d2d009c4b957c1f1b9f4 SHA512 7f9a7a3d484e38faefc1cd5381f7db567219c9236ed5fe4c47019fe7a9339336ca448871cec0f51dfed7f330dafda8fdd9aaa0bc440c66e1dbfa26e9bbe08c30
EBUILD thunderbird-128.7.1.ebuild 34194 BLAKE2B cc0c24fd5e2c09bddb6e5de981f991120281ae03ccdfc0c28e8d26f2e1b53f83738014a472396dc66e6bac44a94934627818bc55647462832166b5a454a081fe SHA512 f918f7d76f424e2efb05dc12aa82fc7fd1783308e347e7d75ff398a0d22d3782e3138d674af93a9c18f4152f583bf16a6dcca10d8be02b2c75df863dd1cb8326
+EBUILD thunderbird-128.8.0.ebuild 34199 BLAKE2B 5983414c841172596a8f51ba8cc66068cf10016cc69a81285ed2a7acb90b9c44b0840bad529c0e56378a9d81b455100e41ef2cd4f878f79c295944223e0dd9b4 SHA512 83c7d2fdf450784d492198423140e0a9d44ed48029854861ef8ae2ff6e8f7aa29cbce10e3a715b71e43b2c9087c862e4960972d1447d5015cf49594590957e26
EBUILD thunderbird-136.0.ebuild 33648 BLAKE2B c6c689271c42187d22591b34cd8a7b7ade5876e3a367cb4783438a3e90e6b5bd2cc6ec6418ec38ecc7a418290771cf62bd70cc7a8b9bafeb4cc309371dbd3a23 SHA512 7bc416d48c3405a4b1cd2e454f822fc3b7900860dfd94b59c8639cfd99ce5fe84f8881353fb7e820018dcaaa915246779641ad4618748abdae59caac0fd7bad5
MISC metadata.xml 2277 BLAKE2B e4681b61ae7363d0442ad382e5972c7654624c2033e43559d9d751af8abcebf6e1badede00b68d8f28ba0eda4b060acb3f730b79181d0acfc286c1a03c7cc2fe SHA512 517460e6a4ce6232570290b69596bc2e1913c7a95ef4df62216df4d3be7b8c83247004916ed5e74d285951d9e9d96fe80406d128a0764ab41aa26458805a1513
diff --git a/mail-client/thunderbird/thunderbird-128.8.0.ebuild b/mail-client/thunderbird/thunderbird-128.8.0.ebuild
new file mode 100644
index 000000000000..fadeb38f95ff
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-128.8.0.ebuild
@@ -0,0 +1,1166 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-128esr-patches-09.tar.xz"
+
+LLVM_COMPAT=( 17 18 19 )
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+RUST_MIN_VER="1.77.1"
+RUST_NEEDS_LLVM=1
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+# Thunderbird will have separate release and esr channels, matching Firefox's rapid and esr.
+MOZ_ESR=yes
+
+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 linux-info llvm-r1 multiprocessing \
+ optfeature pax-utils python-any-r1 rust toolchain-funcs virtualx xdg
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="https://www.thunderbird.net/"
+
+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/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
+ ${PATCH_URIS[@]}"
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+IUSE="+clang +dbus debug eme-free hardened hwaccel jack libproxy pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx"
+IUSE+=" system-png +system-webp wayland wifi +X"
+
+# Thunderbird-only USE flags.
+IUSE+=" +rust-extensions +system-librnp"
+
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ rust-extensions? ( dbus )
+ wayland? ( dbus )
+ wifi? ( dbus )"
+
+TB_ONLY_DEPEND="selinux? ( sec-policy/selinux-thunderbird )
+ !system-librnp? ( dev-libs/jsoncpp )
+ system-librnp? ( >=dev-util/librnp-0.17.1 )"
+BDEPEND="${PYTHON_DEPS}
+ $(llvm_gen_dep '
+ llvm-core/clang:${LLVM_SLOT}
+ llvm-core/llvm:${LLVM_SLOT}
+ clang? (
+ llvm-core/lld:${LLVM_SLOT}
+ pgo? ( llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
+ )
+ ')
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.26.0
+ net-libs/nodejs
+ virtual/pkgconfig
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )
+ pgo? (
+ X? (
+ sys-devel/gettext
+ x11-base/xorg-server[xvfb]
+ x11-apps/xhost
+ )
+ !X? (
+ || (
+ gui-wm/tinywl
+ <gui-libs/wlroots-0.17.3[tinywl(-)]
+ )
+ x11-misc/xkeyboard-config
+ )
+ )"
+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.101
+ >=dev-libs/nspr-4.35
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? ( sys-apps/dbus )
+ jack? ( virtual/jack )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ libproxy? ( net-libs/libproxy )
+ selinux? ( sec-policy/selinux-mozilla )
+ 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-74.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1:= )
+ system-libevent? ( >=dev-libs/libevent-2.1.12: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? (
+ >=media-libs/libepoxy-1.5.10-r1
+ x11-libs/gtk+:3[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ || (
+ net-misc/networkmanager
+ net-misc/connman[networkmanager]
+ )
+ sys-apps/dbus
+ )
+ )
+ X? (
+ virtual/opengl
+ x11-libs/cairo[X]
+ 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/libxcb:=
+ )"
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )"
+DEPEND="${COMMON_DEPEND}
+ X? (
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM
+ )"
+
+llvm_check_deps() {
+ if ! has_version -b "llvm-core/clang:${LLVM_SLOT}" ; then
+ einfo "llvm-core/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use clang && ! tc-ld-is-mold ; then
+ if ! has_version -b "llvm-core/lld:${LLVM_SLOT}" ; then
+ einfo "llvm-core/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+
+ if use pgo ; then
+ if ! has_version -b "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+ einfo "=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
+ einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ 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}"
+}
+
+virtwl() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ [[ $# -lt 1 ]] && die "${FUNCNAME} needs at least one argument"
+ [[ -n $XDG_RUNTIME_DIR ]] || die "${FUNCNAME} needs XDG_RUNTIME_DIR to be set; try xdg_environment_reset"
+ tinywl -h >/dev/null || die 'tinywl -h failed'
+
+ local VIRTWL VIRTWL_PID
+ coproc VIRTWL { WLR_BACKENDS=headless exec tinywl -s 'echo $WAYLAND_DISPLAY; read _; kill $PPID'; }
+ local -x WAYLAND_DISPLAY
+ read WAYLAND_DISPLAY <&${VIRTWL[0]}
+
+ debug-print "${FUNCNAME}: $@"
+ "$@"
+ local r=$?
+
+ [[ -n $VIRTWL_PID ]] || die "tinywl exited unexpectedly"
+ exec {VIRTWL[0]}<&- {VIRTWL[1]}>&-
+ return $r
+}
+
+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 debug ; then
+ CHECKREQS_DISK_BUILD="14300M"
+ elif tc-is-lto ; then
+ CHECKREQS_DISK_BUILD="10600M"
+ else
+ CHECKREQS_DISK_BUILD="6800M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_setup() {
+
+ # Get LTO from environment; export after this phase for use in src_configure (etc)
+ use_lto=no
+
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+
+ if tc-is-lto; then
+ use_lto=yes
+ # LTO is handled via configure
+ filter-lto
+ fi
+
+ if use pgo ; then
+ if ! has userpriv ${FEATURES} ; then
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
+ fi
+ fi
+
+ if [[ ${use_lto} = yes ]] ; then
+ # -Werror=lto-type-mismatch -Werror=odr are going to fail with GCC,
+ # bmo#1516758, bgo#942288
+ filter-flags -Werror=lto-type-mismatch -Werror=odr
+ fi
+
+ if use pgo || use debug ; then
+ CHECKREQS_DISK_BUILD="14300M"
+ elif [[ ${use_lto} == "yes" ]] ; then
+ CHECKREQS_DISK_BUILD="10600M"
+ else
+ CHECKREQS_DISK_BUILD="6800M"
+ fi
+
+ check-reqs_pkg_setup
+ llvm-r1_pkg_setup
+ rust_pkg_setup
+ 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
+ # Update 105.0: "/proc/self/oom_score_adj" isn't enough anymore with pgo, but not sure
+ # whether that's due to better OOM handling by Firefox (bmo#1771712), or portage
+ # (PORTAGE_SCHEDULING_POLICY) update...
+ addpredict /proc
+
+ # Clear tons of conditions, since PGO is hardware-dependant.
+ addpredict /dev
+ 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
+
+ export use_lto
+}
+
+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} == "yes" ]]; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ # Workaround for bgo#917599
+ if has_version ">=dev-libs/icu-74.1" && use system-icu ; then
+ eapply "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch
+ fi
+ rm -v "${WORKDIR}"/firefox-patches/*-bmo-1862601-system-icu-74.patch || die
+
+ # Workaround for bgo#915651 on musl
+ if use elibc_glibc ; then
+ rm -v "${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.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)"
+
+ # Workaround for bgo#915651
+ if ! use elibc_glibc ; then
+ if use amd64 ; then
+ export RUST_TARGET="x86_64-unknown-linux-musl"
+ elif use x86 ; then
+ export RUST_TARGET="i686-unknown-linux-musl"
+ elif use arm64 ; then
+ export RUST_TARGET="aarch64-unknown-linux-musl"
+ elif use ppc64 ; then
+ export RUST_TARGET="powerpc64le-unknown-linux-musl"
+ elif use riscv ; then
+ # We can pretty safely rule out any 32-bit riscvs, but 64-bit riscvs also have tons of
+ # different ABIs available. riscv64gc-unknown-linux-musl seems to be the best working
+ # guess right now though.
+ elog "riscv detected, forcing a riscv64 target for now."
+ export RUST_TARGET="riscv64gc-unknown-linux-musl"
+ else
+ die "Unknown musl chost, please post a new bug with your rustc -vV along with emerge --info"
+ fi
+ fi
+
+ # Make LTO respect MAKEOPTS
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure || die "Failed sedding multiprocessing.cpu_count"
+
+ # Make ICU respect MAKEOPTS
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/intl/icu_sources_data.py || die "Failed sedding multiprocessing.cpu_count"
+
+ # Respect MAKEOPTS all around (maybe some find+sed is better)
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/python/mozbuild/mozbuild/base.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/libwebrtc/build/toolchain/get_cpu_count.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/libwebrtc/build/toolchain/get_concurrent_links.py ||
+ die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/third_party/python/gyp/pylib/gyp/input.py || die "Failed sedding multiprocessing.cpu_count"
+
+ sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/python/mozbuild/mozbuild/code_analysis/mach_commands.py || die "Failed sedding multiprocessing.cpu_count"
+
+ # 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
+
+ # Clear checksums from cargo crates we've manually patched.
+ # moz_clear_vendor_checksums xyz
+
+ # 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 ..."
+
+ local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }')
+ [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}")
+ [[ -z ${version_clang} ]] && die "Failed to read clang version!"
+
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+
+ AR=llvm-ar
+ CC=${CHOST}-clang-${version_clang}
+ CXX=${CHOST}-clang++-${version_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,
+ # AS is used in a non-standard way by upstream, #bmo1654031
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
+
+ # Configuration tests expect llvm-readelf output, bug 913130
+ READELF="llvm-readelf"
+
+ tc-export CC CXX LD AR AS NM OBJDUMP RANLIB READELF 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
+ mozconfig_add_options_ac '' --enable-project=comm/mail
+
+ # Set Gentoo defaults
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-disk-remnant-avoidance \
+ --disable-geckodriver \
+ --disable-gpsd \
+ --disable-install-strip \
+ --disable-legacy-profile-creation \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-tests \
+ --disable-updater \
+ --disable-valgrind \
+ --disable-wmf \
+ --enable-js-shell \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-pixman \
+ --enable-system-policies \
+ --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-ffi \
+ --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 '' --enable-update-channel=${update_channel}
+
+ if ! use x86 ; 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.
+ # bug 833001, bug 903411#c8
+ if use ppc64 || use riscv; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ fi
+
+ # Enable JIT on riscv64 explicitly, since it's not activated automatically via "known arches" list.
+ # Update 128.1.0: Disable jit on riscv (this line can be blanked to disable by default),
+ # bgo#937867.
+ use riscv && mozconfig_add_options_ac 'Disable JIT for RISC-V 64' --disable-jit
+
+ 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_enable rust-extensions thunderbird-rust
+
+ 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"
+
+ # Increase the FORTIFY_SOURCE value, #910071.
+ sed -i -e '/-D_FORTIFY_SOURCE=/s:2:3:' "${S}"/build/moz.configure/toolchain.configure || die
+ 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 X && use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ elif ! use X && use wayland ; then
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland-only
+ else
+ mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only
+ fi
+
+ if [[ ${use_lto} == "yes" ]] ; then
+ if use clang ; then
+ # Upstream only supports lld or mold when using clang.
+ if tc-ld-is-mold ; then
+ # mold expects the -flto line from *FLAGS configuration, bgo#923119
+ append-ldflags "-flto=thin"
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
+ fi
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409.
+ # mold does not support gcc+lto combination.
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
+ fi
+
+ else
+ # Avoid auto-magic on linker
+ if use clang ; then
+ # lld is upstream's default
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
+ fi
+
+ else
+ if tc-ld-is-mold ; then
+ mozconfig_add_options_ac "using ld=mold due to system selection" --enable-linker=mold
+ else
+ mozconfig_add_options_ac "linker is set to bfd due to USE=-clang" --enable-linker=bfd
+ fi
+ fi
+ 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
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ mozconfig_add_options_ac '+debug' --enable-jemalloc
+ mozconfig_add_options_ac '+debug' --enable-real-time-tracing
+ else
+ mozconfig_add_options_ac 'Gentoo defaults' --disable-real-time-tracing
+
+ 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*'
+
+ # elf-hack
+ # Filter "-z,pack-relative-relocs" and let the build system handle it instead.
+ if use amd64 || use x86 ; then
+ filter-flags "-z,pack-relative-relocs"
+
+ if tc-ld-is-mold ; then
+ # relr-elf-hack is currently broken with mold, bgo#916259
+ mozconfig_add_options_ac 'disable elf-hack with mold linker' --disable-elf-hack
+ else
+ mozconfig_add_options_ac 'relr elf-hack' --enable-elf-hack=relr
+ fi
+ elif use ppc64 || use riscv ; then
+ # '--disable-elf-hack' is not recognized on ppc64/riscv,
+ # see bgo #917049, #930046
+ :;
+ else
+ mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack
+ fi
+
+ if ! use elibc_glibc; then
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+ fi
+
+ # System-av1 fix
+ use system-av1 && append-ldflags "-Wl,--undefined-version"
+
+ # 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
+
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+
+ # 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_lto} == "yes" ]] && tc-ld-is-mold ; then
+ # increase ulimit with mold+lto, bugs #892641, #907485
+ if ! ulimit -n 16384 1>/dev/null 2>&1 ; then
+ ewarn "Unable to modify ulimits - building with mold+lto might fail due to low ulimit -n resources."
+ ewarn "Please see bugs #892641 & #907485."
+ else
+ ulimit -n 16384
+ fi
+ fi
+
+ if use pgo; then
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ addpredict /root
+
+ if ! use X; then
+ virtx_cmd=virtwl
+ else
+ virtx_cmd=virtx
+ fi
+ fi
+
+ if ! use X; then
+ local -x GDK_BACKEND=wayland
+ else
+ local -x GDK_BACKEND=x11
+ fi
+
+ ${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 llvm-core/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-r1.js gentoo-prefs.js
+
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+ # 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
+
+ # 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 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 exec_command="${PN}"
+ local icon="${PN}"
+ local use_wayland="false"
+
+ if [[ -n ${MOZ_ESR} ]] ; then
+ local desktop_filename="${PN}-esr.desktop"
+ else
+ local desktop_filename="${PN}.desktop"
+ fi
+
+ 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:@DEFAULT_WAYLAND@:${use_wayland}:" \
+ "${ED}/usr/bin/${PN}" || die
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ 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
+}