summaryrefslogtreecommitdiff
path: root/mail-client/thunderbird
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
commitebc282ef4dfa408accac685565b8ee5f6faec119 (patch)
treec0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /mail-client/thunderbird
parent6c8694a707151d59555b0e4e48235f085ce166c3 (diff)
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest66
-rw-r--r--mail-client/thunderbird/thunderbird-102.7.2.ebuild1172
2 files changed, 1238 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index bd21dcb69d1b..0b42ca494e73 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -136,6 +136,72 @@ DIST thunderbird-102.7.1-vi.xpi 738978 BLAKE2B c44f193336b691d73caceafc366442d2c
DIST thunderbird-102.7.1-zh-CN.xpi 732012 BLAKE2B 39e00232d686f96c86d0ac1103be28f9205c2b73528a433467d6501ccea1a6cb2a7a87e12ff5abaeabb38d8311b6d4d5186e427fb64077e79404d41332ee0d14 SHA512 15a088bbc69186223870889b9333d286868d492f1b3efbe06eeba8f7b15e20ddfe77188a9efa85423497a1de4df22ebe9065a4315cfbe1b1b179e27687885747
DIST thunderbird-102.7.1-zh-TW.xpi 740543 BLAKE2B 90b2bd25e42646b9e1de30ee72702237dc56901faf40cb20713519f4a01f614341545df80b873e7d565f53b1385b5c6e77bfbb546d3cdfce5dcfb5919ddf2234 SHA512 b1983f73590fbd4313ac8499dd3fb418a35e6080e6199dcc254baeb4aef97c3a98904337959b05bf8bcb5732ba9a7f14066f6da69aafdc9777210341c20315ae
DIST thunderbird-102.7.1.source.tar.xz 510875912 BLAKE2B f28db27f7262f33862fd15622ff6e66599d9cab393d88952c25d4d81533cb2e7c6fdc4c9567f1c6304d98359b0cd732201587c2f6c8ae5b7599ef5d15cfb4f32 SHA512 6310f3f122a1a61917ec2d0efe3a031b199ac13681e9fb4035abc0f4de0dbafb12accffbd63facb23f2cebf0124a13f7538a33176a2a513d1f685bee40db50ba
+DIST thunderbird-102.7.2-af.xpi 554407 BLAKE2B 90a4d434bb7f72b0771938347bbe86a7bb7dee779047120ca6e0ec9e5934f7e459889726c4dd6fe2346312967b2a6f91e06b7372d9e5006b6cfc5955cbe63d7b SHA512 f7c55c1a19ab860026cbd0e20e1b6b6d960c66253c2807e89cba005bc347f766503ca731224cdc2ea4c6487deff5962f79e17eeebee8e6898931acf95da8224a
+DIST thunderbird-102.7.2-ar.xpi 660886 BLAKE2B 27bd19e400713d409441250506181f64caf7583ad85fbebc2d4dca225258c2d74e3535de8936ba7404fa1f247cffb236c8e8d3069cf02d30e82cbbc77019b725 SHA512 4c45b4a75e30402edee0302527dbdffb6c690c2c7427d2d486ddaa73b40ec846c384363ecaabb45abdd2406a399086499d9dba801c6f6a299661d971ed66decf
+DIST thunderbird-102.7.2-ast.xpi 568532 BLAKE2B 6fca7a33379f267ba793ee85c967bc97f26d1e897f2309e94cff4285c7ca573bf1eddbb965ad3a746625e51ababff7e5442ea806adf03b3eec441276dd7bc18a SHA512 e1c1232435fdd60d4d08c572dcce4ef866ae5d096b01a9a9e1ed92cc87ade5b1f92acd38474a88b5340ec4d182122f23ea188e07331c053fcadbba884b9a7d0c
+DIST thunderbird-102.7.2-be.xpi 696574 BLAKE2B 16208da9a81255c6cd0ce777f572a0172122d2256d4388d0e45af1486f7e6f4d277124daea8bba119168715fed1f1c21eb818d67df45227542c68097a3690c3c SHA512 4ee1bdd6150b2ec958e09b10b02dc7bdf283cf5ef7131be9eb81759f6a1d50ccbc3725383f3d0ca992430d78ff0331af94ba408c8a120231c1fb28aa553376e7
+DIST thunderbird-102.7.2-bg.xpi 687111 BLAKE2B 0017373dcd08e5f14bc44e35b3b16ec14a4b41df64b70ecffc6d1c538701b3ecd5128827afacc0dc02c4af69120c73b21746f22f5b4bb5b6212ea7ae96211292 SHA512 f51a08012f3154f0c8135b10ca7db03c02f754842a1cec0b898bec76220364377ede6e2147de7ecbfd95e9edb683c345f736b92f8325d8a3255e58c6aeb13b71
+DIST thunderbird-102.7.2-br.xpi 620960 BLAKE2B bf4823edeca0b1e5fbdefd386e3bae1fc52ee2e8a5850316b44d4d3b029645af1b6cefecbf41c9458cebb6a1d3877f68984a3e3c16acc8b6898c0fdc37aca0dd SHA512 c73acc8a6bd30140760e09ce188d59c5d8f090e1f0fb90b57ccd130ebe83dd56f989a8634c5e9792f6cb9a5a195352dd0b1cb0bb12e71dbbab86cfbce8cc0410
+DIST thunderbird-102.7.2-ca.xpi 641074 BLAKE2B d1c92dba7dbcf3a39beb15c04f9d2ad924fc684041fb39c151a75c33ce7bdda64ea358a9be8c19985e7b96416a3f7e686d19943d585c0b8c63216016aeea4719 SHA512 fa872dfcd7f1c7af1926b91e4af94ef29329a49bfac8803de6d2530ce27669b691f80585db22a49115e34049abd77d0d6ae95da4e83609151148c4199f90ed10
+DIST thunderbird-102.7.2-cak.xpi 646410 BLAKE2B c5a21556ad2acc3cbfe0a282a94353435ba485794cca662b21eaea60feabda264f62216dfb9a847ecdcf65ec981d52766ed27402afc483635d4be52cda98eb03 SHA512 e8b4cc94678449373f5955ae10d5a01c587e0a83463618ac8d77f3520b69116dd35cba365665a5760f786c8f3ec0cd358b8d36657735c64b32ac541dad4d394b
+DIST thunderbird-102.7.2-cs.xpi 716838 BLAKE2B d341a9d4b36f2156a17b0d86c3e7563a95d67909b349bca096804c98cc8b73186afc38b8f631ae481ad73f785c34703449a6e7d00db229bb6b1b4d934fe91ad8 SHA512 7ec64de1a48da1ad35de0c0febd00a8aa0c1c0952ec2b0e71f18a2ec092162c8a16a6be3c3c9eebda35acd6f305efe9e495d2a516d63722f30ab4c63596ff703
+DIST thunderbird-102.7.2-cy.xpi 699460 BLAKE2B 720ec6d0c5b357c261e1d5b4be582d794d8e3ac437cf759ba2689b70cedc4992d9c2f78e2b7f83798e1195a3c155d111c0f977883cf137b3a54e11ff15728829 SHA512 200a85ee220a41d2f4752d6ae876afb3258ec629ab93ba380ea5428c24061c8414f4ebcc12265c01df77543da9b8759ced5a6ad28a57d6ae7e37107f825fb3e5
+DIST thunderbird-102.7.2-da.xpi 679837 BLAKE2B 732cfd34a8ef98bf4a798dc0b173d47f43392358cd82a41311d4938383aa4a5bae85460c8ff3c8f1caa730e62829daffa4e4eefd38fd1ae73bfc5cd931e04f1f SHA512 ecd3cd3751c1944ae5ab0c25f59a6d5203d5ff5d06627a351896b8428092055482d0c31dcfddc9e21360ccfc0a38f507acbc45fd0a4812ab183f01e90b1e13a6
+DIST thunderbird-102.7.2-de.xpi 712338 BLAKE2B 138c4a349ebce07cb20cdc7c786ab81f16049cc911ced168d3010e980b450c3b2d747ffe0abe76c619d071171c6849d00f6ad5f9491f0d714114f1d0a90ffcd2 SHA512 2fa85b8133839a813b93c701badae88b3359738767dcd36e38ddd1c5e9edc845f6a1179519fef5e2c44af96b25a62db33aae98068ee58e8a6efab8a57657dfb3
+DIST thunderbird-102.7.2-dsb.xpi 728066 BLAKE2B 80d5a15028ad3ba1718993997ac069f9342f736ffede3ad49742a34abc9c50f0e44d40c1529007e42c8b7d2ca80ea859b5afc3888bf2014a877964b1903fbd6d SHA512 51daee34554e1c01a23d2aaafeba076098919911b219ea59c6dad5225b8efa7db7cea802c81ccb11c8277260f1183327d764a278c69c50a9ede7522d942fbdfb
+DIST thunderbird-102.7.2-el.xpi 830585 BLAKE2B a660651d4bd9823d49a9d8da7a49aa0266886a6d10b3c97042d56760aa7a1c21014ec3b90cd8c75342aca3a5c293796ec791367abda881c38c8299f6b66d6c27 SHA512 e44961bb43dcb16ba25977e2f90803cc9177cee4bde6fc0096cdbf9945007eed366c9bf45936276476f1a1e50b6da0fbd4f7a7ab500b5791286de453de5f3407
+DIST thunderbird-102.7.2-en-CA.xpi 653886 BLAKE2B 9c19a575c83135606af36609ca470f1eca4aee1ab300b66017dc1f41c1fa9a6e8a5fa415fe38c02c575c9899a368e5b3de21ed437619cffeb091b044f983f640 SHA512 d1638d6c5fb047a91b4d65e716c432b156ac4a726d34c3f9a4dc5773e21bec995c23bd5fae94ae173b5743b82bbf0835df72776f74f59171f060a4186f47fd00
+DIST thunderbird-102.7.2-en-GB.xpi 659839 BLAKE2B 3c08e084fa3b80f712eb45d16fff25b81ff839a01cbd0e780f14d7c6e04bf8652c425c97186455c4eddb753b154958fb41caef717e7da9b47f10010550e65e8c SHA512 34d2d69eb373e750e7ff82a8918a637377b4e6f5775e5aafae94ab988bdcdf89889385d92f59e7fcaccd0a2b885dc8224c0cd6dd6414bf237fba9082ee7d232a
+DIST thunderbird-102.7.2-es-AR.xpi 711672 BLAKE2B 11988d1f9682fcb5018386539376205ad44adaad4b5a4c14c2ce8cf8b9f5c0ee7398d0c0b9d6bd0deda2ddbcd5c947c54b10d4e82ebfc405046af40eaa10f24c SHA512 f5ccfc87845f18603712c1ce42c8514bdff0f6685986338c016d4343677e4f7c3e306bba8e87b3f6506941d4b1df5f263497b32f78c77834596022e25f06ac07
+DIST thunderbird-102.7.2-es-ES.xpi 667543 BLAKE2B 9b561d06ac66215800e6d10c32409a0b4d6b955a440bfb184728b7041930bfe27b933e34058521e21d78514148396469e699793c03371a81d4e93ee2b47488e4 SHA512 4f645e85ab4f49258be065ac1c23da8836499f6aa58e78c12bedf862323e70a27d1468a6f48fd5ecf314228fa257afb7a9608de334baf045f7af1bc6be067b33
+DIST thunderbird-102.7.2-es-MX.xpi 713351 BLAKE2B ad93db9d2c109acb91cbbc2d692d27b06c13de6fbcbabd20799465ce8f20a7cc6bae8145a55b3f8da254273f916a925143d5bae8520506d441c135645d6ba807 SHA512 7a07ff78d0080b43fc46aac753132c84e3a179bb7b7dc3363a46a04d94785129e3f03014ae51596dc5a3de65d6019ed8beb712132e70f6e646b536f65bdda96d
+DIST thunderbird-102.7.2-et.xpi 671203 BLAKE2B 5f4ad0145a1b70e1f436682cb224ac668f509b6ec89058b1a686840d9579da3fab99ea6e80f8d750735e5d618ebf9919b95cb881b7b99022bd062a90a5c38288 SHA512 bfae7729ae5923a775a7e515a7feefc8648976d0086e949c54e21318879d935b6033d3d59f42ada1d7bbb415026f0ad6f9686f2b1972faff0483ef7a6137ec9d
+DIST thunderbird-102.7.2-eu.xpi 691189 BLAKE2B 0d7d3a64cddf69445df39aee6a535298765c2261e8bba2122b823a3e35ac680115071a2550828e2f5d72b782a16ae97af28827c0260955cb9acf6ab7d77af442 SHA512 9de7f486e5b9ff1f20a01b7a1bde9ed414403c01d830f242880212efe913880ad9db3896c327242a7a06727daf7fa6eda3ba97cf3de71e4e0975cf64cd046899
+DIST thunderbird-102.7.2-fi.xpi 686666 BLAKE2B 54c85560af4cca14d2209b6a5d4cb864f03db162d54b4c1a5134b07cbe4fcbad00effb193e398a21a9b7988cf3118f40e19958cdcf0b67d1bfe4d531c4566e97 SHA512 d36cf818791b1f761ebc8ae8ce6068ff5b193542820e2b731d33126d8667ed3dafc6b74428e7b155c500803e44f9d480251f1af453eda5d13e441b67c0efe3b1
+DIST thunderbird-102.7.2-fr.xpi 722447 BLAKE2B d1f9fb378e9ad666eb83eed706215366d9005d4387b9ecf11e035b6ae13e725c0627260aa95309d05f9da361156e23edecfc143e3f740f313b54848d54462c56 SHA512 b49d18346ee3f55fb818b454820e58aaeb185bcea154c49669e5972d1cb2fcdd41b45e00d35fdd6ecf498f6887aa9fb5107f2682fa9d4d2ead9334fa7f672557
+DIST thunderbird-102.7.2-fy-NL.xpi 704595 BLAKE2B 880979e6adf482b3cc10344ee955b90bebf5d76fc72fc67e205bd3f36f65b355e9c312c8b4dfb5415f92272e320c56021aca7529282a541deff9639188e0f0cd SHA512 5d5d061651d8c2ecd5624efede88c40710dd032a4639ccead952fd36600a4410d794a975976deaf2b5081471343a8b8ef3c21e22de62299ae18d93c651338f09
+DIST thunderbird-102.7.2-ga-IE.xpi 609074 BLAKE2B e1e795d74e7e84e5ca221326b8052121cb60657fbe2ef0206df08a346cb0f3f105b05c3a813d27a478828f2851f03157694b1d4ff22bfe6081338902e7502cb6 SHA512 a3f8830bfaed05a78eef904948d331db08bd3b537da9604c5ce19dfd1548419d18b0b06863f31fff6f27883bd0c0f6c9c66aedea002b5fcce55aa40ed31d41d8
+DIST thunderbird-102.7.2-gd.xpi 637862 BLAKE2B 9f138dd5df7ffd0933f0039db6a9a510334bfecf99bde5fc1a345b669648bb8c50ed2b3b38fd9121bf928f0c223ff01d93f18a2ff7e88330f9e36e74d961b9e8 SHA512 5afcf1b35410f811990d7292c2f8379fe376173d039937e72ea5f4242dde876345f754cb521e76c865b7037d01891872128019eacfcecf0451cb2aef071ed738
+DIST thunderbird-102.7.2-gl.xpi 667564 BLAKE2B 2462a6c7c377c95f466e5f9f8697bed2c362d68157a7d3b964236b47ac4cd86d6c055e15e5bc15e50eacc78f286d2ec5b66a250156a1df4a030096660ef49cf1 SHA512 7b9529e8e638347650782a9de972be1550523641b933b60abe682eac8f1544547154275b17b418eae4c0e67f2ae76e970184cc2953bc6ef5b491ee5cad4481f3
+DIST thunderbird-102.7.2-he.xpi 671027 BLAKE2B 2b23add7a3b961077c266d88dc3b926bad3b82b0db45c1a4bbc571acc2f5a7a6ca8df7f4790cfdd8224bcae0c82ae2d6df48b45023eb454babcb2f994be696a6 SHA512 eb6f8a20956608832f9718b65c21205ba9a58e65787f1cce30ad01d97f49ae52593cb3e787ec9fa655a90610b2ac27c9c00f18a889ef86f9f16c23cd9889959e
+DIST thunderbird-102.7.2-hr.xpi 672486 BLAKE2B d8187c341c8e78ff64a9aacda987f95d7d494e20d88c2a49bda678faf41b5ce78dd781423cd275c04951e9d2a4ade2e87205f2a5162fea8d71663ff8fdd13465 SHA512 f9cab68d32710aae83fce0466ef67455027aef7ea73584b925a511e711dbc8ffd646eb6bd870c1f32acbc9508614a6de2a31ee9b8729c3376058c7cce5d57ca9
+DIST thunderbird-102.7.2-hsb.xpi 726138 BLAKE2B 835f0d7de5e8bbe624fd73616792731de5e0aefd7b469d73ade4cefbd02fca5c1fe8614a6fc774e212f9d90afa541a383be96864268f11ca371d11415fc81a96 SHA512 7d03b7e1bd8053ba6b40765bfe42ed6d5266bc184d7a9ab6da8d7d89f4f85f460ae12f2a55274465d0f5d72044762e2e78840a1ea3710812900c4d3ef58e1686
+DIST thunderbird-102.7.2-hu.xpi 733392 BLAKE2B ed3b800385ab41b9b691d0e3221de1e33cf6820147ad34a5b42201af82e3f38b8f60a1826d113e1753598b8246e349e73d18a0ee687751b2167f7217ff5bfb82 SHA512 343c215a7b1c44f250662f599eb66ed706045eece1bfb1a1546afe5b3cb39ceaad270e68958ca67a197303d0e2a4efc454c8c8aac6005a57ca13f91ae739701a
+DIST thunderbird-102.7.2-id.xpi 648012 BLAKE2B c27586359e984869a8b91b331c15d1657027fe82489a80a2bb15dc6e43117e6889b0cfede94eeaa9b5cb7d45acd0334a37b57622ece8841af776d241a979a12d SHA512 be14b1550e51d3aa9a3d70f0ca0e2c391a8d0b67cfeb65f3d8c7a05c4f4198614d8f05ef0a1a731c29337509c98f4e6475beaf491f5f8df91a707148889f7657
+DIST thunderbird-102.7.2-is.xpi 697849 BLAKE2B 2d48d94b8477c7133a0bd48303a480967fd5c8e3c9a0d3370a43a837f7fb6898843fc8be2230846ec98b11031ee05e20ea1078eeeb5d3d8d6471240c0798c2d1 SHA512 4578cde31e726caecc1c006163b4f1d32e7e1d94179bb3f31da31e523709e24e82cfcdbd1103137e7a3545a08f0c7b86efdbea2492521da671debb20aaee6146
+DIST thunderbird-102.7.2-it.xpi 632425 BLAKE2B 80e254a9fdaca42dec81096f9f7e421052fa79a1d6ea1e26e12f13a77df2d4b348d8653ff774a90bb92ad4f3ca3c32bc5af7cfa0cdd27fb586c1d81bba957526 SHA512 8a2e825e6949971d85384dcb422a4db3baddf49f99838ef8cb1e524a42b4a371713ec19aed7aec2d11f9e58066c2d4106855ecbf00caca0ca7ed2d63a828041d
+DIST thunderbird-102.7.2-ja.xpi 772278 BLAKE2B f3c5052531b2c947403c86687115dece742e30801a05e192cd95e99fda1f31a5fad10ec7ae3642178b5c69e0b4f22ae2718393542b620fc7c6ca2e82191a20f3 SHA512 fc32282b1f7b416d0c88dac7b7daf2527b43ec9f75ebe14baa65be90a21f28a4b55255266ea88f686b63a161560e103e7cd6687f332756b9d98a0de1afcb32af
+DIST thunderbird-102.7.2-ka.xpi 762994 BLAKE2B 1d02f64c0318a747d3450a02c10899d2069d6be1bfb0c48703e4e9bdffde9d79a2902927b60a69c00e641268d64805541e4152a29e1b46b15c1ef39a8d5b9a75 SHA512 45899d758314d0f95599211fe1b28df3f5a53b341837e51831835fcb3fbe549231bd492265f80170412125bf73788496d00954a23cdecd1546bc201bb4eb2a73
+DIST thunderbird-102.7.2-kab.xpi 697004 BLAKE2B 2e4a31d8c507a9e99cc9e0dd36a088d750f24bb57b62fe3150d5732c686c5021ad7f32c0a9186e64fc694eeb61beb51eb61efbfe890e88f5792158d5b86c4544 SHA512 3af21136783c6e9605521769f02daf77823f07d885cf85c27c41e823fe0cf806f8809b642c6f3b507c170d874fa2bbb7ce4187e2b51fd2c58c29aa54f943dd70
+DIST thunderbird-102.7.2-kk.xpi 803352 BLAKE2B 65ff2f2e96f7b586c366cf796b757d692e6aa0b98360c03f876162612f4211c60ff9a0f90335592f2a7d93055bc50a261a925bf861840b6bc4f8527ba0c24ce5 SHA512 cb17482879371befe3367d951652c20edbe3f2dc7b4dc89c3f0bf84a160e1aaf663c08447e2776da983d0ca9419aeae0e5466bb03e5a1e7f94f268074f9878ca
+DIST thunderbird-102.7.2-ko.xpi 713158 BLAKE2B cbe4ee8a32924b712e3acc742ebad59163d8acc7ddd070de11259be7e34a3e387d23f5858fb3aaffecb29ac153a82821a3f619a7ac89141d43472900d5f1a407 SHA512 6a9fee3fb399406234899f2192c0a7207ff5b9a7c08d00513505a4ca7b50b317f422e7f1b82110f4f0c776f037a7fd899434bb3a0e67dd88b7f8ce06a2705df0
+DIST thunderbird-102.7.2-lt.xpi 685287 BLAKE2B e163e2b28a882c3e692849c9781e810aa2bd84bf22bfd4e2accb4dede9c27dd1ef634bd911a6cc9d20e1ac0cd86b7cc66aae6c80064a92334d5ec3259ba152f8 SHA512 448419d6b35833c9c2e1a6b6da5a820fb3deee7677e1ba45ebe3444af7a1d4d0598c2649c22e23cfa0f07189ac96f607aa1de5138163c7413fa2bf0b262cfc9e
+DIST thunderbird-102.7.2-lv.xpi 613064 BLAKE2B aa59836fd47d35fdd42dcced490935a6ae380ae300b8fe4939c9551baf479776f6372899e8ea14f75be30afbff66cd81119835b2a2ddc42c09a589658bb46f11 SHA512 25d0ba9ad8601ff1ae7e3a4aedd1c2240fec209bc1f1c433488178d267bd8951f0d4160899ccd080fc1bbd72d9981fb435c779e93593b985dec169913c396f2a
+DIST thunderbird-102.7.2-ms.xpi 572472 BLAKE2B 121eec98c3208fecda21cd7d8bc16e014e97b7419f4735c03a3cb5eb9ac2f1a4dccc287da949c7a28affacc1d804cfcb2d042b9775d3d61edd5477fde8496dc8 SHA512 b9015db7f19c8286273267e5b6c77aeac4b1b7a495386a5e10a0c4f56a39546c052bf6d750c0156e1fad11d6f1ff3b0141c38b7e561e6745a3801adba7f7af32
+DIST thunderbird-102.7.2-nb-NO.xpi 657789 BLAKE2B 6caf7569bb04edcf116072759a27b8c6459a65bcb6cdd70420d0f69c362db7eecf0819a0f4ba06c7e478391a2828689fdab1f157f093ece02a3d4a4d3a162fba SHA512 cb1627bd19746d2786e78ebb7621b9b8e2842e52ee724f52e4780919bf39deb0b013bb9478c5230ab5724cda25a0a4d14dacb0d0bd4aa563ed62727c359c13ec
+DIST thunderbird-102.7.2-nl.xpi 697771 BLAKE2B 8f8d8b7556768ea9b75c6d2c41ca1210375d93fb55ccd3a0caa4f51334eef1031d3c18e204d5d965c0c0c70ced696ed44da6598707774248d0d6b63cda228020 SHA512 2a0731dba3c3003a51b9e360b60744bf07a66276071163e8597019e129bfff6a80f8a02eda0a9c75ed62c16fbf1a95998cb358909229a887450f65d791b7d1e8
+DIST thunderbird-102.7.2-nn-NO.xpi 666742 BLAKE2B fb2dca6c2bbfb4ea1889193af1a732158481a34b12b10a9385f6a341c7c3d33033eddf5fdb13c94c5ef4955d87b5f40de03e2c8cef6977b50a919d74118ed225 SHA512 7d797b93d57c4bcb64ef8642832277e96993b593b75e9c6cfd82c7e23291d16a90ce029f3db78d7db4959a41ab9294a3b55d0099b6aa678ea1dcceb67ad2baeb
+DIST thunderbird-102.7.2-pa-IN.xpi 663969 BLAKE2B d47fe1a4dcf0aaf4fd775ff214dc2d6d6033cd432d44ce0405bd810b913841d2abd4722480c5fe6be5dabd13a4acabfd7cd7c067e8c3bbcaec9aeed2e85e2241 SHA512 7987e96c448f410ab5678f48e3f236ff141215a08cebd3a30e3d511a538d4c38eabdcc58c7fcf605e4165087f1c706fa28c416ce96785f84195fa81c7144c314
+DIST thunderbird-102.7.2-pl.xpi 713461 BLAKE2B 68b94b467030429fa0b610b4568b17cbdade8bd92f8afbac29cc23412999f82a44c97e937bf1546d14be137b29ce8cefb846e64cb837279f72663ed154e76de5 SHA512 438f90fbc5ea5aa551b61a5c31504ab8555d9970978cc8f0228fd457fe7693735eedb2a0904f4964d9f4872ee14c54669b3459abf819a64b13a062feca7cba9b
+DIST thunderbird-102.7.2-pt-BR.xpi 704695 BLAKE2B 10de469b42bdb91aaf37561d6f4bf4aab06092bdb8458f6ed72dae683a0006a6526892e5589a3e07ee3ceba941274b8af46ca9a27d547f353268e1d18794304c SHA512 c36b0eb921febae096b4e3607d2cedb4888cafcd9a3706f582df7dcaa2db09aa01f60d94e4899955b1fccdc49b22655fcc0535f9f7850ffcac8fa3f455d4f27a
+DIST thunderbird-102.7.2-pt-PT.xpi 681934 BLAKE2B cea9c9f1e800cbefa26e3bdb266a3fd31a296aa90959f3becac0d612f6f7763dae0d37c90e2ec25683641acca33af4e157b956525e0f2f463d812f2b9eb9b064 SHA512 79fa092ae81133ab6e5c8974c1750b7dc7995b7803b9916134a0ca5d7373fc2130247faae4686db38fd208856b0b60a89645ccfb8b59ec6e6dc9adda35094581
+DIST thunderbird-102.7.2-rm.xpi 697899 BLAKE2B ee03c01e50474bf6c34aa4b31081244f496ee1dbb1e3fe8339ce1a34bd29c52969eb88483d1f6ebdcb60909a25b7e231b97d2f72549b9ea62901ed3731525534 SHA512 06aeea693c1d979c8ba47daf52ac842844f6b557091d106286b1dd424e786fa922e183df2dfe468715d9e76843bff076760d3e585c69787630a9f6ea53c0d359
+DIST thunderbird-102.7.2-ro.xpi 655840 BLAKE2B 2e7bf741c0c2e491def95012ceef98851b958f7aec3c1f01c2d766a2e143dcc702b31ae739cca9a7bc2602f1573b62565b2640a2695e621519e425e1f80372cd SHA512 dcc38fe7f2221018c5163990fe22b4654dc50fa13dcde6a2ffc5ec5f13fe7c1c9d4f316062c4c0c0b21e1563417c539d06d6cf92ec80ed24ff40e0b90f6f1687
+DIST thunderbird-102.7.2-ru.xpi 817943 BLAKE2B 8e737845e3e41feec81ed700a05a3ee30c9ded4dca7965c0f54703f5e15bdf986fdbf2fb9434bec6d8ad9369282129eb9eb9b4ce185340900645ba9ec92e3dca SHA512 bbc51348b233e8f972b9e3800f9b95223139715e92cd3dda303b994bd2816eee262bf02e5a7ceae7496f38abde0e873dde5d15f031dde20e6492f0e70c6b3248
+DIST thunderbird-102.7.2-sk.xpi 733055 BLAKE2B 3344808f23b22efdf721c0a369cb00c0de67e00254aa838b3f7d03bac823934c5fb9e335c50247d86f99caa5d28a401f721bfa9b8e400003777df81e79b2461f SHA512 7e2e66ebdd7de24561ee1c11a29ce042fa68b09ff156b7475684d2225f5fd04e9a1f0c75735114c01b0ea18cb6708ebf00bcb7ebd7431cee42c21e9b10f38d61
+DIST thunderbird-102.7.2-sl.xpi 696847 BLAKE2B 5434bd3d740485de60b103b5f7e30d5e9f9d7dbf2f2414f5d2d87032bf4cfaee858ba17582f2b18f6aa26c3670820543bcb6a5d12a2b757c7ab9780c4246c186 SHA512 d71f6b7e9e1eb1858722c432da3d426c67f4fb4114dac84e58a403cbfc8385e72c1941cfe5a7b3c57fa05ad87c580b15bce2f716f02e274fbb7153a0a901fe04
+DIST thunderbird-102.7.2-sq.xpi 719058 BLAKE2B e5e30bc135dc27b041c4f882b65030b951b9b01b6b2e3b21e27909d947b31d050f5dd3ef422211554f2c6593835de10ec12e670a5ad16bdeea41e3691e8af4fb SHA512 aafaebbf5a61c67e5104af56b27fd49a8ab0636cb5796b9f6a87a3e73f6f69d9a2bdd44f50ad5ec71ae7c1663704c54480d6bc7a8bc8ef11b4b98b4b51a4bf3e
+DIST thunderbird-102.7.2-sr.xpi 714371 BLAKE2B f567d6e95314deb3ec0e52e1f909641c35210c7d1228b17152066a7d86e18ef2e23b6a56c27cea775951d5083cdf893c3a7651344d7eb1e5d5f81d03b557a320 SHA512 4f3bc22beb3061257b83b68dbe1eaaee0f6cd4a4bce9309dabe3b6ea5b287cacedb44f08f659900a8a9e0c32c70a8f176a8694961b1a8061f517f48a6da7318d
+DIST thunderbird-102.7.2-sv-SE.xpi 701289 BLAKE2B 854e1835c8b06f4ad3323949bfde732b1563dcaf9a7cd5a4b6b3fda9ec37c78772797acb8b205fb6f034d31007c715e91b564a055a46bce4d9bf9ef05e3d490f SHA512 5269b7f41372bfccb1df5b3fe0a85fbbe3b391b8394bcde798c58d2d1fcd5f669b1695cc0b65978640dcfda42742af65b7ad7a0cc699cca5fb2e1ddd79aa2af7
+DIST thunderbird-102.7.2-th.xpi 747921 BLAKE2B a2bd19bbf1813c1797f72addd01b4cb140b3bdd911edd2284b5ed8f1a94c89915caa22e0773f669cd82a421ab861752fb7431c97479e0271031055921c7e418f SHA512 c23467c2b291f936f7ba506e5be7642d6cf7188443f523171a46cf9e1c33670b56fd0c32dd6cc138927d95be0dc5ad9d390c7c21ca85b44110b27c167abe5073
+DIST thunderbird-102.7.2-tr.xpi 712550 BLAKE2B b3f59b858d61185d0dfe3005cda5f7b359280ff489f76c037be4f78fa37328a2af3ae1525d7bd0dcb8d8ef8adf9ab3f85df3ad9580574becf19229e535bcae02 SHA512 b4dc17c1fa694cb341c4f7b159135c355447a5f54eebf589293f83e67b105b050a032740d500db990dd98877a404d765432828d356039159bc5f70bbd3591989
+DIST thunderbird-102.7.2-uk.xpi 812154 BLAKE2B 68e712cd0ec87970c9dca388157f190a47a31a14995b030fb297faf3da8669593afa39c01455939b7aaac95d3e3683d8e3bc6c8406de7be8a00be631ff73b7cb SHA512 174a7830cd8b6236ea00729726fd538cdc42b49ebe5e8303bf727016fc718b1d4b9c08628b21eeaa4ed2277815a9901c53e39e41da3dd5f38116610a53a320af
+DIST thunderbird-102.7.2-uz.xpi 588363 BLAKE2B adf48d2a510187d322099a7f7f49fab2aa7386a402b7dfa07db8385fe7698d9e7aec72d0eda97d9ee6927be1ed411539a641bb8c11c599848835933574f3a66d SHA512 130a7ef00efa0f96bccd6169efb4ee1a92a5c94de5b55529888cbbdaf2f214816302f0f2c49ce596fd1af40074beff10818099de6babba271e81cd6a5385315e
+DIST thunderbird-102.7.2-vi.xpi 738979 BLAKE2B 58dc4b99c0143ca9daa66704d6efc32524b7e1f39e98be52709da643136932501b2b83b9e85f3cc3cca36af801df29d1d2a49f02a145a87eba97b5203ee3f766 SHA512 60cd1886e2ae11fb673bff31fa1cc128b4c298a7a97c2487eb7268a4830f8c1c34d07b03924aea85ae756a280f55d096c018ead2e055703ce0cac5e88e20133f
+DIST thunderbird-102.7.2-zh-CN.xpi 732011 BLAKE2B 8306b9a8174e2c1c96de9ce4bfe010f7769aadd7e0c11ec3fd3b563794ced0c508ad396f5958368e9fedc2594a0d58e856a31174967a595af043d84214d34c54 SHA512 673ac712704d21934f41a91012e55b1d226aee704d967b59c4ed22519c2631e27331678c8bd3142beef76b22b9214c59a324f41db4a7c210eb1cbf39c104de2c
+DIST thunderbird-102.7.2-zh-TW.xpi 742460 BLAKE2B c4b02a37eddbd134af28fb699d0e88d48b42544f5106c962b41a277922f41b93a03f6431f39397ba72689495d9b88ec15e723f1f364979472513a252a254f715 SHA512 c305bffed35f65c8f0926d8c8673024ad379d91c12e21846a240be5486b8e67bad63e2ccfc5919d1913d57e7e828de44ef2c4bd05b14f5f6c177790827e7b02f
+DIST thunderbird-102.7.2.source.tar.xz 502932420 BLAKE2B 5c4d6b5ed79c31fb1e8d687c3f17e00ed4259e4b86cefc80276302edddbd16e4ba7f855c1d6bf8caaf5dde3354a26ef5e72ec2998f9015ee8d6f13517581990f SHA512 7371079d59cceb47fdd0e9661f79eae7510ab0f5bf8e80c21952dfb5fed3db72279a4ac9d3a3de3617194fb36a9420ae814a69ee19a93ba242d2aa2b921e3010
EBUILD thunderbird-102.6.1.ebuild 33792 BLAKE2B afffba6304062f182af96d261262e444808b936969a1e11f07e6f004760f016efc9013ed9d205812aea585c9212990335c581d90ff87a12ab1c017bf30459f6d SHA512 589fe44e2879437350b7a50ec993d7b7be68f684a68113ef7cba03ff2128145ecd00f491088f829ba96c5491a4ac863560c7fd7fbfaa7ee3939d079dd1936e8e
EBUILD thunderbird-102.7.1.ebuild 33723 BLAKE2B 56e5b6ae5c62add650844d905a747e1f1737c1c7b16414642ac5761a742b623cd0ce2aa20828b416500d99eb33d269f9ccfc404a637037c0c3a96eb59abe1159 SHA512 fd6000475c33b7bc70e76c2bdf80c7ef4446b091e3916b8ecaf7a007802feb09bbb3581c73df665f6b2098f8a96dcc82319f5915fa04c394fe1b3aae684d810d
+EBUILD thunderbird-102.7.2.ebuild 33723 BLAKE2B 56e5b6ae5c62add650844d905a747e1f1737c1c7b16414642ac5761a742b623cd0ce2aa20828b416500d99eb33d269f9ccfc404a637037c0c3a96eb59abe1159 SHA512 fd6000475c33b7bc70e76c2bdf80c7ef4446b091e3916b8ecaf7a007802feb09bbb3581c73df665f6b2098f8a96dcc82319f5915fa04c394fe1b3aae684d810d
MISC metadata.xml 2139 BLAKE2B c348f9dc2bf813c386bc2e62782bf762ef4fdaf3f913cec41bbd115a7bac54b01852dec04e6f7574b24ea5cd6d9500f289109127cdac5887128b07116d6a6cf8 SHA512 09b0670e852cc954b5df5e846935d274ae180e4627d112104d5fedf2a777fda7d52d73cdfde9e50475d9a560ed44946d4c0682d52d793bbfb5f2e1b1e0aac608
diff --git a/mail-client/thunderbird/thunderbird-102.7.2.ebuild b/mail-client/thunderbird/thunderbird-102.7.2.ebuild
new file mode 100644
index 000000000000..6118b6e06023
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-102.7.2.ebuild
@@ -0,0 +1,1172 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FIREFOX_PATCHSET="firefox-102esr-patches-08j.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
+ 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 runtime features:"
+ optfeature "encrypted chat support" net-libs/libotr
+}