commit:     25ebf418b503142fc547f7cdcc5ed90c37e6d06b
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 22 18:38:33 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Apr 22 18:39:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25ebf418

www-client/firefox: add 125.0.2

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/Manifest               |  100 ++
 www-client/firefox/firefox-125.0.2.ebuild | 1419 +++++++++++++++++++++++++++++
 2 files changed, 1519 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 6a178b525baf..fbe1b113f8ed 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -703,3 +703,103 @@ DIST firefox-125.0.1-xh.xpi 414339 BLAKE2B 
4f5d61a63cc8e8ce8e10cd65ad0e9183a3201
 DIST firefox-125.0.1-zh-CN.xpi 645742 BLAKE2B 
755fb1abb57b3e38d1ddea69a72b6cb0eecaff98bafc46555c449d9d60a3db30135d1b6a37c23da5d02c16f2e993a5d1358594cc3941d7371438c7e40e045059
 SHA512 
bb12d80156938fd03b90c4dc0b30c944913c4c60bd697b97d9adef0c74f48531c793010f84680127b9c8685eeb8194ab12fb1d495d52d8e49c3c843a3576b6c4
 DIST firefox-125.0.1-zh-TW.xpi 647637 BLAKE2B 
036b026687d33217b854438da76df09ac2fdd94d4504ad9f9334650e453b96e8122c139f598a526798e3291ceea813b63ecbb05b1e57503507ad4ffae9c996ab
 SHA512 
10c395063dc7b0d0633cade6571ed5abe7388932b5b8c05297efbce2ad98652a0314823865f486cfe019f8885ac0f6afd0149d0752bf63fb5f8f626824441d35
 DIST firefox-125.0.1.source.tar.xz 553213768 BLAKE2B 
5b29fd638903617c5bd0716b304ae2d96390264f4fafda8a31698c25438635e865a34221d0e11b440c38f34095bbae0a322694870e09885f4acababf944bb338
 SHA512 
6f2f336de8b0ec9cb19ba20c909407b7b88c0319ee3b2f1f3429133516b0c45b4c7846f287985a0cdb9f34acc7d5378ed14fb48e26bef113c8ac360501a30c4d
+DIST firefox-125.0.2-ach.xpi 460866 BLAKE2B 
f1a1036a9d17c16c81b9e2b8250e61c964a9d8016ca3d7a6fe24859c203b3cffe269389b53bc99b6c9c94bda107f7d74a918669c360d723b984002ce38c686ac
 SHA512 
805f130d05e829422e930180cf7bd0268eef9d3fe7021b679b5be8fed5f6dc40ccd8bb4df3da2bafcd15835598921537c0024e7a184d65a614e5da698dc0b8ec
+DIST firefox-125.0.2-af.xpi 414694 BLAKE2B 
84ffa576949252520e8cf9e3c80c34fa135fdc8f0f39b2e42edf6189141ed5ffc6ad488ce30a20b094d5e803c659ee37f8251be112528d82af2cf8d7d532a362
 SHA512 
4bc6ae95c2ba87566bbab7c19e997c2d5b6012ec4d6c0905582a68482b1b13921b08e27a68a45c54ceb8320b746e68cc677d1cdd92b3eb0f1950cb3cc90e6e5e
+DIST firefox-125.0.2-an.xpi 502762 BLAKE2B 
601eb96a7d9af68453dc8d228d18fda63782b4abcdd871e50176e75e95e3f27520fc43b9735bc4c0a14c9291b049b4897322276c825bd81a939869996e1479bc
 SHA512 
70093d5264c4662372ea4e1c88f6856d87bb4ec3c02b68d43e7fcc214eb194756e479d3c6524fc6ac2675f669a8fda313729e2777cacdd62209f643e783d1f09
+DIST firefox-125.0.2-ar.xpi 603477 BLAKE2B 
279b17dbc89a1887a98dcbe63a3b63d9287eae7e5815764bbfd784f2340bdf99744bad95b6118600b3a2dd815b82955a95ed216ff419e74ed17f15e758efdc45
 SHA512 
4645bbc7a9b3fcaeba1f69dfc91f79453053bd2c3930cb0ecf8b6287999ded5210c323207ab313b1330886d7ce7bb7827149d21f7043964285969bb524c74b29
+DIST firefox-125.0.2-ast.xpi 493022 BLAKE2B 
b173c39ea791521ba9cfca9b0e87ef38f26ecc2026c00d67e97bd879aa75d141a88db7bdd010aed3c2688a8ee66558b9db4d8da8e7f7e6daf6e47d2a2d1b0144
 SHA512 
dfcaca322b38cdc4649b64ed17bc48c4f04d60776cb88b19ee02f4b852c14600efc221bad89e34c76c8ae29bb0a7f1dda4175e1b4673c983209f1d5617da1082
+DIST firefox-125.0.2-az.xpi 487522 BLAKE2B 
504939f4fd86917becbce7ee08df20cdd58524d3839c46a65a50b68b2597e6258a3dabc5909f7af1e7e6057b8549161e80667cb1f111022fb828b6a2b71a8274
 SHA512 
d168ef697cc0eb311a8cc58db44b4df32712df6906cefad1bd1f4feb45860d261dd439704905e7f8c281d4b40d276f2b866c732ebabf8c0523dfdabec22ceab2
+DIST firefox-125.0.2-be.xpi 702932 BLAKE2B 
0a4158df43f6e771f77978f0fd3e90e7c3f7f4da4a72381d461827a203d352def5ebb4a9053af0d2fa25e0b05c301d09d33bf982374d715e3acedb9777fc5e62
 SHA512 
25bee17359ec81fbe7ae3a3109103d85fed7149ba15e70d7ad999b974f7fff598219cbc310c67b4e2041d05ba6a97f880b9d60f1a05bc15185d945b0ac010f67
+DIST firefox-125.0.2-bg.xpi 600540 BLAKE2B 
da75bb78dc02868d50414eb0e877999925e391d852485d129abdb1486d1d94b5bebbf0dcb86eb7b6a96d42c4d933cdec783778973bd16884fc9300602365ab02
 SHA512 
e0a69b34f6b2e9ca8c79a3a013201307ba451d2c6dc5ea29199c8b04fd5c29ad31d4f0d0b981e0f6e2c1f2869d9492cffeb000d1a49cfddc131b6d8acbb5ad79
+DIST firefox-125.0.2-bn.xpi 578154 BLAKE2B 
eb4606f600cedc10c76c8e578045f05ccb846cb42393e8790f436bd3ba5671d62fec7f1626566471ef073eba60dd1a23bca0ce5d652773130f2e1d5ca0ea46db
 SHA512 
068f38ae78b8b3d0167ad82c5bb09ea76827d94ecac8a3d744c7e112365380c519571d4a922ecd4f605af886db52d1930feec7795ff2e5836abbb4aea0de32f3
+DIST firefox-125.0.2-br.xpi 583241 BLAKE2B 
d628f0e1d5991dc7ad2409e57dc8dfc78565f0e426fb4beff117082cd4ff8adf85330b5808dceb45aa14dface92d2baad713b96777c4c69a49d0b836811d9a99
 SHA512 
d86b0a158828b74fedc96310eaf6e9905aa59071cd83a519e8372012bfc8f42fb0d8437459b659f878950b30bf78c1fa340a13b0b8b28cdca18cefb87bc79377
+DIST firefox-125.0.2-bs.xpi 472636 BLAKE2B 
1a196bb9657aa0309205e839533d3062eaaf50452c609c0c2d9ea3ae0cb15e5e1e88f111807b252907556f31a63926e3ef6746b2e3d419793f1725c2fb6c687f
 SHA512 
5f7068529d811729dae13ceafb4090cd5b6466dd87c165b16bdbe7d1a6d162b87d9c0badc5fee5eb4e1a8c25048f42070e815e431b959e7b01b717808e554592
+DIST firefox-125.0.2-ca-valencia.xpi 542904 BLAKE2B 
897840132f3d2aae59116cfb0ae1a3fc913cf1d7f733ee8755c7b26f5d81f8ff00218117bb574cf6b23fb3b2a86bb1cac47d3d20ce81088e384b08ab612b7b1c
 SHA512 
af592480a3bcfa489c3d49d473215f7b4d18aa2fae68c36715644660abcea49400d542c72dce387674881da5de9d0ee09d8b2480c1413784bcd67de8508bc9ef
+DIST firefox-125.0.2-ca.xpi 581518 BLAKE2B 
a392ee14befd13f358e1690af3e7bb3940a6d12e887c7473396abdda9eedc827e339998bf405d2b3e4e56085b49d810746bfa8cb288cb4e94153cbec885c4a77
 SHA512 
783e9ca6b55143738c1f6902df8192c1b8c47f6e042b59cad33a9930867bf85827ca6de8725d24fd4321789b7c56c8448138406df4f1770ae0bbdc10083848bf
+DIST firefox-125.0.2-cak.xpi 589356 BLAKE2B 
be5d6f42c42069aa6f49a2567db2bb1e1b1da30617949eb0e3f37f6b54d7cfb91e914d87db07626a6a7eb7228c21bc855e1ab23ebd73fc0dcdfddaa1e127e2da
 SHA512 
c73c48bd397051463f57b158eba368209a4d84300f35664e644a12357d04ce8e56631aa6466304849182d13c8050e12f0c3ee7e77ca721cdbf52478bcd77dcea
+DIST firefox-125.0.2-cs.xpi 647935 BLAKE2B 
6ba54b7a342e2b49595e0d26c85504c267085b84eaa0e574de47335e326ab59295f567df2133e873093267e252dcce8d77378324426a9f0ed5bedbd77bc5cc74
 SHA512 
7e27c93d7959fbb7fdd6dda642febe47600174dcf91eeb564c6fe203a0a6646626aaed280cdc09d61ac53ec7f50c5b36d4f1ca9955d4753c5d254014b44762f1
+DIST firefox-125.0.2-cy.xpi 613450 BLAKE2B 
f7d11d9ed68c78b8dc764c0f3efbda01e27faff6cac94ad92fdc3df4d27a3ed6bdc9f2679e641d1c6e6196c9b5329498cbe062d4be9e4dd9824662a53943f6dd
 SHA512 
207971db56a51ed0bb5ee7ea68ccff93618bd89bf25428f9ceb88cde28abfa4aef4f925b72d9749ddff68fd3ebae4bf50ef418bf35379f21ce46f2a0069abaf8
+DIST firefox-125.0.2-da.xpi 601717 BLAKE2B 
54c90f50fa0ba0f1030ba7e168f1fdfe3861e2d7cbb503c790216ed0cfaa2cd78db400abf751383b7deef856cfb383f06a2e01d4271b0c26f2730eb30e8a5058
 SHA512 
dabe3115550388301196e46215bd8be9be698c2752f0e6ad7d7e6482d0d29b9892f9a29148c5fd1bf551dbbd60330acc0fb001c75c52d71a10054d78a08c0cac
+DIST firefox-125.0.2-de.xpi 622999 BLAKE2B 
9fe5ff950f55579694011a284ab7f237c9fc9c37fd909ab0563bc8b75db735f3f08ca6f84928e88c359026368cd167e632029bc625f2de560ae1501b495a9234
 SHA512 
008b2358a70c383c6184783aea30a93381ce36e45f9d43ebaa511d9ce4cbf4e0aefea9e57ab9dccb9b7f0079b195ae42b40634b0160819eb6943d37f3833de18
+DIST firefox-125.0.2-dsb.xpi 639415 BLAKE2B 
f388d79c2430c955ed631ee2127b245ecc894376e5ad28cba3ee2043dc10ba53e188b968dff9eab98bd2eb74be76e270ccf753acada88af2d12d16deee09ee05
 SHA512 
8d22779b24c96b0ba5d9a675dbde5f9d3e708141e9faf24915f5ecee5a56a78a685a407fa905043c88692231d7f09a52a7fb96aa0401289f6eba835fb3ca4782
+DIST firefox-125.0.2-el.xpi 720357 BLAKE2B 
911aba44882fdd7a66b4842e6c312bfbf2b74a8a71bada26200ed7b47c14c8f45fba829a256b10de471eb86f0b9f1b461fd22d9032bcd3855e7fb96d653dd1b8
 SHA512 
a677cdb8bee3536a26bb346f691ee0909e89a881bceaf8ffcbbec7dff4b4618c4cf1a62364bb08d62eb60a69a48c043063ce0e46a3d32e6a51888351e1454ed9
+DIST firefox-125.0.2-en-CA.xpi 574330 BLAKE2B 
563076ab9f72b86b716c5b697ce55d6a0e0e5466ff1b899eb56442eca01480c94db7a4a927d4ec229a1b9caedcf3d3168403c8d7ea30a0a777327d9f959e7574
 SHA512 
bcad11e94ac7f52675bf676e9e2f769876392cf8f68244d307d286bb0c862bd363d279dbc8258d08615cdd19b9e6bdb59b88a0f7fcbc0d41211220edc2bf7b78
+DIST firefox-125.0.2-en-GB.xpi 574951 BLAKE2B 
376512b8f26674160825983ed5e810e8ed4cac25eb526757bf9f4eed40d9c5ae4f5eeb8ac1a9b19df28d16e80cfd43dfe8cab68de4522c360f97801432cbdebd
 SHA512 
1e570c0c8901628b8e123c3e8fb2dd7d22d2606007ac611935d3abdc437b96dfa17ac5a21f24d0d162e6e8bdf1cf9f72a65b11ac330276457e96fdfc296d3ca6
+DIST firefox-125.0.2-eo.xpi 603677 BLAKE2B 
27978480ec9cf01da7d32413166f96bca285cbd076ced4ce509b036d2cacab5dfa8770ca762dda9cbed98611e9935e0cfdd29bf1c55fc13847b1fac301a9baea
 SHA512 
4efd9913c7b9cdeb5429027392cd6d4f6386cb877fec296d8972f9891018dbd96bfc816576c8f63aeed9b6737c1db0632d4edd6fd5f748bd9ee8cc7af1f0293f
+DIST firefox-125.0.2-es-AR.xpi 616963 BLAKE2B 
a089803992c068581fbcd9bc37bbfce658524d17e1378a092e34fae0c29e282f5f00762fdc08ca1e223cdf7a512ed55e603ef6f8640b05be4dca7746c2a3b365
 SHA512 
d713e1509cf08352c1e40779c64c6b3141fb0a88d9acbdfe409810fcbeca9a552e14350ec29889216fa5981979f7406fee1b63318eaeba74ae3daa4823922140
+DIST firefox-125.0.2-es-CL.xpi 616150 BLAKE2B 
d4276cff245374e95d5bbf873cc64d81971eec57876138b42b13b7d0168373a17daa3063dd359f12f17ebdd93458083dabe9aadc0ae5798af97eb267506455ea
 SHA512 
03d58a0774872e597e6a3e474a901d6b98c3c4fd295daa8772531064f507c427f387b1b98338a50c51c81248ba6a8fa727d77e004621ac8d8dfa9dbba52c3781
+DIST firefox-125.0.2-es-ES.xpi 610899 BLAKE2B 
53dd6bfc80ec362284af02e017fc1899ff09538dc357e70545bd7962df5bd342c992d3d81e3c0167faaf0faf88fad43e6b2d87db974459eda4c0602cfe8eaac7
 SHA512 
3ca9bd0db54fe4d410e40ef7601b0de3a7e8fc779aed9f11b0a4fabdbc31c577d4cab893dc231285f6066138233f876a9fbeea25a33b90074e640d9dc8841771
+DIST firefox-125.0.2-es-MX.xpi 587993 BLAKE2B 
f605242b146fe3cb2d690642c413d0f344e84a543f3f74ccbc572a2dd7338e9155f3999041ee663db502f1c00260a1b5c4b5eaae29e1193539f77c9fc1268346
 SHA512 
8f2ae310f5944b81a8fe143abe13816aec18f18036e6c808ca7c1b119c1b99c6f2520dc4843d6cfa3ca024ce1435b97f9f52ae769e5d3fe23baab82d37c37904
+DIST firefox-125.0.2-et.xpi 536086 BLAKE2B 
473cd8104e094e21752e983e58cf8e48ce9e1e015a0561ed825e8cda73ee29cdf81880542b3696ba06e650866479beb5a40b9d4229285777b6e6e9375986f867
 SHA512 
779ff3d4252b6cc997c50726b3cdca71dfc3c243d403b7a9cbaf9d0d6e294e32629c3136a4d9b89eed09ec56cb6acee59ccbe5e84e3bfb720888436ba287cde9
+DIST firefox-125.0.2-eu.xpi 590627 BLAKE2B 
73d9a84fb0e331c631638591de8340416de394b2db84899e37d13e010de14b04df1d041acf1ab2b08dd4bd9de0c47f4bc15f3a81fa99cb717dfa2655946a7a7b
 SHA512 
d8187ecb9b0db558e53ccab5f70217fb15552831169850e2a49e32c777b244c73f0637c360aad45fe7a77c8b4d5135ccad0508dbb430fc61d4e56ee48307daa9
+DIST firefox-125.0.2-fa.xpi 586608 BLAKE2B 
d41cc89760d24d19613fbdd91ba7c82d6a2e484731de2239f38382ff43f7f75f1de90dc7fac1c519db9a2de5fe335d1f5016bbcf546ea9552dadd52c4a2dccfd
 SHA512 
3a554c4f6661dc0a1d23f67cf73932e1638faa8e418be7b307ffbc3e91ea04b25059b8c04a79b7132edd956f771efed1427c12ca9c1b69424f3c03fbd84ff7dd
+DIST firefox-125.0.2-ff.xpi 472978 BLAKE2B 
7312ccdfb65c9cf013728503a01e14ae3e6af3ff753e0cd7c14c2f778529949f4fa2edd748856160b248483fb2360253b2980ffafe71e0c34f1da069b7621f31
 SHA512 
c6dbcdc1bddd976650d417793a707163a2f8c652704c6e6b865f36b10e37d3b0402173189796e0e1fda1ed56f7763f598a6a5e411ec3a6d35b4776fda68be7ac
+DIST firefox-125.0.2-fi.xpi 597073 BLAKE2B 
77bc92766d0d6f60cd864ad67c1268a87df5fc5806fe8e858110e26cb30a4e1fbae848e9fa407500b67397b1f7ac19c49439b5869c5ec46ba916944cff5ac918
 SHA512 
661c25acbcbb3d937c2d1de947cdb2265698ba2eb47ca3170bce57cd7a7ed1aa80072ba57a95fc46db8274295dadb44cfc67d940b153305cc8d7dca5a2e93980
+DIST firefox-125.0.2-fr.xpi 628598 BLAKE2B 
47cc00d596aca385454633e99c1c565dde101f2c67ff2053fe273a24cbc7c015ae9a3b1245a5c9e2d9456ec74fb0ff8985b457c4788a19b523bb9b8a275f3b96
 SHA512 
a74d85b17155e5580d7c24808ae404a71bf3fe8b2b2fb7696ed9434055f6159cc717add3adece72ea09fe654b6d57dc2575c8d5e3d9f684f2d9eeb73ce95ae01
+DIST firefox-125.0.2-fur.xpi 622704 BLAKE2B 
ea6f5ff6b5be5ca7174e38030bcb0cc56adff16b46ae0cc0d5b6d6470c669c9a09930673434415e3ce7838f072b7c3fa1e1286ade4f54d41ec62148c6c40fbf8
 SHA512 
5b7944a1152f1f1a651fb042d5da43124a0881f0098d6b6a1b93399805e6fdca836eac10ef365595d0312f9e4d686d21003611d823bafce23ca465541fa4241a
+DIST firefox-125.0.2-fy-NL.xpi 612536 BLAKE2B 
0ca05604cd799e609278f67f4814c40f46a4bf8a0057f16e999c16acb08d46d9636cd2210d64ca35ea107fd313c6bf6edefd38599ab9775a74faf56dbbba15de
 SHA512 
e774aaec93b806be01bb1c8722487ae60e15a3ca48d0747d8ebf4dc627b89056cf64e71c702e73ed2fa47d16726b0a798e18989443aa78317ec5a8d4d50c0764
+DIST firefox-125.0.2-ga-IE.xpi 468131 BLAKE2B 
7db619fbab2510d540cdc336a52fae355a356bb8316ccf2d930c778d3d5852c3e5f3cf9a7be401abaa00a8adc572cdb66551cb6ab7a264eb90005d0d3e5f51a4
 SHA512 
923868d0daecabce1e66cf2aaf40da539a55d99ee9534e1102ce56d57c94d58d06493b9aa73a1dd349fa132ef5900108f1a9d04834bd746507ff281c745e3434
+DIST firefox-125.0.2-gd.xpi 587817 BLAKE2B 
51b8328634799558218dbfb6a7c07ab1173ee79b9744e5856f08347859c112ac2c01b8cc946ce62a6fd93a2d89777a398ac64926e6f4769daa3e182ef7dafadf
 SHA512 
67d6d6763c68f1e0ae7b0074952a675885b89c38ac8dc67fdadf317a252723be623c9eb6fc1728ad3065a0dcf75620dce15aac66f5f068ac45159f49fcfc04ae
+DIST firefox-125.0.2-gl.xpi 600379 BLAKE2B 
94094856455acd8ba12066e5a762ce1922105cc224cb40ffd817a06a56770715c58cb20792a89114ea3cc80c22c2280070c29866182dfbf58c85e0be349f7531
 SHA512 
35e152b33226ce56506d014ec9583626d1c05bd8cb7a2000c22bc4d095acb199c1dcf44111cc9d533ef752962dbdfd38164a51f074dfbf5a204ca299b4af265d
+DIST firefox-125.0.2-gn.xpi 627325 BLAKE2B 
1db386eea1179e6b8c592b1960aeb0af115767f2a10396be8f0130cc8600a86d4d57e452c870829a0a6f0e1ceb3fa3ae8fadc31beaa259cf21d29240de7dd7ae
 SHA512 
d731954a0d4ce2be035239c5cc03f34f319ff4956f90c70195b4a9f588a30c18a056c76b3c02f2468769c7c537cc2d16f5b9c1cf3bf911c11b153668703d5e21
+DIST firefox-125.0.2-gu-IN.xpi 524067 BLAKE2B 
6b08f249059f44a456b364e42e9f95cefbd7b344b03c7e008299971404cd0860bc20dc0550690f02b01709072b21cdc43d58905ad821f60aa5919eda80cf35ca
 SHA512 
1ddab3c72601d8107bf2ee1a70074af5006ff688fb5ea2045746f583d0588e0aef4b6d60f013ecedb0b9dfba04e50cf9d3667f5ecc82c82fb1f30a0746eba73a
+DIST firefox-125.0.2-he.xpi 621430 BLAKE2B 
3ae5ea38628fbf071c7bf2e86d49ea7764450ecc2a30e6224fa2651391c4f37c3ebdfee46b4404d29b910425c21b3e0a458d76bc052770637e6fe664727c7d01
 SHA512 
c2a1f985577d1b4a6512c34209c019d2f2f21c5bebb686f3156016e3f35cb8b3d54863d0e6cdc3dc0db52dcdd3078f7f8abff04753d556f9ae5d41631810fb47
+DIST firefox-125.0.2-hi-IN.xpi 562179 BLAKE2B 
5820cb476125c9b51ea7723bb424f090bfd9fc7b24a0d4dd69cff1d39ef04998fa3189e2427f73edfbea51ba2297dcbe7f1a6294d7e7117235cf89a3886a0c1d
 SHA512 
b08c898921860de15a196b4b9638ea83b860623d8b9e2e9685609e381af79a64d65bc23abb2da92a96b56e0b95c963441cdaa002375d4174143b72dc6af264f3
+DIST firefox-125.0.2-hr.xpi 553350 BLAKE2B 
5ebc6fff17e0273b623bb7d35296acdece9a980ac11030110e34569e49f12e6cc0bacea1a1e61e3d39014c4192a3632e278ac1d957a444edb0c371f324daf2f5
 SHA512 
c32b193893e363aabcbf4a8115d94572a1bc30d1e2cca20140246581611bb61058d66cf729a54387fca1636d0ec0d7e6761861b7ad3040ceee70f0c5b3fb2c6c
+DIST firefox-125.0.2-hsb.xpi 635467 BLAKE2B 
a7a5cef0b0e246bc5b36dab2a0ebab6795c7950f36a1a34bd99e15e89aaa66a521535abd0e51f9721d49fabf4e35f3548f40923c3bd3d76c37aaec773114b6ac
 SHA512 
4ceb27fcdc222681f895ef9e560630d85c8576df6d9ec9f1491b0776bad4b8d50b07c77cc4a9964b2ebbbfbece8ab75089f39e5a354a02c228e2bfb1e2a672e6
+DIST firefox-125.0.2-hu.xpi 638717 BLAKE2B 
5217d175cd40d83286f260cb415fc428eb6114ce8fc77bcd7afdf90657dc4128e1d3794bf2e8c021476a20a01750085c6b9fa86a36ac23d359ebcb401967adb3
 SHA512 
75fc03f5a1147e25bfdea61a0b2fb9dfc4fbfe92ab7bd72e0d41b559064c00e67c85871d4b6498cefcfc93a8ad007c4356d196fcf60ee2dbfa0c4e471c2f324b
+DIST firefox-125.0.2-hy-AM.xpi 615141 BLAKE2B 
66907a7f6c9ec8fcb042a1ac908afc1f0691b5e34253d105fdc8e0d4d7dc3b266f65299030a98392ec603ee53e64082c82e83390a044320bfbc7b56127fca086
 SHA512 
c2dfa1bb0229cecc602fc575a3a84dc307ad799f7f19814c5b2c288e9ab21eb25dbee0d2027903e071cbb7dbcdedd975d7d73bd066da4c4842d70e9a9f90f655
+DIST firefox-125.0.2-ia.xpi 598517 BLAKE2B 
c075e67199cdac9c5bda242ec1b6f7096d7de9c304075fba963f323363ab6bfe72aabf3dfc903d7997132171fc2e1b8d7b0858a646425482e16079270245a51a
 SHA512 
d42ebab9d83956a1f742c4d17930a0f6ef8749e91cca92e2399a827eefa46de2b83ea8c2ec7b81eeab51d8f2c95d0d052c40f704b4ea7ee20d74cb1b2ffbfd2f
+DIST firefox-125.0.2-id.xpi 570578 BLAKE2B 
bed0645b279a974f037ab087c915b6daf01b42863dddba33c3ed35bc438a158b92ec01d1d9e06510d42954917a0ae181604811ef68d966041aaa376e35584941
 SHA512 
8433cdf844d51b0d92a4c465285753e75a9889e2518c2744f3ab65d31c221f7fc85973e84c79c4549020fc1d12b8afb65a37100ce66ec727b0a0debea6f00438
+DIST firefox-125.0.2-is.xpi 606609 BLAKE2B 
d45832d279de7946c5c4457adef5cf3a70e118bcb5015af084a795ca7a7d0163a96bc641637cc0592e7a1a0ec224ed38238be98f31589d4d2572d1da7001a09c
 SHA512 
79b25f534726bb8f09e844566bb299d73a8bb3169afcc73bde9e92171c5b38a46d9137210bbc8442e018cb466b83add7ce67fb8e3c95dd78e074e632338e3a0b
+DIST firefox-125.0.2-it.xpi 557452 BLAKE2B 
61f88be44f8eb9d4898532e1a37af7bd005ddda492f125c83670825c7a68cad2a6f1d42f8d7d303bf539a06c16a336c9d14093ad622eb9aa80d721fe21b477f5
 SHA512 
a6aa0650b4752facb3772ae6025b4faf646ab6d8f1a77e6c1e66511fd2fb0d9546ef9ea090363ce276b58477a32fef595c898ee3e9d472ff888d63abf8afcbfd
+DIST firefox-125.0.2-ja.xpi 668139 BLAKE2B 
e36b6f4b6ba2eb4a9322816f8ebafe7750e3aaec9182dc64a81f35ffb004864b17fa082759bbfcdaf06765c95f0f27cc18f465969756969b24f2dc36f9257b1f
 SHA512 
f1e5aff12b7bd7a8a8fb67e028cd7e47451b8ae84bd0ef91c861b9d4feeee6b2edb9e40d30571bec9c47376bd66cc303f3aeb8dc9edb3f1f54c9f9b851131099
+DIST firefox-125.0.2-ka.xpi 656921 BLAKE2B 
1e698de3b465ec0444e974a44102be325ec994ef740079d2f13ab7b22ab8f1342cb9b8af9274cd8799210973bfb68396de9890cca93839f033563406b091f625
 SHA512 
4ebaab610c543eebdf08c783c925cf53448ef86f6344c87f27d079c4d0f892941afe4b1004b217463adb049f8686fff8d42ebf3fce01326f67b8744632daba99
+DIST firefox-125.0.2-kab.xpi 598271 BLAKE2B 
670b862b61632d5918e03d5302b155fb46c4944def1fd6962b62e13177f8f37f25e0dd0b3feb42155a44fcbffd743be889eb04a2e90c414d5d5ae74d8e22b488
 SHA512 
754f7a7753a29326265f1f93595cd17187e2bb078aa9d1d7943ab7eb7f08bb5f92cebe6312a62dea94b32bd87316a645dc4b83d5e01a69d35d34a5ef84655045
+DIST firefox-125.0.2-kk.xpi 695565 BLAKE2B 
1bdce845ee516f38b599f80d623e30aa8155363e0406ceffd7af9d95f76b100f16298f06c812cfe40218d71d9358ca2419a7885e216ede433b0328a783157a6d
 SHA512 
439b6ac34436553793da594ba4bbdeccabe4f1fdcc6985262ce51c1161293472a6a72e2c053b9d964af93228664cb8121df4e7052fee78b0b57a182a778d0496
+DIST firefox-125.0.2-km.xpi 522560 BLAKE2B 
f31c0fca518774792bfb10f43100a99b1e1889f5f9eb85438c27a432135455357a6af92122f924939c4244c6bff238f9c4fea50d193166617646f80fe37c1f27
 SHA512 
091614299f70336eca7e113e0ce9ee985d5f078f65d15484bff153af56668f7f7b0d525b70512422cc4bf5064d3b7c2a36f586ab58383b92106a5a343a164afe
+DIST firefox-125.0.2-kn.xpi 488073 BLAKE2B 
bde6250f243360de6a9828c13ee8c2bf562231c972ae70a64ddc6d2dbd5387132cac3d7196f994b452b1ac39cca71ff90ef9a7e1e77f2016b1007ef7abf3c1fa
 SHA512 
37a06fe10697d70b1540e5b50789375df418ab6051bb49c52a82f54d3e1771d15c0ffbbb8ad5569750826d3c854945f30d66212f86271f074b24312b7b866c59
+DIST firefox-125.0.2-ko.xpi 650102 BLAKE2B 
aefadff5b5ceb9413daec59d503c8134594b7f2409ee393630c415e9fa4f2440920d6a208523056cbb68fffae96c493c266b06e1dc6c790d9548f98a481a2bf6
 SHA512 
b92431f781dd3e5be6238e3a45b4566eb2980581057dd40e06faf9e489800ba41ba452b198df563114541dcac6ef9ce31c892d47087d2602dc1617ef8e67fae6
+DIST firefox-125.0.2-lij.xpi 480901 BLAKE2B 
144f6b5bb0e885f5288db7aa880d3ee8827c66416b867f941a60a4c69e638e594d38c653429f3066e18122a278ba6f907b239d8c359c7df7336d5c19243d36aa
 SHA512 
52de1bbeba58234901fc2fa660a1dcd3709f0f1eb004e6ba37483ce215d37c94f38564bc96bead5a8a61f0e07b78c9e20b5681f12efc5368b70d6bbf682f8fbe
+DIST firefox-125.0.2-lt.xpi 569227 BLAKE2B 
41299eaf54e4ef6443ff6f5069514ee5d6820ab9eaa047fe754afd1015b2034c99d39b0b60dca01978fb9f43309a7d0a66c4197bcb1b4138152b947bb10b787b
 SHA512 
72436f5362cf4019f776060861d8e6ff7f713786a2c17184545eb252ce39d9f04ec4f4fd7fec20b8966ccbe11a1a2907306dfa435ac097328dd2c0d60e6deb9b
+DIST firefox-125.0.2-lv.xpi 564976 BLAKE2B 
91d29fdeef7cf69fd2688ab92c5cf5edd05220fdb836b7df252cde8a0f3ca0a9d031a0da0f3192b688b6582545d1905a98c8d07f1be62541da8bc895f35f2fa3
 SHA512 
3ed9d0964b6251ef49ab6ba3e7fa16ebca7d8602834da082b10b12b17845cf72c616c552382c7d457bd76de4c44704c0b92a36ab7cb99060ffd9856d76a41ff7
+DIST firefox-125.0.2-mk.xpi 490022 BLAKE2B 
27e6a8d1547583ad6c54ffcce83caa24a903c2096c0f964400524ee379f8f24da866fda9bdd3a6ec78bcc9ee1293c3f74d73708d28f2161e99cccd09776dc979
 SHA512 
add0b2baebba48fce350ead540c62b9babc73f1db1b93cafea9a65f80cd40441cbd847a13877741e616e3c53db0b333439fcf7558882b387c4c2627d4e015a1d
+DIST firefox-125.0.2-mr.xpi 528850 BLAKE2B 
2ad78bdf978f8e613f0fc4c8753b5fc169844c74036f20958dc29f70fc49a2404b22ef6149183701993d0678cbc8db8eda697fec8a1c7aea75d6ba3d7a745487
 SHA512 
6bf8d0128c350c9307d4d46e3b36c863593e01422c96a2d52ceddd77ef92c16b9ec92dd7eab0fa3fb26cad3cfc2a6cdfcf0640cf196f560bc40b9df2b79490a1
+DIST firefox-125.0.2-ms.xpi 446543 BLAKE2B 
7a57513d40d3fb3eea31a93009c52f5525c81be081bf0e3d4944153503b2e2573befd1fc4f72f183f6bdfd7d308069890fb47451f3bbfd30919625e784052531
 SHA512 
c711f226894d6e769cb912863873922d71ad0a8b4769955f203aedc8a3d8e565ea4359d0b06117a47d44be72329b34dc8c3732b1058bbd8467f4133eac4cc227
+DIST firefox-125.0.2-my.xpi 515520 BLAKE2B 
f8ca871bc88c4867cfee2a8b634651d703fda264bebc647f52a702ff8060340cc22e91c5273e31117409bf40de7bef296110cb331fc6d607216e07463fa5f639
 SHA512 
555932178ed1bdfb3171f26aa06a3b43e615048b7753751e987c72d859b9ff0823bc6d59b6fc62037a5a19b6fd31043d2e9b0f9cfb61d9360b4416e5a58222e5
+DIST firefox-125.0.2-nb-NO.xpi 595749 BLAKE2B 
17438d71c0b19f506a30d31fa59dd43b26e134143dcf4af094c067b0f8c50f8249166f8bf561943cbe30230456aa5d4dcafbb8c563a330207105bea8016473fc
 SHA512 
399bb18d884744767adcf63df14ad428ccc4cbcb8e979aa24916f65bbbe6ab4cd2db9a70a9da5f30e4844a80bd746b7dd85abfee1e19478d61a9cf0b11c24b6a
+DIST firefox-125.0.2-ne-NP.xpi 494577 BLAKE2B 
bdb85d46acfa01d0bfc2d4f77530a2efae20f48d1534d811c29d41b9058ff63fd41d009e5b8e4a1e510df1ee08dd8c84b32060a728f7791b2967a886cc53d511
 SHA512 
dbbfd2d44d0a1e7d26306b698a3f4a94aceee1771c39be19311f41d02b05b4159cd48fbb86abb04fe72c85ab4807a2182cb2c940a2ce590adb48155ace5ad531
+DIST firefox-125.0.2-nl.xpi 606348 BLAKE2B 
d62e7183c14aa3abcd7023cdb95fa3405bf20a606195b0d3f3198f633f108c05c56a9a706909b91023b9ee4728b9371f5e9536c8f8a2665990f70ec4c3b0aa03
 SHA512 
4a53c899c8372e0815b3cc339bf0b2804353c32450960fb293bd0014709c6e5d989ef21cd85106252d50721d188bf358eb7a65a08e83791f887227e0f96a0d16
+DIST firefox-125.0.2-nn-NO.xpi 591524 BLAKE2B 
623d9f2ec616c170b36377010fe301997cdcaf62650b444cf10f2c877b779c090d5d739901ec82c1529f2c76160efa776ca096d793d2266d56863919c536e8a3
 SHA512 
aaf924bf70af6f3efb8185f2772b09becd8c6e3203c1f374bd4c71cbc129ef5367f0dad9dfc0dd1476f8fab1f2fc44bab1b0124f5c919dad84e5a04beef969cf
+DIST firefox-125.0.2-oc.xpi 606678 BLAKE2B 
3ba48cf273cadd91eca689f8ade47c9c73c253f381779e51d30255f0964869cc07afd961536bcba90b694fc0a6a3aacb6d78d59021230845bd0c56d222d77f05
 SHA512 
1ccf138c36092ff14012a9ee1234cdbcfbc2e3c205adad00538d6c5514d67b83aa9a24cdbe47e3d27de26758bc0345874d32df29d4c935c2aaa797b2a67cb8d8
+DIST firefox-125.0.2-pa-IN.xpi 678964 BLAKE2B 
3a6272b54fac96abe2fa7f9760d50a37fc377c2a6cbbbdb5ec192fbe8c416cdfe855c266b22153e2264a8fa845085faf58e61eb5923d7e7df5c5e960824dcea9
 SHA512 
9eff9e13f0dc2c54b1a62a2536195ddf25977cca0d90da16166b8f5b695b4ff282e2978285b54619f84cc4d6c38e1110e8076b9132aed5685b15bd06741deb67
+DIST firefox-125.0.2-pl.xpi 626577 BLAKE2B 
5a4c701e7e8c2f17951b69b283a004403bbbf98f061fe9773b67c9fb94fce844ec75905f234182619f15d94938054eb3202c617a43196498cce8be913ed941f2
 SHA512 
e1464bb2910b2139db13ccbb0944e9aa571cdafa5ae5ffb561ac8fb34fe6b16b9b7e386dbdca2d48f90a77bea6d93d9bc0314469e3f83f9108f78230af9ffbb1
+DIST firefox-125.0.2-pt-BR.xpi 611076 BLAKE2B 
2267a6625e1d0235e268cbc9ce2a8719aad74cc7b293d77a4555a7cd197fce2a0d5a8dba24f570676ecd3d258699f0105b9c2fda3f83049b3cdcf0b932086f66
 SHA512 
e9be3b64a308cfe19aa6a8d8df7d9df3cb453cd8cc8c946bc27990c27acb8aedccc71cc19266cac183b9d0f3a26516ae44ccf523efad7af7ed01eecc3dff6a5b
+DIST firefox-125.0.2-pt-PT.xpi 617166 BLAKE2B 
071c85f01394c33877b7835f36d965f64e88ba7026ec03325855071c8b8f9ca3705aad204b1e51eab1d147e8d4d6c1ca37e469f676d47d34808fdf9656cf186a
 SHA512 
bf3bec76451d2608e6ce1101c122880e10ddfc9b9b7f32edd2a425a1cbcb23a8a9f9904e113c70cb46ac48135352f9fb8fc9c4c4ad64fc65381634c960fc2fc3
+DIST firefox-125.0.2-rm.xpi 605674 BLAKE2B 
2c958e6e86736efd576bc1f319c36505c49d2fd885c2d87047cdc0d2fcad4869685348918a4d016c749935e9c2448534be1dc770838788258d93091afdcd8185
 SHA512 
42adaf1b57f03ff487fae79d93d225f73e62aca4a8328f518d8947cba9d2eb1101eb506de6933df2bcca8c7ea27f45de27081f9a96849958b6bc5386aa4a8f68
+DIST firefox-125.0.2-ro.xpi 546355 BLAKE2B 
1db05bc652c1366e95957dde0b240ed6676742abc41d40c9a995f5dc839b45f3ff473661784b5647b2013b4fbf3ddcb87e9d03da03ff4f9471597ed5d8607b02
 SHA512 
1644f27a081c02f163163455f0bef758b80500dfaafff9fbca9dfe32936168cecb520f130796d30454a2cf3cb36227a693d17d617b040b6688b888c5d2a4d2d2
+DIST firefox-125.0.2-ru.xpi 707754 BLAKE2B 
dafd1add34eaab07d306e7231e117a36f46dfbcbf089ad37d23d379d0df819dda5da3543b5c9d9ad105c95dc71d1ecde1e999e4cc10d155e1ff2d6925ca96286
 SHA512 
34dee6970ba51eb54df03756645063d7491bedb6de4734fe66d8303ce7e51444cba8e649305a8f9c9ba624e962187d6f3ede1d70b20a8afd9b5ced4a8bc7836d
+DIST firefox-125.0.2-sc.xpi 575219 BLAKE2B 
fd328f36741ef61cb5d8eb4f03b901a6be624c668522323091e3bd2cf835b4998a92982e8e87ce9b5362ce0ae1441c5835be2165acb3aa8c5cddb64ebab0444a
 SHA512 
f1a8853f375fc5ebc3dda01a8b57f71daf68500b4ec0e21d8989260a06a2cc3c97b8ca647c06f8aab538edbd7d6fcdb53986ef72ba9fe743c758f72a84fd7ae1
+DIST firefox-125.0.2-sco.xpi 507980 BLAKE2B 
710691ad8ffa9f6eacf5df9e0179710d1a2f44a04df50d27e589193f892e0020af6cb9956d6e4e65bae3ea485deca0fe7d6148ad4d63fec2d983228622fc5852
 SHA512 
ff8e365208df08491e2df6f74153ee5374082d3520ebc6f2def2c064ab2936b5bf27b2f5be5927a46fea89cd896b8c6896bc2f0a6bddf830520ea5cc941f392e
+DIST firefox-125.0.2-si.xpi 602399 BLAKE2B 
fe4edadd76753f3ca13b256cb6506ba2f3189bbecf419e1f7d90f4a2c84f9c6b3c31483e1b12eb9db7ec51fad13194f1518ba49799e4b188ea27d83af5b9e2ce
 SHA512 
6893cad35234c5c20e8f60f843c05fec69c67e2abcb65716d98c956d0a5e782f0087dd944f9e52f45233de36aa0c612811f17232fdbae4e0184562e47cc1f1cd
+DIST firefox-125.0.2-sk.xpi 640888 BLAKE2B 
1128c66850efbbf0a593cbcba15248517f49fdc795a6269355f2715a1da7d6e5603dbd51bcc5857c0eb53d9b378af95521ef106b6f02b333ca61adf794944793
 SHA512 
46700b6b6e05a55a13f3f3de4506df6aaf157c75424f029ec078445e3e1bfaf3b54b02e5b79540df628bc58b92fd378024dc76c9efcfe779020a5b0d5612f0ef
+DIST firefox-125.0.2-sl.xpi 606607 BLAKE2B 
789594cd2b575b407697e82b2348052c66a52666ce21c694a2d5029b3ef559355a21d6e0730e4e1616dbd96432112e5675f8a3032f289ba812dcfa457174b84e
 SHA512 
6e78a4725a3cb59d91a6727c8a78b2fa6461b2fafea13369fae8a2e17168a2741ae15c35f3ec1d15f5811b4da5b26bad588dec825beb736be77d9d9d1302da41
+DIST firefox-125.0.2-son.xpi 413580 BLAKE2B 
337e9f3f8743833667fe6a9f31eed39f76770ad4e44fc78d0f9560df5ecf75f33dc2a5109c7a6d9e51ebbfac8d142c17cfe8ed51a65ad9e7ff4595b3ec3a73c7
 SHA512 
9ba229db9b459b8599f4a86920c55baec17c1b0b000605dc903192355e449f7292638b447dff45230f0350b862f2e15c7b1a746b15260c82c86c3dc08285e548
+DIST firefox-125.0.2-sq.xpi 625806 BLAKE2B 
7ed9b5b7a63fbcb2c1d4004758be0548d1552eee944f524439076a3d0695fe49f023c0fda2ade2a5a35ad6b03867309426d87764350226df5ec6ce71aa9353ac
 SHA512 
adafdc615b1cb68da5467b8fbc20e9f7a3e62dfbb3bed4133beab105a04b6fe5e8832b6c7d5ef44465ba5be61d0651c4921a77da1b602648cfaa941f38d8cee5
+DIST firefox-125.0.2-sr.xpi 635716 BLAKE2B 
10d9d691b79264296c7f3cf0fda2f273a9e42f3331dca513d396746d9e8148649285bccc1d868d22e7a8e7ac552c5afe2307f67f4c8bf9febefc2d38d5da6c48
 SHA512 
2c7432f9239d481567813993151ec218fcbd0117a14baa56187910e812d168ffa833428ce2e4d8a8300be51d1d16044d486b8d424bff6434666846e2d2a60f7a
+DIST firefox-125.0.2-sv-SE.xpi 608290 BLAKE2B 
de56426e85457015931377d7a3837dd49d2287774a47b6af3a6f9278bc0f88f3c5469308ff8f943401959aec94ad15901e426aac4aabd3dfdf2b45ba71833912
 SHA512 
77b4e44afb840920835e6f90866a9aadb51a5fe126f160cb7a34cfc7024eb5a5b53aafc7176e9ed9c6a79290fbbfd4297975869d98c6bdbbd7caeb1876d3bf67
+DIST firefox-125.0.2-szl.xpi 522959 BLAKE2B 
8f8bfac3559f420592c56ba75cee4c5e073fac3050d488bb3c5272a028ec3c483805916d8f856bd935a3a19843a48f6094e9f50293f1e3c699641812c0ffdf8a
 SHA512 
d0db705714fbb833e8c8e0731c234d0ac45fc62b2cf16ed2da81862e76914f067485470b9a7b3afe998d20a6c5c1098a1b02d47bde5d2580c76bf2573a3190e5
+DIST firefox-125.0.2-ta.xpi 504347 BLAKE2B 
608fd21496876ffc2d584c7fecd3f6dbe560fccdff614776c163ee7e4d052dd07cfc72c46b75def919604696c49675e1bb704291e6cc6d1b813e4994a1f4a09b
 SHA512 
6633f0d2e367883a0e91070219cbcca0fed1e8d0d5f254c7e1b2e0449ff7cee804bb7ffac0ce67f31b61a9a6b44abd6d1474db14fbed4e621fe622892fce5605
+DIST firefox-125.0.2-te.xpi 555780 BLAKE2B 
1505a5ea0d4bb56e094a711cba58b41e412e6bc69833633418943d44e76eb4f858e195b9c855fdc4123db73fea43867d99b72ebd433a929ab7ccc95de878800f
 SHA512 
3ece2673c8d4f483126317ab7f46213472d18cc71a85570ea5190e405d1db43b88144a8a33d359638cc18d18373fa88d3c4207cad6754c41b97f0282a871b83a
+DIST firefox-125.0.2-th.xpi 685322 BLAKE2B 
415d1cf950e61bdaa69e7559d9e9f500ae6f83970269668968c0ef18a38272516271c391d54146eaea512a3f28d60c5d818801e4d4b02cabc508e59b8946d18a
 SHA512 
bb090d16a95b69208de9ba02c8b5dfc5d966fdb1c92325c26248ca93eeac907d646a7214097737e0db5fcf7cc01dfd11beedc017d6e53636c01d5388ef2f0731
+DIST firefox-125.0.2-tl.xpi 530821 BLAKE2B 
e078ce35ca2be2c1d6d3127c98d66b96da6335d119e7c635dadabb589d0c6c3f8e74cd116436eb3c34180a0b5a704b20120dae8260c4cf4a35eabf4b6c3949ce
 SHA512 
cbcdf3f266cf3ce6150f32527f51e099ecce6c723b22dac81509cd8566dbdf5acde2e2d79010625660ffc1a67264191b5db2c53d5e037d3d0293db945d4703c2
+DIST firefox-125.0.2-tr.xpi 621049 BLAKE2B 
6f02fec8b0e2f755136e7dd7eddbfd4fd8dbc21a5d5a6b1dfbfb0fbdff09b03936ba9fa5d3daf46dce2b992a9b084f499e22c3cac91a20140807847283ef3bd7
 SHA512 
7d2dcc5881fd51dbba983b25988119b173e873ba13e5420b31f5571ed5831e9f31e2fd3e6ba988188ad329b3c76a71daa0880e34068ac21f074009211af50328
+DIST firefox-125.0.2-trs.xpi 500803 BLAKE2B 
ed35ff093e9c5e698ca8a1cd6a408ba143969b8cd92ad2c81d65aa534de08ebe0ca721eef21418984bc641cf60d4e327d0d0f57d7f4d7facad58d886e3cbc817
 SHA512 
fb6a78f898360107cca37f3187203ad96d6aead948d134c271461b3bc51057e3123c7a3366c79cda20db2d9423e8a4741835b1a0f64e5ebc97a1487246ca6702
+DIST firefox-125.0.2-uk.xpi 700083 BLAKE2B 
694fa3f56ea6c6c15c9822e5b5051b69784ddadef730c93adb6c1f1f08cbd63783d3a7d19196a747b53c0f9702a2e040a3a8b7c406fcaff683334830f2eba311
 SHA512 
3023709ad63b7a289f84631e1087308c7381925044993e63b24628231d7dfebad63a83ea8351f3501ed1e18c38951636eb39ff9931db518c4ae73f6382f7a267
+DIST firefox-125.0.2-ur.xpi 557255 BLAKE2B 
bfb6fff8dd1a6adc83f442299f7f2c2b22466f3db9c9cb2e3e600f6c2137c2db0d21b95206fb6f2a924f51376dedb257cdafa19ac7b3b49c193cb3c7142fed91
 SHA512 
f7d2d469c822cc213d424d3c0c87ef467ddbbeab8ae6753c5fcff7ca7fff6807bf0eca8dabb3c170debd03334ed1fd09464a9e05cf866e0680a8a64cf5abc92f
+DIST firefox-125.0.2-uz.xpi 475772 BLAKE2B 
640f3b26f2842fa21fb62a56ea8af0cbf50fa72b47a0a23b02165a5a371a1ba75959046c58339f527af657376f9728ac3c7d600a719be974e59204a0e55f7d57
 SHA512 
31c94bf689dd40b341f1f42808ded4ff9031973c64480b174362c0df985947e4cb604742d5fc383354c1538e5f29dec3ba1d7872876374f2e7680d80625f9d83
+DIST firefox-125.0.2-vi.xpi 645254 BLAKE2B 
18d5d271548a541a9de72b795e879f6ea993703baa47daa5d6823bee37ba24c74c2b51a416d408bade83e4bc3b9ccc5131d171aec5faffac657c5b8ea4c1f8cc
 SHA512 
03b5052c8fe9d814009e42f5fab87dd6dcf966febbf20699af0b09f60f603bed44d7267c1adcd74f34b824b68fb9a580eb70030c4767f96ea7e56d7be5b756d5
+DIST firefox-125.0.2-xh.xpi 414345 BLAKE2B 
4fdff9e787dc13c37087952939049271dbf591b398361bd0424ae1d80ffb8b0322001696fa454e19e69463e01b3e1a6b50a0f1587dcdc2b1da97bd31fcb2fa44
 SHA512 
997bc1a7355ba6e4d6706c8919b4e6e364d59e3d60bf67ee671c5396862a004735c852923ad7b84ee8d82d6251eea232531eab4d8ba8c46638fb7abf7e21284b
+DIST firefox-125.0.2-zh-CN.xpi 645750 BLAKE2B 
8cff30eb04dbe14b08b22ddf9be70b4fdd0d5984065015973d5c67e10a479b125822a543cf79cfda893c1e1d57c07c53939cae12aae8fcade4c239649cf82d3c
 SHA512 
e71af90e7f973c9856f82e99fb8c75c6353203ba77eb06ef966cbb322e5c7091aa7d4b8f0c99730eaa9010e6ad3e9401a8c61c863669d42ef184034a4c8f8f61
+DIST firefox-125.0.2-zh-TW.xpi 647645 BLAKE2B 
fee91568b53b2962f317ea33a2697622aded8434abe850eee5df66b12b51f35de84d1f518aeee706b8cca6b7a38282e8bf0d08d363df3dda1d34fa71d09131b6
 SHA512 
7bd17b86199b10e1a66a72df2d049e3e92e35d512932a0d95986417b24dbd34552e7e8d7aa6138b664601a23df6c854f617895b976def4e55302ae4a5158224f
+DIST firefox-125.0.2.source.tar.xz 544666944 BLAKE2B 
70d27d0ee0bfdf7156546e8762b608c442bd35ba8f33ad89a6d5544eedef4d59b24db2b1988aab9ca626e9a01898f7b0c00a4c7550f78cba9bb722dd3c6d155e
 SHA512 
f6d5fff7c5c532d2e41a246d0403bdd746981cfcb7c43f9d3d8ec85a7acc3310a52043d1e18848475cef1b63c24769e81b2b06d68ae007b68016ee51436032f1

diff --git a/www-client/firefox/firefox-125.0.2.ebuild 
b/www-client/firefox/firefox-125.0.2.ebuild
new file mode 100644
index 000000000000..f3f0bcb2fde6
--- /dev/null
+++ b/www-client/firefox/firefox-125.0.2.ebuild
@@ -0,0 +1,1419 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-125-patches-01.tar.xz"
+
+LLVM_COMPAT=( 17 )
+
+PYTHON_COMPAT=( python3_{10..12} )
+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-r1 multiprocessing \
+       optfeature pax-utils python-any-r1 readme.gentoo-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="Firefox Web Browser"
+HOMEPAGE="https://www.mozilla.com/firefox";
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+SLOT="rapid"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack +jumbo-build 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+=" +telemetry valgrind wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" geckodriver +gmp-autoupdate"
+
+# "-jumbo-build +system-icu": build failure on firefox-120:
+#   firefox-120.0/intl/components/src/TimeZone.cpp:345:3: error: use of 
undeclared identifier 'MOZ_TRY'
+REQUIRED_USE="|| ( X wayland )
+       debug? ( !system-av1 )
+       pgo? ( lto )
+       wifi? ( dbus )"
+
+FF_ONLY_DEPEND="!www-client/firefox:0
+       !www-client/firefox:esr
+       selinux? ( sec-policy/selinux-mozilla )"
+BDEPEND="${PYTHON_DEPS}
+       $(llvm_gen_dep '
+               sys-devel/clang:${LLVM_SLOT}
+               sys-devel/llvm:${LLVM_SLOT}
+               clang? (
+                       sys-devel/lld:${LLVM_SLOT}
+                       virtual/rust:0/llvm-${LLVM_SLOT}
+               )
+               pgo? ( sys-libs/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
+       !clang? ( >=virtual/rust-1.74 )
+       !elibc_glibc? ( dev-lang/rust )
+       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-libs/wlroots-0.15.1-r1[tinywl]
+                       x11-misc/xkeyboard-config
+               )
+       )"
+COMMON_DEPEND="${FF_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.99
+       >=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? (
+               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= )
+       valgrind? ( dev-debug/valgrind )
+       wayland? (
+               >=media-libs/libepoxy-1.5.10-r1
+               x11-libs/gtk+:3[wayland]
+               x11-libs/libxkbcommon[wayland]
+       )
+       wifi? (
+               kernel_linux? (
+                       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}
+       hwaccel? (
+               media-video/libva-utils
+               sys-apps/pciutils
+       )
+       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%_*}"
+
+# Allow MOZ_GMP_PLUGIN_LIST to be set in an eclass or
+# overridden in the enviromnent (advanced hackers only)
+if [[ -z "${MOZ_GMP_PLUGIN_LIST+set}" ]] ; then
+       MOZ_GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
+fi
+
+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 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
+)
+
+# Firefox-only LANGS
+MOZ_LANGS+=( ach )
+MOZ_LANGS+=( an )
+MOZ_LANGS+=( az )
+MOZ_LANGS+=( bn )
+MOZ_LANGS+=( bs )
+MOZ_LANGS+=( ca-valencia )
+MOZ_LANGS+=( eo )
+MOZ_LANGS+=( es-CL )
+MOZ_LANGS+=( es-MX )
+MOZ_LANGS+=( fa )
+MOZ_LANGS+=( ff )
+MOZ_LANGS+=( fur )
+MOZ_LANGS+=( gn )
+MOZ_LANGS+=( gu-IN )
+MOZ_LANGS+=( hi-IN )
+MOZ_LANGS+=( hy-AM )
+MOZ_LANGS+=( ia )
+MOZ_LANGS+=( km )
+MOZ_LANGS+=( kn )
+MOZ_LANGS+=( lij )
+MOZ_LANGS+=( mk )
+MOZ_LANGS+=( mr )
+MOZ_LANGS+=( my )
+MOZ_LANGS+=( ne-NP )
+MOZ_LANGS+=( oc )
+MOZ_LANGS+=( sc )
+MOZ_LANGS+=( sco )
+MOZ_LANGS+=( si )
+MOZ_LANGS+=( son )
+MOZ_LANGS+=( szl )
+MOZ_LANGS+=( ta )
+MOZ_LANGS+=( te )
+MOZ_LANGS+=( tl )
+MOZ_LANGS+=( trs )
+MOZ_LANGS+=( ur )
+MOZ_LANGS+=( xh )
+
+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'
+
+       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-r1_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
+
+                       # 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
+
+       CONFIG_CHECK="~SECCOMP"
+       WARNING_SECCOMP="CONFIG_SECCOMP not set! This system will be unable to 
play DRM-protected content."
+       linux-info_pkg_setup
+}
+
+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 && ! use riscv; then
+               rm -v "${WORKDIR}"/firefox-patches/*ppc64*.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"
+               else
+                       die "Unknown musl chost, please post your rustc -vV 
along with emerge --info on Gentoo's bug #915651"
+               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
+       moz_clear_vendor_checksums proc-macro2
+
+       # Respect choice for "jumbo-build"
+       # Changing the value for FILES_PER_UNIFIED_FILE may not work, see 
#905431
+       if [[ -n ${FILES_PER_UNIFIED_FILE} ]] && use jumbo-build; then
+               local my_files_per_unified_file=${FILES_PER_UNIFIED_FILE:=16}
+               elog ""
+               elog "jumbo-build defaults modified to 
${my_files_per_unified_file}."
+               elog "if you get a build failure, try undefining 
FILES_PER_UNIFIED_FILE,"
+               elog "if that fails try -jumbo-build before opening a bug 
report."
+               elog ""
+
+               sed -i -e "s/\"FILES_PER_UNIFIED_FILE\", 
16/\"FILES_PER_UNIFIED_FILE\", "${my_files_per_unified_file}"/" 
python/mozbuild/mozbuild/frontend/data.py ||
+                       die "Failed to adjust FILES_PER_UNIFIED_FILE in 
python/mozbuild/mozbuild/frontend/data.py"
+               sed -i -e "s/FILES_PER_UNIFIED_FILE = 6/FILES_PER_UNIFIED_FILE 
= "${my_files_per_unified_file}"/" js/src/moz.build ||
+                       die "Failed to adjust FILES_PER_UNIFIED_FILE in 
js/src/moz.build"
+       fi
+
+       # 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=browser
+       mozconfig_add_options_ac '' --enable-project=browser
+
+       # Set Gentoo defaults
+       if use telemetry; then
+               export MOZILLA_OFFICIAL=1
+       fi
+
+       mozconfig_add_options_ac 'Gentoo default' \
+               --allow-addon-sideload \
+               --disable-cargo-incremental \
+               --disable-crashreporter \
+               --disable-disk-remnant-avoidance \
+               --disable-gpsd \
+               --disable-install-strip \
+               --disable-legacy-profile-creation \
+               --disable-parental-controls \
+               --disable-strip \
+               --disable-tests \
+               --disable-updater \
+               --disable-wmf \
+               --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
+       elif use valgrind; then
+               mozconfig_add_options_ac 'valgrind requirement' 
--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
+
+       mozconfig_use_enable dbus
+       mozconfig_use_enable libproxy
+       mozconfig_use_enable valgrind
+
+       use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
+
+       mozconfig_use_enable geckodriver
+
+       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
+
+       ! use jumbo-build && mozconfig_add_options_ac '--disable-unified-build' 
--disable-unified-build
+
+       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
+
+       # LTO is handled via configure
+       filter-lto
+
+       if use lto ; 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
+
+               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
+
+       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
+
+       # 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
+
+       # 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
+
+       if use valgrind; then
+               mozconfig_add_options_ac 'valgrind requirement' 
--disable-jemalloc
+       fi
+
+       # System-av1 fix
+       use system-av1 && append-ldflags "-Wl,--undefined-version"
+
+       # 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
+
+       if ! use telemetry; then
+               mozconfig_add_options_mk '-telemetry setting' 
"MOZ_CRASHREPORTER=0"
+               mozconfig_add_options_mk '-telemetry setting' 
"MOZ_DATA_REPORTING=0"
+               mozconfig_add_options_mk '-telemetry setting' 
"MOZ_SERVICES_HEALTHREPORT=0"
+               mozconfig_add_options_mk '-telemetry setting' 
"MOZ_TELEMETRY_REPORTING=0"
+       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
+
+       if use valgrind; then
+               sed -i -e 's/--enable-optimize=-O[0-9s]/--enable-optimize="-g 
-O2"/' .mozconfig || die
+       fi
+
+       ./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}/browser/defaults/preferences"
+       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-r2 \
+               >>"${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
+
+               # Install the vaapitest binary on supported arches (122.0 
supports all platforms, bmo#1865969)
+               exeinto "${MOZILLA_FIVE_HOME}"
+               doexe "${BUILD_DIR}"/dist/bin/vaapitest
+
+               # Install the v4l2test on supported arches (+ arm, + riscv64 
when keyworded)
+               if use arm64 ; then
+                       exeinto "${MOZILLA_FIVE_HOME}"
+                       doexe "${BUILD_DIR}"/dist/bin/v4l2test
+               fi
+       fi
+
+       if ! use gmp-autoupdate ; then
+               local plugin
+               for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+                       einfo "Disabling auto-update for ${plugin} plugin ..."
+                       cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to 
disable autoupdate for ${plugin} media plugin"
+                       pref("media.${plugin}.autoupdate",   false);
+                       EOF
+               done
+       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 geckodriver
+       if use geckodriver ; then
+               einfo "Installing geckodriver into ${ED}${MOZILLA_FIVE_HOME} 
..."
+               pax-mark m "${BUILD_DIR}"/dist/bin/geckodriver
+               exeinto "${MOZILLA_FIVE_HOME}"
+               doexe "${BUILD_DIR}"/dist/bin/geckodriver
+
+               dosym ${MOZILLA_FIVE_HOME}/geckodriver /usr/bin/geckodriver
+       fi
+
+       # Install icons
+       local icon_srcdir="${S}/browser/branding/official"
+       local icon_symbolic_file="${FILESDIR}/icon/firefox-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}-r3.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
+
+       readme.gentoo_create_doc
+}
+
+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 gmp-autoupdate ; then
+               elog "USE='-gmp-autoupdate' has disabled the following plugins 
from updating or"
+               elog "installing into new profiles:"
+               local plugin
+               for plugin in "${MOZ_GMP_PLUGIN_LIST[@]}" ; do
+                       elog "\t ${plugin}"
+               done
+               elog
+       fi
+
+       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
+
+       # 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
+
+       readme.gentoo_print_elog
+
+       optfeature_header "Optional programs for extra features:"
+       optfeature "desktop notifications" x11-libs/libnotify
+       optfeature "fallback mouse cursor theme e.g. on WMs" 
gnome-base/gsettings-desktop-schemas
+       optfeature "screencasting with pipewire" sys-apps/xdg-desktop-portal
+       if use hwaccel && has_version "x11-drivers/nvidia-drivers"; then
+               optfeature "hardware acceleration with NVIDIA cards" 
media-libs/nvidia-vaapi-driver
+       fi
+
+       if ! has_version "sys-libs/glibc"; then
+               elog
+               elog "glibc not found! You won't be able to play DRM content."
+               elog "See Gentoo bug #910309 or upstream bug #1843683."
+               elog
+       fi
+}

Reply via email to