summaryrefslogtreecommitdiff
path: root/mail-client/thunderbird
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-16 12:24:20 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-16 12:24:20 +0000
commite4ad5901ca8464ae513bd315a1c0349c2bd0986c (patch)
treec7b76ee1c59f8acf3eb9bd3112008b9ad8fd25fc /mail-client/thunderbird
parentf3784aee1f8e4d7971fd27543cb7490cb9f83649 (diff)
gentoo auto-resync : 16:03:2023 - 12:24:20
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest66
-rw-r--r--mail-client/thunderbird/thunderbird-102.9.0.ebuild1178
2 files changed, 1244 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index f107872bb5a4..b1555403cc59 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -70,5 +70,71 @@ DIST thunderbird-102.8.0-vi.xpi 745664 BLAKE2B b7c783684c4f39fb6224a1401e461a3c8
DIST thunderbird-102.8.0-zh-CN.xpi 739884 BLAKE2B 4cada7d7ab5bda49b8369386c9aad4ef550cf8efde003df269a7c4586f484ee7fa769b76dd7d2e974c94d933ba6f7983f6f3bbbfbe35189db1b5831a9eddbed4 SHA512 6b4bb9d2414820f91d9937c6c3800c72fc5581d8957de89c0c487b1dd1088fab07cde1e49d982b8852bf7c8e6446528081d0952d2b41075981f808c2de7ef25b
DIST thunderbird-102.8.0-zh-TW.xpi 748345 BLAKE2B b085df259a0bb089bd9576c360eac61455eae277fca289819c468397ffb4d0288756e77b330490c5557993904b6695659e687ea03e4782256b342c39fb3d821e SHA512 08fa57f369b78156a5508f6cb2ee371efc69150be0f59fd9f74e68fd3185c7403112221c6e1eb63c375bbc816685619a0e6b8d7f3af119f27a5eddf2760d504b
DIST thunderbird-102.8.0.source.tar.xz 506030440 BLAKE2B 618d48ebfa97a89ea1da9ec4503c98974092b8f6279530eac25c896acad132b6b03e9dd4facc0c7db1c40b952f6184f66608f37d845d520c8bef5d47c0c67d83 SHA512 2431eb8799184b261609c96bed3c9368bec9035a831aa5f744fa89e48aedb130385b268dd90f03bbddfec449dc3e5fad1b5f8727fe9e11e1d1f123a81b97ddf8
+DIST thunderbird-102.9.0-af.xpi 556846 BLAKE2B 4f98b3d4db5a1a7c63438544ec6d661554057d68c091e347610a223459f480becdd345ffae53476dfb2b2ff7b61234f19e275185be886a390f2956a3326481aa SHA512 26cdfeecb18a14bfe01902987b9051b2d58b1f4bd85b45e90ca86eb2929c5387077b146f3bf681b80268bba2d048be15bc11124d58db1176ea2b6b487d9422c8
+DIST thunderbird-102.9.0-ar.xpi 666812 BLAKE2B c5146b6f9b578385792f4bb24f08c406100c613618230b8c09b5c518453a57ef1751cbfed4485d9f3145a13674a2e21f7012a0d7ff1c8a9d7bf7810e492093c2 SHA512 1b4b2875783cb9681343baa268a6d9ec788e366e09e5e2ced5838e1e3083b664f771c5e788cfd1c80410ce029f46c70a48014024e41b6d98791cea95d4801daf
+DIST thunderbird-102.9.0-ast.xpi 572266 BLAKE2B eb7d8987f51f99694833304d0d86158df2c61b3c6c9cfea17dd8855cd98d8746449e67b98194d22da51ccc65b7b62c9ac66b16a9093e371d4557d067620dc234 SHA512 1f897917ac1ab4513040275d195c207fc60904691415b64d2cc768877f4a4e04e5d953d734c867700f5b32e614de6c57d6671c08f10e4c72d6c8b8d23682a07d
+DIST thunderbird-102.9.0-be.xpi 701891 BLAKE2B fd1bdde4dc3556066a0c297f1dc04e88a8a73461624e1491c4981d85e85372c9574191d76785592c037e5d33848ed8deb0b5ceb43a3745cd028e6b828843a982 SHA512 638354d83f4308cceffa203ac638b0272ab39a49eed122f04ecf4a502746ef1bb4b813111604a0aad18f27c34820d81fec7aaa4f01b157ec7f75c572005e6654
+DIST thunderbird-102.9.0-bg.xpi 693377 BLAKE2B f44f893cc9a89330753ca258aa15b91084e32a7f15ba571b67a544656a6c83a0f8629121eda2ac2df602a8aa836444667eb7a3bccce37e4f92cbf7d599d488f4 SHA512 56b2aa36c4802c7c64d10ef69ec484ee7eaf72ca698d9f3d4881efe1575058d244efff3272ced304a6f0527eeee0975c79c862bb4c690eff847625f3fe414df9
+DIST thunderbird-102.9.0-br.xpi 626470 BLAKE2B 04d0eb066b0f7c5487411c7f165056602379db85b85dd7dd5ceb1278d31d3e7f258ea08d5a62fca4f955bfdbc9d806dda19b8bff9e832a89a5507c1bfa54d514 SHA512 67510da0d9124bd6e3f56b833846b95bcace979ac8588ca5d490427a3012852b6b74ea926e3b058965fb6c0f0807b921328ee4ac5479973bc984d18c60273e94
+DIST thunderbird-102.9.0-ca.xpi 651365 BLAKE2B 0d5e4ae8a9f2cb1c569bb405bd3bf3c87dc60083a9352272531a9ca6b8e724db7b856412424b2c4f8e37a623a0c42de889d254fb8cbe1faaf6c979c86d2f6298 SHA512 df76e4b699f1e5e6021186b20285d3a1aa35969fe6ae23ad3d154f6ee26f23988c67d777fdc85c9442a4e4eaf06bf2d8bcd0e71727b0c9aab3c3bd458c465169
+DIST thunderbird-102.9.0-cak.xpi 651756 BLAKE2B 276bf44151ec19262b1d467896b92150eb363353528103deb72d8cae7f2c1ad43421a83e24b79b2ec14883a69ddb61a6fd11bef546bf59e9ee7bbee8530cea7a SHA512 12b5e00d64b19c9a3ac7237b6f97e081ccce6f96d6090252dbe9ec278b23a7ce05faf1a64da688d7605ad54f52dfd80ed50a700561f8779be3471552bb584869
+DIST thunderbird-102.9.0-cs.xpi 728624 BLAKE2B a3e0b7e50ce0d08fee6f7ff3d45439b70b15790693b82effff2f4bcb89ebf5f5c495d984ebe6c01e10c9579c646d4d822cdae44ffb55bf24fd6135d0e8f72546 SHA512 b3bbbbb19b46cf1674994d27d0457c3c0ac25ec10ff9b4ec12405e5bb8a49045f215315531b281c702006a99406b351c840b6b330f1f874b05d426ca48334fa4
+DIST thunderbird-102.9.0-cy.xpi 705575 BLAKE2B 354069fec8d9f6e17207c79cc68e905bd3cf3c59aecfde9a911804444e94459ff9f08fea85bb8d56467bb4065592981bbf86306d46bc2c65d11438628c0b9531 SHA512 3591d840dd4b7ff68f6e8f575541e9b4a44d86f3d937fb140fe093adeae9c6b45a8fd1540f2abc679fd8fffe0692c4eaf1f445343ca3d537ad9c026ef3f7718d
+DIST thunderbird-102.9.0-da.xpi 685254 BLAKE2B 7db530f79aaca42bb8b788b81b135a8c6f2d57161dca480af9507d631495f74ae77df328445a847c56e7108ad53d3792d81dfecbd75c3f6983f5f54b36ffc500 SHA512 1d9caf0809802720d16727c93921844d747273323cf2fb662a0d3ece1929ba4c141e792962bcd797e7ace5590305ab62862858b5b19fd3dfdba06beeb4f9dcc9
+DIST thunderbird-102.9.0-de.xpi 717943 BLAKE2B 3e5166728b70f2500a376f10f28c06bee0945990a8191b1f02d85b078f744667e4c49f60d1cc8f131c2b0fb5d0eb7d66cfa292397138165e65722d72b658ac02 SHA512 4ae58445fb12603517150dbd4746e30745a3906ffb7da839476eab8f99b153824100bb08e19219054bf7b1bb9d89d9c4e9d199943686495fd8cbf0201db29d35
+DIST thunderbird-102.9.0-dsb.xpi 737085 BLAKE2B 42691ccf3eacee124c7b73d242fcf0df3d7357ec754e24a2992f3822e363a5e4f1455a86b041803c4eccae32463a66c51a22511d1bc9e984fc5c6fcb0be11a2b SHA512 5d3782b4fbb229ae4cdc34da6b3621c58647f0becbfdde0b7c850a853535d8d70199c770b579c1b54d3f2b102c68656e15f5141db7bb407a36c83617e391a7ee
+DIST thunderbird-102.9.0-el.xpi 840813 BLAKE2B 809c6cb014059c81b1b22c356ae7318eee0b2366a6bfc38b76fc47194c6a3f5e0b869e34cec195bd0be3b173d36f0d784730341e81b7594856f460dc8fb0dd13 SHA512 97c50f7625d32dfd5395936afa0813cc0df77539608927a790fb2fcbac30beca9ea92fbdaacdbff902392f4f4e148ffca1cc872decb99434f56082b4cdd13019
+DIST thunderbird-102.9.0-en-CA.xpi 659093 BLAKE2B ba7d6133971a7283abf6ebca4d33b5dafe49b70de58223258123cbcd154c4536b5c6a9285ae98aca054c0481d682e4d3c0cf0d37c948c4ba8452a6f60a11a6eb SHA512 33c136bb77fe2f5e8db033a3385af6a4474dc05207b2ba9606bc04ec5baa006522804c759623c20a64a181cf1764b69289a8a9003361712fe63dfc8d8fbcb98e
+DIST thunderbird-102.9.0-en-GB.xpi 665005 BLAKE2B b0771a5a63af4ee5946db3bc0f3ea227378364704a6e076cbbc528ef03dc7d2a7f8776df40df0eb5b2704a377d3aae6bade1253ce6349e87916c8ee78347154d SHA512 8a13d3663d9ce6bb5d41362420b9c39ca71118e1f12c2d413ca2ed87870c958bb61831bebb071c81bd410299503bf072b96cb5ecb3fa6029e7310eae5e0214bf
+DIST thunderbird-102.9.0-es-AR.xpi 717276 BLAKE2B 007bffc9e9fc80531cf10061cb3e7076e033ac5281c49d90c277416039ded34012893094014e90adcf5823a49a386572a7800abc65cf053e7ec2cd2be2cc734e SHA512 19fdb6279e1b55578c42a2f8dfaa3a52c27016ccf65cecb41ee1d3652bf9967245f2588569098ce19c1755c5a58d75cb06d9c47fcd88be58761cc7e131beffbd
+DIST thunderbird-102.9.0-es-ES.xpi 677482 BLAKE2B 063b2fd1adce310870e4eafed75abdb57911bacea5c42261f83d54415531657757893eaeb8bed29b3bd2d7406676f760bafa87937473fa069cfae4f9c4a105e6 SHA512 7652fc1f0adb9fd2655b4a59a1dcd7c7ce8e7f5cfba5126ea3f5273a4fd0d343f6c5e016fd8e3d08f2374cbe1cd580177759e92d54cdb9eadc4ba8ad53220831
+DIST thunderbird-102.9.0-es-MX.xpi 719709 BLAKE2B f4b0ad9e6438c1783349e3c30b6336761f84f6656b6f9bfe9931f85ebb1a4531bb5c800e35d3d0da2e5091d1395fbb7d7a3eb1f29683841dc169cd1c1a45e54b SHA512 e1a31bca52c8348c78bd4c0da670e352575b76983131ba7bf25a7e151f2d314ed255e647ed75077d96f5e4bc4ef9ed56490b7300d469e59d611b86547935d9b8
+DIST thunderbird-102.9.0-et.xpi 676677 BLAKE2B 26a70f0f81ed5272922f94d8f159d1a7f465782d33820ca02609b8e06f8e0297e35463434fc64ef040351d08f31e7c28cdf405ccee39f6f587e9ae3d587f1499 SHA512 6039f42b803211aab591077ea769b589a37d5a04db3b4b708b35062c607836301bc0c3c3260b0c62ea66f7559b1930e6552408f20373f1bbade5c771ca7bd699
+DIST thunderbird-102.9.0-eu.xpi 701826 BLAKE2B dd158fffa5e43740e91dd661470f8831aa23931284974de2136c7f0110d7b0c76d8d00216aab5cb79be7f6b0506eb8ed3224c03ed9f3df27c93e5954babdc4b3 SHA512 484652c74312809ce55b889cdcc2fe3acd13ab0ec15e1ad0ee8ef57ce7281982c1221635d99a53b47d472a69c2895f69d6fa0dfa144b4d3294932dbe46de1c29
+DIST thunderbird-102.9.0-fi.xpi 693485 BLAKE2B 4af44a588f7e08f270cf907cd5ae1733534d321ca61277ff581b8260d157de2d779397c9bd1ec65eba722d8d3b8c87a80b1ccf6d0493a67e68b992b5f1d4197e SHA512 1b68c656cc81b57eeb408aebd6e89bcf58901082bc4841cbd52bd9514f7a0b0b0ca507b49014b9d296ec633a0eb37970d22699f4fa133690d211fbddb728e6d6
+DIST thunderbird-102.9.0-fr.xpi 730317 BLAKE2B b1fe33e7a25b8d18024d5cfddc79d371615fba7176a2fa3f310663cdb65c81c6399d9b28b177ee9292c9daf8e9a866d265fc42caac4c8c89fb06d9250fa72c0f SHA512 e53383c9ca14d340b8201e108f514ace073714225556aea6023b4b6c9761e1281f76ca3f05cd92bd1211d09ec8c4abe5d0e00bce10224f727ff26a7657540afc
+DIST thunderbird-102.9.0-fy-NL.xpi 711990 BLAKE2B ab3873388da191f1f9e057e2c5e633d6aa08c74332d6004a2f72fd7e9ab047581c7e89a1c30365cfe1dc878a23fd20950cff6bf5b8c855555d6758043ee66bcc SHA512 0c4cb41b3c3f11b3b0af5f771fe34f2e23770b28e9521e6a1c4244703562630d6abf4a7e55c90136dc5d57bfa1e85ac6067da8454edc3f9701d921ba86f689ce
+DIST thunderbird-102.9.0-ga-IE.xpi 614537 BLAKE2B 63eb00b572142f694cde2d3dd92672c4f919b0f7eb39a94c32e872d845956bb971c5a96f79577c71bc3af850b215476f9cfd14265bb44bacc286065f8b163e3f SHA512 843a297461ffc3471b4d72708c9c8c1f16432fc9de610ef2438c64ccb0773097cd394204b40bf33f7414ff3b53e3e6c8aa6c478d092c7a707918853c680e91a7
+DIST thunderbird-102.9.0-gd.xpi 643574 BLAKE2B 127c08079f7b2f54a92e1513f58bdaecaacff05073200d8febb46d05cb7143b3280908a783c59419c9f54a39a5e7b3ea09b39985aac6be9a159756202004d10d SHA512 d4a47fb3d49cddbe90ac42d5b41d851070b3afad79cadd74a4387501212b140943aba71b5b06c6904e63b3566abc7b6c561de6fbc1eea5ff3e1a2e8970705d47
+DIST thunderbird-102.9.0-gl.xpi 673002 BLAKE2B 7f2d3b2778fb32562a7b5c66689e151bef82b778ae6945c4535f81795d817201df9f669295935306fc12a16ae58d86f115bedb5693018ca608be79bccc2efa81 SHA512 60da77b16acf7569a26b68519d1e11e4c2f61faab7341175a31919470305fb1cacea061ffb839a0569606070ab766d57506e6a7d1cdcb6bad5ac47c8da3d2658
+DIST thunderbird-102.9.0-he.xpi 676370 BLAKE2B 8d02e8f49135fe003adfc402dd2579b6137a33f6960916819e248bfb57ff6aa3bc1ddee25bd038903626a0da71078bab6cb48bf52c36ec3a39d2d3aaee273ea1 SHA512 60790257dd1169564b0461a3e599a5f75b1e56b701d4bc77e1d4d6869f556568fe42d0f08e9ff0757ffdb0832c39065d34207722c16e4fe110f0b7385d2066fc
+DIST thunderbird-102.9.0-hr.xpi 677720 BLAKE2B 48af94cd00df4b649d3914874eb0edef9ceeb28c6ab0f3ecf0b7799fc47bd692ac2c9fd27d3a183f9a6f2d0efc4cb6e7ae4311e7c28eee3c893629a074a6adac SHA512 e5c01d683f44f7b19fc591047d40f7e6bf3d18c1b0dfd5dca0cb0d25449ebd48f1df1f3760eeb6ac12bba68be06ae80b016f3cd66fa337e2464945a763b431ad
+DIST thunderbird-102.9.0-hsb.xpi 736541 BLAKE2B 582165ac139ba09b12fcd5bf2354ddf0e6b6a96adb54a174ec7324d288dad99c3821c22f110bf906ea004475599d3114d067876fa47da4cd666141064ced36ed SHA512 2002b599fc0afcf5196c6c6dd0c920c3835c5de9106f2d77be9e165cb3153d30687884d355d8e808d18f678c1cd5186f73c49453559a943fb2ae97c22f74f47c
+DIST thunderbird-102.9.0-hu.xpi 741199 BLAKE2B 36f1139a54f552d8b264fcf214b74a6ae479429f90aa2614fd7dda78311837c749117a6c8cfe4a0f61204e763dba495dccd7665f28ac14ccd1bb7843b78a0811 SHA512 b86eebce7143637a4a145d4e6d0f8eb208346127cd126c06f6115e8a62fe282b622712d9524d8702c01207560d7b8b994c35b3b11a74df4269706762a5e50ba2
+DIST thunderbird-102.9.0-id.xpi 653190 BLAKE2B 1fb8a0ccd587da2ac822e789a5ec5b3da15a6496ba748bb6359703d9924d5e0e6027cd188082491cbf2a3880f73572ed5bb7b447b229846897152ff02c5d2544 SHA512 fc92ae6e2843bf9cc1079888b57acb1e41db839523d56ddd6c6d5aa9705f015b78a1bc60dee55303ce34ff3274a718deddaf0c5ba786c357095311eb11461a16
+DIST thunderbird-102.9.0-is.xpi 706393 BLAKE2B 687f27f6d22a893eb994f50beb5271efb60017901cf66a950eda7fa3ed019d85b23c9524c6fa3ec853408d5795cb582ab0c85f199ccbf229eae874d055e040e8 SHA512 620b4299a68477ddba5e25c27a5f492c811faa51db24078621aa17ced787f6db9165d593e47b90113d6c1532dc0e06c69e06868ee8111b243603894e5cb31322
+DIST thunderbird-102.9.0-it.xpi 639987 BLAKE2B 7973b43bed91e65f5c589db03a974eb45360967ea1af3d2b667b2ea40353bc6cbdae7fd9ef6a86fa64fd922f0e03826953f0717b0030eb7db50f6cb29eec1e9a SHA512 8a42b42c870ed6aff52ef1d0a6f1bf6852311ed75aff9c38cbd3076258499612a8072a260cc9910aefcced83e0472bdbf8223f54dc46d1b7531adc28ac1fc96c
+DIST thunderbird-102.9.0-ja.xpi 781906 BLAKE2B 31637bfe4f78971a489698c854d5d75ab483e3e4ded147130825475f4adedc0a0acf904b9d4184894ceefee9caca870e0d160a4aa57fe3e99aef9167898db428 SHA512 d3b0273595093dd0b6cce355d8b3b5089c1abbdbde619c1dcd6af68ddd09ed42a5841e48d8f8cb7d8806a8bd639108a6aa1414a1875f36416ed83dc1b0a5f11d
+DIST thunderbird-102.9.0-ka.xpi 769801 BLAKE2B 0994772c2fde5fe7dc427ffcc473515b01594dfbe5d0102898d79ea14c1663e97ceb2e15297793f291c38a99c6ae08a3f1dd57ad950c5db02e8fbc5dfba8f157 SHA512 675e1b7f719f82f15d8dd36ed7c8cc93c39c0a1f47ea5604501d4a74dee44d9fb72fd16d1e4b7c2450f8fea19ac4b9167bb5294c78cbf885afd34aee8e017269
+DIST thunderbird-102.9.0-kab.xpi 702702 BLAKE2B 175c8868f7e3e7c3f630ca207166f37ad486853603e257c2c6d6d8706fb8c2e8af5692d8b1e2c71b4fb691aa18e6fa298dff2100e266cea791c9897213529e3e SHA512 9f1883da8e525adbcd49debe68cbe3c6b35dd2788c64e5f9c0e3d16a7145fd2db84b75f4333ebde1986a4f934014f7740d8b6fe592e1b95904332eb52037e4a5
+DIST thunderbird-102.9.0-kk.xpi 810967 BLAKE2B fb2590dae647b2abf97593dd9c3e94785fa4b428c1035d68594c2100306a0ba1c54ae08cec8fe60996b10268db1679c81e30d3bb04c58d72703f686f5ae29b66 SHA512 16c3da47c6aa86d3ac14099346b8d3ff8db889507c4bf666c2f483daff034730dfdba8ed574e2f197fb5144143ae72752d19147c83ba14a4073f1bf79a77c507
+DIST thunderbird-102.9.0-ko.xpi 716819 BLAKE2B 49b64c0f1cea544aeba244ffd1e9af577c6a395dc32e112893f58c58a4155f37929a702ddc27083da84228dd8aa5a6e8f4e6d06fad74981ddc683127f924c354 SHA512 4165e5b63fdf4122aef171dd37dc7f11af6cc9d5776a6ccac7d8bcf981d9e442d192453b06e16c7be393a1ce738e74b4bede074ab9caba4a0b3d5b03e3ca48ef
+DIST thunderbird-102.9.0-lt.xpi 690853 BLAKE2B 5987f30ee1842d1a3bd0190a914054789efd9f2e8fab29a4e5c72d4810f61d6049988376fac2a480a15d73b2d81e8292bb87a765e0e572d1ab4605ff105120d7 SHA512 a526b679ab7a326603a04a4a3e81da96098cdc582d2a1f07341f96f9c1aa8ab60e2b80fbf6cb24b4301939ef1f49a5f5ca1ed6505e2fe708bd6bd4f5e949d384
+DIST thunderbird-102.9.0-lv.xpi 617744 BLAKE2B ee31969824474bb3fda6793dd44834f6b94bcb42acb24a07b3c5b4588f2336ca1bcc3c03cb4a1d0ddd767d7c840af9e0b3f6658321f81f6ac85097b70b37abfe SHA512 0d7807bab273aba3f376b661620334195a9ffcf1db2b5bf5d2b6e78681fc6323c957b9127d168ff02fdc020e89a7e6500a801ae73e55a045fca1ffd14cbf15e3
+DIST thunderbird-102.9.0-ms.xpi 577757 BLAKE2B 48b0c9df8c916e95d5f6eb16c8bfa225290dfb478142d8d206914cfefecad30276bce4d3a5b930ce54798085a74429ecda6ce3d2c69beac5de40a24ab0354ace SHA512 7ae1acc1cd782af5ec2054f2f09278418b1df65b8f44b83a40c3480506fb3b364a8694d46099095cabd2420a79efe83dbbc971290f1dca576f9c83fc99f10252
+DIST thunderbird-102.9.0-nb-NO.xpi 662683 BLAKE2B f18385ddc358df732e219da94c19d87ad5eb5df7434ef0eb64582a4958d234c0c154b27a4342064d46d68a6dc00dac15429a85d76df8b9e34213c2e9185c6ca7 SHA512 2cf73b40c1cf1c282221dbf4639bab6462cbcc7a08a86c50ae4003c073c0fd31d7df3907c5c583799e18c8f1157d83f2083a886303ffa754956af9277cae48c0
+DIST thunderbird-102.9.0-nl.xpi 703276 BLAKE2B eea32ef3061dee8130e8dc7f6e5742c50f0ee4bb350f8c7a4226ca1660753f38df014fc7a7250537d2322cdc39f8de1a6d3c468ef463b06e225e067f87631a43 SHA512 f6c11412fdb85833d5d7cdec1430676df8bd61f8ef52233e6a6ff2356452e418cbb41e00af20f4ceb8f64e5da6d0e4a59e1932fc9f8ed2d50990a4c30eff8505
+DIST thunderbird-102.9.0-nn-NO.xpi 672831 BLAKE2B f9a95018090275af94f4ac06ef763de46773b1a26c77f0ecbcc45ec9d24a3439cc50b6af2b50abef8bd54ab9dcddd7c5cc08647def53efc0aaa7ef4d5be71dc3 SHA512 b64256e796dec231421c7b895a8086b324275799c1bd53fc35cc3d05457c36dd95509d27889f3bc5faa0663b8004d9a8a1a33e921f73f400d6ee8dd3b66db843
+DIST thunderbird-102.9.0-pa-IN.xpi 668032 BLAKE2B 0ac19cd9f781494a5e03f33d1a737eb780bc57a937f438a0c208092a418996c4358ca11300cc02e1ab7467bcaff867480d841acc439a5f93f66ed59c7958d8eb SHA512 7aaabe4dce42c679c3cd79df5337bb6d5608be79875dcf00b56f734ee0c67eae519f093b1ea9891020074f0eef580fd134999af531dbd90dd5b89382fb88c765
+DIST thunderbird-102.9.0-pl.xpi 716230 BLAKE2B 74a3b0d58da7dc23a2437ace51f8f32a345ed990fd368e820d018d74024daf4b0dc4ba038e2a50fa8147a9b35669e246ac996d3d51a9fd5c6a7f33eb224537d7 SHA512 199c37b5dd4211fbdf3e92bbbf65d436ef3d56c542a3e18394e29d1b5843fd2946782963135323b6794d921fa32a55ed299b2cf85574209557dbcb36249d4830
+DIST thunderbird-102.9.0-pt-BR.xpi 711148 BLAKE2B be9e4cd9c34a0ffdc2675c95b593465eb5478bb9c2abc5c94433a3ecefe4355d3ff92218b874fae7a3e55a2938ca194c681c0060ef2ea3c39ca1af21527cea31 SHA512 93595647d48e6becb102e9a458664e585cbc7255c89316ee96c1b625fb54b2221b70df09f6c00d019f4869b8cf9e3c1198df6051e4aebb76421815ac29065e98
+DIST thunderbird-102.9.0-pt-PT.xpi 686910 BLAKE2B d603c8687fe5b22d0100d8b3340fa25eea8fce6076d1600cd7013736b6604dd70b752e5a0a208149f4dc57f2dad035a08c62704a4a95ab7d97ea3ee7a4c73128 SHA512 de77732eb5e9ad3cf24276ec08e5b88c4c6194ecbdeff16ac7cc3fffa498c6f1f575fdc6820d116f290b9e217d840b0c1311857b94490c3f4f977fa5a9906e1f
+DIST thunderbird-102.9.0-rm.xpi 701681 BLAKE2B f20e0f051a9a6b556df777254ca2d5375be8dabd700a9cf19cc4fd482f1dc69c4ac970e2f8d495614e56ccabdad51a4c8b7161b60793b0877effcb31df184652 SHA512 becebcdb6ffd479219b41ad66d312b150ec1043f0e7b74f5a9ec9f2e0ec5469562d04342b7ff4c2c2ec064f75d9c90e54a92763518e10e1818cdb901cc28402d
+DIST thunderbird-102.9.0-ro.xpi 661282 BLAKE2B cd86ed52e76c5d11a86bd57121df23e34789c544b2e9f676e5532c1e862eb667443a3c84a433f6f50d32379b8d46fd41aac8c33b1a6af1e726c4b17e209ddb7b SHA512 95430fc08d598692cd60dea87c34dc0e3f12ab38b89ef7ab840a8da6e0e54abbd7d91911466757d65c8ef711a3096b1b355c851f7cd60e8438938f7b577a0d66
+DIST thunderbird-102.9.0-ru.xpi 827221 BLAKE2B 8d89d5823afe5dad9317d5f962e7680c59df2b17cec1c734eb6f853c26710e2bff1fe6e3ac21f26e92441f30fe46d38bf52a4e7eb1dbbf967fdb316c06f4a6bf SHA512 e9edb09d0ebc16093544c0b71629819285a8c453ee598dc4af6f293783d310eb64479b1a687ef46a967d98510141ddadadeb8a4e29d524e4a3b6e5564e0a451a
+DIST thunderbird-102.9.0-sk.xpi 740981 BLAKE2B 41bf133640535ae7108d2673a630cb583b2892f9edfb86029afc814db46a4ffe238546283d60200423b1d02d0239759b4113da0b331e6faf4af6d7bebb2fdc1e SHA512 bf05155d59531c81e9f644df1217d42a7a127adeb68821b072e6c94745b56b5decdf30cf546c3aab7f3abc71d9622df0f311a52763000a14c953f267374d6821
+DIST thunderbird-102.9.0-sl.xpi 704059 BLAKE2B f7b2ecb0805614560e4bf5707d19fbbf3b0c4448d0e5f1b4b39899248de277e2381ae474358dc2a9b7055d08a29fc44ade167c00304b4c7f8d099b9e464e3a25 SHA512 dbe48e9c334df0983605829b062b1eb543f7d58575b7a19a30b48aa6d91bc5fd5c89ec64bea4478842c445c88e3863b6705e6dfeb427f41f448312a9fcb00008
+DIST thunderbird-102.9.0-sq.xpi 726035 BLAKE2B 3947fdd48e131b89114821b15da74071d271351bbe87260a74275fc74479866429a814324fb0f5098060725d3942407c02074a13813dd4ae5c1f5c01a0fea80f SHA512 71d697523c9ffa45b644c3afaea4cd84a1e01227e52a6e07430d6cff4678908c2a4eb2600d68987c7d0fd84675ecc5ae4d52f60de6da7c9c68badb6af0039a44
+DIST thunderbird-102.9.0-sr.xpi 720556 BLAKE2B 6797b250fd12a6dec65920c0aa20a4ebf8a6bcfa39b91b6307e64e05cb7b7a7e5474b59e6f91178bce02ba04161aab7c337b6772b3fa51095ae603d36872e324 SHA512 961e444a81d29ca45c01ada9b2b391287f2f0f8edf8313810d46eb7151b3cb70148e72f1bd7c9d51b2a36959a6cad8df2de8b2f9512a9da5b0654ea6a350afaa
+DIST thunderbird-102.9.0-sv-SE.xpi 706953 BLAKE2B 01b420c820e3540f46446c18a0e72793d59c5e8f7d55595ddcf09a82d2b0244a86fd4ad83bac43f0bb5d34a53eb2ea9b29707a8981e38ef227ddbdaa59e4ec0e SHA512 bb81d682522102fae7e078acc37f6c71921837515ed332f9031795105fc7b4ea7217397b1b3403480e984b038e2be3e9b3039801bee5c748d805a76d0a290b3c
+DIST thunderbird-102.9.0-th.xpi 758236 BLAKE2B b3f6d89a07539f3721860378e4632e3368a10c2ee075c375c151ae94081d6f7cc4d13a4cef1de99e600f238132664c487b2f3c342adbd017235c4e7599dce273 SHA512 2cbf1138666b3207ec8403ee6462b6ba588128a5e5c7954734ec34a10ff37415a6192930f572ca6af154860f2d24a5b850683b9fdff71be0fa14ab06121a6723
+DIST thunderbird-102.9.0-tr.xpi 720175 BLAKE2B 2c455ce111e72e07f01c6f7d44db2dd96e7c6056044f97c808a9798401ba20a69889038dd53eb32bf973532ec540b464be5e7d244702ff88d9fb968610cdb959 SHA512 35f10916664de17427fa614562d33f1a7de7291d0ae013629b9f0e1fc651fcc73c1cd4cf2044ac76fa29bbb427b4f4ad7d5668143aae63c18caf9785967bbb29
+DIST thunderbird-102.9.0-uk.xpi 818661 BLAKE2B c0b2ee5afc9dbb01521509baaabad76f435b56aef4611e56597736f70d1017c311353837609e72b1d9060e1f7382ea5e65f78919f8f13409ab6b8762fad01998 SHA512 63943aafda95c437ad3f2c786ebf0354902fbab81e28e69b62894943bf0870f08b77819f5214d43f461f6705713021762a6bd7acfa53420690042994601972b9
+DIST thunderbird-102.9.0-uz.xpi 593012 BLAKE2B 48d96b22ed6ed7541c47c8cfcff118177cf83d59e38ec3d7715bf62cafa6fd7051b6d22b8590f74455304f3a2ab3ae034a383aab8340557899adda1ae098db2d SHA512 eced56f72cb9f0491ca6484ecd25208c18a40fb414c9ba290bc093f4b547b4f8750ce9035107fd5d1dc7220aed5a2087d2513a9907c5fbb30d42f3054a6aaeed
+DIST thunderbird-102.9.0-vi.xpi 745663 BLAKE2B dae24dc639d4b566750dd3db205a5fb6abaa5f1dd32826f01fcd440ebcf6d30a65a3db0e806fb977bfb1bb25eaf654119cc03f5c585e8107f25327e645b8e5d6 SHA512 7869b58f862f6e5823704741ef1768a2135f167f91f1dfbe0479480077f173bbaf8d6c4ec17f27131132f3238f00dd76db5e14f5ac399e3170b6fef49293ed8b
+DIST thunderbird-102.9.0-zh-CN.xpi 739887 BLAKE2B 885a7acf5ea5bfcab826755bb1f604850a79ed3f185578413c0a0081be0be29790f14687328994756411efd0f3ae104d4f2d495cdb58550670e59d4520f08ba4 SHA512 997880258871dceb5018c8fecc8a61b20a051d322ca1791ed014ca1e573bcc653e7eced939968db01fa00befa82ff3bc50fe8e81f871331290d63043aba91a57
+DIST thunderbird-102.9.0-zh-TW.xpi 748346 BLAKE2B 1f9850366f292ca4ccc613efd071146d772661a26d2ce571dcfb99e7dbad66f39b1d0d2d4833fb8eb40fd4f4efaa633d2b0d8c0e177aa7750b3d2c867cf8a167 SHA512 dd902d37b4e695fb1eb8e1e39c95bd9cee94cf66814c418cafbb48965b6d0d9e9600d0afce309ed36f3bfde32c5a225dba480613ca66468d2370303de68c4ca4
+DIST thunderbird-102.9.0.source.tar.xz 503081436 BLAKE2B 538ec2705bd73f0673864a72e4e8c854d3450c79e40577e00ea8091c7c03f20a33b25ae475b270543963773c544d3819cd889e6bafc816ab0e78bd0b4fb6fd55 SHA512 0de88cef22e7b239804e27705b577dd34a86487512bb2af29804b358d056628c14034a34cbbdded75612bda984fac2c04d116cca8040b9212a7fb0206c07c440
EBUILD thunderbird-102.8.0.ebuild 34157 BLAKE2B d017fe1b984b0e0c1b12f47ac09e3eaf17d1c94f98b869605784fb90f5210fc7133944bb3a8d849d93444713019d5e453781c898d5f70e0d7519551fc5a3cbd2 SHA512 f75831c5dfcf67a6ce05e937f3bd00dd0f44e2448e931ea9ab6253f69d5a105cf05a6f039af8ebdd0cf02b56db96a143e95e64e52b4e7889aac8051159ff457a
+EBUILD thunderbird-102.9.0.ebuild 34159 BLAKE2B 26750f2f77fa91012c8a0bc3fa966a04423e01ba9bd7e803af9f096ca9296aa1ac119dfec6a7d3e57ef513c4354596657702fabc94f3b228bd6984b2cca8edb8 SHA512 6e9576d27f09570f151b98c07c2ab57ad27d9a46d13476eeba18f74f06cab7857f3727f55091c9062c62d9e6bcbc3990c0c190c8fc3e80b92d02cb311ad4f97c
MISC metadata.xml 2139 BLAKE2B c348f9dc2bf813c386bc2e62782bf762ef4fdaf3f913cec41bbd115a7bac54b01852dec04e6f7574b24ea5cd6d9500f289109127cdac5887128b07116d6a6cf8 SHA512 09b0670e852cc954b5df5e846935d274ae180e4627d112104d5fedf2a777fda7d52d73cdfde9e50475d9a560ed44946d4c0682d52d793bbfb5f2e1b1e0aac608
diff --git a/mail-client/thunderbird/thunderbird-102.9.0.ebuild b/mail-client/thunderbird/thunderbird-102.9.0.ebuild
new file mode 100644
index 000000000000..f4d12a7ec864
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-102.9.0.ebuild
@@ -0,0 +1,1178 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-102esr-patches-09jtb.tar.xz"
+
+LLVM_MAX_SLOT=15
+
+PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_REQ_USE="ncurses,sqlite,ssl"
+
+WANT_AUTOCONF="2.1"
+
+VIRTUALX_REQUIRED="pgo"
+
+MOZ_ESR=
+
+MOZ_PV=${PV}
+MOZ_PV_SUFFIX=
+if [[ ${PV} =~ (_(alpha|beta|rc).*)$ ]] ; then
+ MOZ_PV_SUFFIX=${BASH_REMATCH[1]}
+
+ # Convert the ebuild version to the upstream Mozilla version
+ MOZ_PV="${MOZ_PV/_alpha/a}" # Handle alpha for SRC_URI
+ MOZ_PV="${MOZ_PV/_beta/b}" # Handle beta for SRC_URI
+ MOZ_PV="${MOZ_PV%%_rc*}" # Handle rc for SRC_URI
+fi
+
+if [[ -n ${MOZ_ESR} ]] ; then
+ # ESR releases have slightly different version numbers
+ MOZ_PV="${MOZ_PV}esr"
+fi
+
+MOZ_PN="${PN%-bin}"
+MOZ_P="${MOZ_PN}-${MOZ_PV}"
+MOZ_PV_DISTFILES="${MOZ_PV}${MOZ_PV_SUFFIX}"
+MOZ_P_DISTFILES="${MOZ_PN}-${MOZ_PV_DISTFILES}"
+
+inherit autotools check-reqs desktop flag-o-matic gnome2-utils \
+ llvm multiprocessing optfeature pax-utils python-any-r1 toolchain-funcs \
+ virtualx xdg
+
+MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/releases/${MOZ_PV}"
+
+if [[ ${PV} == *_rc* ]] ; then
+ MOZ_SRC_BASE_URI="https://archive.mozilla.org/pub/${MOZ_PN}/candidates/${MOZ_PV}-candidates/build${PV##*_rc}"
+fi
+
+PATCH_URIS=(
+ https://dev.gentoo.org/~{juippis,whissi,slashbeast}/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.source.tar.xz
+ ${PATCH_URIS[@]}"
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="https://www.thunderbird.net/"
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+
+IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"
+IUSE+=" jack libproxy lto +openh264 pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png system-python-libs +system-webp"
+IUSE+=" wayland wifi"
+
+# Thunderbird-only USE flags.
+IUSE+=" +system-librnp"
+
+REQUIRED_USE="debug? ( !system-av1 )
+ pgo? ( lto )
+ wayland? ( dbus )
+ wifi? ( dbus )"
+
+# Thunderbird-only dependencies.
+TB_ONLY_DEPEND="!<x11-plugins/enigmail-2.2
+ selinux? ( sec-policy/selinux-thunderbird )
+ !system-librnp? ( dev-libs/jsoncpp )
+ system-librnp? ( dev-util/librnp )"
+BDEPEND="${PYTHON_DEPS}
+ || (
+ (
+ sys-devel/clang:15
+ sys-devel/llvm:15
+ clang? (
+ sys-devel/lld:15
+ virtual/rust:0/llvm-15
+ pgo? ( =sys-libs/compiler-rt-sanitizers-15*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:14
+ sys-devel/llvm:14
+ clang? (
+ sys-devel/lld:14
+ virtual/rust:0/llvm-14
+ pgo? ( =sys-libs/compiler-rt-sanitizers-14*[profile] )
+ )
+ )
+ )
+ !clang? ( virtual/rust )
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.24.3
+ net-libs/nodejs
+ virtual/pkgconfig
+ amd64? ( >=dev-lang/nasm-2.14 )
+ x86? ( >=dev-lang/nasm-2.14 )"
+
+COMMON_DEPEND="${TB_ONLY_DEPEND}
+ >=app-accessibility/at-spi2-core-2.46.0:2
+ dev-libs/expat
+ dev-libs/glib:2
+ dev-libs/libffi:=
+ >=dev-libs/nss-3.79.2
+ >=dev-libs/nspr-4.34
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/mesa
+ media-video/ffmpeg
+ sys-libs/zlib
+ virtual/freedesktop-icon-theme
+ virtual/opengl
+ x11-libs/cairo[X]
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3[X]
+ x11-libs/libX11
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ x11-libs/libxcb:=
+ x11-libs/libxkbcommon[X]
+ x11-libs/pango
+ x11-libs/pixman
+ dbus? (
+ dev-libs/dbus-glib
+ sys-apps/dbus
+ )
+ jack? ( virtual/jack )
+ libproxy? ( net-libs/libproxy )
+ pulseaudio? (
+ || (
+ media-libs/libpulse
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ sndio? ( >=media-sound/sndio-1.8.0-r1 )
+ system-av1? (
+ >=media-libs/dav1d-1.0.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-gfx/graphite2-1.3.13
+ >=media-libs/harfbuzz-2.8.1:0=
+ )
+ system-icu? ( >=dev-libs/icu-71.1:= )
+ system-jpeg? ( >=media-libs/libjpeg-turbo-1.2.1 )
+ system-libevent? ( >=dev-libs/libevent-2.0:0=[threads(+)] )
+ system-libvpx? ( >=media-libs/libvpx-1.8.2:0=[postproc] )
+ system-png? ( >=media-libs/libpng-1.6.35:0=[apng] )
+ system-webp? ( >=media-libs/libwebp-1.1.0:0= )
+ wayland? (
+ x11-libs/gtk+:3[wayland]
+ x11-libs/libdrm
+ x11-libs/libxkbcommon[wayland]
+ )
+ wifi? (
+ kernel_linux? (
+ dev-libs/dbus-glib
+ net-misc/networkmanager
+ sys-apps/dbus
+ )
+ )"
+
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )"
+
+DEPEND="${COMMON_DEPEND}
+ x11-base/xorg-proto
+ x11-libs/libICE
+ x11-libs/libSM"
+
+S="${WORKDIR}/${PN}-${PV%_*}"
+
+llvm_check_deps() {
+ if ! has_version -b "sys-devel/clang:${LLVM_SLOT}" ; then
+ einfo "sys-devel/clang:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use clang ; then
+ if ! has_version -b "sys-devel/lld:${LLVM_SLOT}" ; then
+ einfo "sys-devel/lld:${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if ! has_version -b "virtual/rust:0/llvm-${LLVM_SLOT}" ; then
+ einfo "virtual/rust:0/llvm-${LLVM_SLOT} is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+
+ if use pgo ; then
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile]" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*[profile] is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES es-MX et eu
+ fi fr fy-NL ga-IE gd gl he hr hsb hu
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+ pa-IN pl pt-BR pt-PT rm ro ru
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+mozilla_set_globals() {
+ # https://bugs.gentoo.org/587334
+ local MOZ_TOO_REGIONALIZED_FOR_L10N=(
+ fy-NL ga-IE gu-IN hi-IN hy-AM nb-NO ne-NP nn-NO pa-IN sv-SE
+ )
+
+ local lang xflag
+ for lang in "${MOZ_LANGS[@]}" ; do
+ # en and en_US are handled internally
+ if [[ ${lang} == en ]] || [[ ${lang} == en-US ]] ; then
+ continue
+ fi
+
+ # strip region subtag if $lang is in the list
+ if has ${lang} "${MOZ_TOO_REGIONALIZED_FOR_L10N[@]}" ; then
+ xflag=${lang%%-*}
+ else
+ xflag=${lang}
+ fi
+
+ SRC_URI+=" l10n_${xflag/[_@]/-}? ("
+ SRC_URI+=" ${MOZ_SRC_BASE_URI}/linux-x86_64/xpi/${lang}.xpi -> ${MOZ_P_DISTFILES}-${lang}.xpi"
+ SRC_URI+=" )"
+ IUSE+=" l10n_${xflag/[_@]/-}"
+ done
+}
+mozilla_set_globals
+
+moz_clear_vendor_checksums() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -ne 1 ]] ; then
+ die "${FUNCNAME} requires exact one argument"
+ fi
+
+ einfo "Clearing cargo checksums for ${1} ..."
+
+ sed -i \
+ -e 's/\("files":{\)[^}]*/\1/' \
+ "${S}"/third_party/rust/${1}/.cargo-checksum.json \
+ || die
+}
+
+moz_install_xpi() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local DESTDIR=${1}
+ shift
+
+ insinto "${DESTDIR}"
+
+ local emid xpi_file xpi_tmp_dir
+ for xpi_file in "${@}" ; do
+ emid=
+ xpi_tmp_dir=$(mktemp -d --tmpdir="${T}")
+
+ # Unpack XPI
+ unzip -qq "${xpi_file}" -d "${xpi_tmp_dir}" || die
+
+ # Determine extension ID
+ if [[ -f "${xpi_tmp_dir}/install.rdf" ]] ; then
+ emid=$(sed -n -e '/install-manifest/,$ { /em:id/!d; s/.*[\">]\([^\"<>]*\)[\"<].*/\1/; p; q }' "${xpi_tmp_dir}/install.rdf")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from install.rdf"
+ elif [[ -f "${xpi_tmp_dir}/manifest.json" ]] ; then
+ emid=$(sed -n -e 's/.*"id": "\([^"]*\)".*/\1/p' "${xpi_tmp_dir}/manifest.json")
+ [[ -z "${emid}" ]] && die "failed to determine extension id from manifest.json"
+ else
+ die "failed to determine extension id"
+ fi
+
+ einfo "Installing ${emid}.xpi into ${ED}${DESTDIR} ..."
+ newins "${xpi_file}" "${emid}.xpi"
+ done
+}
+
+mozconfig_add_options_ac() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "ac_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_add_options_mk() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 2 ]] ; then
+ die "${FUNCNAME} requires at least two arguments"
+ fi
+
+ local reason=${1}
+ shift
+
+ local option
+ for option in ${@} ; do
+ echo "mk_add_options ${option} # ${reason}" >>${MOZCONFIG}
+ done
+}
+
+mozconfig_use_enable() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_enable "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+mozconfig_use_with() {
+ debug-print-function ${FUNCNAME} "$@"
+
+ if [[ ${#} -lt 1 ]] ; then
+ die "${FUNCNAME} requires at least one arguments"
+ fi
+
+ local flag=$(use_with "${@}")
+ mozconfig_add_options_ac "$(use ${1} && echo +${1} || echo -${1})" "${flag}"
+}
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has usersandbox $FEATURES ; then
+ die "You must enable usersandbox as X server can not run as root!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6600M"
+ fi
+
+ check-reqs_pkg_pretend
+ fi
+}
+
+pkg_setup() {
+ if [[ ${MERGE_TYPE} != binary ]] ; then
+ if use pgo ; then
+ if ! has userpriv ${FEATURES} ; then
+ eerror "Building ${PN} with USE=pgo and FEATURES=-userpriv is not supported!"
+ fi
+ fi
+
+ # Ensure we have enough disk space to compile
+ if use pgo || use lto || use debug ; then
+ CHECKREQS_DISK_BUILD="13500M"
+ else
+ CHECKREQS_DISK_BUILD="6400M"
+ fi
+
+ check-reqs_pkg_setup
+
+ llvm_pkg_setup
+
+ if use clang && use lto ; then
+ local version_lld=$(ld.lld --version 2>/dev/null | awk '{ print $2 }')
+ [[ -n ${version_lld} ]] && version_lld=$(ver_cut 1 "${version_lld}")
+ [[ -z ${version_lld} ]] && die "Failed to read ld.lld version!"
+
+ local version_llvm_rust=$(rustc -Vv 2>/dev/null | grep -F -- 'LLVM version:' | awk '{ print $3 }')
+ [[ -n ${version_llvm_rust} ]] && version_llvm_rust=$(ver_cut 1 "${version_llvm_rust}")
+ [[ -z ${version_llvm_rust} ]] && die "Failed to read used LLVM version from rustc!"
+
+ if ver_test "${version_lld}" -ne "${version_llvm_rust}" ; then
+ eerror "Rust is using LLVM version ${version_llvm_rust} but ld.lld version belongs to LLVM version ${version_lld}."
+ eerror "You will be unable to link ${CATEGORY}/${PN}. To proceed you have the following options:"
+ eerror " - Manually switch rust version using 'eselect rust' to match used LLVM version"
+ eerror " - Switch to dev-lang/rust[system-llvm] which will guarantee matching version"
+ eerror " - Build ${CATEGORY}/${PN} without USE=lto"
+ eerror " - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole "
+ eerror " llvm/clang/lld/rust chain depending on your @world updates)"
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
+ fi
+ fi
+
+ python-any-r1_pkg_setup
+
+ # Avoid PGO profiling problems due to enviroment leakage
+ # These should *always* be cleaned up anyway
+ unset \
+ DBUS_SESSION_BUS_ADDRESS \
+ DISPLAY \
+ ORBIT_SOCKETDIR \
+ SESSION_MANAGER \
+ XAUTHORITY \
+ XDG_CACHE_HOME \
+ XDG_SESSION_COOKIE
+
+ # Build system is using /proc/self/oom_score_adj, bug #604394
+ addpredict /proc/self/oom_score_adj
+
+ if use pgo ; then
+ # Allow access to GPU during PGO run
+ local ati_cards mesa_cards nvidia_cards render_cards
+ shopt -s nullglob
+
+ ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
+ if [[ -n "${ati_cards}" ]] ; then
+ addpredict "${ati_cards}"
+ fi
+
+ mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
+ if [[ -n "${mesa_cards}" ]] ; then
+ addpredict "${mesa_cards}"
+ fi
+
+ nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
+ if [[ -n "${nvidia_cards}" ]] ; then
+ addpredict "${nvidia_cards}"
+ fi
+
+ render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
+ if [[ -n "${render_cards}" ]] ; then
+ addpredict "${render_cards}"
+ fi
+
+ shopt -u nullglob
+ fi
+
+ if ! mountpoint -q /dev/shm ; then
+ # If /dev/shm is not available, configure is known to fail with
+ # a traceback report referencing /usr/lib/pythonN.N/multiprocessing/synchronize.py
+ ewarn "/dev/shm is not mounted -- expect build failures!"
+ fi
+
+ # Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_GOOGLE+set}" ]] ; then
+ MOZ_API_KEY_GOOGLE="AIzaSyDEAOvatFogGaPi0eTgsV_ZlEzx0ObmepsMzfAc"
+ fi
+
+ if [[ -z "${MOZ_API_KEY_LOCATION+set}" ]] ; then
+ MOZ_API_KEY_LOCATION="AIzaSyB2h2OuRgGaPicUgy5N-5hsZqiPW6sH3n_rptiQ"
+ fi
+
+ # Mozilla API keys (see https://location.services.mozilla.com/api)
+ # Note: These are for Gentoo Linux use ONLY. For your own distribution, please
+ # get your own set of keys.
+ if [[ -z "${MOZ_API_KEY_MOZILLA+set}" ]] ; then
+ MOZ_API_KEY_MOZILLA="edb3d487-3a84-46m0ap1e3-9dfd-92b5efaaa005"
+ fi
+
+ # Ensure we use C locale when building, bug #746215
+ export LC_ALL=C
+ fi
+}
+
+src_unpack() {
+ local _lp_dir="${WORKDIR}/language_packs"
+ local _src_file
+
+ if [[ ! -d "${_lp_dir}" ]] ; then
+ mkdir "${_lp_dir}" || die
+ fi
+
+ for _src_file in ${A} ; do
+ if [[ ${_src_file} == *.xpi ]]; then
+ cp "${DISTDIR}/${_src_file}" "${_lp_dir}" || die "Failed to copy '${_src_file}' to '${_lp_dir}'!"
+ else
+ unpack ${_src_file}
+ fi
+ done
+}
+
+src_prepare() {
+ if use lto; then
+ rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch || die
+ fi
+
+ eapply "${WORKDIR}/firefox-patches"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ eapply_user
+
+ # Make cargo respect MAKEOPTS
+ export CARGO_BUILD_JOBS="$(makeopts_jobs)"
+
+ # Make LTO respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/build/moz.configure/lto-pgo.configure \
+ || die "sed failed to set num_cores"
+
+ # Make ICU respect MAKEOPTS
+ sed -i \
+ -e "s/multiprocessing.cpu_count()/$(makeopts_jobs)/" \
+ "${S}"/intl/icu_sources_data.py \
+ || die "sed failed to set num_cores"
+
+ # sed-in toolchain prefix
+ sed -i \
+ -e "s/objdump/${CHOST}-objdump/" \
+ "${S}"/python/mozbuild/mozbuild/configure/check_debug_ranges.py \
+ || die "sed failed to set toolchain prefix"
+
+ sed -i \
+ -e 's/ccache_stats = None/return None/' \
+ "${S}"/python/mozbuild/mozbuild/controller/building.py \
+ || die "sed failed to disable ccache stats call"
+
+ einfo "Removing pre-built binaries ..."
+ find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
+
+ # Clearing crate checksums where we have applied patches
+ moz_clear_vendor_checksums bindgen
+
+ # Create build dir
+ BUILD_DIR="${WORKDIR}/${PN}_build"
+ mkdir -p "${BUILD_DIR}" || die
+
+ # Write API keys to disk
+ echo -n "${MOZ_API_KEY_GOOGLE//gGaPi/}" > "${S}"/api-google.key || die
+ echo -n "${MOZ_API_KEY_LOCATION//gGaPi/}" > "${S}"/api-location.key || die
+ echo -n "${MOZ_API_KEY_MOZILLA//m0ap1/}" > "${S}"/api-mozilla.key || die
+
+ xdg_environment_reset
+}
+
+src_configure() {
+ # Show flags set at the beginning
+ einfo "Current BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Current CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Current CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Current LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Current RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ local have_switched_compiler=
+ if use clang; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+ if tc-is-gcc; then
+ have_switched_compiler=yes
+ fi
+ AR=llvm-ar
+ CC=${CHOST}-clang
+ CXX=${CHOST}-clang++
+ NM=llvm-nm
+ RANLIB=llvm-ranlib
+ elif ! use clang && ! tc-is-gcc ; then
+ # Force gcc
+ have_switched_compiler=yes
+ einfo "Enforcing the use of gcc due to USE=-clang ..."
+ AR=gcc-ar
+ CC=${CHOST}-gcc
+ CXX=${CHOST}-g++
+ NM=gcc-nm
+ RANLIB=gcc-ranlib
+ fi
+
+ if [[ -n "${have_switched_compiler}" ]] ; then
+ # Because we switched active compiler we have to ensure
+ # that no unsupported flags are set
+ strip-unsupported-flags
+ fi
+
+ # Ensure we use correct toolchain
+ export HOST_CC="$(tc-getBUILD_CC)"
+ export HOST_CXX="$(tc-getBUILD_CXX)"
+ export AS="$(tc-getCC) -c"
+ tc-export CC CXX LD AR AS NM OBJDUMP RANLIB PKG_CONFIG
+
+ # Pass the correct toolchain paths through cbindgen
+ if tc-is-cross-compiler ; then
+ export BINDGEN_CFLAGS="${SYSROOT:+--sysroot=${ESYSROOT}} --target=${CHOST} ${BINDGEN_CFLAGS-}"
+ fi
+
+ # Set MOZILLA_FIVE_HOME
+ export MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ # python/mach/mach/mixin/process.py fails to detect SHELL
+ export SHELL="${EPREFIX}/bin/bash"
+
+ # Set state path
+ export MOZBUILD_STATE_PATH="${BUILD_DIR}"
+
+ # Set MOZCONFIG
+ export MOZCONFIG="${S}/.mozconfig"
+
+ # Initialize MOZCONFIG
+ mozconfig_add_options_ac '' --enable-application=comm/mail
+
+ # Set Gentoo defaults
+ export MOZILLA_OFFICIAL=1
+
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-gpsd \
+ --disable-install-strip \
+ --disable-parental-controls \
+ --disable-strip \
+ --disable-updater \
+ --enable-js-shell \
+ --enable-negotiateauth \
+ --enable-new-pass-manager \
+ --enable-official-branding \
+ --enable-release \
+ --enable-system-ffi \
+ --enable-system-pixman \
+ --host="${CBUILD:-${CHOST}}" \
+ --libdir="${EPREFIX}/usr/$(get_libdir)" \
+ --prefix="${EPREFIX}/usr" \
+ --target="${CHOST}" \
+ --without-ccache \
+ --without-wasm-sandboxed-libraries \
+ --with-intl-api \
+ --with-libclang-path="$(llvm-config --libdir)" \
+ --with-system-nspr \
+ --with-system-nss \
+ --with-system-zlib \
+ --with-toolchain-prefix="${CHOST}-" \
+ --with-unsigned-addon-scopes=app,system \
+ --x-includes="${ESYSROOT}/usr/include" \
+ --x-libraries="${ESYSROOT}/usr/$(get_libdir)"
+
+ # Set update channel
+ local update_channel=release
+ [[ -n ${MOZ_ESR} ]] && update_channel=esr
+ mozconfig_add_options_ac '' --update-channel=${update_channel}
+
+ if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
+ mozconfig_add_options_ac '' --enable-rust-simd
+ fi
+
+ # For future keywording: This is currently (97.0) only supported on:
+ # amd64, arm, arm64 & x86.
+ # Might want to flip the logic around if Firefox is to support more arches.
+ if use ppc64; then
+ mozconfig_add_options_ac '' --disable-sandbox
+ else
+ mozconfig_add_options_ac '' --enable-sandbox
+ fi
+
+ if [[ -s "${S}/api-google.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-google.key" | md5sum | awk '{ print $1 }') != 709560c02f94b41f9ad2c49207be6c54 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+ else
+ einfo "Building without Google API key ..."
+ fi
+
+ if [[ -s "${S}/api-location.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-location.key" | md5sum | awk '{ print $1 }') != ffb7895e35dedf832eb1c5d420ac7420 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-google-location-service-api-keyfile="${S}/api-location.key"
+ else
+ einfo "Building without Location API key ..."
+ fi
+
+ if [[ -s "${S}/api-mozilla.key" ]] ; then
+ local key_origin="Gentoo default"
+ if [[ $(cat "${S}/api-mozilla.key" | md5sum | awk '{ print $1 }') != 3927726e9442a8e8fa0e46ccc39caa27 ]] ; then
+ key_origin="User value"
+ fi
+
+ mozconfig_add_options_ac "${key_origin}" \
+ --with-mozilla-api-keyfile="${S}/api-mozilla.key"
+ else
+ einfo "Building without Mozilla API key ..."
+ fi
+
+ mozconfig_use_with system-av1
+ mozconfig_use_with system-harfbuzz
+ mozconfig_use_with system-harfbuzz system-graphite2
+ mozconfig_use_with system-icu
+ mozconfig_use_with system-jpeg
+ mozconfig_use_with system-libevent
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-png
+ mozconfig_use_with system-webp
+
+ if use system-librnp; then
+ mozconfig_add_options_ac "+system-librnp" --enable-compile-environment
+ mozconfig_use_with system-librnp
+ else
+ # This controls the backend of the bundled librnp. Choices are "botan" and "openssl".
+ # RNP Upstream recommends to use botan. In Gentoo it's preferred to use system-librnp.
+ mozconfig_add_options_ac "+bundled librnp backend = botan" --with-librnp-backend="botan"
+ fi
+
+ mozconfig_use_enable dbus
+ mozconfig_use_enable libproxy
+
+ use eme-free && mozconfig_add_options_ac '+eme-free' --disable-eme
+
+ if use hardened ; then
+ mozconfig_add_options_ac "+hardened" --enable-hardening
+ append-ldflags "-Wl,-z,relro -Wl,-z,now"
+ fi
+
+ local myaudiobackends=""
+ use jack && myaudiobackends+="jack,"
+ use sndio && myaudiobackends+="sndio,"
+ use pulseaudio && myaudiobackends+="pulseaudio,"
+ ! use pulseaudio && myaudiobackends+="alsa,"
+
+ mozconfig_add_options_ac '--enable-audio-backends' --enable-audio-backends="${myaudiobackends::-1}"
+
+ mozconfig_use_enable wifi necko-wifi
+
+ if use wayland ; then
+ mozconfig_add_options_ac '+x11+wayland' --enable-default-toolkit=cairo-gtk3-x11-wayland
+ else
+ mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3
+ fi
+
+ if use lto ; then
+ if use clang ; then
+ # Upstream only supports lld when using clang
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang and USE=lto" --enable-linker=lld
+
+ mozconfig_add_options_ac '+lto' --enable-lto=cross
+
+ else
+ # ThinLTO is currently broken, see bmo#1644409
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
+ fi
+
+ if use pgo ; then
+ mozconfig_add_options_ac '+pgo' MOZ_PGO=1
+
+ if use clang ; then
+ # Used in build/pgo/profileserver.py
+ export LLVM_PROFDATA="llvm-profdata"
+ fi
+ fi
+ else
+ # Avoid auto-magic on linker
+ if use clang ; then
+ # This is upstream's default
+ mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
+ else
+ mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
+ fi
+ fi
+
+ # LTO flag was handled via configure
+ filter-flags '-flto*'
+
+ mozconfig_use_enable debug
+ if use debug ; then
+ mozconfig_add_options_ac '+debug' --disable-optimize
+ else
+ if is-flag '-g*' ; then
+ if use clang ; then
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*')
+ else
+ mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols
+ fi
+ else
+ mozconfig_add_options_ac 'Gentoo default' --disable-debug-symbols
+ fi
+
+ if is-flag '-O0' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O0
+ elif is-flag '-O4' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O4
+ elif is-flag '-O3' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O3
+ elif is-flag '-O1' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-O1
+ elif is-flag '-Os' ; then
+ mozconfig_add_options_ac "from CFLAGS" --enable-optimize=-Os
+ else
+ mozconfig_add_options_ac "Gentoo default" --enable-optimize=-O2
+ fi
+ fi
+
+ # Debug flag was handled via configure
+ filter-flags '-g*'
+
+ # Optimization flag was handled via configure
+ filter-flags '-O*'
+
+ # Modifications to better support ARM, bug #553364
+ if use cpu_flags_arm_neon ; then
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' --with-fpu=neon
+
+ if ! tc-is-clang ; then
+ # thumb options aren't supported when using clang, bug 666966
+ mozconfig_add_options_ac '+cpu_flags_arm_neon' \
+ --with-thumb=yes \
+ --with-thumb-interwork=no
+ fi
+ fi
+
+ if [[ ${CHOST} == armv*h* ]] ; then
+ mozconfig_add_options_ac 'CHOST=armv*h*' --with-float-abi=hard
+
+ if ! use system-libvpx ; then
+ sed -i \
+ -e "s|softfp|hard|" \
+ "${S}"/media/libvpx/moz.build \
+ || die
+ fi
+ fi
+
+ if use clang ; then
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
+ # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
+ # toolkit/moz.configure Elfhack section: target.cpu in ('arm', 'x86', 'x86_64')
+ local disable_elf_hack=
+ if use amd64 ; then
+ disable_elf_hack=yes
+ elif use x86 ; then
+ disable_elf_hack=yes
+ elif use arm ; then
+ disable_elf_hack=yes
+ fi
+
+ if [[ -n ${disable_elf_hack} ]] ; then
+ mozconfig_add_options_ac 'elf-hack is broken when using Clang' --disable-elf-hack
+ fi
+ elif tc-is-gcc ; then
+ if ver_test $(gcc-fullversion) -ge 10 ; then
+ einfo "Forcing -fno-tree-loop-vectorize to workaround GCC bug, see bug 758446 ..."
+ append-cxxflags -fno-tree-loop-vectorize
+ fi
+ fi
+
+ # Additional ARCH support
+ case "${ARCH}" in
+ arm)
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif use lto ; then
+ append-ldflags -Wl,--no-keep-memory
+ else
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
+ fi
+ ;;
+ esac
+
+ if ! use elibc_glibc ; then
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+ fi
+
+ # Allow elfhack to work in combination with unstripped binaries
+ # when they would normally be larger than 2GiB.
+ append-ldflags "-Wl,--compress-debug-sections=zlib"
+
+ # Make revdep-rebuild.sh happy; Also required for musl
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
+
+ # Pass $MAKEOPTS to build system
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}"
+
+ # Use system's Python environment
+ export PIP_NETWORK_INSTALL_RESTRICTED_VIRTUALENVS=mach
+
+ if use system-python-libs; then
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="system"
+ else
+ export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE="none"
+ fi
+
+ # Disable notification when build system has finished
+ export MOZ_NOSPAM=1
+
+ # Portage sets XARGS environment variable to "xargs -r" by default which
+ # breaks build system's check_prog() function which doesn't support arguments
+ mozconfig_add_options_ac 'Gentoo default' "XARGS=${EPREFIX}/usr/bin/xargs"
+
+ # Set build dir
+ mozconfig_add_options_mk 'Gentoo default' "MOZ_OBJDIR=${BUILD_DIR}"
+
+ # Show flags we will use
+ einfo "Build BINDGEN_CFLAGS:\t${BINDGEN_CFLAGS:-no value set}"
+ einfo "Build CFLAGS:\t\t${CFLAGS:-no value set}"
+ einfo "Build CXXFLAGS:\t\t${CXXFLAGS:-no value set}"
+ einfo "Build LDFLAGS:\t\t${LDFLAGS:-no value set}"
+ einfo "Build RUSTFLAGS:\t\t${RUSTFLAGS:-no value set}"
+
+ # Handle EXTRA_CONF and show summary
+ local ac opt hash reason
+
+ # Apply EXTRA_ECONF entries to $MOZCONFIG
+ if [[ -n ${EXTRA_ECONF} ]] ; then
+ IFS=\! read -a ac <<<${EXTRA_ECONF// --/\!}
+ for opt in "${ac[@]}"; do
+ mozconfig_add_options_ac "EXTRA_ECONF" --${opt#--}
+ done
+ fi
+
+ echo
+ echo "=========================================================="
+ echo "Building ${PF} with the following configuration"
+ grep ^ac_add_options "${MOZCONFIG}" | while read ac opt hash reason; do
+ [[ -z ${hash} || ${hash} == \# ]] \
+ || die "error reading mozconfig: ${ac} ${opt} ${hash} ${reason}"
+ printf " %-30s %s\n" "${opt}" "${reason:-mozilla.org default}"
+ done
+ echo "=========================================================="
+ echo
+
+ ./mach configure || die
+}
+
+src_compile() {
+ local virtx_cmd=
+
+ if use pgo ; then
+ virtx_cmd=virtx
+
+ # Reset and cleanup environment variables used by GNOME/XDG
+ gnome2_environment_reset
+
+ addpredict /root
+ fi
+
+ local -x GDK_BACKEND=x11
+
+ ${virtx_cmd} ./mach build --verbose \
+ || die
+}
+
+src_install() {
+ # xpcshell is getting called during install
+ pax-mark m \
+ "${BUILD_DIR}"/dist/bin/xpcshell \
+ "${BUILD_DIR}"/dist/bin/${PN} \
+ "${BUILD_DIR}"/dist/bin/plugin-container
+
+ DESTDIR="${D}" ./mach install || die
+
+ # Upstream cannot ship symlink but we can (bmo#658850)
+ rm "${ED}${MOZILLA_FIVE_HOME}/${PN}-bin" || die
+ dosym ${PN} ${MOZILLA_FIVE_HOME}/${PN}-bin
+
+ # Don't install llvm-symbolizer from sys-devel/llvm package
+ if [[ -f "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] ; then
+ rm -v "${ED}${MOZILLA_FIVE_HOME}/llvm-symbolizer" || die
+ fi
+
+ # Install policy (currently only used to disable application updates)
+ insinto "${MOZILLA_FIVE_HOME}/distribution"
+ newins "${FILESDIR}"/distribution.ini distribution.ini
+ newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+ # Install system-wide preferences
+ local PREFS_DIR="${MOZILLA_FIVE_HOME}/defaults/pref"
+ insinto "${PREFS_DIR}"
+ newins "${FILESDIR}"/gentoo-default-prefs.js gentoo-prefs.js
+
+ local GENTOO_PREFS="${ED}${PREFS_DIR}/gentoo-prefs.js"
+
+ # Set dictionary path to use system hunspell
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set spellchecker.dictionary_path pref"
+ pref("spellchecker.dictionary_path", "${EPREFIX}/usr/share/myspell");
+ EOF
+
+ # Force hwaccel prefs if USE=hwaccel is enabled
+ if use hwaccel ; then
+ cat "${FILESDIR}"/gentoo-hwaccel-prefs.js \
+ >>"${GENTOO_PREFS}" \
+ || die "failed to add prefs to force hardware-accelerated rendering to all-gentoo.js"
+
+ if use wayland; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel wayland prefs"
+ pref("gfx.x11-egl.force-enabled", false);
+ EOF
+ else
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set hwaccel x11 prefs"
+ pref("gfx.x11-egl.force-enabled", true);
+ EOF
+ fi
+ fi
+
+ # Force the graphite pref if USE=system-harfbuzz is enabled, since the pref cannot disable it
+ if use system-harfbuzz ; then
+ cat >>"${GENTOO_PREFS}" <<-EOF || die "failed to set gfx.font_rendering.graphite.enabled pref"
+ sticky_pref("gfx.font_rendering.graphite.enabled", true);
+ EOF
+ fi
+
+ # Install language packs
+ local langpacks=( $(find "${WORKDIR}/language_packs" -type f -name '*.xpi') )
+ if [[ -n "${langpacks}" ]] ; then
+ moz_install_xpi "${MOZILLA_FIVE_HOME}/distribution/extensions" "${langpacks[@]}"
+ fi
+
+ # Install icons
+ local icon_srcdir="${S}/comm/mail/branding/thunderbird"
+ local icon_symbolic_file="${icon_srcdir}/TB-symbolic.svg"
+
+ insinto /usr/share/icons/hicolor/symbolic/apps
+ newins "${icon_symbolic_file}" ${PN}-symbolic.svg
+
+ local icon size
+ for icon in "${icon_srcdir}"/default*.png ; do
+ size=${icon%.png}
+ size=${size##*/default}
+
+ if [[ ${size} -eq 48 ]] ; then
+ newicon "${icon}" ${PN}.png
+ fi
+
+ newicon -s ${size} "${icon}" ${PN}.png
+ done
+
+ # Install menu
+ local app_name="Mozilla ${MOZ_PN^}"
+ local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
+ local desktop_filename="${PN}.desktop"
+ local exec_command="${PN}"
+ local icon="${PN}"
+ local use_wayland="false"
+
+ if use wayland ; then
+ use_wayland="true"
+ fi
+
+ cp "${desktop_file}" "${WORKDIR}/${PN}.desktop-template" || die
+
+ sed -i \
+ -e "s:@NAME@:${app_name}:" \
+ -e "s:@EXEC@:${exec_command}:" \
+ -e "s:@ICON@:${icon}:" \
+ "${WORKDIR}/${PN}.desktop-template" \
+ || die
+
+ newmenu "${WORKDIR}/${PN}.desktop-template" "${desktop_filename}"
+
+ rm "${WORKDIR}/${PN}.desktop-template" || die
+
+ # Install wrapper script
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+ newbin "${FILESDIR}/${PN}-r1.sh" ${PN}
+
+ # Update wrapper
+ sed -i \
+ -e "s:@PREFIX@:${EPREFIX}/usr:" \
+ -e "s:@MOZ_FIVE_HOME@:${MOZILLA_FIVE_HOME}:" \
+ -e "s:@APULSELIB_DIR@:${apulselib}:" \
+ -e "s:@DEFAULT_WAYLAND@:${use_wayland}:" \
+ "${ED}/usr/bin/${PN}" \
+ || die
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+
+ # If the apulse libs are available in MOZILLA_FIVE_HOME then apulse
+ # does not need to be forced into the LD_LIBRARY_PATH
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ einfo "APULSE found; Generating library symlinks for sound support ..."
+ local lib
+ pushd "${ED}${MOZILLA_FIVE_HOME}" &>/dev/null || die
+ for lib in ../apulse/libpulse{.so{,.0},-simple.so{,.0}} ; do
+ # A quickpkg rolled by hand will grab symlinks as part of the package,
+ # so we need to avoid creating them if they already exist.
+ if [[ ! -L ${lib##*/} ]] ; then
+ ln -s "${lib}" ${lib##*/} || die
+ fi
+ done
+ popd &>/dev/null || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if use pulseaudio && has_version ">=media-sound/apulse-0.1.12-r4" ; then
+ elog "Apulse was detected at merge time on this system and so it will always be"
+ elog "used for sound. If you wish to use pulseaudio instead please unmerge"
+ elog "media-sound/apulse."
+ elog
+ fi
+
+ local show_doh_information
+ local show_shortcut_information
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ # New install; Tell user that DoH is disabled by default
+ show_doh_information=yes
+ show_shortcut_information=no
+ else
+ local replacing_version
+ for replacing_version in ${REPLACING_VERSIONS} ; do
+ if ver_test "${replacing_version}" -lt 91.0 ; then
+ # Tell user that we no longer install a shortcut
+ # per supported display protocol
+ show_shortcut_information=yes
+ fi
+ done
+ fi
+
+ if [[ -n "${show_doh_information}" ]] ; then
+ elog
+ elog "Note regarding Trusted Recursive Resolver aka DNS-over-HTTPS (DoH):"
+ elog "Due to privacy concerns (encrypting DNS might be a good thing, sending all"
+ elog "DNS traffic to Cloudflare by default is not a good idea and applications"
+ elog "should respect OS configured settings), \"network.trr.mode\" was set to 5"
+ elog "(\"Off by choice\") by default."
+ elog "You can enable DNS-over-HTTPS in ${PN^}'s preferences."
+ fi
+
+ if [[ -n "${show_shortcut_information}" ]] ; then
+ elog
+ elog "Since ${PN}-91.0 we no longer install multiple shortcuts for"
+ elog "each supported display protocol. Instead we will only install"
+ elog "one generic Mozilla ${PN^} shortcut."
+ elog "If you still want to be able to select between running Mozilla ${PN^}"
+ elog "on X11 or Wayland, you have to re-create these shortcuts on your own."
+ fi
+
+ # bug 835078
+ if use hwaccel && has_version "x11-drivers/xf86-video-nouveau"; then
+ ewarn "You have nouveau drivers installed in your system and 'hwaccel' "
+ ewarn "enabled for Firefox. Nouveau / your GPU might not support the "
+ ewarn "required EGL, so either disable 'hwaccel' or try the workaround "
+ ewarn "explained in https://bugs.gentoo.org/835078#c5 if Firefox crashes."
+ fi
+
+ optfeature_header "Optional programs for extra features:"
+ optfeature "desktop notifications" x11-libs/libnotify
+ optfeature "encrypted chat support" net-libs/libotr
+ optfeature "fallback mouse cursor theme e.g. on WMs" gnome-base/gsettings-desktop-schemas
+}