commit:     c57abb50c57e800de54b3505bdfa4055bf2ee9b0
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  5 11:56:53 2026 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Feb  5 11:56:53 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c57abb50

www-client/firefox: add 147.0.3

 - include a patch for gcc-16/glibc-2.43,
 - update wasi-sdk to 30.0.

Bug: https://bugs.gentoo.org/969412
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/Manifest               |  104 ++
 www-client/firefox/firefox-147.0.3.ebuild | 1466 +++++++++++++++++++++++++++++
 2 files changed, 1570 insertions(+)

diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest
index 8e118dc9713e..7a174acb59e5 100644
--- a/www-client/firefox/Manifest
+++ b/www-client/firefox/Manifest
@@ -408,6 +408,7 @@ DIST firefox-146.0.1-zh-TW.xpi 482587 BLAKE2B 
13f0571779b1d6956591ae491f5c0a7480
 DIST firefox-146.0.1.source.tar.xz 648938528 BLAKE2B 
808e1205697d2cd12c4ec4a21c59e6ab11f6fffef3031a848ca5823aaa1d507edaffd514e9471d9916bfb4ede645d4c5b03c1e6b0b638b22ce533998fa033bbf
 SHA512 
ae95b86e483febf8dfec8347748dd9048ed7d7f845250e07aa8048e2b351da61f6f3c5f83bb0d0c72e1a75ec61b60e59bbe69639f0f33532910ff8bf5ca07394
 DIST firefox-146.0.source.tar.xz 646002476 BLAKE2B 
da28aeff1bdd88ad612127196497a37acbe6bc83944b08cf2ea9a1eb4122899326fbd90ca2b1f4d2a6f331afd08d1699108cd09171f20c945f3f3fe006909029
 SHA512 
db6664310cdcdede832b29dea533b345a3ac86f9df7813118d44b1ec2c4a32e4de2b6e98044385ca6f6026eb3a9994c486a1ddb8b6f4ae7589ed46b122c05630
 DIST firefox-147-patches-01.tar.xz 10900 BLAKE2B 
d3920ca668f3fee1496cfbdb7d8c8f835f7fc258e1fd4e1d89f85155e98ee15d6c545d2389128e8bfaa629f49264d391dfa348bfbeb9b553773d4b51a35274c2
 SHA512 
e82300a2013040c0d6b061dd92706a6862e6c8cb3c2db6a9c256668aed6adef43d373dfcef5ec3ad97444b6dbb293d2c0ff1d1e1f5efe498249b1e796dcf243e
+DIST firefox-147-patches-02.tar.xz 11384 BLAKE2B 
12a58c309943f7ce809b90ad25c23b5299b23744bede876e9d962f18a183bc063d3225260acf39343d16add0d8c9b0fa5d6c06424155024ff0194eb2470914b2
 SHA512 
5b4b268c608f48d61cada7230b99a1e326bfe79645eebf2f790cbbcc569902681b8d56e18da0c9e1f4c67d843589e41738d447364fce88cf98dcff9545004d27
 DIST firefox-147.0-ach.xpi 295774 BLAKE2B 
5272ca33399196bff4865813d75919d5d1b35e12275bfcb54e1c160034995e9140d37c41cdb594e9edb7a1a5443f59f8284098a98ac7232fd487997353224351
 SHA512 
fd44bf7d901a38918a52bf84bc938fbdac3f1baf99e8c67970dbc1d8826dcfa01dde3885680a6344725a9edba1622bbf80b1b1f56d275ff1ba81acee32844e66
 DIST firefox-147.0-af.xpi 269121 BLAKE2B 
01307594ab11f960cffa39fe18cd5e619b5e4e6d149134d32c32a8122a97eefe55a2b04275376d97823c399a25d366fbcc9747d7c70953ab2d34830c7f1bdd6d
 SHA512 
a80abab7085248e8576737a88effaf51960dc278f5f86dda5ded0af7c5282cd30df318192bab6ada6e91e32ae92a5f69626f3eb5e7a7851318708b1e3d5a3e3b
 DIST firefox-147.0-an.xpi 333182 BLAKE2B 
78187388f174a42eddd507b245c3e6d5d99bbed7bf5d73d8042e02abab72554bfc877085b2c92bd558a6818b3d27392309ec4467e0ee61fda87e2535ba288e0c
 SHA512 
8a7cbd1cf1c479f217af2d27f6a12f79edba5684b1b952c08dc13966eecefd056d0e6708a67e5c54571f59c411687359c707066c7f87ab62ba87264ebcfc0f9a
@@ -710,8 +711,111 @@ DIST firefox-147.0.2-xh.xpi 275244 BLAKE2B 
fe40165499164cf719cba02371c589c93f4c8
 DIST firefox-147.0.2-zh-CN.xpi 483919 BLAKE2B 
fc5aa388853d64c48dcd810a0c133f3791fcfd0db4e40a6ba7cd2cc479b9922e2757d99bd79509ffebd11b7dd87d1c7a8cb891ad89a21aedde2045d78d7028c3
 SHA512 
4e523e5c3de49d5a20e3408e404385b8877703ce130eef529883f6f1a1fa89179851a5ccd799f8a15333ee872a13f3cad8d7b56bd02623f65175d34cb50b68a5
 DIST firefox-147.0.2-zh-TW.xpi 487264 BLAKE2B 
4de7426b9f77c9044aa8f9ece7a79a76c0e2392a95bdfb31f03322edcc751e843df5f7912b90672ae1c1471a95f51d2b8787ce961dccf049f913cba6a2637064
 SHA512 
2217235fefa255fc53ee5bcd8ba529f31a144de88a99efd53f4b6a52993733a2ae2ef7e34cd2a25a2c1694ee025b4c7866b87ca960cd137a97999e58d85c7e14
 DIST firefox-147.0.2.source.tar.xz 661073952 BLAKE2B 
c0028eb9361e540e46203cfee4d5c88f443511dba4b201398f4c29ca0caf68c3e3270f9413812f29a925bbdcc2bb30209f9a545f2d046332f0aa8fa95470f29d
 SHA512 
60f8c96dddb337f46746c22d3c282be5e58ce7dc7cd2ae65097eb6405a533a2baa2c7f48e178acfc7d7e2bee1b06bd07a1ae801dae9c9d7609c2fcec8e99e2e6
+DIST firefox-147.0.3-ach.xpi 295765 BLAKE2B 
d51f9379e28cd2f9efa35d133ad49184d942352df95528d987bb2a8ff6d84b5aa1a2f95dfc5ad010b8c89a5c8f91e91ec41554a3f2d476fc38c65c7f4c2d5bae
 SHA512 
08ee219b6886146bddfab92689b1bcd66a58ab601e74158352b60f5d0d060389094cba87755ddeccf781708c607e555f970607713ef9402df80e1fa3e69d23af
+DIST firefox-147.0.3-af.xpi 269139 BLAKE2B 
77961c4998676ceac61ebad2f3fa3ec6fc29e24b036d5241e7c4929f04f870b62ba89cb934bdaf8d13374a8205295350d8f0bc10cdcce1779de17deafc4aa499
 SHA512 
78b708d3ce00f506f752395dc570e800bf3763e4dd0043ddd106aa51ebc7b9848cb32efb401f8f0c25fea23b647933616fb346ff5a50cf46d6976fd0ef26bd0a
+DIST firefox-147.0.3-an.xpi 333182 BLAKE2B 
295b718c7b1516936c13bc7f0c51568d38992cccb7e1cd690cc64e9f71ab35937d726b304c9fd19a485d0d3fa0228e320d0b2a933a7b3aa989b63818ee93460e
 SHA512 
90f8f95a0ccd1beb1ed7708c288e964ce022bad6c71dc14b53fad8e1c8a857386f31430d8b812899a9989c43e9c38333891aca651f30bb8922ecc2e781d7d8f2
+DIST firefox-147.0.3-ar.xpi 447293 BLAKE2B 
99bb69073f7d4df130007501d40d6cd162b98f86d773c71e9f6a875380ccb0583911511b0111c1f0a8be2d6b3d570305f75ad5a22e9ff6f949660545c0b8318b
 SHA512 
1bfa28f7d664ee8ce267bf3b60a2cf16d7c1c10e67c996225ea31603cd690b910632fee265bb671231f0d0ba6b01b1f16907461d8a4a7fe2ea16121d4e6c68d6
+DIST firefox-147.0.3-ast.xpi 313499 BLAKE2B 
f9d8f4164f3eaa4075a3de05e3a1f8e0652c072ad0b625b91c1cea2fdd366fcda58105e58e52438613da503c7a55aa7026e55a81008bde90cbd3d65a9545ccb3
 SHA512 
1b66eaedebbb37f315f208c6b6295c8262cf4a82f038aa3d953d99177bb40066db094f4b72dc614851eef00a0a4f057a797366e0612c86b36725af71f2f59fa8
+DIST firefox-147.0.3-az.xpi 319862 BLAKE2B 
675123eb3c8566179187eadc6bf9cbb29903f2bf2b13b8e94ee5c99595920e19858a87e40646df9fea65a4b3cc4059eca6b78023632ccc1b52e4ef67a2a5c3c5
 SHA512 
eb136c658ef4310835be6adc030aaeacb35ef8ae99caeeaf0eae2de7b41eaf985611796c64b88d428c847be2a45a8c573f492f08f1cd553547c001c431169314
+DIST firefox-147.0.3-be.xpi 549289 BLAKE2B 
af66d333342e07832a3f42f2ce07a0086a92ccb6a39b675013aacaf44b1e6b78aa94db99a325ba6cce8c3e2995baeefc01fc143b0a10076fa9a06f809a4f58c1
 SHA512 
14bea48e31b25d5748ca4f4dc7ba8ccad7bf641e91da12649923ee69e72b246c5f9d6b9f9695c836faadf087444f9796851388549b593785adba13be896ce7f7
+DIST firefox-147.0.3-bg.xpi 462989 BLAKE2B 
8d4fca084d6790efb48e72b4916e69ee675e066288fe09f87a5b11d9e88ddb56f3d8b5d225f378889ebfb5bfa6ab5dfe6055cb4cf83d0878bbcee2c1a50947c7
 SHA512 
90417501db552472f6874a00c7691a9a0fe6beb8c78a017deb6a043b1b0d9593d422d8c66dbd5073b86cf55b3c6e78e81bcc38a0e089a234b9ae3ca313dfdfd8
+DIST firefox-147.0.3-bn.xpi 413892 BLAKE2B 
23e07f082af66fec12d4df7eeff6f65067196e53eed0d780269ade2500c41bc2666a8772dd4271ebb4cc2166e1c4150b51c9ea69732083a184d75fbea12880d4
 SHA512 
c573e862aa8acce6743ca3ef935ca23f54a584a6d1f1d26a2511b7fee3f6cd8ca510e963bfb18214d345ba78f73162251953b062ffcc3393c122d1d37783769a
+DIST firefox-147.0.3-br.xpi 395369 BLAKE2B 
14b8a876de46b45ad80465b2320d4612ff1be8ee77f034594c387227fcf77cb61002ad7e410c648408ef4f41085eb180303225a392bcc9e09dca8fa931909680
 SHA512 
3e303f170d8666f7e42a99a5a5ecbcdab98b040dc5992dca5222166b11ee1a5a5eed56eb730e880954c6174f4ea3dd200ce17adc001eb47a297b329b1a5d27a6
+DIST firefox-147.0.3-bs.xpi 451404 BLAKE2B 
184f82b20a89ae53e7eea47b3cbdec342a0e4a88fe156e69dd308b6cf48c057553a67e6fb7493c1a493956670fd87aa92c19b7827f04f5de80fbad24d10c7e39
 SHA512 
1ec26262beaa68f07f5968ddfdcc9fc560797f2d3deb2fb3410cce98deadd31dbc15cd8c08627b4e40694a3486d3ba392f203dc6e9922c1e647e46c77c3b66e3
+DIST firefox-147.0.3-ca-valencia.xpi 358879 BLAKE2B 
fce02da6a0210b968bc8a432810858e228c98164a7fe0addd272204a8ffd719fc4a8bc361dfbaa4f0bb50314f5635bfd4fed7567ee3a606c5d2cc9c5b364e28d
 SHA512 
6f4e04c4e85262e5a498758a8af324a1bc1209452fae4728cc7663a41ea955a0af3ea3d537ee2453cfab769ebc2fabb2ee180b6c7099c9eca6c7d06a51bbdbad
+DIST firefox-147.0.3-ca.xpi 417697 BLAKE2B 
ff8949267178a4ac7e84bd8ca6168da5eb7dbfa3fc07145330e5d808a7abf47fa9a4b6e5f4246e7101372759578b8eef17293e4cae375d7ad4e46417646c86b3
 SHA512 
8350b50a589f5886b5af6b8ae46eed0b9f0552ebd863d93711f4103cf51e4723edd4873e7a9154f15425e9db8b7afee9e0c210968f285aaeed38e11041318d0b
+DIST firefox-147.0.3-cak.xpi 390721 BLAKE2B 
ad6b42638151707052b2bfc6d3a7a6205eaf6ae9172dc7a7997cac799713e434a7ca7d17bf30add4e67288571b4460bcb33c5f1ec14297fd0367a199662cda6d
 SHA512 
3561a11a7e681db48ff137e8c75d6e7a43bed54b8e20538b2bddb05c5696a1dde8f3f7e833abb4aaeaf369dbe0bd6f19650ca1a9ec0d8e4664c14fb797bf3003
+DIST firefox-147.0.3-cs.xpi 502174 BLAKE2B 
a49e4afa790593eed66fb60e709b344a8e5e35c8e4227ecfda45aab756905319d76f81d54970f0e0a0f8cf9863dffc019f663699a0e07439615198a3d1b221ab
 SHA512 
4f12219b10bc073fbd7581d58e354634823ab6222f9ad3b01f6e55441d2ad835552a9b25e1096b086130d3230fa4faa94f59f8abdfa20395b50ac2abdcbff256
+DIST firefox-147.0.3-cy.xpi 465514 BLAKE2B 
c59ec85d9d4619a567dc893e181d4ff6d41521e21a4d4d4c0fdaa080f15e4e43de78f4762e4c335b0b6a96538891e06a9a1dcd45dc478dcf39bee165a6eea5a7
 SHA512 
ade875ae0b606e7f296bea43f1ea1c61c989bb3e3434188d82634abb7cc67d0df2fa26d94dbdbf7c42597e7fa27b02aa4724d99238a2aa420e452a03954cfa51
+DIST firefox-147.0.3-da.xpi 453667 BLAKE2B 
c41d9fe90bd3f5cc82d67b7c8cbb1bbb2fd66adef1e5389c554a2d1d19d96f415bf294043c12cd2ede345bf0109a5ff4ac3565e9d9a84e1d47fc6d40fe660663
 SHA512 
ef7e912c5287334dea9d5af50bf9a69a682fe5e870d23ffaefb7493198a14692930339473f1d6f1f58771cd3b3adf3297feef310f43b35d463c6a67738c8ff96
+DIST firefox-147.0.3-de.xpi 476582 BLAKE2B 
40228f8ff94b909dc0fce7429cb3331124364e6fb857bf54e0308208fa157098740a740344f31a6024c203da3cb9b4603ccabc10a8b529dad5c3d867c89a89cd
 SHA512 
1c43bfc247ab4bb442653430ab56f3845541e1f833d0a1f770547253a5cdb9f341a9e3d43f09731b3bb12856a0f64e53a5b811df2c867715688407dcfc95323a
+DIST firefox-147.0.3-dsb.xpi 490406 BLAKE2B 
5c3a88e7b1354bf669f9ada2a6640db4efddf090134f9f9222442197981c9576d11159a97e6e45ea2ce3a3809dbaaaa704c9ad3012e13e61cceff4c9c3412865
 SHA512 
13f66482ff91e116d646882a99144d92ac871d75db00066053e437913c0fca12adbf551abf7bc57ac876f2ca43da556f09c297c0b7f0b5879faf785c00e64612
+DIST firefox-147.0.3-el.xpi 564763 BLAKE2B 
158ead08745d82ee0bc821b24d8070ac5212d8801ef7b9efd537c211ba9b154e3b5c580d2765d06dd889af75193d04f3ad5f1ac5879139893c840284b545aa7a
 SHA512 
c877258ce45359844321d679ab429080a5545c500660e421b50012732727ec6706a166ceb475936bbb6115a369c73e6097cf598f1fb2ec6880e142d1638e5257
+DIST firefox-147.0.3-en-CA.xpi 431923 BLAKE2B 
fc955dd4f318f8aa8fee5e9d4ab82c35db4ea2b448d98c0fa5e94424c2df85d1318ad98b502d397442b2bbc5efb87fca54e14d9103133f1f6f189e273af9b2df
 SHA512 
417b096a4720a732d30eb7ffeb48889e00cd932dbb5570b3d2d6f24c34196d84c07efb578571fb5b605c5dab98e4818c435c4f1ea44f8d340ead9f70e9adb703
+DIST firefox-147.0.3-en-GB.xpi 432234 BLAKE2B 
e7e928d5763df1f80b876a87327f9d0fb3911f6efa8ebf422ea2c199d271a255cb1abb0c4f746b25aeb9b5028da25096e32cda5f2eb6cf40946027d36c576cf7
 SHA512 
a4f6ef3122250c50ee36411bdb57de678913312d36ba1f01e627a9615c6cb784058d91d962b1557089475ae468a735d765d03d4467cd38900e8a2cf11eda8c7d
+DIST firefox-147.0.3-eo.xpi 456001 BLAKE2B 
671fca7ce8595c5aa46429e934bffb57a6bb7fec1d0617822b4a83342b1c594aca6336f87d808ba20b955965b13a3245ffa44d71e1be213dc2ab6b53ec9a5799
 SHA512 
b1a64b2f25a57d5fd18e6988b19a05472015f92683c925e22689f5b464287f7a8fcc57d0066aa2e86bfc007598f799f40199d453a6da13967a8b900581f6043c
+DIST firefox-147.0.3-es-AR.xpi 468363 BLAKE2B 
c7f055afb95537421d02591bfb154091e0133c77f88a3bfbb12611b184d9f4e8e2782de517f54d1c024d1bde026a098ce0169773336b749d5f501c2ee7d9e087
 SHA512 
3c9fd6c65c50af188f34bb0e32b8ec8c3aaa692814b946a90fbba8b033608314073903d39b6fde47a17ff0516f99791b5c026c82c35f787e2bb0980a1d0b27b9
+DIST firefox-147.0.3-es-CL.xpi 469488 BLAKE2B 
e1f7a1ed75b6e209986681fd566debc72dff012e1e13e4cfdf816a6cb21dc8fc4486d61cee300aa980357d7f180c58a5f3b8cb61a306629f0fd63ca3bda301b5
 SHA512 
da0514b96b5b8b87e0412c9014fed22e504196311515a187886dfd5718cafe42ece671722ce671ff760b7faa4e605157b79ac5313eac5a794f2587a883b10668
+DIST firefox-147.0.3-es-ES.xpi 470166 BLAKE2B 
10fe16f70cd447a429eeee0c380f53adfae039d06f7fb7033e9f29325cb89b8bb9a7eb5e37550079ab53bc4d44c8b89e81dead956c1f94e219707a9070989e5c
 SHA512 
6027662e61071e97588f22d0abd55768379091e5e6c330a1dc38c70460657c3da426e059c7bd1c01df7bcf0f24ef83f0a732e3bb6b46d058d16296a44e54ddab
+DIST firefox-147.0.3-es-MX.xpi 458611 BLAKE2B 
3603db5030dc957427a9b71d775c9127a7b96416a22126a772738dd506a94b08108caa3c953e69d55ff263f2af126bbadcd4e607774ec937a769cf014fd251e7
 SHA512 
8fefbe170a02be45358e5fb819bd054b3179a0b740dfa17128e38349a1fae7f816bb1de5f5484b6762680dfb2890d5e4c729fd824aa41cbd35b1cf139476278b
+DIST firefox-147.0.3-et.xpi 359828 BLAKE2B 
3f13ee17f4a55548e654f75aca644f29bc9dfbec51b11b8ffb831531d73092ed3a6395f6584a24186c79310dc26e6dee65d6bba9c1b157f98d0e3e8d5cc886e7
 SHA512 
4172952d3a060cc6a49ad77f6aa94cd5a1f6b7a52d81dd1d38d825a45086e677f000ec1904499c746075980360cff2a64f1f5bf5870dc8b77ec305a4bba99c2c
+DIST firefox-147.0.3-eu.xpi 453283 BLAKE2B 
5c35ee9254567c35f518a2b43c6944655c88026f005ec33a892bd1d00409cba89657fa02b945c9b70d5a9e75d38b2cdd45ca5db6315387756c6af86fb5a31903
 SHA512 
f6f756de0499132ed309c97fe25e6a2285ed1fa791dfe076871dc0f30ed68e86b46e6246a8aacd7d0bb5f63d96f7529e0d03f87461c37147f63993432ebc517d
+DIST firefox-147.0.3-fa.xpi 421555 BLAKE2B 
17dc7f5b716321300c478dfc2686c914d0637283cf9de106f1dd2e98b62299720ee50b9c4f18df8747054c18644557c8de4873e0c0fc6595c66e3355540b3261
 SHA512 
23309cb738e56873ccdaf0aeaab4296660fd9cc8727c647bf2257f320f6aad45bb8c9746d1533a2aa35223977d1dec7e56fac0f752e59daf2debdb4a9ef8e708
+DIST firefox-147.0.3-ff.xpi 311414 BLAKE2B 
4d72a78998468af6c4b0b95406e6fc00f055db8e419b0b85e4ab38109dcdd86c2134bc0713d0185a1be8df84b7d11021bacb1e1e4f23b695e98f18faec355b8e
 SHA512 
15e22c4bffda7800a3273d28b066d41c24d415d98775968ac10d5ae2e80d31da219028fa9a1d8422801ded1c474306e83c46c9b86619325aa4cb6050bef376ac
+DIST firefox-147.0.3-fi.xpi 452915 BLAKE2B 
3aa63a5e1dbf82e971ba4cb304075153485cfb9404bd523dfa2f0e9a5b0be7ee3dfeb2ea378015ec934d38c64ca843a466564b905857adc805153b0647c916d0
 SHA512 
6fb5ecb552352d07cef8afe971f7feb4f2926701f1a8b2eb5a193ab0c49bf94e4298fc4b7729cc5cafb41c09d380aa9c1725782a9036db02158028a8d40e739f
+DIST firefox-147.0.3-fr.xpi 482429 BLAKE2B 
1bc86283dac78681afd787903a7b19f8cc21cdfd86e831937c94e13d2a213d9660c1736577f4cd0c9aa87782b76f7577753b89acb25adf71ed4f138948860f63
 SHA512 
ca8485aec8f3575e1cf29936e83e14ddfb69a824346d784aa0333ffa4d1e6a31d00477e7a88e6128b24151fb514019213ffacfcc37eb2a6fa1a74c8ea547a0fa
+DIST firefox-147.0.3-fur.xpi 475452 BLAKE2B 
f9db192de39c1f28ad945aa22a90748b675de738a86f76084e799d61b0576765b39f7efd02f23c4a8e129ada76ccde73d80b82e0ffc577bcc6461c816151b713
 SHA512 
875a22d45ac0f46736bbd17e14fea91d61064603f195be37682b5e7ee24628b0ce0db115b4454dd5d470f1f457aeb9f893bfee6856557447feb1527ea3944d46
+DIST firefox-147.0.3-fy-NL.xpi 464938 BLAKE2B 
0f346d229e21a176a4ed0eb56abfd3c80164bac0b5c6abf23d33c868b6e6505a211e100be3763fafa01a6877717da6d37721c9e70310813180234f9396764de9
 SHA512 
a41c0fc39dd775f5ebfc12c10eaf927b62261f6658b0e978eeaafdb55424bc06d43c1dff31aa3ada02f37cce4e9d2015d877914b906e6284c9798e8744725345
+DIST firefox-147.0.3-ga-IE.xpi 317057 BLAKE2B 
6388cd25f7d20704cd784aaaad7accb20a4a56736dd1dd1e0b6459e6a63148823add379b11c7f9f393f0de8d4a2e4cd4c52610b4577a1853eb534538a2c7adbc
 SHA512 
566591f1f3b6d842c676d92b1fcb889fc68dcf5285003549701865d11f8aee580114114e1f37a6e1c1f8bd74d7354cdbdbc2daa327ce26881d6e02efffea3902
+DIST firefox-147.0.3-gd.xpi 399454 BLAKE2B 
e35efbfdf6fbc21f2ae8763ca1fbccf6ae4812a74bac240046de1ca8a676af201f82f7e1e3cb1181d455242f43bcbe890ddf18cc92e412c4cf45fa131f749c67
 SHA512 
4fa7a83332c347dfccd17214e17715b62db20e9f5b52ea59429aa5094580a4849dff77e31c019b328b13ec0e3f4edc837007cf5633ad8efe31178721a3210ce9
+DIST firefox-147.0.3-gl.xpi 447907 BLAKE2B 
2dc233696ec5a35ca88a72c29d1768c200fb12e261b6aa13318ee53c40023b39b84209a9192ad65b9b0a6e08c8e84aa9818da4d24774f151fee4f3021f707147
 SHA512 
f7c6d0219df8c62eee22afb85309bcd5f80d5573a7ce98da294d905258f0be82d2fac8f5701af6f2b90c15cda90c817229715b91dbaecf922de1f5683604f22d
+DIST firefox-147.0.3-gn.xpi 473484 BLAKE2B 
b71825a889eceafb9714414ba7e0024d1da51605745821410515875cd5e1d1a1b943841108b8da8bd3f7a0ac7e94696a00c68c1fcb7fa620b1a09c8406c7bf3e
 SHA512 
e00e5185e54f53a78291f59e14a037a838ab21746a3a691f3e5e2ab12206282c86b014ecf3b4a1fef26ae3f33cbb2c04632db00bc5e452cb78b779cdadf20c96
+DIST firefox-147.0.3-gu-IN.xpi 359743 BLAKE2B 
7ccd603aa8b40318489e44e340791ecced5effbc467be33e38fb4c226f0362c06ada6e07f353b18185b6d18bd4cbad676193880b8be5c7d8cd367ef45d8dfc27
 SHA512 
61d66ab72c7c0461baba73113d90908d38d4f99348604c53c54d2782ca9483f8b8c13f19971b25bcacc9cdddcf79a269199d949c4831581c02508550e4043661
+DIST firefox-147.0.3-he.xpi 468546 BLAKE2B 
bfd894f0c3178242400b56aa17fbd9988f4683f78964d7bbf783f57984f3157ee8fb2ce20de06fa6ba5a525a447191d3e27c9c8255c70a57826a4f2000056f02
 SHA512 
5ab73768252834d33b2d1ff8eddba220d8e2515fcfabd170c9436905451ab7fc1495113f5be3d966d634e104d32f57a454a9b88990ba3830040905b565c522cb
+DIST firefox-147.0.3-hi-IN.xpi 378448 BLAKE2B 
7fefe3c625faf04f96fc9865fadcc1f376e3948a425b6303a0172b06991581be3080b910d6637dd826ed428881f93cfa54e3dc891539eb373581e5882388a37f
 SHA512 
96d867a6d7053820153a7c2079c260e18ae931087d83690ab84c35b6f5ca0a3732f9d1f032b5f3ec57264b682445ecd6098a9619b6dd9e52c940152baef898dd
+DIST firefox-147.0.3-hr.xpi 458869 BLAKE2B 
77dea59faae6f78ae3e155e08896d9597987466124bf38953839b2114c2e4a6d572a23ecc3088d34015c5225ff18be64389628c0901464621ef8642f21c66514
 SHA512 
3ee13c20693651a5fd4a29f7361534bbd317e37eadb55af6a5baa444ad853f28c51d5123a44f018a41c182bfeb55c69c18c4b2480b440224a8fa7799a08f0467
+DIST firefox-147.0.3-hsb.xpi 487093 BLAKE2B 
0cba3e336710598efb3719f51396af1e6f0c477068883d4f5be7d5108311689176dbd57345e5c9fd8fd3aa6ec05b5a6ffe96e06895f534708329eba705663dfd
 SHA512 
cac7615c18a06da4e50f62a1f483e65597f713c6e279b2b445602e071116d44691f1609dc36dbd9812303c455ad7e9354cce1b2bfe6166e3064d04c42c4e23f1
+DIST firefox-147.0.3-hu.xpi 490847 BLAKE2B 
1c7b5c3ca16bfb3ac14f9325a1c9ef18a750fe14455c914c27600dfe5f4d0d25b5c5575adb4d4613990dad96a3fbc7b571b569f3aaabba8462da169e3a0f1cbc
 SHA512 
54462d5ad817faf092024ef9e099a48c003472762bd6409e232fe6eeb90b18e9e7e931b62bc9433c0e2065eed51fa4e98d729318ff7b6150055aef89642840e6
+DIST firefox-147.0.3-hy-AM.xpi 472701 BLAKE2B 
87fe50b8c04c24169addd956a7981c96a9f42ba05d9cda1e44d37aaf9f432dfe74d557b895389fee94b7517d0e21888850abca1a037b4e6a0eb29642b22f043a
 SHA512 
95d0d8da5a99cd749847e5f39ad967119d1d33a25b60e1b6475b9ed2315a34ea2033a653a8f0b3e46b4d0385f704795167d5250d0b8d4ddf655fd557d9c20c01
+DIST firefox-147.0.3-ia.xpi 452346 BLAKE2B 
cc346ae8c088d76ced5f55323dbdc618be3a3697519a1cd1249d43e7624eef6ef160ff0901d8799fc9f33ad59ecf2fc53d694e4cd7933aabb97956fe3d6685d6
 SHA512 
7e34c595858c60dd9d0c3b300f550f694004e525ba0cb856bd02c4d524d602b11b2561893836ce8b5b8223abda195600c88cf3374ae3636fc7cb8685b1f1eb33
+DIST firefox-147.0.3-id.xpi 433196 BLAKE2B 
8989b02103405492f4f8f24aee43cdbee6f85ebd57b894fdb0bfbc7e9d730f6a5d69fde72e9d7a1bac3ad9c4b35ae59c324a92b313c3ddc25a5e4c368cce1abd
 SHA512 
2508a81499704d753d118e1df603b2d6d08d4198bd78c84a985d4b872fcea964842e6aba9d2c40a8d88b3970b9aa1052ad2077bc6f744213b2bd2bf04d484aed
+DIST firefox-147.0.3-is.xpi 441220 BLAKE2B 
404fe2f23a3bb18132c0ac0871840391b3d47a2a9f35346e0986fce7212abb7b7e61285fac06990fed68ae6e92de186b3f4551e61d0dee757bbc06f26d77431f
 SHA512 
0c9a5354deae1b18e7c022286a14174fe7c65e09400216ebffe1335063b31183f6a1d6b3bfe61cb7ce6c4f87494c952cc4362a8a7eadb9226b1db1e9b2803bf8
+DIST firefox-147.0.3-it.xpi 463732 BLAKE2B 
69428e7d070b3e474fb39c73bb11b41cae99aa715d271e1bbe180506f7957a2c50459d5351d9ad1a16087524acdc6ee6bcd14a9954547037cad4a20e99caa9d8
 SHA512 
f810b95136d1343700098feb18cd01733d7598c07df98c91883681e40a0589bc2b5ad3042dab65daaaab4acdf5b3cbba41e3118211dbc657be9b7bcf3262c535
+DIST firefox-147.0.3-ja.xpi 505791 BLAKE2B 
637e0ab87814ac9dfae44f35d41e38c57d818c1ac058356e9d94aef69adb698e0f85a3c36a4c46fdd0f176679e5ce8f715c9576ddd8f892a7f9a44c41ab8d8d1
 SHA512 
078def941b547e347b6a6d2df5b255255b0646bdc48a7c1ef41078f761dff731e5d1dcdd5a324e88429d4330a91ad30ab213c9749b0fc27cd0ae64ad5b1aaf5c
+DIST firefox-147.0.3-ka.xpi 521272 BLAKE2B 
55c492fe8d91643e64a8710b1dadbad35db0c93d537db71bc07a387cafe4dcb9fb65c6e3c7011fc1221a937e33e9d79807664531d48c89fd5ce50487b0702144
 SHA512 
4139487891ceb2533c0bf26154a95f2b703329a2c4416d9550f5cf4a5a153c02e1f889397560fdabd3f261bd0ac71c4d0fb61644d7b384f942c0df3c29798eea
+DIST firefox-147.0.3-kab.xpi 427543 BLAKE2B 
62fa2212575206eae8e1cbf14513b81b132bd6427cf29355ce9dfe3626cfe972179c2c24dc3f879143ac8b386ccb79f98f3d070614cbea7d2517ecd0616222fe
 SHA512 
df303c87739ab3fe5c5fbbdc344d3173e0e6bdaf16f6cd9acb737d26a3af0534e4539874ac1d4889a45be718089786fbe248f3b98c88baa33f0d458ed8179964
+DIST firefox-147.0.3-kk.xpi 541293 BLAKE2B 
1d21656f28aec6895798571411059604c6440b7430c5b08205fb8d22325b57a7410002f1c5722559a961638654b4f4c217857d483efba02a9d1b6a1ff23f33c5
 SHA512 
bff043d472a868f2978ccb87ff3e592c9730863f84361098109d40b1376c4953c4fd533e4b02980bc952206646c601c492647b4cc14228c7678e403be2eb59b8
+DIST firefox-147.0.3-km.xpi 349289 BLAKE2B 
dbc099a53124ecedd46a6e1de0593cf4453d32eb083364650d79e01eed6e10aed3df379cea73efd4f1ef85b18f7e3765119f4fe12620af39153d918ce2b12219
 SHA512 
b85fe772a687dee26bda1c5f6876c14a2cddaf824644b79b840745c5657e5b3780dd62da7b87b2dc59b7c3f958266a865f706434e6240728b818690f86d1dd1a
+DIST firefox-147.0.3-kn.xpi 333592 BLAKE2B 
daef526d6dbbe753921da304f1b00eb6fa9cb1d34eab27834130dee98d26b014c0d0b891383ce4b5df1d2c6b3b7a14fabd7757757801ff9a7c5735ccc27190a1
 SHA512 
ad86947cb32fe0ad283cac168042be835511e1358e2f3587812195687a67ede92a4fc633c35f054537ee98c1367c1cf8c76b80312b14970dbec9fa5732e3db34
+DIST firefox-147.0.3-ko.xpi 491175 BLAKE2B 
8247ffd407f449e6c476b7cbd2ff107d9114d0948edb51ef2f1df408b117f1d83ae2e40618d925e1392a9315dc3da1ccbb2c28b36abeede4abfb280a01a7165a
 SHA512 
254f88d13ea2ee73dc905aaeb10bb3e4a7a1756623df22d939cea77a658c1cfe023aa57990105a6d2a07c5238761ce43c09d6508df221f6b62d24dd7b2d2cb03
+DIST firefox-147.0.3-lij.xpi 320636 BLAKE2B 
2973eb810750d700d58247cabd943bf472ab7602a9b6307b8dc3436f21e645276f27262ba89efdb34ef8d5885b4587909b0c1ed1425c2910c750a150bafc4a5b
 SHA512 
5cc82db8d6b0bfb981468605f50eb0ca735539ddbcb976b2db0cda74dae16536d46efe1134d98d857207503e57520c674901987403893086393bca00466fe28d
+DIST firefox-147.0.3-lt.xpi 380527 BLAKE2B 
a226622da6366512ac7bc2e457916a3756077cd56aae0af4617a811590488728a9e1d09a113f20910986a0b26f91733204abe4bdc3a1b014edf059c8546f22f9
 SHA512 
a8bd7cd94b672974685c4935b45f3d4a35c488cd75d35db4997bee356bbf98c5c01b284938229eec94916ac83da7ba9cc7d140f2e0b0c9551910d3508220f325
+DIST firefox-147.0.3-lv.xpi 391439 BLAKE2B 
d640ee45400cb76fe3798af4c193118004e09f9f184d9561272d52f3accd0449e6602836a3522577e8cabbea7a71813b3349528e5569bd760711ec9c2d106c01
 SHA512 
05efbca9f870eaaca9315b56f4ecc0130989429e640700f8dfbc42278a26080c739221ccce26505478be0dfdb25b7409463aa41b537ab0060bdf0d5864533ab8
+DIST firefox-147.0.3-mk.xpi 318216 BLAKE2B 
d75d214440ceb713d0cda3beaf7dd4ed56914fb203219e5dca877435f6bfbbe3ef0318a293d190beda2930ff761d9a8cc1b3af6321e5718388532aca611f444c
 SHA512 
073c014c09eab192b21a1381aadcabf2d3fc2f55240f4e0522ff55a0f07f6b81abfdf436322b93b110c819cd845832bf8ee4daaca39018183105162fc062d1cc
+DIST firefox-147.0.3-mr.xpi 357575 BLAKE2B 
c0bd34ef6ee18de27c3097aba9e6c077e3c2b33e22ad5571942a4e0441e928769f0dac05383753303c510adaf36c222fa1d2b2be9f5ea1c40a17c3629fd9af7c
 SHA512 
81e4b7524adf1bf0ba1ecd82d65011dadf060c84f6077670b85cd13b15e8615976731a02aac1201d11aa608abe334e494096a92968a5ac465b2cad8c29a15218
+DIST firefox-147.0.3-ms.xpi 297216 BLAKE2B 
71b260726dcd30cd4f2fd0097d2ce2223f441681bd44e3bfb03113f123e25630390ce85836d0862da19afba898a84a400963e4376d9581c6ada01fcd6aa37e81
 SHA512 
7ed8c63557f83e8ff9961285349c4308ba56361a2d4787d24462cf96f4f8521f2a6b605271031a70d59033f22385bbdbb86af0a9ba32ed29dc8a77ce0b8c4d84
+DIST firefox-147.0.3-my.xpi 344474 BLAKE2B 
4526dead59ac1393c351dd861c1479629459aba86d863a7ce99f2595a0ceca2fd813e2d7a75dfc2c39e00fc2b5809c27b569ac598ef5b25ea857be8bb213cbe8
 SHA512 
ed095d100fa84854d91d95f670d13e67c348e8cf8769ec27b81d141709bbb2a4415f3fd22bb1a3f2de94c6d3dd6d41e8049aa9aa6638137f177d9890f9a07109
+DIST firefox-147.0.3-nb-NO.xpi 451563 BLAKE2B 
9bbc38b048bb074367c779744eda86f0e73bf80ba551e60ec5fdd03ea7d58b270157879c55b1956f709f9cefe6c6bb66852d63d32b5407e2767c955e74818f0f
 SHA512 
0b6cdd96038867e9e36330ae44e669bc35e8bf28810707d52433265aeb195b8969b44bd2f0748d1115fdc9d177c8d9d56bbf853d4b0717be714fdbe2947cb399
+DIST firefox-147.0.3-ne-NP.xpi 349632 BLAKE2B 
8f574d51e85b885518353e9243da0e5d0c703ed11db590ec1f797c481a4862b7620b3918aa3980299b43773b697b63b3a6bab2a6148fe4c6650ad21789dc2b56
 SHA512 
15c5fe05aa4e8738eb4c7b40976ebeb4dbe4fd3e2dbcee162887ea5dc4b183795ab71cc31789c4d87c1b592c06c7f152c19378f24546c64c6947b3738905a9f7
+DIST firefox-147.0.3-nl.xpi 458877 BLAKE2B 
6b0ccd99453bc5219a9ff58affcba6f2879f3eb5f7f1394588a0b4ce54c5e4565e98eb95c36c5f03c3c95714bf6b8204b4a893c851672aec8d15f65e89928ccb
 SHA512 
fb3ae426d760e99d48ba115def265d33a57e17c4294a27c60b65a35378a71739e51da65bbe8882b480d3be9cccad1581b2bd373a37ad9f0c0c25e3041b0e24e0
+DIST firefox-147.0.3-nn-NO.xpi 454763 BLAKE2B 
a1d1cb42e1fbb226f08a49e4032bb3fb32b00121541a40a3ae63701c3c5c40a3ebba06720ed5ed3407773b857165a8404b04d23b6e68d95debb175340dd1f30e
 SHA512 
d61e553a8a1c0dc84b8331e96264c518d7aa4f37cc4b7c502b8c424fca30be16c1bc1de553260ccc755f83c8831b2779dc2668c1af8463062fae1e5aa3706cf4
+DIST firefox-147.0.3-oc.xpi 411254 BLAKE2B 
229ddba2a7e87d485a0ff466cc234ce7aa7487826f24869ee72ed97cf3f8526998945c1f4a3a2c83c6a54ac8215e6c1c93712ce2190a4bf24c52d9acbcaab345
 SHA512 
203578bb2f47260736c588539886851af0fa171227ffb23667ff64bb6053abbb47514565e418cd49efcb57b07b68f19b5b1720de71f3ac411706c2ccd6d56d5f
+DIST firefox-147.0.3-pa-IN.xpi 520323 BLAKE2B 
6b1f797fee0cc6202528c6f0da7ca83bb4f31ec3ff96f3ec3fc383bc333899793c089b86fd2c6758f06dec2579ea545a034a7b14f70ebf845963323de360402e
 SHA512 
c716b4fac463880d9127e29a265d06fd186a410f65058cbfd029b3e450edf3fd6e5096d04fe86342fe3d5eefb31ac083af334507d795be5735cdb7bac637c018
+DIST firefox-147.0.3-pl.xpi 488078 BLAKE2B 
5b34b8fe40efa63dfef6672413f34d9378cd806512f357ae4e87060b15851f3fecf169efaa17fd9de635fdc097b1aa887c2222452ccc92d0ba84587ea447d221
 SHA512 
7590e3b96543a88578eb9afcdc7039cf25b577d835ef78605a4e9a862b87432aeb9f8fdba7227ea959e199fda8424f9f66302177aa4b7e0ea0b5f209ea0ef4f7
+DIST firefox-147.0.3-pt-BR.xpi 463347 BLAKE2B 
530d9414282b1ee44ad10ddd23ad6f6f07ae19d1ba720d50dc33fe9c17cc51978c7890b5f95752205753a4b0e3364d85b9821d539f9ee6f098e4910772082474
 SHA512 
159a7c00297c0b7fcccda0d7e42b0695483c6ea3d9a87c528e41acf1258f5337f1c95e8d03a54d86fe50ea7745496bfb3ed45c9f73d43111846c6ad41ea2ae13
+DIST firefox-147.0.3-pt-PT.xpi 460505 BLAKE2B 
514d6593fb67bcb771c20542a2557a22fc2c9032bf8e69934c3d4401b5ac3c759e09af9978dfdc6c233b52ff38a12808f4d0eb30a9e8b79fa19f72bbef0c167d
 SHA512 
3991e7523af5f9d099807f84c1b85c4d207f87d93a1f3b23a5ee7f59c9d9dd33d21b8bf9e270c978bc7c578e61658b0d626aab05ca0c14cd425ee466bda604ae
+DIST firefox-147.0.3-rm.xpi 456417 BLAKE2B 
cb513d5d2be27ad8b0d8f11949b3fc622982a288bcbadc5b64eeea25ed60a2ebec6a2caaad59fba4bcc10783542167624ea360bd0ea2f58490707050c3b8f451
 SHA512 
a13d383d7bead6b4db7ca12df0c2645bf963ff8f918de236455187e6a7c6504e674230872a924de338cbd9aa511b60f557f4ad7540ffef4b8656c9519e28b156
+DIST firefox-147.0.3-ro.xpi 476234 BLAKE2B 
82aef4c7152034767cd0589562615ba8aa8db929174ee516ab87232feba2c960e98fc822fdffa022799252eb49166e50fc2a61770425eaae4cc43f247d1d9941
 SHA512 
6106bcb9208d7def7a3324855abf6cb57d5e95325a02662551f16c32c9e84945e3466c57c12ea3ece08e8b9f13232ee9ef108b1bcf181f49957ce8b7fada9cf7
+DIST firefox-147.0.3-ru.xpi 553265 BLAKE2B 
f5d54c3e258a7863ad96e6158d31d87e8b2bb1e1aadb2ed41f6461e27ac8c38d4248cb28cf2249e601a2c1cbf831bb66d2ed86a561b102aafb9bef7cb2b1de70
 SHA512 
1028f707a65c9535d83c75e65d7fb2ae02086f1db4ddfe61c8364af7c768fe409b5cadc278d3452187c0f46b5c74cd173079bec643adcecf5b3d529d5497c5e3
+DIST firefox-147.0.3-sc.xpi 423921 BLAKE2B 
a4409fecbe66968b2a183f5459d56c738ace27a17c04a34d63cf04713a2dcf9596d442bcf68b3696c8bc71cd224c2835de06a06ce9b9977b1a11ce357746c5d4
 SHA512 
cc93cc3a518a1cd128d3e768f7907fcf2c2fcdf70387094d73a024de678b3bb319713e358076f776d80304b80e4eb4ed6d0d8f10d8f9195b588f4110a30a67a9
+DIST firefox-147.0.3-sco.xpi 323632 BLAKE2B 
b5075ef4c107eceafb2eb2ce3dfdb2b882162d3f01320561f42409f97f427496d3e2648c4a284b388e212c344ead40ed25af8f3f520f43a2ae4d75f4e5fa2595
 SHA512 
bf9b2ef2f798a1114ba8f91c8f355297b92636942c49765e8bc94dd477ca82a9352dd3b03a268c7e25c4fa9e070e5bc14873aff07f3bb969dff97a530c132e49
+DIST firefox-147.0.3-si.xpi 410475 BLAKE2B 
27aa076e9a05f99fd47de0d47eee5f29c8b2d8b897ee14141d9fd7408390a79b722ccf591558c8d6e5fbd7db61be61d75f329069fb36bb6acea27fbf6b1b9c82
 SHA512 
7d685ae983171c95de6cda15fb06705ab3a24c692cdc919474dba508d31a2212b53b972af179a984df862407d57a83c59e5cb304bf28afcbaefeb7e786300d75
+DIST firefox-147.0.3-sk.xpi 493507 BLAKE2B 
833a69106619062069fe91b2d18339d47ded10da4b2c84d790d97c54cbc22bf09e6d48f290e889370d2819a12b2d232aa17990d75334400968a19780ed37d448
 SHA512 
aaac4a9cdb37e475c23879c075e981762d543b164aa307aa0457657ec84fa968aa5190c5d3d6af20218cefdb3cc35f84791f1326d2f98e6ddca616c487c73d11
+DIST firefox-147.0.3-skr.xpi 484859 BLAKE2B 
37050d7cf599b35dc45cbf4a08b545455890fcc51e080e3c4caf33c6979c5172dfaa0228d69a540af5567b3ef22a7bb8c277abaee241471c095ae1f59a9fcaf8
 SHA512 
6c582625f3861724d6b4dc7385b47eca3d49eaf3e48b46b663dc74bb71c5ba71b99928ebb7d19114cbc12137ac218dc338f327283075079fae33bcc2bd98bf94
+DIST firefox-147.0.3-sl.xpi 461504 BLAKE2B 
537fe423fab61d291b3bb6ee4330957a072c9e3f6e128a5dab17ec5ec57cb5958004a4c8bb240b4a4a11f29c10b1e07d85b8c549ef836c847bdbf683602cb6a1
 SHA512 
b8b0c101c5f1f1e946b2d847aa7e938c8618c085efe8e8f56ea60ef601a3eceafd396cdfd96479686675824ec82c9375f4ef4513b618b03b7cd5ff428f49aad1
+DIST firefox-147.0.3-son.xpi 275636 BLAKE2B 
e57dc1dac47dadd6d2324fdd035c9724520b0c00bb0bfa0b4f280107df264e9d89e973091f0fa0a1a80ee0de4f0c30da92663667bfcebca786997c8ce3b6b15b
 SHA512 
e071b99f61d45c8db20ae2bd8c0c70fe4fd9d78b166daee2af243d89a2391148cd38b21ddf5b0bd7566cf74afa10f974d8634ef4df51114d5564cc840e4e3783
+DIST firefox-147.0.3-sq.xpi 479955 BLAKE2B 
193cea97e04fd6d0ceed5739b2c84a0a1a347195f7e1b52d1c91af57e3edf76761b49e719e6a0e42f3416293a0058e18025e31661dacdac4867bdcd59584477e
 SHA512 
25f65533532e65341fdad52b06a35e12976455d4e632ac9db505494d8c3bc69f2b17caa910b9c32992dd8da6e831640636c4bb832b898b903d5db3fdced21715
+DIST firefox-147.0.3-sr.xpi 452648 BLAKE2B 
c62babb89d00a0fb45ab733865a58233ab86add2556e5a23f6979062ec78ab7334e326ed7403a3de4cf3061804d5ed30f6a60c09e6eed4b64dadd041fb4e44d7
 SHA512 
d07e7075108e8d5ae7cce57f99e8dbab7a0a6c17941e4bb4bebff3d9b57bbcd9ba11f7eb340c8aa1a359620761ac35736c9c0c5af48eb0937e082de816ec3870
+DIST firefox-147.0.3-sv-SE.xpi 458674 BLAKE2B 
5adc078374007dceb3c61492869b3e13511839d6a32fa03143a81e33a075bbfce05b006df1acd9bda5d20be3d566680ed0334dff6c909e2b8f39eab6b2effb64
 SHA512 
225f9e337ef13ddf178fa0b403667f0826ee06b8da8444544c536487c2c5c2049027ed70d9725df73fa3e9775ba362663557aa33f26389d0311a748c2a62f016
+DIST firefox-147.0.3-szl.xpi 342182 BLAKE2B 
f5519ccb8b466ab02c6ba1793011a86a3d22fe64527e592670d0d89686a22d9c18e166ea1b58a63927e99aac3e85e05c32a7a4b308664b470fdb5e46b6d57a8e
 SHA512 
5ddea7936489fa722263dac3a3733c0dfd1513ea4ed677999045d95d08993054406ded917b91036741fdba1804f08a1ad1b47b22446647381965e2a363420000
+DIST firefox-147.0.3-ta.xpi 339620 BLAKE2B 
e0f55c56052b3c1e2b07de9144d4c646a69506f4858ea3fe9bd67aaa0afe67c57633c92ce307e5efe2c5cf1b001902c5ea779db6f3edf9a41466c50b14fabaf2
 SHA512 
f315a66f70686fcf793fcb1aa251961d539b5ab08c7a8b2e0fadf24319ebfbc9af64deaeef251dc36f78acaf0009972cb8b8eedeb768969f93d56590be27ee33
+DIST firefox-147.0.3-te.xpi 382693 BLAKE2B 
9cd5f22eda7c0b637dd3f9526e6f9d5ae4fb5584d8752b166280f370eb8c36111e2729aa3363821eac476ca1ab362be1e234167ca13cedce26218e5c378aa782
 SHA512 
f140b4f140133129a0596d6fdb01b7cbf7d683478cd1ad94a83ce47d71442818d0608ef530f8e1de268c2581dda21611ce448bad31ca104c90e8523a77228988
+DIST firefox-147.0.3-th.xpi 530503 BLAKE2B 
23888748c2c4afa5489c703e42f2e53b76dd9c4ccf2ff3fe0e333dc0dc35afa71858dd0e6de28f5e58070ba25c03e276ba92771829d73ed9a26fa88b3ce69513
 SHA512 
5d37f250b26caef39d2d168877a1608ffcbb44172432017e736905e48aa88cfa8c0a37a17f63b67a07fdae2ab9f292802548355782560880fa3971dee7fd994d
+DIST firefox-147.0.3-tl.xpi 356869 BLAKE2B 
c7e0d6f7b8fea76cddf985f70726828e092a514181b0bbc389f33cc0f8194185ad55fb0ccd45530a2ff63bc30a1115d3e567c5d86258c208e381dc2905389d84
 SHA512 
bb4beb703d573e387aa5e7d90e36e6263c8803323a4d07babdf6f44f30b44217ec0d687d338fe36876de09a0d060a1914fdc6b956678c49906e321606261ec6e
+DIST firefox-147.0.3-tr.xpi 472595 BLAKE2B 
bb87b2b255d92d5d2bf2e600c5cb29d081dee31ec6ab2dea6df77acc894d75ff67516540d08aaf2bb8e3cf8710f083115f20a13a71b960b67a0145c3c80373a1
 SHA512 
709061fb7d9c33c7a5cca0909bcd1f1fc1763c3c23a43f51b3da5a3fc7c9450bc3c8c5291e8467cbe1e433d9ba2fb9f0987e675aee8e59cdbaeeadbdeef9e5cf
+DIST firefox-147.0.3-trs.xpi 325443 BLAKE2B 
24dac30ca36ced43ddfedc4428313b954741e789449b2a986856dd5252007b659c121e1f50a14808418c32b818fdc8e741e420f5c3064f80b736162931e694d0
 SHA512 
cb43136cd0c53e9166659f023c109044d485df6f266d99d198ded1ca4d3b55187cd99ced7d1adfeb67a9cf6bea7c68c0e675eb3d8360bbaa097c90b5b9f48b25
+DIST firefox-147.0.3-uk.xpi 540522 BLAKE2B 
5b8a11e7855c7e0552e9c3a814a9430bc7398af6349edaa828e70fbdccf1e0a26989924563b7cbc78f438e7e1bf5085872c2d2641cfe116ddcdae9adfbf11807
 SHA512 
fc0ff201be931f55feb25c2d88e41ace4a0115861ce7b457065b303e5d1ddf4a7fef0238664afe7288000922ccad20ac017c81c8978c2ebb6d6d2c3582b07b78
+DIST firefox-147.0.3-ur.xpi 371414 BLAKE2B 
13e29444071c3c21e6e6a7f01285406e586ca6e31091b56ea1b137486b57fec85d1741611940f90adcdae29bdd717c1ac7358529f720203caeeeec0b2646a07d
 SHA512 
811e866c7d7a51fd6cca507b4b2a4666591cacedac44578429db1de9a9492a9b2f6857292227e2a74212e774202ef9022c63bc7cf3cbd0cd662d0ed6d8ef3c6f
+DIST firefox-147.0.3-uz.xpi 304841 BLAKE2B 
ad6018a36a52a3b9abef39852542f98c382e76078de9ad11a4f4a11ee41a91b5f57fc1190c8774a74159a593afcd97e21f7590d1cf5ea5971625033aecdd1507
 SHA512 
8cf3a190139dbfea0cffeaa7d8b9187e7d83c0158a8a3e732bb614451334c4eb49fed7c7af8235fbe125ae06a562a9bdf427bde4dac455353f0c0d387b4d0b38
+DIST firefox-147.0.3-vi.xpi 492935 BLAKE2B 
5e9b46a08ca4507dea998a56dde4d21aa370eea527fccba374b6ef3a434e7b9164a6abf923e340e980ab7f72994e96aa569d58a83df4d520e759a4d2927e9f66
 SHA512 
8b9a7ba3b3668dd61197befad8ca975f15ee7990b10d92094961a1b5e1116b51f514bcd93befa64054474c49eb6e6eb71b08f87b831f3c6b0baac832669870a6
+DIST firefox-147.0.3-xh.xpi 275245 BLAKE2B 
d52ab1fe0377d0f74a9e032dc479077f0c7fba5a97e5c8243a3188b308ade2781101c901f4fc51cb14edd172d12b46619a369e81e42c1e72d80df0c9be950974
 SHA512 
90ae2e7807b5db93695c56411a9fe6478f8ece1a10209a45f354273cb268c1d7d28ad401c094345ab66047d17c6069ef548fa1e33f875aeae1a7aafc75d7cf72
+DIST firefox-147.0.3-zh-CN.xpi 483913 BLAKE2B 
9b4feeb135365301d9335e799540043e4cce6b66c3824632f00b6d38d338c549eaf7d0e00ae7cc23b326d40be2cf31b58a2aaa9c9677aa1684dc7f35debb2e09
 SHA512 
84da912a6e8f49440a1ef7e476e1f9197134b32bcf8046320cf867dc9094a1c50cd2633edd8fcb2bf41dcb0cb3da04dbf70c474f1bf83d7e3fff2bb30881544d
+DIST firefox-147.0.3-zh-TW.xpi 487258 BLAKE2B 
95f2fe937fedfa3c97d5f23141796c9017d9f535b30448a1ab62e434aeaa8e280f520a51237c280ac5268faf9f15937aac992cf4e8ff4f349482890518588a14
 SHA512 
5fead566fa76ff30c708fbf22702a2c67e42cc69dd773bf3684f19deddf6ff28782097eb45910636cbc4b0f4297413fed0b7db9053f41658255114b2dec7e1ce
+DIST firefox-147.0.3.source.tar.xz 658641660 BLAKE2B 
d1dfb15a47dbbaf50081c61b7b03d712886ec4b3ae749abf7886c7adebeb7e03831c65e49706f09bd670a11359aa91be45921d1166003ba89cededf61e7a8c96
 SHA512 
37e39c47d694eccdcabb7d8a0a4cfe1b02860a97f604653f364c60f4e98796ffc7f1c6ab51226b2e5034a4b4805ccc6ec3983f0d830c9f36692df2ec261273d9
 DIST firefox-147.0.source.tar.xz 659319748 BLAKE2B 
8d5e474bc37d7bedd20953a6c519129fa1d56912ef1ffd06582c8db9128e714239173c954b6f5f13a1fe7740d7391c770c684562108f7fd79900d0bf56c4e12e
 SHA512 
ac9017b1a2da7b2f139392c394c36341fd3476e3d4ea1a3c7e5e7bf100dc30d185132ef9256be7e6b0f9dbfc69234ac571ea1fc6db9d84543b15772f4ec85161
 DIST wasi-sdk-28.0-arm64-linux.tar.gz 121761064 BLAKE2B 
044a93cf1790dd652a86927bd74cf2a8b081a8db1261c2879d7fa72d5efde6a1ef65be63ff94c94d1e39d179ab829eded95121e2f6fd6c8f83374690763d532a
 SHA512 
5ed16fdcdfa573630a75986cddde5ddc6a7e010ad9ad20cfa939becb78c1cbb0740fd1a53064e3d358b929b7b9ef6264612644293a1840c54a3e1868b4c15d7b
 DIST wasi-sdk-28.0-x86_64-linux.tar.gz 121193888 BLAKE2B 
eaefdd7f0432b3a2432e09fce659282e1e1a515a0b31f63cc2d48953e180229fe494deff2e1019f60ab38179f7f93e6dd13d4763355b706e5f447efac1e5f08c
 SHA512 
805412c73b4b2d3c9df9af25b95dd2ed7625dd1b4424bbf07286caf24fc87e54aee1fbb4fbe3904f180a7cca9decf00177915860ca216e87421d8c91a0693875
 DIST wasi-sdk-29.0-arm64-linux.tar.gz 119258587 BLAKE2B 
8f71af2b3367604051d094dbfd7e498d8fce04f0b90eaed8426e947b70b7b7480fb60c98c9b06c7e2647aa1da2101f7a8e4779778a072eba10af519c7093a2cb
 SHA512 
728923caee9a08159bfe1619b2d40e2945c0e614513e941fb4964f5875adb7e76dfdb30144e1841d87ce0e87c4a85f243f2af54e7c4d4001232f6e5a30ba8cbf
 DIST wasi-sdk-29.0-x86_64-linux.tar.gz 119441678 BLAKE2B 
ba6253ebf56743faa09f85ce67d0814b578973b1c2c8a03f97a082a3a28f5cfaab23d65cae37030dac14f7d6f8ccc811f9ec28970519494da23fcf02e1b4b377
 SHA512 
816662b02bfcca68d59e2c542ef24a563e848dfe1833544ad6ed25986da7fc88bf7e95513b3fda1e6b50eb19b96eb8113ed1b8e75431a50a13db9d62f1fe3ee1
+DIST wasi-sdk-30.0-arm64-linux.tar.gz 119262670 BLAKE2B 
59194c6459c98b0566522c97cceac61c68915629931546f8598856d726dff9f85742560afe9c86d6102a1faeb44c962b3935b8b6de326ea218158a32026319bc
 SHA512 
ff794dd90c851b2c0b7ea2cb2ceddaf23cb4cb1c211e37ae3dcf12556e6a21e389c2b894ef52e68110ca085098ae3717b18a497a928b5d13b0a9dab61acb8b38
+DIST wasi-sdk-30.0-x86_64-linux.tar.gz 119449290 BLAKE2B 
7286b9079eeb160b0e033b7802f703b08e089e452c6558f1feb6d9cf8cd240fabea7f9a39d44b13b2793e69a02c569f64520d677d76a577bc2e35ce07c722212
 SHA512 
9b8dc1cec71aa9e870840b30f2b7307d6b48f965d50b724926745780e4e76411f5eb97e443970ecdead90a4932669cc18ae506439f22a24d06e2e8fe44d220b3

diff --git a/www-client/firefox/firefox-147.0.3.ebuild 
b/www-client/firefox/firefox-147.0.3.ebuild
new file mode 100644
index 000000000000..bec625f890a0
--- /dev/null
+++ b/www-client/firefox/firefox-147.0.3.ebuild
@@ -0,0 +1,1466 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-147-patches-02.tar.xz"
+
+LLVM_COMPAT=( 19 20 21 )
+
+# This will also filter rust versions that don't match LLVM_COMPAT in the 
non-clang path; this is fine.
+RUST_NEEDS_LLVM=1
+
+# If not building with clang we need at least rust 1.76
+RUST_MIN_VER=1.82.0
+
+PYTHON_COMPAT=( python3_{11..14} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+VIRTUALX_REQUIRED="manual"
+
+# Information about the bundled wasi toolchain from
+# https://github.com/WebAssembly/wasi-sdk/
+WASI_SDK_VER=30.0
+WASI_SDK_LLVM_VER=21
+
+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"
+       HOMEPAGE="https://www.firefox.com https://www.firefox.com/enterprise/";
+       SLOT="esr"
+else
+       HOMEPAGE="https://www.firefox.com";
+       SLOT="rapid"
+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 check-reqs desktop flag-o-matic gnome2-utils linux-info llvm-r1 
multiprocessing \
+       optfeature pax-utils python-any-r1 readme.gentoo-r1 rust 
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}
+)
+
+DESCRIPTION="Firefox Web Browser"
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> 
${MOZ_P_DISTFILES}.source.tar.xz
+       ${PATCH_URIS[@]}
+       wasm-sandbox? (
+               amd64? ( 
https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-x86_64-linux.tar.gz
 )
+               arm64? ( 
https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER/.*/}/wasi-sdk-${WASI_SDK_VER}-arm64-linux.tar.gz
 )
+       )"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
+
+IUSE="+clang dbus debug eme-free hardened hwaccel jack libproxy pgo pulseaudio 
selinux sndio"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent 
+system-libvpx"
+IUSE+=" system-pipewire system-png +system-webp test valgrind wayland wifi +X"
+
+# Firefox-only IUSE
+IUSE+=" +gmp-autoupdate gnome-shell jpegxl +jumbo-build openh264 +telemetry 
wasm-sandbox"
+
+REQUIRED_USE="|| ( X wayland )
+       debug? ( !system-av1 )
+       pgo? ( jumbo-build )
+       wayland? ( dbus )
+       wifi? ( dbus )
+"
+
+RESTRICT="!test? ( test )"
+
+FF_ONLY_DEPEND="!www-client/firefox:0
+       selinux? ( sec-policy/selinux-mozilla )"
+BDEPEND="${PYTHON_DEPS}
+       $(llvm_gen_dep '
+               llvm-core/clang:${LLVM_SLOT}
+               llvm-core/llvm:${LLVM_SLOT}
+               clang? (
+                       llvm-core/lld:${LLVM_SLOT}
+                       pgo? ( 
llvm-runtimes/compiler-rt-sanitizers:${LLVM_SLOT}[profile] )
+               )
+               wasm-sandbox? ( llvm-core/lld:${LLVM_SLOT} )
+       ')
+       app-alternatives/awk
+       app-arch/unzip
+       app-arch/zip
+       >=dev-util/cbindgen-0.29.1
+       net-libs/nodejs
+       virtual/pkgconfig
+       amd64? ( >=dev-lang/nasm-2.14 )
+       x86? ( >=dev-lang/nasm-2.14 )
+       pgo? (
+               X? (
+                       sys-devel/gettext
+                       x11-base/xorg-server[xvfb]
+                       x11-apps/xhost
+               )
+               !X? (
+                       gui-wm/tinywl
+                       x11-misc/xkeyboard-config
+               )
+       )"
+COMMON_DEPEND="${FF_ONLY_DEPEND}
+       >=app-accessibility/at-spi2-core-2.46.0:2
+       dev-libs/glib:2
+       dev-libs/libffi:=
+       >=dev-libs/nss-3.119
+       >=dev-libs/nspr-4.38
+       media-libs/alsa-lib
+       media-libs/fontconfig
+       media-libs/freetype
+       media-libs/mesa
+       media-video/ffmpeg
+       virtual/zlib:=
+       virtual/freedesktop-icon-theme
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       x11-libs/libdrm
+       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-3.10.0:=
+       )
+       system-harfbuzz? (
+               >=media-libs/harfbuzz-2.8.1:0=
+               !wasm-sandbox? ( >=media-gfx/graphite2-1.3.13 )
+       )
+       system-icu? ( >=dev-libs/icu-78.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-pipewire? ( >=media-video/pipewire-1.4.7-r2:= )
+       system-png? ( >=media-libs/libpng-1.6.45: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]
+       )
+       wifi? (
+               kernel_linux? (
+                       || (
+                               net-misc/networkmanager
+                               net-misc/connman[networkmanager]
+                       )
+                       sys-apps/dbus
+               )
+       )
+       X? (
+               virtual/opengl
+               x11-libs/cairo[X]
+               x11-libs/gtk+:3[X]
+               x11-libs/libX11
+               x11-libs/libXcomposite
+               x11-libs/libXdamage
+               x11-libs/libXext
+               x11-libs/libXfixes
+               x11-libs/libXrandr
+               x11-libs/libxcb:=
+       )"
+RDEPEND="${COMMON_DEPEND}
+       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
+       )"
+
+# ESR and rapid dependencies.
+if [[ -n ${MOZ_ESR} ]] ; then
+       RDEPEND+=" !www-client/firefox:rapid"
+else
+       RDEPEND+=" !www-client/firefox:esr"
+fi
+
+# 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 "llvm-core/clang:${LLVM_SLOT}" ; then
+               einfo "llvm-core/clang:${LLVM_SLOT} is missing! Cannot use LLVM 
slot ${LLVM_SLOT} ..." >&2
+               return 1
+       fi
+
+       if use clang && ! tc-ld-is-mold ; then
+               if ! has_version -b "llvm-core/lld:${LLVM_SLOT}" ; then
+                       einfo "llvm-core/lld:${LLVM_SLOT} is missing! Cannot 
use LLVM slot ${LLVM_SLOT} ..." >&2
+                       return 1
+               fi
+       fi
+
+       if use pgo ; then
+               if ! has_version -b 
"=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+                       einfo 
"=llvm-runtimes/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing!" >&2
+                       einfo "Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+                       return 1
+               fi
+       fi
+
+       einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+       af ar ast be bg br ca cak cs cy da de dsb
+       el en-CA en-GB en-US es-AR es-ES 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+=( skr )
+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}"
+}
+
+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
+               # Ensure we have enough disk space to compile
+               if use pgo || use debug ; then
+                       CHECKREQS_DISK_BUILD="14300M"
+
+                       if ! use clang ; then
+                               if tc-is-gcc && ver_test "$(gcc-major-version)" 
-eq 15 && has_version -b "<sys-devel/gcc-15.2.1_p20251108-r1:15"; then
+                                       eerror "<gcc-15.2.1_p20251108-r1:15 and 
pgo detected. Firefox-145.0 can not be compiled"
+                                       eerror "with this GCC, when also 
enabling pgo."
+                                       eerror "See bug 
https://gcc.gnu.org/PR122620";
+                                       eerror ""
+                                       eerror "Your options are:"
+                                       eerror " 1) upgrade GCC to 
>=15.2.1_p20251108-r1 - note that even with the 16.0"
+                                       eerror "    releases, make sure the 
patch set is equal or newer than 16.0.0_p20251109-r1,"
+                                       eerror "    or use the \"trunk\" 
version,"
+                                       eerror " 2) compile Firefox with Clang 
by enabling the \"clang\" USE flag, or"
+                                       eerror " 3) disable pgo when compiling 
with GCC for now."
+                                       die "Firefox-${PV} with gcc+pgo cannot 
be compiled with the detected gcc version: $(gcc-fullversion)"
+                               fi
+                       fi
+               elif tc-is-lto ; then
+                       CHECKREQS_DISK_BUILD="10600M"
+
+                       if ! use clang ; then
+                               if tc-is-gcc && ver_test "$(gcc-major-version)" 
-eq 15 && has_version -b "<sys-devel/gcc-15.2.1_p20251108-r1:15"; then
+                                       eerror "<gcc-15.2.1_p20251108-r1:15 and 
lto detected. Firefox-145.0 can not be compiled"
+                                       eerror "with this GCC, when also 
enabling lto."
+                                       eerror "See bug 
https://gcc.gnu.org/PR122620";
+                                       eerror ""
+                                       eerror "Your options are:"
+                                       eerror " 1) upgrade GCC to 
>=15.2.1_p20251108-r1 - note that even with the 16.0"
+                                       eerror "    releases, make sure the 
patch set is equal or newer than 16.0.0_p20251109-r1,"
+                                       eerror "    or use the \"trunk\" 
version,"
+                                       eerror " 2) compile Firefox with Clang 
by enabling the \"clang\" USE flag, or"
+                                       eerror " 3) disable lto when compiling 
with GCC for now."
+                                       die "Firefox-${PV} with gcc+lto cannot 
be compiled with the detected gcc version: $(gcc-fullversion)"
+                               fi
+                       fi
+               else
+                       CHECKREQS_DISK_BUILD="7400M"
+               fi
+
+               check-reqs_pkg_pretend
+       fi
+}
+
+pkg_setup() {
+
+       # Get LTO from environment; export after this phase for use in 
src_configure (etc)
+       use_lto=no
+
+       if [[ ${MERGE_TYPE} != binary ]] ; then
+
+               if tc-is-lto; then
+                       use_lto=yes
+                       # LTO is handled via configure
+                       filter-lto
+
+                       if ! use clang ; then
+                               if tc-is-gcc && ver_test "$(gcc-major-version)" 
-eq 15 && has_version -b "<sys-devel/gcc-15.2.1_p20251108-r1:15"; then
+                                       eerror "<gcc-15.2.1_p20251108-r1:15 and 
pgo detected. Firefox-145.0 can not be compiled"
+                                       eerror "with this GCC, when also 
enabling lto."
+                                       eerror "See bug 
https://gcc.gnu.org/PR122620";
+                                       eerror ""
+                                       eerror "Your options are:"
+                                       eerror " 1) upgrade GCC to 
>=15.2.1_p20251108-r1 - note that even with the 16.0"
+                                       eerror "    releases, make sure the 
patch set is equal or newer than 16.0.0_p20251109-r1,"
+                                       eerror "    or use the \"trunk\" 
version,"
+                                       eerror " 2) compile Firefox with Clang 
by enabling the \"clang\" USE flag, or"
+                                       eerror " 3) disable lto when compiling 
with GCC for now."
+                                       die "Firefox-${PV} with gcc+lto cannot 
be compiled with the detected gcc version: $(gcc-fullversion)"
+                               fi
+                       fi
+               fi
+
+               if use pgo ; then
+                       if ! has userpriv ${FEATURES} ; then
+                               eerror "Building ${PN} with USE=pgo and 
FEATURES=-userpriv is not supported!"
+                       fi
+
+                       if ! use clang ; then
+                               if tc-is-gcc && ver_test "$(gcc-major-version)" 
-eq 15 && has_version -b "<sys-devel/gcc-15.2.1_p20251108-r1:15"; then
+                                       eerror "<gcc-15.2.1_p20251108-r1:15 and 
lto detected. Firefox-145.0 can not be compiled"
+                                       eerror "with this GCC, when also 
enabling pgo."
+                                       eerror "See bug 
https://gcc.gnu.org/PR122620";
+                                       eerror ""
+                                       eerror "Your options are:"
+                                       eerror " 1) upgrade GCC to 
>=15.2.1_p20251108-r1 - note that even with the 16.0"
+                                       eerror "    releases, make sure the 
patch set is equal or newer than 16.0.0_p20251109-r1,"
+                                       eerror "    or use the \"trunk\" 
version,"
+                                       eerror " 2) compile Firefox with Clang 
by enabling the \"clang\" USE flag, or"
+                                       eerror " 3) disable pgo when compiling 
with GCC for now."
+                                       die "Firefox-${PV} with gcc+pgo cannot 
be compiled with the detected gcc version: $(gcc-fullversion)"
+                               fi
+                       fi
+               fi
+
+               if [[ ${use_lto} = yes ]]; then
+                       # -Werror=lto-type-mismatch -Werror=odr are going to 
fail with GCC,
+                       # bmo#1516758, bgo#942288
+                       filter-flags -Werror=lto-type-mismatch -Werror=odr
+               fi
+
+               # Ensure we have enough disk space to compile
+               if use pgo || use debug ; then
+                       CHECKREQS_DISK_BUILD="14300M"
+               elif [[ ${use_lto} == "yes" ]] ; then
+                       CHECKREQS_DISK_BUILD="10600M"
+               else
+                       CHECKREQS_DISK_BUILD="7400M"
+               fi
+
+               check-reqs_pkg_setup
+               llvm-r1_pkg_setup
+               rust_pkg_setup
+               python-any-r1_pkg_setup
+
+               # Avoid PGO profiling problems due to enviroment leakage
+               # These should *always* be cleaned up anyway
+               unset \
+                       DBUS_SESSION_BUS_ADDRESS \
+                       DISPLAY \
+                       ORBIT_SOCKETDIR \
+                       SESSION_MANAGER \
+                       XAUTHORITY \
+                       XDG_CACHE_HOME \
+                       XDG_SESSION_COOKIE
+
+               # Build system is using /proc/self/oom_score_adj, bug #604394
+               addpredict /proc/self/oom_score_adj
+
+               if use pgo ; then
+                       # Update 105.0: "/proc/self/oom_score_adj" isn't enough 
anymore with pgo, but not sure
+                       # whether that's due to better OOM handling by Firefox 
(bmo#1771712), or portage
+                       # (PORTAGE_SCHEDULING_POLICY) update...
+                       addpredict /proc
+
+                       # Clear tons of conditions, since PGO is 
hardware-dependant.
+                       addpredict /dev
+               fi
+
+               if ! mountpoint -q /dev/shm ; then
+                       # If /dev/shm is not available, configure is known to 
fail with
+                       # a traceback report referencing 
/usr/lib/pythonN.N/multiprocessing/synchronize.py
+                       ewarn "/dev/shm is not mounted -- expect build 
failures!"
+               fi
+
+               # Google API keys (see 
http://www.chromium.org/developers/how-tos/api-keys)
+               # Note: These are for Gentoo Linux use ONLY. For your own 
distribution, please
+               # get your own set of keys.
+               if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+                       
MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+               fi
+
+               if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+                       
MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+               fi
+
+               # Mozilla API keys (see 
https://location.services.mozilla.com/api)
+               # Note: These are for Gentoo Linux use ONLY. For your own 
distribution, please
+               # get your own set of keys.
+               if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+                       
MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+               fi
+
+               # Ensure we use C locale when building, bug #746215
+               export LC_ALL=C
+       fi
+
+       export use_lto
+
+       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} == "yes" ]]; then
+               rm -v 
"${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+       fi
+
+       # Workaround for bgo#915651 and bmo#1988166 on musl
+       if use elibc_glibc ; then
+               rm -v 
"${WORKDIR}"/firefox-patches/*bgo-748849-RUST_TARGET_override.patch || die
+               rm -v 
"${WORKDIR}"/firefox-patches/*bmo-1988166-musl-remove-nonexisting-system-header-req.patch
 || die
+               rm -v 
"${WORKDIR}"/firefox-patches/*bgo-967694-musl-prctrl-exception-on-musl.patch || 
die
+       fi
+
+       eapply "${WORKDIR}/firefox-patches"
+
+       # Allow user to apply any additional patches without modifing ebuild
+       eapply_user
+
+       # Make cargo respect MAKEOPTS
+       export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+       # Workaround for bgo#915651
+       if ! use elibc_glibc ; then
+               if use amd64 ; then
+                       export RUST_TARGET="x86_64-unknown-linux-musl"
+               elif use x86 ; then
+                       export RUST_TARGET="i686-unknown-linux-musl"
+               elif use arm64 ; then
+                       export RUST_TARGET="aarch64-unknown-linux-musl"
+               elif use loong; then
+                       # Only the LP64D ABI of LoongArch64 is actively 
supported among
+                       # the wider Linux ecosystem, so the assumption is safe.
+                       export RUST_TARGET="loongarch64-unknown-linux-musl"
+               elif use ppc64 ; then
+                       export RUST_TARGET="powerpc64le-unknown-linux-musl"
+               elif use riscv ; then
+                       # We can pretty safely rule out any 32-bit riscvs, but 
64-bit riscvs also have tons of
+                       # different ABIs available. 
riscv64gc-unknown-linux-musl seems to be the best working
+                       # guess right now though.
+                       elog "riscv detected, forcing a riscv64 target for now."
+                       export RUST_TARGET="riscv64gc-unknown-linux-musl"
+               else
+                       die "Unknown musl chost, please post a new bug with 
your rustc -vV along with emerge --info"
+               fi
+       fi
+
+       # Pre-built wasm-sandbox path manipulation.
+       if use wasm-sandbox ; then
+               if use amd64 ; then
+                       export wasi_arch="x86_64"
+               elif use arm64 ; then
+                       export wasi_arch="arm64"
+               else
+                       die "wasm-sandbox enabled on unknown/unsupported arch!"
+               fi
+
+               sed -i \
+                       -e "s:%%PORTAGE_WORKDIR%%:${WORKDIR}:" \
+                       -e "s:%%WASI_ARCH%%:${wasi_arch}:" \
+                       -e "s:%%WASI_SDK_VER%%:${WASI_SDK_VER}:" \
+                       -e "s:%%WASI_SDK_LLVM_VER%%:${WASI_SDK_LLVM_VER}:" \
+                       toolkit/moz.configure || die "Failed to update 
wasi-related paths."
+       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"
+
+       sed -i -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+               "${S}"/third_party/chromium/build/toolchain/get_cpu_count.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-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
+       # glslopt: bgo#969412
+       moz_clear_vendor_checksums glslopt
+
+       # 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-geckodriver \
+               --disable-install-strip \
+               --disable-legacy-profile-creation \
+               --disable-parental-controls \
+               --disable-strip \
+               --disable-updater \
+               --disable-wmf \
+               --enable-negotiateauth \
+               --enable-new-pass-manager \
+               --enable-official-branding \
+               --enable-packed-relative-relocs \
+               --enable-release \
+               --enable-system-policies \
+               --host="${CBUILD:-${CHOST}}" \
+               --libdir="${EPREFIX}/usr/$(get_libdir)" \
+               --prefix="${EPREFIX}/usr" \
+               --target="${CHOST}" \
+               --without-ccache \
+               --with-intl-api \
+               --with-libclang-path="$(llvm-config --libdir)" \
+               --with-system-ffi \
+               --with-system-gbm \
+               --with-system-libdrm \
+               --with-system-nspr \
+               --with-system-nss \
+               --with-system-pixman \
+               --with-system-zlib \
+               --with-toolchain-prefix="${CHOST}-" \
+               --with-unsigned-addon-scopes=app,system
+
+       # Set update channel
+       local update_channel=release
+       [[ -n ${MOZ_ESR} ]] && update_channel=esr
+       mozconfig_add_options_ac '' --enable-update-channel=${update_channel}
+
+       # Whitelist to allow unkeyworded arches to build with 
"--disable-rust-simd" by default.
+       if use amd64 || use arm64 || use ppc64 || use loong || use riscv ; 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 loong || 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
+
+       # riscv-related options, bgo#947337, bgo#947338
+       if use riscv ; then
+               mozconfig_add_options_ac 'Disable webrtc for RISC-V' 
--disable-webrtc
+       fi
+
+       if [[ -s "${S}/api-google.key" ]] ; then
+               local key_origin="Gentoo default"
+               if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 
}') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
+                       key_origin="User value"
+               fi
+
+               mozconfig_add_options_ac "${key_origin}" \
+                       
--with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+       else
+               einfo "Building without Google API key ..."
+       fi
+
+       if [[ -s "${S}/api-location.key" ]] ; then
+               local key_origin="Gentoo default"
+               if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 
}') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
+                       key_origin="User value"
+               fi
+
+               mozconfig_add_options_ac "${key_origin}" \
+                       
--with-google-location-service-api-keyfile="${S}/api-location.key"
+       else
+               einfo "Building without Location API key ..."
+       fi
+
+       if [[ -s "${S}/api-mozilla.key" ]] ; then
+               local key_origin="Gentoo default"
+               if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 
}') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
+                       key_origin="User value"
+               fi
+
+               mozconfig_add_options_ac "${key_origin}" \
+                       --with-mozilla-api-keyfile="${S}/api-mozilla.key"
+       else
+               einfo "Building without Mozilla API key ..."
+       fi
+
+       mozconfig_use_with system-av1
+       mozconfig_use_with system-harfbuzz
+       mozconfig_use_with system-icu
+       mozconfig_use_with system-jpeg
+       mozconfig_use_with system-libevent
+       mozconfig_use_with system-libvpx
+       mozconfig_use_with system-pipewire
+       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
+
+       if use hardened ; then
+               mozconfig_add_options_ac "+hardened" --enable-hardening
+               mozconfig_add_options_ac "+hardened stl" --enable-stl-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
+
+       # wasm-sandbox
+       # Since graphite2 is one of the sandboxed libraries, system-graphite2 
obviously can't work with +wasm-sandbox.
+       if use wasm-sandbox ; then
+               mozconfig_add_options_ac '+wasm-sandbox' 
--with-wasi-sysroot="${WORKDIR}/wasi-sdk-${WASI_SDK_VER}-${wasi_arch}-linux/share/wasi-sysroot/"
+       else
+               mozconfig_add_options_ac 'no wasm-sandbox' 
--without-wasm-sandboxed-libraries
+               mozconfig_use_with system-harfbuzz system-graphite2
+       fi
+
+       ! use jpegxl && mozconfig_add_options_ac '-jpegxl' --disable-jxl
+
+       if [[ ${use_lto} == "yes" ]] ; then
+               if use clang ; then
+                       # Upstream only supports lld or mold when using clang.
+                       if tc-ld-is-mold ; then
+                               # mold expects the -flto line from *FLAGS 
configuration, bgo#923119
+                               append-ldflags "-flto=thin"
+                               mozconfig_add_options_ac "using ld=mold due to 
system selection" --enable-linker=mold
+                       else
+                               mozconfig_add_options_ac "forcing ld=lld due to 
USE=clang and USE=lto" --enable-linker=lld
+                       fi
+
+                       mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+               else
+                       # ThinLTO is currently broken, see bmo#1644409.
+                       # mold does not support gcc+lto combination.
+                       mozconfig_add_options_ac '+lto' --enable-lto=full
+                       mozconfig_add_options_ac "linker is set to bfd" 
--enable-linker=bfd
+               fi
+
+       else
+               # Avoid auto-magic on linker
+               if use clang ; then
+                       # lld is upstream's default
+                       if tc-ld-is-mold ; then
+                               mozconfig_add_options_ac "using ld=mold due to 
system selection" --enable-linker=mold
+                       else
+                               mozconfig_add_options_ac "forcing ld=lld due to 
USE=clang" --enable-linker=lld
+                       fi
+
+               else
+                       if tc-ld-is-mold ; then
+                               mozconfig_add_options_ac "using ld=mold due to 
system selection" --enable-linker=mold
+                       else
+                               mozconfig_add_options_ac "linker is set to bfd 
due to USE=-clang" --enable-linker=bfd
+                       fi
+               fi
+       fi
+
+       # PGO was moved outside lto block to allow building pgo without lto.
+       if use pgo ; then
+               mozconfig_add_options_ac '+pgo' MOZ_PGO=1
+
+               # Avoid compressing just-built instrumented Firefox with
+               # high levels of compression. Just use tar as a container
+               # to save >=10 minutes.
+               export MOZ_PKG_FORMAT=tar
+
+               if use clang ; then
+                       # Used in build/pgo/profileserver.py
+                       export LLVM_PROFDATA="llvm-profdata"
+               else
+                       # Attempt to fix pgo hanging with gcc, bgo#966309.
+                       export MOZ_REMOTE_SETTINGS_DEVTOOLS=1
+               fi
+       fi
+
+       mozconfig_use_enable debug
+       if use debug ; then
+               mozconfig_add_options_ac '+debug' --disable-optimize
+               mozconfig_add_options_ac '+debug' --enable-jemalloc
+               mozconfig_add_options_ac '+debug' --enable-real-time-tracing
+       else
+               mozconfig_add_options_ac 'Gentoo defaults' 
--disable-real-time-tracing
+
+               if is-flag '-g*' ; then
+                       if use clang ; then
+                               mozconfig_add_options_ac 'from CFLAGS' 
--enable-debug-symbols=$(get-flag '-g*')
+                       else
+                               mozconfig_add_options_ac 'from CFLAGS' 
--enable-debug-symbols
+                       fi
+               else
+                       mozconfig_add_options_ac 'Gentoo default' 
--disable-debug-symbols
+               fi
+
+               if is-flag '-O0' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-O0
+               elif is-flag '-O4' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-O4
+               elif is-flag '-O3' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-O3
+               elif is-flag '-O1' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-O1
+               elif is-flag '-Os' ; then
+                       mozconfig_add_options_ac "from CFLAGS" 
--enable-optimize=-Os
+               else
+                       mozconfig_add_options_ac "Gentoo default" 
--enable-optimize=-O2
+               fi
+       fi
+
+       # Debug flag was handled via configure
+       filter-flags '-g*'
+
+       # Optimization flag was handled via configure
+       filter-flags '-O*'
+
+       # elf-hack
+       # Filter "-z,pack-relative-relocs" and let the build system handle it 
instead.
+       if use amd64 || use x86 ; then
+               filter-flags "-z,pack-relative-relocs"
+
+               if tc-ld-is-mold ; then
+                       # relr-elf-hack is currently broken with mold, 
bgo#916259
+                       mozconfig_add_options_ac 'disable elf-hack with mold 
linker' --disable-elf-hack
+               else
+                       mozconfig_add_options_ac 'relr elf-hack' 
--enable-elf-hack=relr
+               fi
+       elif use loong || use ppc64 || use riscv ; then
+               # '--disable-elf-hack' is not recognized on loong/ppc64/riscv,
+               # see bgo #917049, #930046
+               :;
+       else
+               mozconfig_add_options_ac 'disable elf-hack on non-supported 
arches' --disable-elf-hack
+       fi
+
+       if ! use elibc_glibc; then
+               mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+       fi
+
+       if use valgrind; then
+               mozconfig_add_options_ac 'valgrind requirement' 
--disable-jemalloc
+       fi
+
+       # System-av1 fix
+       use system-av1 && append-ldflags "-Wl,--undefined-version"
+
+       # Make revdep-rebuild.sh happy; Also required for musl
+       append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
+
+       # Pass $MAKEOPTS to build system
+       export MOZ_MAKE_FLAGS="${MAKEOPTS}"
+
+       # Use system's Python environment
+       export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
+
+       export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+
+       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
+
+       mozconfig_use_enable test tests
+
+       # 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 [[ ${use_lto} == "yes" ]] && tc-ld-is-mold ; then
+               # increase ulimit with mold+lto, bugs #892641, #907485
+               if ! ulimit -n 16384 1>/dev/null 2>&1 ; then
+                       ewarn "Unable to modify ulimits - building with 
mold+lto might fail due to low ulimit -n resources."
+                       ewarn "Please see bugs #892641 & #907485."
+               else
+                       ulimit -n 16384
+               fi
+       fi
+
+       if use pgo; then
+               # Reset and cleanup environment variables used by GNOME/XDG
+               gnome2_environment_reset
+
+               addpredict /root
+
+               if ! use X; then
+                       virtx_cmd=virtwl
+               else
+                       virtx_cmd=virtx
+               fi
+       fi
+
+       if ! use X; then
+               local -x GDK_BACKEND=wayland
+       else
+               local -x GDK_BACKEND=x11
+       fi
+
+       ${virtx_cmd} ./mach build --verbose || die
+}
+
+src_test() {
+       # 
https://firefox-source-docs.mozilla.org/testing/automated-testing/index.html
+       local -a failures=()
+
+       # Some tests respect this
+       local -x MOZ_HEADLESS=1
+
+       # Check testing/mach_commands.py
+       einfo "Testing with cppunittest ..."
+       ./mach cppunittest
+       local ret=$?
+       if [[ ${ret} -ne 0 ]]; then
+               eerror "Test suite cppunittest failed with error code ${ret}"
+               failures+=( cppunittest )
+       fi
+
+       if [[ ${#failures} -eq 0 ]]; then
+               einfo "Test suites succeeded"
+       else
+               die "Test suites failed: ${failures[@]}"
+       fi
+}
+
+src_install() {
+       # xpcshell is getting called during install
+       pax-mark m \
+               "${BUILD_DIR}"/dist/bin/xpcshell \
+               "${BUILD_DIR}"/dist/bin/${PN} \
+               "${BUILD_DIR}"/dist/bin/plugin-container
+
+       DESTDIR="${D}" ./mach install || die
+
+       # Upstream cannot ship symlink but we can (bmo#658850)
+       rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
+       dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
+
+       # Don't install llvm-symbolizer from llvm-core/llvm package
+       if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
+               rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
+       fi
+
+       # Install policy (currently only used to disable application updates)
+       insinto "${MOZILLA_FIVE_HOME}/distribution"
+       newins "${FILESDIR}"/distribution.ini distribution.ini
+       newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+       # Install system-wide preferences
+       local PREFS_DIR="${MOZILLA_FIVE_HOME}/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
+
+       # Add telemetry config prefs, just in case something happens in future 
and telemetry build
+       # options stop working.
+       if ! use telemetry ; then
+               cat "${FILESDIR}"/gentoo-telemetry-prefs.js >>"${GENTOO_PREFS}" 
|| die "failed to set telemetry prefs"
+       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}/browser/branding/official"
+
+       # Prefer the upstream svg file they use when packaging flatpak so it's 
always up-to-date.
+       insinto /usr/share/icons/hicolor/symbolic/apps
+       newins 
"${S}"/browser/installer/linux/app/flatpak/files/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-symbolic.svg
 firefox-symbolic.svg
+       dosym -r /usr/share/icons/hicolor/symbolic/apps/firefox-symbolic.svg 
/usr/share/icons/hicolor/symbolic/apps/org.mozilla.firefox-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 exec_command="${PN}"
+       local icon="${PN}"
+       local use_wayland="false"
+
+       if [[ -n ${MOZ_ESR} ]] ; then
+               local desktop_filename="${PN}-esr.desktop"
+       else
+               local desktop_filename="${PN}.desktop"
+       fi
+
+       if use wayland ; then
+               use_wayland="true"
+       fi
+
+       cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
+
+       sed -i \
+               -e "s:@NAME@:${app_name}:" \
+               -e "s:@EXEC@:${exec_command}:" \
+               -e "s:@ICON@:${icon}:" \
+               "${WORKDIR}/${PN}.desktop-template" || die
+
+       newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
+
+       rm "${WORKDIR}/${PN}.desktop-template" || die
+
+       if use gnome-shell ; then
+               # Install search provider for Gnome
+               insinto /usr/share/gnome-shell/search-providers/
+               doins 
browser/components/shell/search-provider-files/org.mozilla.firefox.search-provider.ini
+
+               insinto /usr/share/dbus-1/services/
+               doins 
browser/components/shell/search-provider-files/org.mozilla.firefox.SearchProvider.service
+
+               # Toggle between rapid and esr desktop file names
+               if [[ -n ${MOZ_ESR} ]] ; then
+                       sed -e "s/firefox.desktop/${desktop_filename}/g" \
+                               -i 
"${ED}/usr/share/gnome-shell/search-providers/org.mozilla.firefox.search-provider.ini"
 ||
+                                       die "Failed to sed 
org.mozilla.firefox.search-provider.ini file."
+               fi
+
+               # Make the dbus service aware of a previous session, bgo#939196
+               sed -e \
+                       
"s/Exec=\/usr\/bin\/firefox/Exec=\/usr\/$(get_libdir)\/firefox\/firefox 
--dbus-service \/usr\/bin\/firefox/g" \
+                       -i 
"${ED}/usr/share/dbus-1/services/org.mozilla.firefox.SearchProvider.service" ||
+                               die "Failed to sed 
org.mozilla.firefox.SearchProvider.service dbus file"
+
+               # Update prefs to enable Gnome search provider
+               cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to enable 
gnome-search-provider via prefs"
+               pref("browser.gnome-search-provider.enabled", true);
+               EOF
+       fi
+
+       # Install wrapper script
+       [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+       newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
+
+       # Update wrapper
+       sed -i \
+               -e "s:@PREFIX@:${EPREFIX}/usr:" \
+               -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
+               "${ED}/usr/bin/${PN}" || die
+
+       readme.gentoo_create_doc
+}
+
+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
+
+       # 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