summaryrefslogtreecommitdiff
path: root/mail-client/thunderbird
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-21 10:04:00 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-21 10:04:00 +0100
commit7c334a9594ae315e537bf98259b95bafc60d479c (patch)
treefc41ac024e70df2bad3160b2d02fd5a01adde46b /mail-client/thunderbird
parentd1849ceeb9c09150c11cc0d112883cfba503af27 (diff)
gentoo auto-resync : 21:07:2023 - 10:04:00
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest67
-rw-r--r--mail-client/thunderbird/thunderbird-115.0.1.ebuild1319
2 files changed, 1386 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 4b6730c94c9c..62b4607cf8a5 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -6,6 +6,7 @@ AUX icon/thunderbird-r2.desktop 882 BLAKE2B eb9c2e381b67319d9cd53f26e9b406f55de8
AUX thunderbird-r1.sh 2896 BLAKE2B 140047417b24e959fe6388c4913457f8e3e786158b7394abf7442b0d2e83de21238e58983845a23b855e1aab60c9289e1a12af430eac9a8b2d9929da97de2852 SHA512 f9b989152a8a3ac274033722c77ec19374085654ad6c85ea4db6f8af8f4b2066d6d9f82b610be2db341c8ac867547f54f806ca6571258ed98dd9e2527d21b357
DIST firefox-102esr-patches-10tb.tar.xz 21740 BLAKE2B 46da143f4d2ef474542752b7648cd80faf52332dc1b315fad6474dc2d1cb60848852f3a1f3e96934b50247f4c9add94d4a5d0d279a848f7d3b959d743ad98482 SHA512 6a0e9661ce30786e5480d3a81efe7df67f550da4b2fa5e71d4cbfd191320c975bdc1a4a9971e7df366e79242c89e58cc951d5a7058452773b354edb20b7f60a0
DIST firefox-115esr-patches-02.tar.xz 16688 BLAKE2B 894646baafcb83860dc04a160978cb4f59dbba1102a8864d519938425ea3e0c06b5481f9de94593d71a3c7e84d5491ff671f2dd94701b2fe79145ae7d0181995 SHA512 e24972289b8782d5ee8e873b186c29b3f14e31888880b8355946e7b70ebed453c624f20a354972d727ffd0c93043153850ac7844ce81e57f8e6a78980081efd2
+DIST firefox-115esr-patches-03.tar.xz 17924 BLAKE2B 2b086761cb34c115c8e07f33f3f569c7c31c0e61565eb792a509b089220ff42b1e676641a09c057718a74c6fcba6be053c9edf39fa063789cf773d756fc374f4 SHA512 a386826b3a9c4736d9cb5192b17509669fc71308d2879b6a266201d2d571dc3b4021260784bec3117d1f68d508436120b5aa9ee18d01af84f67da58df7e72b2f
DIST thunderbird-102.13.0-af.xpi 556871 BLAKE2B 35f1ee32781f79d722255e22b9cd1a7670bfc4e7655d944ca11406caca058cb178a74aa0731e2b1417ac736320096ba2a460ce0185257e8e75122ea9cffef10f SHA512 fb6891e6cff7ec6a85d4ec50b4341990bdbde7da8b32527d9849984a09bf3260b5cdff0900ed396295d5e3d1a120046e61f545b1fb1a024a3b459da18983210d
DIST thunderbird-102.13.0-ar.xpi 666810 BLAKE2B dbc9981c7729684310be6c7423ff1dba2fc672128d9b970f63a5a8bc1b3f4cfb29efccc4b7a9f9c2f6b7ac09ab54a11d7b4d570ee038a614589add31691892f3 SHA512 7d51c10e2b5965f25081b08e58283d379ecf4ff9bae01ccf2b0f80d6b0457ee80e1f9588cce2d0524d776e44766d3f7f449a0d883f3871dd2c9bbce8cfcdb994
DIST thunderbird-102.13.0-ast.xpi 572288 BLAKE2B 001b8888b08f91d7f4c6bc246db288d297b506fe8e441ab19a846eb451c6d3b116996a1107f0c1074fd1e033c4b5f87ddaf5a09dbd3476ebc469c91552bc4b7a SHA512 d1b2e675380c8511c587229a3b8bce1cc19e24b5fcbbd8d778e537d8e5c5614dc3b8b810e781cd5ef03314bc275c3ee76b6ea83df907283781c79c4e85a58a9e
@@ -135,7 +136,73 @@ DIST thunderbird-115.0-uz.xpi 581329 BLAKE2B 797c80874972fd2e472027aa7661b8a0dc1
DIST thunderbird-115.0-vi.xpi 745230 BLAKE2B e98a694c6de5c161557d3f079b4dc4cd7c34d3011056d230c1e3f5ed3d49054f80915f770df8bb2cb6f27b707dd4e7a34558fa27c5c8b048e09c406df3a3d1d5 SHA512 173688f3da5fc404bae75ebab09a5958999363c4c12adcaea6fe828631410d70f2688a6998af54d40e91ececb3f6c435bc8f99b38970c5b8d47f47b9ea9ad718
DIST thunderbird-115.0-zh-CN.xpi 742148 BLAKE2B 7bfda11b88fdd2ac4abbfefe1b11acf3fbfca6cca979b415388e2f49254a8fd6dcde4b8639a875fdf9fa6a96d6eae140d76dc02811267f92832e1477283a786e SHA512 0fb58c5880e72ce6abef8ac31660e4e84c6397a3782e44c8cb662263f3335150d2b0c4cf90f9221d9869e4404ca1f7af076cffe78d99745000644cd1f8a0eed7
DIST thunderbird-115.0-zh-TW.xpi 746259 BLAKE2B 2acbd1f9eb2f6cc31c2106a84206ed8640025c59725a07164c1b1714da98b2223cbf5437b70cfd7a8824e4d2ffc8d1b1112e99580d47c8b8bbf8700ff4f222d3 SHA512 5fbb1a6c9b5b0323e3eabd901896668bb73580600f47e0007c809721ed070ba67f690bd6d1794c9a49d5848dbfd9abb93bbf848770a03d33d9f009811765dc11
+DIST thunderbird-115.0.1-af.xpi 545908 BLAKE2B a6dde72c3d92f6c748b23d51f0ccb1bcf4fc0f9e6420c57c555cef5d428d6d1172dd9f5569f0c9d643f7b15bd77353c6e12d66cbf1a874cc2f95c94e4eb61e2a SHA512 9bd68c3657e7b7b012a36ebd8f94d12d42276cf4044074acee2b19884692d18d5541185d956169fc277931a3278225705111475ceb029d908b257b0c0abb9624
+DIST thunderbird-115.0.1-ar.xpi 656533 BLAKE2B bff7e6e83dfe76be5cfe68cac4de57a9a55da0eb67c1a0d873656089fd1a1270e6b8aacecdd587783adbf5222e8ed17419adb71092411dba4ace7614b86fba65 SHA512 2d07000196a1ffe9d148ceac67e1f814c84236ccd034fbbfc1e47389c1bd154a4e1ef0b7ae96010016f14d62fb18178f91fd9a01ceac751b57be0cc8d5fe60d7
+DIST thunderbird-115.0.1-ast.xpi 563450 BLAKE2B b2015bc0316899d327f0408d856b2ce3239cd6cc45e9b0161c3503826569a8752b296df4677f4c6e4705b5608ee634d7f5bc171e91cdbec9c886da0081bf2da3 SHA512 1cf2f30fe2eb0f83f251d03428024ce49310f2aa565fb82ba4f48df09889567db5b0cc7924e765f3a2a3e1d19b7ca0c26338a2bc1a98a15f91e6aeb789130b25
+DIST thunderbird-115.0.1-be.xpi 697893 BLAKE2B 6d12bcf787a85b6ca81c5661e2e3ed7eb41e50454a5660d45ebea83d96ab5ee28df8e23c6751b8adc666412f435c9e1b465ad404493ca489787cbafffaaa042b SHA512 edcb6c77b514cf3e24abd895acd247e48f672816941971dbbd511ea739737d363839c5e0073adb8fda647996879fc4c1cdcc2bdeadcf0ba3544cdf0df05d67e5
+DIST thunderbird-115.0.1-bg.xpi 684222 BLAKE2B df1ff39fb887f82a1f680b123f06971712017a0f3f7931012322077b3aab6b70999a45a3e930b1ed3688ef387c87a4c0fac31ba2cb471e80dba6e6e16c2a880b SHA512 c8187540974911288970c0347c52adfb3bee4d9c5ebe4e991919a3e7277f3219e232ef5aae2c1951471b7280caf2c34d42920ffbf97b9b3bfdfe182f4d84ee6c
+DIST thunderbird-115.0.1-br.xpi 625098 BLAKE2B 8b9145a803ebd5ef6811dd478fe15544c18133b1dbc3878cb3f943327702ea79f5cb1a7b26b5af64e5ff8e7ef05491bc2735fc5bfa878ce4e11edb695b97289a SHA512 5082af8c74fe5276a91787f76fd03cbb84dd61ecd374fcd506b69cd20787f237c21f31ba733bf447194764c51cc1fc57bd8c3bafdfce4683de7057e7d405e0e8
+DIST thunderbird-115.0.1-ca.xpi 648590 BLAKE2B 130ba8a4aedbfbe759d3f4027a754f0189e314e094b82faea33f716991a4e452c273abad13b3f2a76a232c8254f98d80c96edc3091f5461bb6f5c2a0541a0bce SHA512 33770d00d7fad6325ed2ae01dbe7577d4b74bf70d8a3294a182cddd2fe6dfca94c212f3fe70d6aba6fa769775be7cf3770ef3c1680a90a6dbd924e2185c236ad
+DIST thunderbird-115.0.1-cak.xpi 661763 BLAKE2B 241b21e1a36a76e45aa9a35f492aac49305a1127ff6255628ce832a0776cc9811da4ae882ecdbccd4a413d89e5f0282a6f828407f98e1e23b50792e5ec1ff02b SHA512 4bdffd91ab81012e9a347c83c0f0f3fd9975ab195fbbe4b18c13601f77a721aa2ebb437c17140c068a9424e54c6ae58989857f7052451e9b06e034f8c6828dc4
+DIST thunderbird-115.0.1-cs.xpi 736495 BLAKE2B f2f75087bccc7fc67e395ca481957df940ccea4068a18644ae73cc1ca07c98766842057f514f49a22059bf107bca0e181b6eb838e2b711610b638de5e283fd5a SHA512 9626e4b2836c52d738ed19bd4b8e560afb4bafd79aa12b893658abf9a2f641bd90be01e11131d1241bc150b3f1aa247e93e3a7df56730f4cf25eef65ea6be969
+DIST thunderbird-115.0.1-cy.xpi 706120 BLAKE2B 9795a404bada401e97e247d2364045538dcfa861831ecf8cd8f2b465878a6abc074ac659c8d2b75c339a9a8c8bf0b426d867648cb5acc16d270e5ead51edbe15 SHA512 844751410594b4b4cddc98cce4f1af9273063cfda2cab1f70f0ecbc08ba95795a403f3af822fc7ec6576b6b477a32537f9ad34bbb69bc225377784854d15800c
+DIST thunderbird-115.0.1-da.xpi 693654 BLAKE2B 602fd13dec19735577494d58e1bc697afee112c73039fbaa7f51fcfe6606013cafb3111d953759166daad5bc7c143922ca8d21d2db3d5c121658b9ed9696a9c2 SHA512 370b18a72d5b35975436874f549ffb94fcafd14992e190741d514eb1f00c594b231c82520ab1d13e92c048bbe033bbb7ec9cdcc2baceca064d90e828da3e4191
+DIST thunderbird-115.0.1-de.xpi 725297 BLAKE2B 28090b112d5a23a21331730581c82dbf562cacb82d0dbb83a4843b643f96f98cbdd7577302fadfcd8d79f43430c4ac006f2ba42bb984599a62411430fde93677 SHA512 ba174c5c0c398c1af153bcd108265e76314b2e682a84ba6fd837208178df8490b87eafdcd4103185a2e168853e335b7149f062cc9766899640c9dbcdf4ba3375
+DIST thunderbird-115.0.1-dsb.xpi 740588 BLAKE2B 8bf6baa168f0e3daaa3a4a6e22e7b8a7aecb60f330dfeae2ed34ad325cbafccabda2bb4dc62cb2c188f89652b94f01cafa5f4937bc451306b33086c52e65f54c SHA512 6fbb734a5e59c42b8f8438e1a51ef8348b0993c59d2adfcb67b0f9295e664c58589bade2780128b25f02ef7cf2bf8dd6bbf6b76db2a60ac62ce4dee2e402e7c7
+DIST thunderbird-115.0.1-el.xpi 840355 BLAKE2B c400b9568520abba2fccb6e7dcbeef8eb0bf7c5cceeff7fc9764f6f1de32d0bfad6fc4a28f69423ce5d9d0d580196e23bd609e5d0165bc80ea57c28715ba56bf SHA512 f6479815930a7509bcdd85a4c5e6002b3eabd15ca6023840316bf8183bc9b883378430d560ba499fd4ecce3d2c79777171b9e66a38b964316d909bd143c8b8e5
+DIST thunderbird-115.0.1-en-CA.xpi 652033 BLAKE2B 73178af0dd2ee1afd6caf9e10e78c111eaa04947338eff226634fbecfc85829d64c3b83ea4d1dee93c31549ddd7419fa7427bdb101a7eb173b91f2dd3fd8d880 SHA512 7f5a0380c828796dfa7894588041d8bd09b106fcdece3f1f43442000e3e7d9f28d0866e6cb3b27c0cb686fcb4572f52071a7dd721bfc8c3eb2d9a2445ca36fcd
+DIST thunderbird-115.0.1-en-GB.xpi 663503 BLAKE2B dbf258a6bab6275d4fa7e5215905eecf1aec222f9ff5a320c758c36b8a987ffbea9c80a4a75e8d0d1b480e91a220e640fabed125669fa125385659cbe1d8b58f SHA512 7c2f026dc91f5ed33877f7a1b399fabb979a2dbf74887e49a7a3217a007048862eb4a2632ebcbb6a6354310bfbcc10fc70cbe2a2b0961ae5374096a7cb40ed6f
+DIST thunderbird-115.0.1-es-AR.xpi 715899 BLAKE2B 644894cf5272fe524ca452bda4045a050d17d3dee9cc4fc14d2e2cb66e89a950b9abd9ae73732d2b5f774b979fd6bc072e9c10e3e59cec7f1c3447e8175efcd7 SHA512 348133143a2037e95a0e83c889c533179db122ce80bbfe6576ca72697bb6f969b7d00388e01f7919728321a828810321a53b3c46cb8ae58de08ad1c8fd1e5f13
+DIST thunderbird-115.0.1-es-ES.xpi 678293 BLAKE2B a4a30fcacbec8a50024c0f4bbd514a0dc2e9977ec908ee6a45ef3f71cd46c599caf914af849a63f5b739cddbaac28236c21ac31066395484c8f65c1c2f7b4f45 SHA512 91c03d83919e842df0b59e4f0f286be6c657024851c077978d84cb17d0cd53c3381ba28259722ebcbdea26bb11e5fe41c027f790a2f33110c71628486a28f589
+DIST thunderbird-115.0.1-es-MX.xpi 713847 BLAKE2B 8b6f54e578ef713a80e387e47a42397ac222aa0f397efbe49d58d4a736e4b2b5ab519ed6743536bf79d89868d03aece006b2dec86328cc602b400f1409b6f47c SHA512 6bec1cef7511049ac25b741425146626f25e4663381a475f444d27cca2402002f292f6a85c8a4ec1963097d219023dc389783b66d5da0789e46acdae6e6029c2
+DIST thunderbird-115.0.1-et.xpi 675270 BLAKE2B 51449423336866108d8ea36eb792ed7d9f18e02eaa395d16c1dd951bbcb2977c78c5f81b5bc35f500626f56b234a71f066ab0204f4baa5cec733573bd995a969 SHA512 62dc24e5ac3928d768c0edbf7a1b7a4b75b24a27a4d5efe44366442e7d9f6a48eaef1561a6189cf0f053714b245cfa765ed57f00fb9a1e4303036236b7dea54d
+DIST thunderbird-115.0.1-eu.xpi 695254 BLAKE2B 1c93b42960e60d410b79844423827de39957681d068ac6c86afc8e918527c12880455b649400b6c947f94960500079f74c730e99146a4668662d565797ba3456 SHA512 85d652926238b76ae2fe388f2aa39889a8b02570bb7d6e701138f62e0865031c7c984470cfd0e6d4e97be662051f9f60ab77c96e584b9f8b8765c6e0402404ff
+DIST thunderbird-115.0.1-fi.xpi 692880 BLAKE2B 3a83ab863dbb78c6c8a7ba2468cbb960825bd8533359d49d064fa038a08a71b23ff190af515c6707e3ed09cc199070c6633b44d24ec676f004381863ca71be55 SHA512 6ed7685e5778ab7a97264e404f739755939defa8d0316a209d6a56608b738f91732896841da07f5e39c0868dcb43876e0198b3d0f2c8b9ac6ba8933f3999d8b4
+DIST thunderbird-115.0.1-fr.xpi 728060 BLAKE2B 9529ac414e049ca4f941bcde87f79e1f56b02da449cbf0576613964518b905210e1be3cbe5fd66d84c50578d2ee06d942e54dec7424daad0b8181f608e13a370 SHA512 45e86583dfb45bafff2978dc97721106a6506e22e1b8f97733ac1835b9c1e0a04c3fdae9d400ad8466e6f8bde1dc6cb4a16deaf95047e1e113a70b89823f3d03
+DIST thunderbird-115.0.1-fy-NL.xpi 710383 BLAKE2B fc9ca1215f7726831942cda55ed8aef22a290100add37d13c78243c26d7b283a02a6d1bf55eff417514161ffb0712e1663c510ee90d03903a05fe33aa9cfc929 SHA512 2817cf589485019e8259d90485b61dbef1a9384202239d3633d1db57e7afe36949d1c32e43b905a1d60c0f69085789ce3c87cad821c69fcde98d3105abda60ca
+DIST thunderbird-115.0.1-ga-IE.xpi 605193 BLAKE2B 185e3638fa1b506a164a65c55e0de9125cf8d95b280533be30851e0bf4b97de3be4a25fe3890d34f802debbaa918c4d9a84957fca7b807589d749d48bc666b07 SHA512 1f90e4b6ccbfa173c9944a9bd33437b57ab7de0ba7dfbbd054dcae48c58dbc2411c89bea523416ffb02d90a7fe7434ebc90c7a0ca48ba45342a2fae40732b702
+DIST thunderbird-115.0.1-gd.xpi 706648 BLAKE2B 6b1d6d8e206297c38d0925c945bc40ef0fabed0376cf3afbdd4ca20926a945e491b5ee60315af4a203a419fbbc5df9cb8afee01d9fcc9a0baa5aa05025e2fb5e SHA512 8e22a3369889e3a91dbf17c7f82260a41461265a55d3b559cf91d063eb6c2009caa169eac2f414f1f3993e0bcaccb61ab608c84f0bb23e792da5e8d7cb1704f2
+DIST thunderbird-115.0.1-gl.xpi 707979 BLAKE2B 9841948d6e7ae15917f6045c702863d34164ec8838872ff9381cd1afd52ec207438b6e7d3cd60a6d6743038f1f3ae0db522cf3be004ee0d356543a9e7028910a SHA512 98e7b85aab49f4d742379518af97850935b6f46d92469fdf3fa7e7a22b422986a4db89451512b6157081ce028b16729de0ccc0053f29ae9f6aff8e26e2016ec8
+DIST thunderbird-115.0.1-he.xpi 669633 BLAKE2B 5834cc5e78434ed501aff39d3e33864fa819c4d37b0b92cd5fe33007bd19c262e5d34cf2db24a8f3858d9403a136aaf5d286da663a987d8fef8666ffe9911b04 SHA512 038aa237bb91d974f00ec11508151ab69e53c26ebebbbc7baee022b2cb061a2604da25ff63cb8d67f63e9dc8b954f37277de0bbb24bca303cd267cf1378ff70a
+DIST thunderbird-115.0.1-hr.xpi 670983 BLAKE2B 87c77b85cb82ceb85f854956504238f3a2db3a5832a864cb82b0094ecca554d3797bde095beac7f6294f5241cf541436c343ad5357740a8a4584558b55f3f1c9 SHA512 0fc03b0e52281ae0c577213689aa5a0cb04c56e63e87bd482b22796d75afc2c67438fed494732cf81d0abb3787ac92c07d1bed0bd5104dad9f371d0047aa3725
+DIST thunderbird-115.0.1-hsb.xpi 737267 BLAKE2B 7907f2136424d5bf8760ecb4194a7fb1cfe32489e596c88c185e2bcf70440be97ffdffe77c3ec6c737c0038b34b71f68945a366830bacdbe28ea1267df982dc3 SHA512 049d18251b6dc37d7ac25c6bf70b8a72b800d65ec1088a18f02423758d52f5eb2280bf771fd67ce3cdcab014c12fb2d9b685d2ff112ffe10b71069ebdfaa1ad0
+DIST thunderbird-115.0.1-hu.xpi 740265 BLAKE2B b0c52d0d8f7814684cedf1837d6b46e6ae0bb987a515f880b50dfe221a7fe0a5cc70d1a4fbdc761094adc17c861ff46a465946f82daeb265a48426bcbeea6801 SHA512 ede6d3825cf07345061381eafc5a10c49bab5e096a5e71f1e68a042e34e8f64917c0e0b6a85019700ddb98dfbe9e3e7d6cb423cd0221d3e2c3871e27343d948c
+DIST thunderbird-115.0.1-id.xpi 646451 BLAKE2B 979b3878d065d8e35750747028ac7a83811822ff9b04c46c2e59173b5e75ef8ee643d3ab2d2f43c98078ccf15bfeda598d3ad426222be4ae6aaedaa3fcc0d640 SHA512 63466238b2d62c6cf215c7dc6c14212222411a71887e276ee8f238eacc9f0f2e1ec4dc9f284270089143dff94b1c287cf1e9ad951c76b3b4019e1a775766035c
+DIST thunderbird-115.0.1-is.xpi 703423 BLAKE2B 0fd0435fc993a5696edc3cff5036b625a92dd42096e3da389520ff6e95d67197d27a0af47aa4ceaa009e7fb68724d932ec8c7c60d585c78f78a3072cc7161a25 SHA512 6ceec061dd49fdccf17def05206a692e1d4cd4876bb4734f2a6fb1c50da56fd930c65554a1dc3418c168f5cf267c5d4f5d116e0c9c5c5c6c63efd4a77c35d302
+DIST thunderbird-115.0.1-it.xpi 644880 BLAKE2B 4505d390868724bf31987d95a589052bfe126552d3aaabba0ea033051361334a839a985465c0562a1211a9635694ac8161408ed0009deb1302c7c3848000028d SHA512 f6cb8834fbe98634a9e385aeb71f49f017259ab47fcf774242a33064c6769def772c980e64af931d32601dd4ead9970a9e67287b3104a5b303730ee97d891a21
+DIST thunderbird-115.0.1-ja.xpi 779007 BLAKE2B c87ff192cb6dcd56749d89c58551ef2c53d1d4044e1c41c0f7f168690d6ae052bdc131f6e20d3b2a57d97e0bd7dc159313ec6a0b1a843ee95eaccf9257a2aee0 SHA512 8f52b17b8a49a7d60ae9e54802dd7d4843cf7c93a6fe416268c9b030ff864cba1fe1ed27cd0b3958b60ee7b55440b5574e43251f68c64e6ff5c2ab8c9bb57f3c
+DIST thunderbird-115.0.1-ka.xpi 767961 BLAKE2B d382a3c97afc5a72c2b928a66cb697114dc6ee7c6afb7f935a1705d73a88c46fbb6eb00c7e62e4bd87e862c901447d6b5c0a5bf585b16d0f01b29f63cce83d79 SHA512 30fd2e5fba19242bcc84b91358f5df9579649645b5f118068584c5cfb62b5c2c4197ca8bd104193d2f5c958d063ed28601838819dbc14b5612679d1d9d0cf489
+DIST thunderbird-115.0.1-kab.xpi 703063 BLAKE2B 73e135d9eb87767fba406148eebb3509ede59ae3297dd7426b5bf8e41d3c4298468b3aba2f296adb48e4753c2ed7d28c40183185bd67f26be7410e7c013af0c6 SHA512 156d49431ea9a0dfed9e36e01e9fb85dee358d7739342f196ec13c8264b4623abe50e1741c83f9a8454607a6440d0820e1602f5e6da90bc78b788ccc284b0d2f
+DIST thunderbird-115.0.1-kk.xpi 807388 BLAKE2B bb9e93f01b9e6c01a4809f0bceb80b5bd823c0e59bb13db489c559502ae125cd6fcbc256b1fed7ac5561b712701f06b42146551039fc3a9776714914a6427961 SHA512 fa1c885ceb24aa2f142c3df768292d93f5cb93b7dc99b7fe4d47a4e3323432582c1c4e0595ed78fe2ac7ce1c6cb8651a1b0e3693d070909f179f89616353711c
+DIST thunderbird-115.0.1-ko.xpi 714487 BLAKE2B 5558895019bff0857d6da163affbb1a6eee0ac1085dd8ea3483ffb529c03f6f972cb9fcf64458158d79f6b435de24b17016668a61aecb48047269698ffc3e208 SHA512 036faf74e47a90c58fbdc16c1b42898b81903d36f37b937b1724bc24b1e1ac018d169c956e0c548b904219aed0759869d1272a585568a2bda02fd6b7036765d9
+DIST thunderbird-115.0.1-lt.xpi 684153 BLAKE2B f687b78afd1b3214f40ec4f2d4d70da5de51f6e6216fbd89904ab992f9563b36e33e013112f68ba34d7874f0050c531322b73e2f4ba89e6a300f6d63592332a4 SHA512 22254c4a03d9446fa2c8b442b1f950c0e7f8c5dba9a14d93c67658fe125e21831cd399c69a1f58142a799b296ad668fc543d71a9e4b3a81d20966573bb69ceed
+DIST thunderbird-115.0.1-lv.xpi 608948 BLAKE2B e1a097510886ca5394bdc11c04e07f2161b7dbc6417de6cbc3c2887f81d2120ca6d315cc22cfd75c8ee04d64505ba09e8111f5cc565e01e47c16562308e93ca2 SHA512 6751e89f94f4be34a8eb3f8a1f6edbec5b844157638cfe6726e121643f030df2375da0c60e50f58afb5e7ea21076129b9d6e6a385cd93205b761414623662106
+DIST thunderbird-115.0.1-ms.xpi 569449 BLAKE2B cc820dc2a391883988843537ca823242cf66922b07a8f19604e7850b62d2af7c2a49035d8dd64696a2717931aee4ab3491ebf1ad72e3b5c58b9a0e66796a1efc SHA512 00852c4846513e870263a47e2966589ffd9aac809bb425ea32926140160801ae96a8cae18d06d042cfd777b33147667d9e584cc874807acb33264ab73eb79518
+DIST thunderbird-115.0.1-nb-NO.xpi 657595 BLAKE2B 806d3626dd419f405ebc23b0b72b9aa1849862b305420b6a1d9e963f05087a26899e25b6a063f94377e139f725de7978b433b46dce0c6558f05d558ec8a6cf9b SHA512 caafb23288cdfe9b1fc692b42b1002848b73c4c84541ac4bd51f652436daf0525f5e8d820db66955a15cc1f8bd058ec11c4d7414df85900a2b9e58cf10a77b46
+DIST thunderbird-115.0.1-nl.xpi 701994 BLAKE2B 02a69dab6991dcb33fc2aebb7639847ec3f1cf2c73de166853cf1097ca22e16585dd95461f12abdbf1d00d683ec88ea84e9e60defd15fd17c83866b6dfcbcd60 SHA512 33220e29f993923997d1ac99c14ee65da171cdf3d1f7608ad9bb83a7694a539649c0921239fa2fa20488710930d6593e80aac22e55053e5497d1c6ed8b92a7ae
+DIST thunderbird-115.0.1-nn-NO.xpi 673631 BLAKE2B c304c2e051cd083d98317135789577a991a4e7e0fe84a03f86a7de12cf942d049b31b5a4db7b3969939a216618f61abbbad5addaecaa1b273431e2e0f55665ac SHA512 b1de7e0240ebea2d70212ec38b123c14851b1fca000e326f77e476c1098be33e3962ff9f99e40695b79a1f858888aa712ad7f3d5aa151e957311041aaa408340
+DIST thunderbird-115.0.1-pa-IN.xpi 658677 BLAKE2B 6efeafd4c3530a7e7e464bf806772ec4bfc271d36b1f6bfb382f8e98d7f79fcf6fcbacf415fabaddc8d7bf56ba349de2db6096b66420853479b2862e100ec695 SHA512 d908dd14c66bc49fc19824d6c205f7904f49389ddb8a67c1078cf6bc196a66934fbcc5aab91e04f3113972d8d97970ad1cd1f5ba6ac2f71ba13cac5772d2f012
+DIST thunderbird-115.0.1-pl.xpi 720592 BLAKE2B 0be2d838605767c33ebc96263eaf072277dfd4edb141c2979827392cf19481a3f458f9db46a6b495a9b7fdbabcf19fc3bb93d06cb6f5538a09f81289ad767a39 SHA512 01266a6b12d957e696bc4ad0416bb3a75e1610e05db3f38380414b18f9d39fc9553c843c6d821ac67154c84356a9a7a88c924441e6af1088aad7856f517e9b9d
+DIST thunderbird-115.0.1-pt-BR.xpi 709604 BLAKE2B e1274e330d33739b6c940421d5225e0854eaa37f2365acd0a05e4e2ff6a0dfa39794cee291a4cb93d78938a43a01c5d1aece1aae540c20ae16e9e7cbea3e04b3 SHA512 61d16efd703491185ce4f8b028927f98eed57def22cc9b86741397e792ab2e6d28d337393960c4133137cfd44bbc07fc8f91b8b99dd5259e8c11bb1f9cc1f84a
+DIST thunderbird-115.0.1-pt-PT.xpi 690382 BLAKE2B d63ca5c671368f828dfbd27323e69795829cf8c87f42674a8b6669a5114ba35c85a2afb0636f37c4d4151339b0324c1048936c5cd69a7198b07b2b7a0e74eb61 SHA512 114cfdb114dc5540bc8d442ec53fcf825b395148f8a1df5e7daac6f4b2499e09148d18b7b84a0f61827b21e5d3bfb6e9e3dc65db5ff272557800b0b3deb4cbee
+DIST thunderbird-115.0.1-rm.xpi 706928 BLAKE2B b1efee8a97dd38a9bbd648e725e533ba9b389f70af7824fadebc8c2179ce0fd297e1030c3d3594452bf15346b8e8758d2b2e7d57f534aec3665f8b0ecc55c566 SHA512 da737340d2b63714f0e3862bd9db26f2fe61f1db854527f8b318b0630523f153d0d0fc102a57349f09eef1dfd71e7ea799efc614c1f8f6636de06c9446cd7a55
+DIST thunderbird-115.0.1-ro.xpi 654734 BLAKE2B 452e25d84edfa3f6a3bea454e0b4a607f2cbf2e32442304ee5a4f2670f32c326835389940afb0dece0ee68271e3e50fed7ae599575d84501773c2d595cff48f2 SHA512 0cc71c1f9035dcc46d7b05f85f5bbeb8c39a2cdd4583d096460116aa2158800392fbb213e7171af844d33281d5d3a46a22c406dd764e255e4e442b2e7ab43368
+DIST thunderbird-115.0.1-ru.xpi 824953 BLAKE2B 0bd02c7b8f930cfca69363397feb8622f4b9411e70af3c2b29e1e3a02a2c322cb995b66356dcf1ed5e595ef35abc68109c9fc9ccc57b28f755f507f56604b752 SHA512 7f622f0fed7205c1b5961d35418b6ddef88c2f6cb9c126d282f18b027aeca8ccac0a7a6c4822637b29bfa9172d5224f4809a67e60da893f868bef980bf4ba8cf
+DIST thunderbird-115.0.1-sk.xpi 740060 BLAKE2B de28598170c986b719f637322264f96e25abbf4bc12b5be636b9ea692509dfec27e8a0da83e7523a601e7a744ede557f330f44f115222b62ac8b394aa0866e65 SHA512 1247b10702d5bcaaa9450b4e3ededbba6da7c7cfab207e68b2eac0f8dbf38ef117f52c94a13fdee3bdba8686d1bb31baa5905fa679d749c77648ab6b71113e77
+DIST thunderbird-115.0.1-sl.xpi 703821 BLAKE2B 9f6f72727d37c1f7eedd0d38d7cdf5721f873c64b672c389583edf1c2948bdf7d8251bb5884e25df67efe92e9134ca8b71668d195cefc02c79d0b632da2be310 SHA512 4be4addc601494775a5f822a6724f38016889321255961695875b72d826cb23d365670c847d8d0917e9c7baf37084983353e376a60efe2d7bd6aa1dd98cef8c3
+DIST thunderbird-115.0.1-sq.xpi 721424 BLAKE2B 7d608c03220e13ab48d90dddad36b55e70df3d053dedaec7e235e9c17d36f02a5ea5b68f117db04ee17e363c67ab49910cc941dd760e4ea344cb929183b1674f SHA512 4b6dd93d93e78d266d13c4d83b11813745d7210fc926824abe17e5846c7aa2a3132ec38af281a75ca407aaf46f656bcb6caba954b47fd9a637692ab798787f8e
+DIST thunderbird-115.0.1-sr.xpi 743992 BLAKE2B b1223f812e574766673ebc954db8034dfb8f58c5e85c5f4c0b1517d9f991a9d3db1d64800b3c782ed6af43faef9089df0a5d542c0177a19502739587f6e6d246 SHA512 b63edaceb1c8a2a96dcb261b814098677795d1223e90ddb8f45732928b2b1e1831c6580a83d66f709d9f0f3191cced98707f91f4e351d2e22d6e416adac5cf38
+DIST thunderbird-115.0.1-sv-SE.xpi 705780 BLAKE2B 23f46a5698073fb2df3f993a6e7a8c049605a273e613a155019b8bd666c6ae9d5bdf9d15e2077c48e7592a0c1815794d7af533cbcb22f73389fd7a73729c79b9 SHA512 89e0d1f14b87d1fccde7b83aeb56a7c334ed00a4eb28059b18a159b2fd55cdf2597f68a6da6de916d4bfe4029e9af9bb66b31b2ce18ac2d1c9d9c417e336f6c1
+DIST thunderbird-115.0.1-th.xpi 765682 BLAKE2B 609e17692fcd76e3e937cc859ab6b4a107a7ccecfa2dfe99a3a3793f234a0b0e3e4092d079c0d006c83ad4b9d21e5b2713c52cc657d68e7b87190254194a809a SHA512 9244d0050a9d98d5a33725502c26f0a8f3cd6d852836fc9c11ca8bd47b8a2f59e8dffc0b9a3f0f4e6d4370a3445689b4782b4d3d2d45224de48c64727c6751bc
+DIST thunderbird-115.0.1-tr.xpi 717911 BLAKE2B e2744069da3801bedea2975942a2bad033713047d5d41b06623dc0b3ce579881812d51e3096d9f21652683a32f35cf8357a09b88a97b8861640b11328d367441 SHA512 5d0c4a812da5d232a4c7473ca16c95ac18802e1c72712f6db561c8ad5803026db5a2eb24936c00fb2c3702f314fabd0b7cd994ee6a4a4e0cc47eadb5c3a1b0d5
+DIST thunderbird-115.0.1-uk.xpi 817033 BLAKE2B 9043ae9c8473b9c1e52b598495dc4ca38ec8fee7c9ce93ec6fcf88e4f42b9a131d0a8fb31f29e78bd795a68ea1237f59ee3c29b710b6c34a2962348f7c080a7a SHA512 62879798749573fdd429ad5e398faf98a061de8751e1c2a77072f5b8b8583188ada879a55d423f613e474b5a2fadbea5ae8402eaadd714e18c489804361f53c7
+DIST thunderbird-115.0.1-uz.xpi 581771 BLAKE2B 1566ea3ef2c4581460797764b88b15c5ec2b4a296847f2b89e58c8e7e6cd627abe9655ea43793ae6dd70dc78d75cd0b06c0bf53d59072cc75cdb9a052a1bbffc SHA512 060384a81aea59e3cd6bc32b6abdb1de4d63d5e2dd0a07b6ac4d36f92de0b95cda2904112fe98e0f8f0b8cd46a4a8897e1469eed64e7785cefd39e2f57e4069f
+DIST thunderbird-115.0.1-vi.xpi 746252 BLAKE2B b77d3ff0967238887a86115277b2491569045533b0d29a87e611f23dcf974ede11cd43c21c9b51a40016563d4b58bc859b4012ac1ad3db2b6170cce4ec44efed SHA512 855ba6c9ee27b796144a367160d1f0003e0a18bf39fc45cc41a2e5dab36dd2ed3bba85b46cca3779ef6173a39b0f46127993d20308ec7d544e865fce59fa8fe4
+DIST thunderbird-115.0.1-zh-CN.xpi 743079 BLAKE2B 75ec327231e651d4a56717f2c8750cf9a7921ffaf59df1668011ca7c295c394de7e8a0973b9f8e6e99aa62cc7fcab68d92f885f0fb41746d93df4a1912e3795f SHA512 521bcc9a63a53bc5570c2a47330f80e0bc57c1eb211299f21a145a2f6d44c07d4be9c042c13224583e114641ec20476ffd68de624ec9803f35b24e5520ad7366
+DIST thunderbird-115.0.1-zh-TW.xpi 746784 BLAKE2B a69d56634ca3fde61041cccb38d836dfbe21493f2f23e39ee3db7091306de2d70da70d44ed43adecac539c8cb251c45684b8afe6f86287dc67beffa0ae43aca0 SHA512 9846a0b9067ac694bca75827c45f8133d787a4278f2f3808a81ec0efb9acbe089aacb71370d91a1eb3df27aa206b997915d0aa9fb8b0bcfa936e16499020a5e6
+DIST thunderbird-115.0.1.source.tar.xz 535105316 BLAKE2B 0efe711ed744ceea6dee940df2ffeb9cdae3ec301691bb3c4c2b9285ee68f72606443221da137236384239c5cfcfc7707adafb51ca0122f734ea4422f5e0d6b3 SHA512 9a53024790a537fb012d66e683248e82a9b2c2a4db6fc90d1e1d3c785c28e9d65f1d110c33dcbdad63f8f6ecb3e5c6a526c0028c3970125022ebe384506d4ba3
DIST thunderbird-115.0.source.tar.xz 531139876 BLAKE2B a3eaddbcee2ec24e3ab8e6f51e1561fc8de66de206ba1c4403a1aa1c803f37ea8da15c4a296516685b125060dc19663e47a5e8161d8a7ec6d65474d2c17a5e93 SHA512 2370a8e0b5ad2bc71bcb787cc93d31e5bf91bee9a4126c8677210e05936a726938b5fcff9b83c2ef1f509c1cadaa58638ba2399682308f32326a054496ea7a23
EBUILD thunderbird-102.13.0.ebuild 34355 BLAKE2B 54785ef915866d370066db41b3f8fd3126582779271df87d42df3eb8443b074f283aa72e0a2469ae433ae9fef6a5b04baec11de0445cb3c96d093862d12cddcc SHA512 a821ef4d942801187bfdbadfde0771713dcb39bb487b47998578e5700a91c90e5fbcd0f3ac0809487d18afd08139279d5e7bb99c610273c6484171153f2bd54a
+EBUILD thunderbird-115.0.1.ebuild 38497 BLAKE2B 9819db27ce7c898d4d32531704ca4c489bef89df367d6e8fe2ab40c0554cb6b963e2e425bb8440ae0538518f9e4fa7509b6478d934f80cb1058c6f2f66d2223b SHA512 d57378ed2ff8dee597b90ef0db70fdc7cb75bac0f4afa24601c40d6aa615322857fe3c88d42e6ecbf0fcdc0dfe8918b26f5ee9a8da69b1e8cda92ab049644045
EBUILD thunderbird-115.0.ebuild 38497 BLAKE2B 3658925307c55d9bf53ebf29b0c66bb2c4a7a49236954db3cc6b7c6d77eb3d3351769f8cc2b82153d2fc8fe39ff5908a130e8265145218ccf246d60c77f27d2f SHA512 b639c3014ed9961537922881493d478f64834b267bf7a47f7bf6b294f91c96ce24779c1d85b24ed461de3bb29b888d84ef1978d4ce8d3f7d06a1e7f6533fe751
MISC metadata.xml 2448 BLAKE2B 3685d528d3211fb49b23b0fb05c67269f1b4466bef7dd6f2d890803961ddc1b1c0d8bc06b2d421c17384b8a3769bac35236f6af07059c0cbf9e694edec8b1dbe SHA512 d9a8983f34c9691ed1d0174cac3c7300995b9f7b877c09271210cc3f2a27dd20d9fbee0c99c1f6c987ab9566eee71a0624d2d68f97c84665c1c500ac8f3ecfb6
diff --git a/mail-client/thunderbird/thunderbird-115.0.1.ebuild b/mail-client/thunderbird/thunderbird-115.0.1.ebuild
new file mode 100644
index 000000000000..dfa02c4e2464
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-115.0.1.ebuild
@@ -0,0 +1,1319 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-115esr-patches-03.tar.xz"
+
+LLVM_MAX_SLOT=16
+
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="manual"
+
+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 linux-info \
+ 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/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"
+
+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 +X"
+
+# Thunderbird-only USE flags.
+IUSE+=" +system-librnp"
+
+REQUIRED_USE="|| ( X wayland )
+ debug? ( !system-av1 )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+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
+ sys-devel/mold
+ )
+ virtual/rust:0/llvm-15
+ pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] )
+ )
+ )
+ )
+ app-alternatives/awk
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ !clang? ( >=virtual/rust-1.65 )
+ 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
+ )
+ wayland? (
+ >=gui-libs/wlroots-0.15.1-r1[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.90
+ >=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
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ dev-libs/dbus-glib
+ 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-73.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]
+ x11-libs/libxkbcommon[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ dev-libs/dbus-glib
+ net-misc/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/libxkbcommon[X]
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ )"
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )"
+DEPEND="${COMMON_DEPEND}
+ X? (
+ 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 && ! tc-ld-is-mold ; 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}"
+}
+
+# This is a straight copypaste from toolchain-funcs.eclass's 'tc-ld-is-lld', and is temporarily
+# placed here until toolchain-funcs.eclass gets an official support for mold linker.
+# Please see:
+# https://github.com/gentoo/gentoo/pull/28366 ||
+# https://github.com/gentoo/gentoo/pull/28355
+tc-ld-is-mold() {
+ local out
+
+ # Ensure ld output is in English.
+ local -x LC_ALL=C
+
+ # First check the linker directly.
+ out=$($(tc-getLD "$@") --version 2>&1)
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # Then see if they're selecting mold via compiler flags.
+ # Note: We're assuming they're using LDFLAGS to hold the
+ # options and not CFLAGS/CXXFLAGS.
+ local base="${T}/test-tc-linker"
+ cat <<-EOF > "${base}.c"
+ int main() { return 0; }
+ EOF
+ out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1)
+ rm -f "${base}"*
+ if [[ ${out} == *"mold"* ]] ; then
+ return 0
+ fi
+
+ # No mold here!
+ return 1
+}
+
+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'
+
+ # TODO: don't run addpredict in utility function. WLR_RENDERER=pixman doesn't work
+ addpredict /dev/dri
+ 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 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 && tc-ld-is-lld ; 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
+ # 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
+
+ # May need a wider addpredict when using wayland+pgo.
+ addpredict /dev/dri
+
+ # 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
+
+ if ! use ppc64; then
+ rm -v "${WORKDIR}"/firefox-patches/*ppc64*.patch || die
+ fi
+
+ eapply "${WORKDIR}/firefox-patches"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+ # Make LTO respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure \
+ || die "sed failed to set num_cores"
+
+ # Make ICU respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/intl/icu_sources_data.py \
+ || die "sed failed to set num_cores"
+
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
+ || die "sed failed to set toolchain prefix"
+
+ sed -i \
+ -e 's/ccache_stats = None/return None/' \
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \
+ || die "sed failed to disable ccache stats call"
+
+ einfo "Removing pre-built binaries ..."
+
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
+
+ # Create build dir
+ BUILD_DIR="${WORKDIR}/${PN}_build"
+ mkdir -p "${BUILD_DIR}" || die
+
+ # Write API keys to disk
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
+ echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
+ echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
+
+ xdg_environment_reset
+}
+
+src_configure() {
+ # Show flags set at the beginning
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ local have_switched_compiler=
+ if use clang; 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"
+ 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
+ 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-gpsd \
+ --disable-install-strip \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-tests \
+ --disable-updater \
+ --disable-wmf \
+ --enable-js-shell \
+ --enable-legacy-profile-creation \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-ffi \
+ --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-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.
+ # 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
+ # Can be removed once upstream enable it by default in the future.
+ use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' --enable-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_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 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
+ fi
+
+ if use lto ; then
+ if use clang ; then
+ # Upstream only supports lld or mold when using clang.
+ 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 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
+
+ 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
+ # 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
+
+ # LTO flag was handled via configure
+ filter-lto
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ 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*'
+
+ # 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
+
+ if use elibc_musl && use arm64 ; then
+ mozconfig_add_options_ac 'elf-hack is broken when using musl/arm64' --disable-elf-hack
+ 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 tc-ld-is-mold && use lto; 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 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
+}