summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-03-10 10:07:43 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-03-10 13:09:57 +0200
commit8151e533d83e67e003432be51250cdb5828635dd (patch)
tree454916b5eb9c27454120575bb0c380ac6137caf8 /mail-client
parentsys-libs/libcap: Stabilize 2.63 x86, #834905 (diff)
downloadgentoo-8151e533d83e67e003432be51250cdb5828635dd.tar.gz
gentoo-8151e533d83e67e003432be51250cdb5828635dd.tar.bz2
gentoo-8151e533d83e67e003432be51250cdb5828635dd.zip
mail-client/thunderbird: add 91.7.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/Manifest64
-rw-r--r--mail-client/thunderbird/thunderbird-91.7.0.ebuild1126
2 files changed, 1190 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index f28834166b2a..29fe692a500a 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -63,3 +63,67 @@ DIST thunderbird-91.6.2-vi.xpi 720552 BLAKE2B 7ac83b9b5059e52dd24afbed68f716fcdc
DIST thunderbird-91.6.2-zh-CN.xpi 726136 BLAKE2B 9cb29b9c5ff36def831c5f904393d309637636a8682b24ac20cb5d800922e47ed6b11eb0921cb4f81ebf39a73dcf16f6811bb98459be79e29e617d299f67cfb5 SHA512 260acfdb8e303b7f089a592930427af3608fae724b1c09c19b0d3e26f374e68cdfd5950f0281456415af6026f4d4d91bd8ee3766707994adfdb741efc3aae9cc
DIST thunderbird-91.6.2-zh-TW.xpi 727310 BLAKE2B 98fbf5b84a24f9d317d10453c2cfe78ec38a713a8b0ec70eda5be9bf31ff02097e4a85bcb26c09e61589470de96074a212ebde45cda66a8ec1f36b95d198abb4 SHA512 9e28e5e74ae91a45a5395a96f5b3a00e32990a7cbf147accc472849bf0398da9b929a8e7a84c0a9293efc2996df70148dc0b8cc45b21cff780b8bf1029da943a
DIST thunderbird-91.6.2.source.tar.xz 404668968 BLAKE2B b7332a6572135e0f9fbfdd90ae566f3fa096348a4a3596c321e3061f4ff6bbd2469e7f145a9ea656de721d91a3f267e9a21e2955cdf1c8d343548ec76071ba2a SHA512 eb1cb06390694872e37830991e16d1e0bd3259cd1fedfed86fd24901f190bc9c274fc1a85cfbba01a0c9cac0d422b62a9b1062d8ba1770fd25bf99528f6df9e0
+DIST thunderbird-91.7.0-af.xpi 561895 BLAKE2B ed4d0c6e98ce53ce4113052bc9ef496d997697d3d5873f8073324754f5b6b278734f12e78ee71448f472d0271f7eae3f055d15364e508af7844f524217c06dc4 SHA512 1f0bdfd7b8bb0e665ef12834b3c656b4cd6140893ef75ec83e20f82a90686a46cc4f573276402fd5fc4e6ded65aebca6af29d3e9adc0d2750574fc64dc1feb30
+DIST thunderbird-91.7.0-ar.xpi 665242 BLAKE2B dcd6571a1783edafc110bfd34b22ef8a9cd1216cbbc3b2b511af76afc66a7f0a013b96a64d286c495c7a49296adc7f0f20e9fd60aefa583d4bbaa5eb20c64ccb SHA512 a61d722e08007099b375ccd2552374ae8b3335919fc6efb7ae2a36898e824a09b00cf85510f8eb0fe43cd28847de238db849e98c240e610bd72f58d57d861094
+DIST thunderbird-91.7.0-ast.xpi 580510 BLAKE2B ba9ec3c24b2eb0f247521512d6334a7c9ea84711d22d6f716aa062dcb84eb2c83785a79aa1bda59ddffc563fe154935ab1b4d7aa436e7af683f7009da6fa96c9 SHA512 34065a120d6bf123dbd892d51ea336e94ffeb8a15d39f9c7d14eb57b04b434da8b488ad6c4cffbd28fc47f3f6ef544a5c4cb6eb34d012776d0991430c559e143
+DIST thunderbird-91.7.0-be.xpi 694743 BLAKE2B 68af9062c5b5f57495b604b6090d879601c23c9f2476fb86862348e063bbf5e4ce7bb22d4dac8284feac344797cd09aa033bc935f1943176115a5d2499fded6e SHA512 609a97ef78769c3f4d551e8f3e93a285a65bc4bc32c645ec97ad3f46524f55a2c88047bc828dfdcf0b7607202ca02759258bae1962e7ac4aa2f1ee79e44d8098
+DIST thunderbird-91.7.0-bg.xpi 690966 BLAKE2B 02e7ea9ede5fcb0095720c001cbe84088ad92600a4313eba75c5ceacc96cfb27feab6ee6d07abdebaf8dbb0d3233cb6a9040f86bb638c3ff1dbccfb25107e1dd SHA512 b6173dcbc40c60da34c1c382dd8bc5214595f6990b43572645b29f5b54ec2081cf560169bddb0c9bb8173e45d9c596ab715ce3d53e6eab3380b61ed44107df70
+DIST thunderbird-91.7.0-br.xpi 620586 BLAKE2B 9cd1d3f15fac93e40fea2ca86d02c31a3ff7f96aefe741505fc6f93cbf09bca6d7a841c7128fe8980c159e3d2c3581f7e35131c42e03f5d506f98c785db7d3d2 SHA512 b90becdfcaeefb93a0cf6d72574f9144582cc8bb39ffa46444b8e4d1cc9096d0b23d1f74408dcef91ad39baff310bce84305677b162eebdc3a5ab3a50c52d04d
+DIST thunderbird-91.7.0-ca.xpi 645020 BLAKE2B 4952a29a84fae93e6ba6837f39d9c404f6a2ae193b76c7b472b382533d66ccce1d46c4e2f836599373ab38db2d26f52e0f7fe244603027352bd62ceb8915720e SHA512 80e0c0f942dcac0f0eb7d7d175117719fc48597041feaf04d9206eb1d82dfaf79b980c8ef3516e29d43ac2c9dab95ae06119149b50235678516bae811fd08560
+DIST thunderbird-91.7.0-cak.xpi 652066 BLAKE2B b8ae60edeb7fe56a0850e897872afd6340ee2472d38f91413b173a33b2cdcbed72220e9e73140825962fc65958883ae4f81102826a8917fb0ad3feedf957f89a SHA512 df124706819a86a37f441cf83fa422af01f7c2c37cfc332f9620fafb39e977d08acbd7650250f4b71f81b5fd1d547f3e48abab7a49630de5d77c30be11b06d33
+DIST thunderbird-91.7.0-cs.xpi 706861 BLAKE2B 451a8ea62c76f879ad96de9bb5e0750f64b3ae13f5f437d2d2ff4c0c3b50312233e6ba5b42951bf750a4a94a20863d7bef5a197f3f9927899c0c905842936568 SHA512 fb2e5f465952ab5fc75ef912b6a76e375d5f3fb09187ffb5fabd67e19507e85092e25aaab2eab9e3bb7f113d031b47d930860a95e7ec2e4c9fd090a61b7f01ef
+DIST thunderbird-91.7.0-cy.xpi 683929 BLAKE2B 765be0c81612feb89d95377ffd8527670a8a74622f0a42f0508bb5ce1c5aad4ecc7f693b83602412c247b6fd7b9c0aae61e97149459082e809c86188772a2e1b SHA512 bcbaa82dd763a7992a873c78eef6d2efa56861a686dd95cd006b749b9f6ae4e09941e07438e538dc262d541578bc4bfb9cacaace89ed26b1ca0c1006c24c4dd4
+DIST thunderbird-91.7.0-da.xpi 663956 BLAKE2B 9e3d9cd838eb0757362081034269bdcaa2b2f25163defbd062b8bb480f5f1c5caf5e7c1245fd2b4328bf81736c9039cafc232edd72e544c10c0b1b70ff9ccc25 SHA512 bb37e05fdb535c7659a8124b3cbbac4369cf972f8ac7b5140a5b908415a9a87896d594fbf04c99c265ef827b732feedf11237c37af6f1adde82350b0b8df7e00
+DIST thunderbird-91.7.0-de.xpi 694810 BLAKE2B 2da68a653c3822c3ac7c167df2d00db879fc722d2a1dc9840120877846d91e7d6370b9ff241ffc46ebf3d74e2d65755dc1ed7c7144b7389d4748d5d36622ed43 SHA512 f785a40051c46dc5868b1eb398b278ae9bb9da264f7b9ef8ef4cfa38976fc833f93a2f17cf7753643d0ff2ee0ac7c0bd6ad9feb1e746a7db86fb9a9fdf5892f8
+DIST thunderbird-91.7.0-dsb.xpi 719349 BLAKE2B 086cee3778294e4b9352835468d1ec0ef72b466bb8b170833a205d5c2dc88eec861ac72997b16b073673851016187254effd1fb635074b2706e51b17c1594899 SHA512 9043304c11142eca7d5d7f40b5891063e31d52983de435f6ff6d86e18e5c5ec4b7e81bd9435a27e35b417bc2fa3069ab635d772ac386e2e0772c364c995e422d
+DIST thunderbird-91.7.0-el.xpi 814592 BLAKE2B cc6c2a1d1dd3db505da72bfe506034ebf4f631c9897393cc1838a9428eb10d03afa0e5db0670ef308af72d028422b734aaa778a5b745f9bf4efe04e013c08f58 SHA512 98ea53c2802331281d5c714fcde0ff0dfcc61c313e1e782efeab95de1985cdeaa08d87b3007ebda45fddda802b41ea29da063ff982ba388d07a725fc8def92ba
+DIST thunderbird-91.7.0-en-CA.xpi 640882 BLAKE2B 9882d6728f002cb9cf8f9653e3211c9eac429042e21185d3e87b91cebda3d6b606a4bb5ee9226acf1bd942bc87deaf74d43cebe40ad2d9373847bb3d69dc9dba SHA512 85cd95585195f51fa877860429b27494d8d6e783cfcd2da6f662e7ac27e4bca4169b219c9cd141f6d092788063c01247a337bb05d478aaba040ee30f97df72f8
+DIST thunderbird-91.7.0-en-GB.xpi 646450 BLAKE2B 4ce8ea3fdc4d47c184b70bd9e9e26f1a9f0438bcba2a23ee66cf187cb63352f25b334a08b05d81a391734b13ac5197d1630e87dd8d61988ee58d8d3b54ff5717 SHA512 0b6c6d31601ca1d7ccc4444b569e70e6f8c7be7cba8e5cefe58fdfaf2c283aa425d594164fefbb826281938f437fee8639608cc4241efd0dd48f2c918851990e
+DIST thunderbird-91.7.0-es-AR.xpi 696014 BLAKE2B 502631e3d88cb4a795a7263470a9cca219ad77b6baed9d76072999f1b836574ed6a0ca429d014a5662016d9887bcaa7edb8c13d50fd6aa45e16f5d25c95cd110 SHA512 330dc0f1bae083fcd8b0731d858406fc87faf7e5304e7ec20d8455f006de6b316235e6834d1dd17c053b0705941ce628d7777da24712282966c5150d04f793f3
+DIST thunderbird-91.7.0-es-ES.xpi 592151 BLAKE2B d6b9a7ef1a14c98dc5cad3a61d54d57ded668251df7e13a1b1b7fd83b5044f5189a936ea96a21c18b97132c63ba97472e91913dd8704a359809047b6ffee58e2 SHA512 9e989ff753276323d5846491be9eb987fa7c2df7ed459aa5acefd6505f4baa83f9d46238b43d8891ed8f8ff805aacaf62560ef1f5177b8a5c6819384fd3bb764
+DIST thunderbird-91.7.0-et.xpi 649367 BLAKE2B 9b2c741b96298c3ab276c47ab41d503ccf54bd87a7318aa2933b19a87540f2efa5bba05163a48c9010b1545f9f3e7075a995a12032a4af92b547736a9c03ebc1 SHA512 bc168ea644851ad96d9deda9939dee6fcbf7be941e5740ab73303d2d5213df9a883c0882cc0db636ea01e573faf6c4c6de06adc1c26e849a80ad4a73d79fc7a0
+DIST thunderbird-91.7.0-eu.xpi 673427 BLAKE2B a22cc5a03d00b4f2cb3f9b6e639ae8776318472f7549b1aabab2948a597c7dd1080a208ac91475544515a244209874b0d8718520c6d4925d5ccf76f48e3872f5 SHA512 2f746cec39056a695426031c0c66b63b13794d9f55507f0a797155b65a2e9588a3dc23fe67a5b8d2422b6fca4b5545dd7dd57fc5af5e9f7c44efdc732fe2c71c
+DIST thunderbird-91.7.0-fi.xpi 674033 BLAKE2B 9a735e85a28159af61be6c39723ad9af9214edf4b73a57faf5b7198822da0d63c0c2ca5f9397925114fa35bba01f7819662f1eb8002dbe568ace7427d5e77274 SHA512 9c2d22728d42d048ae4c05b44073f6d4883ebfd8d1a8ef071d760aef29930140ad6a64c6b71c0a4800e1d2840d683b508280a816e05c3e0574e93fbc0249296d
+DIST thunderbird-91.7.0-fr.xpi 708188 BLAKE2B 5c07cfbe7dbbed7ce6d8a941ec864e9e906b07978da04383d0c122d8eb8c12056728ce146cc77695f9b187d66726d65fd9cea39c48df86698f2f8fbb45433360 SHA512 6487c694eccc34c6ed89a56c936cf1b31c7f9b1be5fb7e0e8e1a89449d5bb7188ddf81d705fe3719381123d252574e4ddc2577c330111b9a01d97ff749207afa
+DIST thunderbird-91.7.0-fy-NL.xpi 689192 BLAKE2B 6b54b5550d40d3406447658fc1e5aa3068c52bc9c9c2132d9e61c897cdf3068b67034ae2379dacd749272a92d7085f10bad5658f55c365589edde7ddab3b1f47 SHA512 b99b6cef91a5d21e73ff169bb8649902e3e2a7f25ff06a159982e0c2194443e62438f4acc4b6f45c6caa65d896b67c61bf44041eece060cf934cf7be00a20aee
+DIST thunderbird-91.7.0-ga-IE.xpi 613122 BLAKE2B db6781a8143474c3165e4b24ecb1c6fb9d20c5af52d6285ffdc04cb4c6026a0fdfcdc992b1824a7488c8192598ba31e6f472b1036a97bf61cc54060a61872eb5 SHA512 c1f7f79ebd86f7208af7dfb83f24b3c3d22b44af6c7df55c269ad2a7e29b08ec66e5e0b6c90323ff142494f425c011b827c0def3b2a385798275cf65b3215b64
+DIST thunderbird-91.7.0-gd.xpi 640646 BLAKE2B 8f64ca3282e7bd312249137a06bed3cb77e9cda4abc78678c6cd7dd2202d2fc1eac797eead1747fbcd749365fad3df78c9a0ac02c48b4f545951a986630795d2 SHA512 af694ca10b91f614a7f15bd399d8ebfdb0282f00a50a1e69e9fea3ae5fe52a421313613af2aa917142cb228fbcc581f50992274da525780317d07550f96c9556
+DIST thunderbird-91.7.0-gl.xpi 677615 BLAKE2B 3815b05dcc9468d641a1e27e26836d35b9f375ed314a7f87e41e38af6a705f1840720cc41ede1adf5ca4879cf07231db11f1923bc21504330631d80998566d3d SHA512 54d657273a3b70573fbf30007cbadd1cb1166e2ad65506cd65126cbc9318c3b13d04166f5c599d6be50139f326b8fb3875983c5acdac85533351281977c8eaec
+DIST thunderbird-91.7.0-he.xpi 671908 BLAKE2B d5cbdbdd3a351072d13168582bce0587281ba4b93bb8d5f54a63fcaf070433d00b014c1b2dbfe5aacc252a1544d95636d5e08452231034697636ad91de9b8df9 SHA512 5c86c8431eeaaff22edd3a2832ab0430c8314f2056523b60360eb94dd148c2d85048d7313020e6f8fccf3febdac8a1ee2dd07c913bdcbe44ec74c951bfea0f8b
+DIST thunderbird-91.7.0-hr.xpi 646309 BLAKE2B 7a311645bdc0e523b6db0af851a3a579c12e9fba5cc81f9385ed09fb14183bc916369a60766d0d340d75969b3fd5799eacc1cb3b50cdbfdee016d1eb4f8cef9b SHA512 5f023a91c87ca77572ab11dce5781d99230b9310f61e3cd353b31e67f53070f7651dcbf9af8edadafeaeeb6cbdcc3156911d93530cc5e44d4e90fea1a1ec693e
+DIST thunderbird-91.7.0-hsb.xpi 716150 BLAKE2B ee0e7b958098969ff9660b04172c446262855babd870d4c3979acb6485df25d652dceb21ade9e132a16d3e5119a6c7f63a0947558bd49a138c948b44514bc74d SHA512 1f304f2dca8e75972c8ae164cf743e23437e37db4d3be8b463e2e0ab290f5f1ef3627a1117cf845438884d04baafa2351aa44b55129f8ea2428a88ff2321c433
+DIST thunderbird-91.7.0-hu.xpi 718772 BLAKE2B d3a692c06388fd1316ff0480869e087c7fb440ebb049764709b7bb45e54fcd328ddb07e83d20e386b5f80222fcc4ffecc09c6c9d794d7222f34890cc23563011 SHA512 ae17f5fe006d9f94d402f49efe86bb61e8e4e72e1d78778fd141f810ee096de429d4cc58a950423be6f9e5761c71984eb09c63dcc44eb2a187ad75ff0954ec37
+DIST thunderbird-91.7.0-id.xpi 644512 BLAKE2B 381f0b73ea8e42600070b1e4cbe63c8ca08751786540d8a0adaea8135c9d5a526c1acb2a99f3de567097422f75f2fcfd1b8c75bfa38ff01e09a4dba6175beaf0 SHA512 d003e7a338ad824b7a45a516881a858f20069608b918466a72b699e7409ce4959463573912c165c4f9ca4828501c47c99c330cde1aa0af80a452c080d97aa3ab
+DIST thunderbird-91.7.0-is.xpi 678581 BLAKE2B f3a4cc6c07be1c2795fe30182f650a28dee7d29e75b9e8f21ef7548f3288b68eff09bbad1e745bd3cbd64f447ed766338d7e957bde98145062005eaf6f9487e9 SHA512 69d4175b0c64b98631a28ce4f11d88243d601d884a4d93a32333051bc70e996e3574864dfc0e7f6001467642b02a6b1e327a199cf2862f119c379ab1d954ee82
+DIST thunderbird-91.7.0-it.xpi 609978 BLAKE2B 136ef204cf6a1a5b3b71d9f966e0a9c5a010170501f52b8a0dd9a51f46ecfac01985b17768c48c3c359294f8f9d3c1a5c3547df70febf82c5805a8369fc0bb4a SHA512 31e7726c375a0a979d4f41a2c8169be04721b859b5644245fc965d53cf2623a2d255294de81b76162a6eb9b8f7c81ce861c0dcfef40e9b105d3073aab72aad03
+DIST thunderbird-91.7.0-ja.xpi 754200 BLAKE2B bab61bc0af9f22298ba0a1a6f8684d951eeeb1b6eeec0281379185f10d01e41f2a45cadd38a2dd7a12ed57a096f2d0fe31ef828efcc9cd6c17afeba882d6ff50 SHA512 a16b2968b609be3aa8991bf629720cda98e0bd59dcacda0e1af5f7290c88f58a02476f27ccc0b8d319024d86204c633d31662a25c32fe027c7077bb6e374eef7
+DIST thunderbird-91.7.0-ka.xpi 755748 BLAKE2B 85066632acb72ab703a6e7e52c326ed591bb7ae73ca767e6616460f32a660830feaf464b2f60b8cae438adb055cf8b3d44cef231a3494aa0c7040222b14f2c9d SHA512 5d6ae1d713dc95a591af95b78400adedb9cde9c5555c775488b944dc5c35876529bf23a2c69bf17a72f4efe2cc95298440860a6c4ecb1b86370988c459124ea4
+DIST thunderbird-91.7.0-kab.xpi 677012 BLAKE2B 0c67e59f85112cdb6521cc5752f467d845310fc2b4267352d9eac24f3eb41d4725aafe12a5688da1a64821a713acf910de5beb9ea4ff43a8d69165153a423418 SHA512 23cc0278accc2acceaf22fbd01767cf4d3dc9e820f71f28f6f3097f6ca82183505ac2988eb9ad5c05ddec1731e1279a3f2552b7ca2071c55995f9d62a6e6fe3b
+DIST thunderbird-91.7.0-kk.xpi 745028 BLAKE2B c052047b91872958adf684554ac9ef915c29ef3795b11058b3a98836556e4642311d82124ee9a1c6a443b14b24186bb93579529cd0335801bf080432807742a5 SHA512 447a494116d33f4804fd0273ce54278fde19eff9a059d2b29df024759a10f633abf98cf45764438b410e63fbde636543767d10de82432c6a90cd91f8389d0446
+DIST thunderbird-91.7.0-ko.xpi 703524 BLAKE2B f92942197661dcde8fee696d55faa38841b53e471a10d9831b4d3206c7d380a1c4666289b30f3bc992aa6e4ad6d650a6c5f32e7018f2f6a950ac93ced91753a1 SHA512 8393c0f0964d9e86f872f7de0486dfb4af7ee34c9d023d996239ddbdc5e8368ccc2b01adfb4d83ebb79b678fc6f65a4d057ff5125483844e009abff80e63f37f
+DIST thunderbird-91.7.0-lt.xpi 695676 BLAKE2B 9087137199a439bd52ad392c4343a674d57e2d24e61e425576b18026a8c5038d4491fab273cb1b3134395b4d704e77c5c1e7e37b90a99d736dc59c113cc2c8ad SHA512 f88e9e9ee428efc9387066b7d37a21cbe3f6d2cb99cb93addca773ec0c2379580383a4079cbeecce37c3e3b22798ad6f6a3964f0f6a71a5a7d9abf1efc2834e1
+DIST thunderbird-91.7.0-lv.xpi 618453 BLAKE2B 8e1515c8e9370075eba739f8f39c71918e7503df24bae8bd2c1e2335e3dc989831361476e26f92cecc206808f4afa05e18d468bdf14f8ee025703255288f2b66 SHA512 6ea1c3c8e34bbbd0e5b3693962261e511baf06e6f5d6934d9785a3f7cfde71ab0e79a977453276a5f966122d6af369fe6b7beb54f9983b4744071109a2148579
+DIST thunderbird-91.7.0-ms.xpi 578078 BLAKE2B ab4dba9be9bb578bebdbf07bdb7d57919b668b8c1dc77ef8271aa5149fec1eb4098de44db1b85a3c178cb1dc475da9d06dc895dae52d7e1c67b14923c034a8ed SHA512 d9b55e6d0db0f26f7f98c706c5add434ba5874e2abc231cc8e27863b218e771e218c006d696a4b2d44474059de92dca627d03ed1a487a9c1aee542baf407b4b0
+DIST thunderbird-91.7.0-nb-NO.xpi 652517 BLAKE2B 6671826fe37a2c124fb34f5e54590464d4a0601963435ff608d80f67d4efbb0831d88dd78deadbfb83b073df153131bd3750bb855f2e98abb56bb0afde93b38a SHA512 c20b5205e570e89ef159235290fecb19d924c35e7f9436e8c69407b7cf648cbb8c0173f492ac446a3815f96e21471064688da1c914b4f59ddc7a27b84d57fa27
+DIST thunderbird-91.7.0-nl.xpi 682119 BLAKE2B 34833e1acc107c191ce1264fb5ceaa113fb75218d6036f67149e298ec455b9a41452c964ad6e6f5dc00a47b9ef273f068d5e21bab5b8d22cae36cbd4283a66da SHA512 d302d3395bcfe16af4743c9c9068511a7a8ceca129dac45db2ffc231e872c0559f9b32493bf7f37210f97f8b40e5026c8e604884d310a6adab6e62d1d68b199b
+DIST thunderbird-91.7.0-nn-NO.xpi 656077 BLAKE2B aa1119744daa2f6077df14eefb9c4a2292452809faa6b33f7590c85c6d24fe54dc8218d3bb9c524b2d73ce60a9696b2689ede14c9c4bd59855faeafeebdc7d32 SHA512 588be1b0d86e28b3864df899129971d94b5c2696eeb78b17f06b88821fec0530c27bc2e994faaa0d42c686939783267b7d221a80b3b317d3154530c91ead32b6
+DIST thunderbird-91.7.0-pa-IN.xpi 652275 BLAKE2B c0a477fb6e06e1776c029aee7344e5ed074437604e0a5251c7e0deaf3094fa0f071b052d8f7b99c6b6a6cb9e4f62eafb883171ba5458a3a2b880c11152ec184c SHA512 00308bc75aaa868ce937253513e0fda8a0ffa947780b4be760ab4d65cad239adbd15dec1152d72bffd3a82449e0668bdc133e45cc6f4d38355798dba257356be
+DIST thunderbird-91.7.0-pl.xpi 692824 BLAKE2B 70c765253f1d089fffb40ee3ca543d49108253df35b59ac74dc382dfc39ae9357b1359cfc56b2b864530eda8a21066a4094a1b15e4c05b2555388b2e30aaae10 SHA512 4ba17db15c17c438354657f8f1c0490cc7949d169898f768f4aecdf069e12ad4fd38b9aba0135bfda4fafa9bbb00f4c69299d9f575f9e67066a347e47e5755a6
+DIST thunderbird-91.7.0-pt-BR.xpi 689676 BLAKE2B 2369b195a1a149b5aaea76d3b3f78f5c231bc05cd0977a2b28188754f2ad01bae280331d0f75f7d56389ed709db6db0deddea59f39926950be99085a9275acb6 SHA512 52ee5e2cc2f4735f0e7bd2a11d406bb59c3672cc83adff77b28cdc4f3d63446bc2e4f36d048c320aa1b07b99a7eb1e5f17d2ad9e67dac1c6771b8e27853cd0c9
+DIST thunderbird-91.7.0-pt-PT.xpi 673203 BLAKE2B 8266834f15947a709e644fdc8064ff00d979cb8f71c8700965b1497e61b5ea4c7e4f00e8bd6e8c9ea8fb699ffe4310f3e9d323ae52d549f648112c4aae0bbd26 SHA512 146fffbb8eec4ff6ac36a44e19b406fc0e1916dbb96c8f6cdb929954de34640151f9afe7d793778adfc178e885b94e2c2ddfd7d2e167f63cda7cbe385609cfea
+DIST thunderbird-91.7.0-rm.xpi 684945 BLAKE2B 073bbd67ea2aabbcbb532ac3b6ac67c565888828ee78a8c27aa0115ec2c07f21e4b8fdbfbcb273783116458d1c3a3985cb0a69393dcddb2dc158f10dc4dc8f1f SHA512 f5430c39f8401d7e824a6792dde84d62076b7dc309cb6da963372248d87f36dde7ca6f3b2a81a89487c80b362bea95c4b4a4aeff32563c0ce014169b99468b79
+DIST thunderbird-91.7.0-ro.xpi 661276 BLAKE2B 72ba6fc4ce0c7d0a6a4c162987422e7b163103e44744fa99234f81d3a3c56843208c86a030653fd2705d39db7715b1855050862d1e76c683253a1e4c10eabc1c SHA512 c16fe889211f61ce493dbd50bfb90c586cb8f7e6a965469293ae616737c031007dceefcb271112d1301ad39e39f2e3f58daddbb822c425bb8e8e1596020286bc
+DIST thunderbird-91.7.0-ru.xpi 791767 BLAKE2B 88c581d2db323cdd89266e9b83ca196275b23a33d2ba16da7802664ce834dbc991364b22067a0c756d51d2e1c2defee2b387f484eccfc926cac18dd4a57c5680 SHA512 6020e09a340eae3eae48e729d99bb0bedb5c44b9bf736c711de09695f2445b22dc77144de941f21120baa6c1967522e3e8115f2456119f86f04d08d6fe5e1135
+DIST thunderbird-91.7.0-sk.xpi 718684 BLAKE2B 5922b979258d570e272541f7f7ee43f2864fabe551c1ea3d36401250685e02e195c27a064e4b8b5f9555841d1c143186b945a55c60542e1543500f8094234f1e SHA512 50abb344ff790ca18c5a3a283b7dd3c737b965c55976627fd0e91f11a7ac0651be51381d73029775688019e52c354b2712f49afc443570aea1ae43b09adee76a
+DIST thunderbird-91.7.0-sl.xpi 677316 BLAKE2B 5408b50f82601ae6a06b8f6425e554e6242b3fac911ca33a3ca14f971193c69f9836dd3e1f43b208ce102b8de8cb5cb5e9d78e1cd1ae853e9d558200394f7ea1 SHA512 4c08e7ca558ee87e67ed34cd3f7fb1fce2854479ef9ab510b1c071966f80b3899f478a50d67dacd0567e645437aa5b3bf30931161342a532b9154f016fd63a0a
+DIST thunderbird-91.7.0-sq.xpi 700482 BLAKE2B 91f97be72fba9ac6100512e2c2bf7285991315d06d87101bb00fd71f77e4b9775af79ec4f8834f1a9c68eec8f60b19a0aa3f77098dd623024dca946b26f812ba SHA512 3a0c11a105c6bcfb395ee01954641e1f594ca5840ab0467ee866ad58a0f6d3984bd2f619fbe25c0d85d3a6ebf80310156c03f5e9f876cf6ac6a1ed61855f8232
+DIST thunderbird-91.7.0-sr.xpi 708977 BLAKE2B 72aa2cb1f889a50b416619865c8298b9d411f16595ac7f8515f964e0d39ad9dbb7d837dae831f56350a415693b8bc935e0eafb1a58e854c77e7fb9242014b666 SHA512 a005b30ab101b82d2666b50d0977a5676e761b5ea700bc6fabd049532ad967002d2b4ee92d6199507a49e1faef173ce4b09909d15274f759b363f95731369abd
+DIST thunderbird-91.7.0-sv-SE.xpi 686484 BLAKE2B 70b400d2c85a719e63062cc84a607353a0ee4aea9f7481ed07c275566b12ddc36b548bce2bc5b4026f6474cac3d033e06231e0b277d6508a2716e9085206aefb SHA512 4de4489b621168ae04a51cee3686adb16e2def042f196c026a9ef543abaf93a01a57e683d8e6b2df153c09d01e2c8c32898271f23dffdf07b062759cf1b9e10d
+DIST thunderbird-91.7.0-th.xpi 746638 BLAKE2B 34c5fde9fd2f4c641ef417fefb923e6218e3b94c4881f57897c3bf8f13b2429449e166f0e332a913887bd98ff6d453beed283f5325ec56baac97619549009060 SHA512 a2d301bb33660291f3771ce47c2beb2b75331eb1a0bcfa55a26e5e3f0647ed4aa24084c40c6d1adaada8a3353d9b2231577426ae08714afa3fd52b0927662d47
+DIST thunderbird-91.7.0-tr.xpi 695166 BLAKE2B 7e8a884f3fed23de1c6c14cba9fdfd33fc4aeecd27e7fd3e7b064c87eead01029591af9f0c51c3e3f4711d83f7b049bea29235d6f8d60496e5ac45044c4a7fbf SHA512 6e0f44387efb1f266847f685dcf63508056b9d69c7e05c3f7eb10bba11411213a2b63ed12f1594c4a3d3f2f8d849268094335053303d2a1d3196ac29e135bd80
+DIST thunderbird-91.7.0-uk.xpi 793449 BLAKE2B 93db2a7e13103de17bc5a1e351ce69bb55ff0ccfcc81b80f3716b24476acd777c98cfd3cc7ca08d9e5df2c2477ff46e5b938a48d2eae66d9625e9c7ae47e935e SHA512 f7770d351cb47cffa7047747f09385072de8367c900afeceea896795b69c42c403e8d30b15042e3d205e8c9640525209a6807cd806a042405ee7209b45960373
+DIST thunderbird-91.7.0-uz.xpi 591029 BLAKE2B 809117702552353933bea93aee7d5b1265a569f34d5ebd43d03bfcc8b0dbd010c62e6f7255e51bd81429476bb8ad438c7db525e60b30c175b4828983e4e7bf96 SHA512 caf1c6bec7cbb9945efb87214d2d3e0186ee05f4069fa77d6d531823a320e9665f29493a667eab0c4a61303f0428de709f0ff447daa3da8e07daec0583ca5074
+DIST thunderbird-91.7.0-vi.xpi 720551 BLAKE2B 894926fa3cbfe5fce7191eb1f34f11e09d36494af51fde180171785d13956d30fb8d90f988cf6f71e89ac8f0b805db76f38b708005402d8a85f8e151d61ca43b SHA512 6745dc0535f754186a28425d9c6c847c393883cf8c3cc5fcdd904a7b2426a2f92f68f0bbc3cabc162784c563f81a855b676096bcde21029262006ad247c97320
+DIST thunderbird-91.7.0-zh-CN.xpi 726136 BLAKE2B 2def8d6a98822e9c886002700417cf1a33db10551419da964fb818c31c7adc0dc47599ab8f4fb00f63373cabb8d20190d28ba7b7c5e6111e7522a96649d0b840 SHA512 5447b0b16597a500e3339d7282bcdd9e6927e719e8c8afa5c71cf608e7a18959be66a4cb3c49eb7400c8fac38ee0ad7d00b41ace819288eb1a9cc2456a32b7ae
+DIST thunderbird-91.7.0-zh-TW.xpi 727309 BLAKE2B d6dc9650e74a0df619df07d17f3f694b72018fe2335e315c30a2efe0182cdec222ebc24a5b11de2b434a6ebd7e9c9309ea0410bd4d1f45bcc49eed79726aeed1 SHA512 14e74a10c7f0b213c39c0cb1a13d9951a6129d4b009c94c24ea4e346b6ac20d9250fd6a0541414d87af65267e7f6455fd343a6ffa1a2f51617f52bba2eec90a6
+DIST thunderbird-91.7.0.source.tar.xz 409451024 BLAKE2B 0fe4c7a2da979a8061b2cfe0dce43b675f8854549a20ddacccccb52e20ec814e3c13776ece89247c76e82496ecfd886c7d23d0997841a3c999803c917eee5651 SHA512 2afaee16f155edcb0bdb46ebe282a733cf041ec6f562aebd06f8b675e46917f6f500fcc532fc54d74f3f4b0b489a88934a2c6c304f849873de4bc2690b9056a0
diff --git a/mail-client/thunderbird/thunderbird-91.7.0.ebuild b/mail-client/thunderbird/thunderbird-91.7.0.ebuild
new file mode 100644
index 000000000000..76159b5edcb3
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-91.7.0.ebuild
@@ -0,0 +1,1126 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+FIREFOX_PATCHSET="firefox-91esr-patches-05j.tar.xz"
+
+LLVM_MAX_SLOT=13
+
+PYTHON_COMPAT=( python3_{8..10} )
+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,polynomial-c,whissi}/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 lto +openh264 pgo pulseaudio sndio selinux"
+IUSE+=" +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-libvpx system-png +system-webp"
+IUSE+=" wayland wifi"
+
+REQUIRED_USE="debug? ( !system-av1 )
+ pgo? ( lto )
+ wifi? ( dbus )"
+
+BDEPEND="${PYTHON_DEPS}
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.19.0
+ >=net-libs/nodejs-10.23.1
+ virtual/pkgconfig
+ >=virtual/rust-1.51.0
+ || (
+ (
+ sys-devel/clang:13
+ sys-devel/llvm:13
+ clang? (
+ =sys-devel/lld-13*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-13*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:12
+ sys-devel/llvm:12
+ clang? (
+ =sys-devel/lld-12*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-12*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:11
+ sys-devel/llvm:11
+ clang? (
+ =sys-devel/lld-11*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] )
+ )
+ )
+ )
+ amd64? ( >=dev-lang/nasm-2.13 )
+ x86? ( >=dev-lang/nasm-2.13 )"
+
+COMMON_DEPEND="
+ >=dev-libs/nss-3.68
+ >=dev-libs/nspr-4.32
+ dev-libs/atk
+ dev-libs/expat
+ >=x11-libs/cairo-1.10[X]
+ >=x11-libs/gtk+-3.4.0:3[X]
+ x11-libs/gdk-pixbuf
+ >=x11-libs/pango-1.22.0
+ >=media-libs/mesa-10.2:*
+ media-libs/fontconfig
+ >=media-libs/freetype-2.4.10
+ kernel_linux? ( !pulseaudio? ( media-libs/alsa-lib ) )
+ virtual/freedesktop-icon-theme
+ >=x11-libs/pixman-0.19.2
+ >=dev-libs/glib-2.26:2
+ >=sys-libs/zlib-1.2.3
+ >=dev-libs/libffi-3.0.10:=
+ media-video/ffmpeg
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXrender
+ x11-libs/libXt
+ dbus? (
+ sys-apps/dbus
+ dev-libs/dbus-glib
+ )
+ system-av1? (
+ >=media-libs/dav1d-0.8.1:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-libs/harfbuzz-2.8.1:0=
+ >=media-gfx/graphite2-1.3.13
+ )
+ system-icu? ( >=dev-libs/icu-69.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= )
+ wifi? (
+ kernel_linux? (
+ sys-apps/dbus
+ dev-libs/dbus-glib
+ net-misc/networkmanager
+ )
+ )
+ jack? ( virtual/jack )
+ selinux? ( sec-policy/selinux-mozilla )
+ sndio? ( media-sound/sndio )"
+
+RDEPEND="${COMMON_DEPEND}
+ jack? ( virtual/jack )
+ openh264? ( media-libs/openh264:*[plugin] )
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4
+ )
+ )
+ selinux? ( sec-policy/selinux-mozilla )
+ !<x11-plugins/enigmail-2.2"
+
+DEPEND="${COMMON_DEPEND}
+ x11-libs/libICE
+ x11-libs/libSM
+ pulseaudio? (
+ || (
+ media-sound/pulseaudio
+ >=media-sound/apulse-0.1.12-r4[sdk]
+ )
+ )
+ wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
+ amd64? ( virtual/opengl )
+ x86? ( virtual/opengl )"
+
+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 use pgo ; then
+ if ! has_version -b "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}*" ; then
+ einfo "=sys-libs/compiler-rt-sanitizers-${LLVM_SLOT}* is missing! Cannot use LLVM slot ${LLVM_SLOT} ..." >&2
+ return 1
+ fi
+ fi
+ fi
+
+ einfo "Using LLVM slot ${LLVM_SLOT} to build" >&2
+}
+
+MOZ_LANGS=(
+ af ar ast be bg br ca cak cs cy da de dsb
+ el en-CA en-GB en-US es-AR es-ES et eu
+ fi fr fy-NL ga-IE gd gl he hr hsb hu
+ id is it ja ka kab kk ko lt lv ms nb-NO nl nn-NO
+ pa-IN pl pt-BR pt-PT rm ro ru
+ sk sl sq sr sv-SE th tr uk uz vi zh-CN zh-TW
+)
+
+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="6400M"
+ 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"
+ die "LLVM version used by Rust (${version_llvm_rust}) does not match with ld.lld version (${version_lld})!"
+ fi
+ fi
+
+ if ! use clang && [[ $(gcc-major-version) -eq 11 ]] \
+ && ! has_version -b ">sys-devel/gcc-11.1.0:11" ; then
+ # bug 792705
+ eerror "Using GCC 11 to compile firefox is currently known to be broken (see bug #792705)."
+ die "Set USE=clang or select <gcc-11 to build ${CATEGORY}/${P}."
+ 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() {
+ use lto && rm -v "${WORKDIR}"/firefox-patches/*-LTO-Only-enable-LTO-*.patch
+ 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 checksums where we have applied patches
+ moz_clear_vendor_checksums target-lexicon-0.9.0
+
+ # 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_src_prepare
+}
+
+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 && ! tc-is-clang ; then
+ # Force clang
+ einfo "Enforcing the use of clang due to USE=clang ..."
+ have_switched_compiler=yes
+ 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)"
+ tc-export CC CXX LD AR 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-install-strip \
+ --disable-strip \
+ --disable-updater \
+ --enable-js-shell \
+ --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 \
+ --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="${SYSROOT}${EPREFIX}/usr/include" \
+ --x-libraries="${SYSROOT}${EPREFIX}/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
+
+ 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 system-libevent "${SYSROOT}${EPREFIX}/usr"
+ mozconfig_use_with system-libvpx
+ mozconfig_use_with system-png
+ mozconfig_use_with system-webp
+
+ mozconfig_use_enable dbus
+
+ 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
+
+ mozconfig_use_enable jack
+
+ mozconfig_use_enable pulseaudio
+ # force the deprecated alsa sound code if pulseaudio is disabled
+ if use kernel_linux && ! use pulseaudio ; then
+ mozconfig_add_options_ac '-pulseaudio' --enable-alsa
+ fi
+
+ mozconfig_use_enable sndio
+
+ mozconfig_use_enable wifi necko-wifi
+
+ if use wayland ; then
+ mozconfig_add_options_ac '+wayland' --enable-default-toolkit=cairo-gtk3-wayland
+ else
+ mozconfig_add_options_ac '' --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
+ # ld.gold is known to fail:
+ # /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld.gold: internal error in set_xindex, at /var/tmp/portage/sys-devel/binutils-2.37_p1-r1/work/binutils-2.37/gold/object.h:1050
+
+ # 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 tc-ld-is-gold || 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 MACH_USE_SYSTEM_PYTHON=1
+
+ # 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"
+ 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
+
+ optfeature_header "Optional runtime features:"
+ optfeature "encrypted chat support" net-libs/libotr
+}