summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-10-17 15:31:44 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-10-17 15:31:44 +0200
commit63dc683b9b32aee8248ec47107354df43d132dc6 (patch)
treef4f37db3a773fc4398234763d52a49b509bee1ea /mail-client/thunderbird
parentwww-apps/hugo: Fix remote-id (diff)
downloadgentoo-63dc683b9b32aee8248ec47107354df43d132dc6.tar.gz
gentoo-63dc683b9b32aee8248ec47107354df43d132dc6.tar.bz2
gentoo-63dc683b9b32aee8248ec47107354df43d132dc6.zip
mail-client/thunderbird: bump to v78.3.3
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/Manifest65
-rw-r--r--mail-client/thunderbird/thunderbird-78.3.3.ebuild1035
2 files changed, 1100 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 85098438bef6..21bff12c41b2 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -64,3 +64,68 @@ DIST thunderbird-78.3.2-vi.xpi 675058 BLAKE2B fdf93c745b6d06a5fb7b8f5e1632369dd7
DIST thunderbird-78.3.2-zh-CN.xpi 687627 BLAKE2B 954b3b481d8ebb5b90f5d715a91f70af6f472b74721eb98dd18f565bfe8fc539543ba6928e095fdf418db2c779141886db6ff69220bcb0e830aeb55834093102 SHA512 6857b1fa099f0b9c4af88edfd719aa37b632bc3cd659b12495dffe87ef606c939948c09a2737faa42db34f385775854ab9610f934acd326e5d56596471dc7e26
DIST thunderbird-78.3.2-zh-TW.xpi 688071 BLAKE2B 11825906d0a9cf1182ce0e2beb171f51dc93b3399b5d817d46f6c756cc866ac5db8f85ec5b28079ec20acb2a5de75d181901279a20003592b3719ffaafea2e36 SHA512 3590fa64a247f7e856fc19de53284a1c70cb7aa6d226c08d6ca376ee3ec18cdf7730193778a670e5dffd3b7df483f4984188dcc8bd8665c4f5e46528ca1e8ac5
DIST thunderbird-78.3.2.source.tar.xz 353894084 BLAKE2B 7d00fb365e6f6fe9be78e751abe6cbbcee46e600b3fb1b29f6ad9584d5083ab0f7cd6b9342ccc71ec76344187009909405aff08d7e4b24ce3e9e7d970734d9de SHA512 8c0beb2a54f34f9b06605ddc54443c8dbb4e376911bcfa2d5c4b235d4e6f484f1862afba977d0cfcac1222c1b738f967c9b74397ba99c84bd16cc70480a455d8
+DIST thunderbird-78.3.3-af.xpi 548783 BLAKE2B 905666287c8dfac7b59a53fc632e6bff98b20f5d7a7756cd2832d9f8b058ad58658c133f3438ccd48ffa2510490349bfbc745a9884839cd595f1e4c7ace479f1 SHA512 149a3b5ed00c1ca8a082d1a9fc3cca25ce1ed965a6dddab03a81f1320c06b77beb529a82ae08f2d4d4e6c6b1460c457968cc89d584e8102faa3a70355e2394ff
+DIST thunderbird-78.3.3-ar.xpi 649067 BLAKE2B 9e970addf12f64a3a9828ad6b803085d534e73ad2cf008b3b408056fa3940bc3e058504312befa2f16e9e303c146f44ffa1f22b5f372bcd4e9481463e568a43c SHA512 78bb0e0fb5d62a2b6828061dfac636e1f8a893473175c0b0ce07401fdc4f1dd7d2491c168fc444c6d0828f69c4d5793f250b0d006b219dc8ac8988958ad739e8
+DIST thunderbird-78.3.3-ast.xpi 561704 BLAKE2B 052f1fa972b88c0b1a0559349e1437aefb533862fe7f52347a334153060e260b3d0022ce6b32e6995e5af6df4304504a81da7b112b3bac591351f494ee64bdb4 SHA512 09feb1bad71cf73016020bd23b2d757e74ea4e612576e78b6ae79b5cc4a24450eedc8ba2e0e799b28aa6f124d9932edd10b0345d480ab8081d29099dbcae8820
+DIST thunderbird-78.3.3-be.xpi 667125 BLAKE2B 0cc9e7cb76a966f05113382e24efd24670d9403fe0fd58f869019f2b1cb94b299af395a6ae4141084ee79c95d31ac16409b0943903d12550c3ade01ab406cb87 SHA512 b76002f14a7dbb6dca729f39bdaaec084e5eb8be9214c61e409b3d17c147c35f2acbf622bee0e734218ce9f8af095530a7efb9d883dcc48b9d7fe5659cc3355e
+DIST thunderbird-78.3.3-bg.xpi 672892 BLAKE2B adb2a40c85b8ed202bad21f9b6b8a3b49d65163d7bcb6c98500bbdcb30f6ddd94d5c53ab9a0111ece1c21b5ebc4c2e9937c81ad4ec37d26bf2d5b51772dfa1c5 SHA512 4f5d22b9ee5d50baf99d5c27097d2883da4da62771867e9a2cea8a22e06bb0ede9eae7878d33bc5d48d96dd16e5c23cf56a1a92a3d712abd99d1375e77a5e41c
+DIST thunderbird-78.3.3-br.xpi 604966 BLAKE2B e85d364ce2e83f0b7758a72c215871c3ce8585cbb75632980c30173728a32e3d1ca3151b8d6b76b755a9653622b6b7958626c292e265d427550b1a8e531bf5c3 SHA512 e3f590d3745fadf49c632804e9eae624e84c2b3d9ea27b9e5a177b71e163d2899783bd4cbceb93a20b8adee12b4c77688acb9245d93da7048bcb6a3534ab2bf2
+DIST thunderbird-78.3.3-ca.xpi 620863 BLAKE2B 1ab07ebd0a16d9d2a2dcb1c9085020c1dba058be40a0fa000c5c89748dfda2d70bb2732a391e0c456cdfd9931fcca054f5045c9cf7fa7dee61b25e9abafb3f5f SHA512 2ee5d597a8254087c74de37669542040d31deeb0cb8b7c8038ccd6ae93e0b8c0db016460eea09748378355987ac38c6eebb11462c9e55aea5bbb8d54ec13c65c
+DIST thunderbird-78.3.3-cak.xpi 636106 BLAKE2B 0857f8ab2e77c34bcbd7ea00b2edba3327493e05e6c80d695dbc69c5f702e28c5ee162cbb34a7dbaa7c1eb5d8ce478bc234273c74c6ec00d97e79651f91c0bfe SHA512 3a0b80c0757da46ce184d84fed58c701ff4027abfb69490e097d17011d4e7bc6902928daec42686d326d3e5f57cf1f28775995bf4e68ab156b3a1565d9b85e86
+DIST thunderbird-78.3.3-cs.xpi 635781 BLAKE2B a20e459e9106b542e83099b1c90790b82daff8c7ba9c3e2b16c6b261a63bf629086864ebed1d94fae55257c87302b2d344941e4d824f271b3a8d495df7d8085d SHA512 1cc48fc1d6920077bb5dd46c1ac9eebdbbb42c07bb28d5dddd50ed98ec41e8445efb0a595be17b6f301b2aac14c2b0073ed21246cfe0df6d846ff8bc920891db
+DIST thunderbird-78.3.3-cy.xpi 646680 BLAKE2B 06fcbc2fc313c7355a1db873fad5563f28a10b59f2cd5bef5c53247bca55e9bde986e28d1cc8356deb05c78f51a0a81d51dd2160d2af422b3cb92ddefbf76307 SHA512 a3a537e4c155831b9c234992487bd564e52be0e57f7afa91db32ddc74d20f42cd9090195f4dc72f7c3eefc3ed7ef8b05c1439912f01d191aedeea95eefc4aea5
+DIST thunderbird-78.3.3-da.xpi 621426 BLAKE2B a774db4a62bdda93a2f828639fe2100e8d9f616c9c0ef4673c4330d04d7151e6226bca6cd8c6b1bb66b8960ad1145de36edba2e0d95f755f944060010beb0438 SHA512 cb3cc2b356333b503488ed755ae0ab2730f3a3c8b6c67039a66ef6bf427780b4c30da7a8154991b317a9c47226bf96672c7cfd78e433f4ad9c236b0a02c13a77
+DIST thunderbird-78.3.3-de.xpi 665625 BLAKE2B bd765ea6dad179e6b5a93807c1e4cf9461216d5acb358daf0eb6655f6682c0d75e3a6a035a37757fe32d63e09c9773272fb65630cc7202cf255e12798d4d7e02 SHA512 2805c1014ae37a871d130ff95c076e2033986f236a85c4554f4ca674bc1125b9ec04954677298ce5859fd615efa43d3beda763eaf6d950488024bab660cba3a0
+DIST thunderbird-78.3.3-dsb.xpi 667215 BLAKE2B 108b8bcc1eac99461a5db55ff8f8d5de6740baf0a263635a7a2188ba9671246c7622b09d0e301c36f19b3757c821655ef38c25bc5182a6e36e6aaa016ad6bc02 SHA512 b0e9a3d487c41dbfcd34654b01bb90ff14d0d49a37d41701a52771f0a2cca5199b249dd02ff6c082fe26e3a6f65aca408128848693ec845fca02694767d34aea
+DIST thunderbird-78.3.3-el.xpi 774932 BLAKE2B 22191f35f630e33b5f22761c5be0e69f0c17b387de82b193fcd3e9e8abf2a641e008e35948594a46b509316fc22a77378bd2a03907c3d7131a9c91567f21342b SHA512 14def3b20b4d51eb56d01ada25aec6fedc1337f36c677e507586b20eea16015dd215cfc84dbc61188cbd15374bb69ac9d50bf5d7308e00bf4fc43d1728aabddb
+DIST thunderbird-78.3.3-en-CA.xpi 612235 BLAKE2B b4654f1b2766f22b4b9ec8fc2849483b7e9ba7145c8642c1173d844f91d6f347a9c479d6c1049c50a2e55f1b88ddf44fff7f858fa967e139ab880458284ee06b SHA512 618e4639fb3f2eb921050b4a13968d800ebb77a023655d2901c5fe30be683d268f0f7486417e8409393dd4aed7eebd59aae2c4e14b20a2aeedc609f5c47367f5
+DIST thunderbird-78.3.3-en-GB.xpi 611645 BLAKE2B 2cdbedac4eb29c9f17c7022d645ee9089adbdd372da1d9bcabd26700ffbcbc69b2adcb6ef38a217ca7ecd58927f76f8ad09e1e4984ba7b5183cbaa626d21f016 SHA512 b6fe9f2d2257e5dfe66ead935549cd0627515313419edfae82bf3d085b7e10ed3d980ad12df43fc166f5d4e8c7499d178505cec41daa8d5970116a757f7915eb
+DIST thunderbird-78.3.3-es-AR.xpi 658245 BLAKE2B 5b45b89b868262a74175a90a452dcf8dfe498cad35d3af683a442d43a50710e54cde25d1b7d98ce217e38ffd0ab18dce241eaf5a3dc9213148d7bf44cfd1d6e0 SHA512 dd3de624952d37985a47a5319f182175c5b10b8daab321c9aee8ab9511230552825453561ca9661370088a365309a88f4bd1e7b91ebe5cdbebccd8f5d303f2dc
+DIST thunderbird-78.3.3-es-ES.xpi 570253 BLAKE2B b116f1d3f6c2fac62009e200a2c54c28750d2090f2a135ed7a0e80b79f557314a3fecaf3c941c45778928165154936592e910c0bf2288da0e350a10cf40a3c31 SHA512 f8df8e473a1c69b20194d876649e4bc2165a982e62759605861ba5d4c0bdec0692e8ae34cc2176877dc50597f8737bc56b4ffbc28f56ad36827ed82c97ad1390
+DIST thunderbird-78.3.3-et.xpi 598154 BLAKE2B 9b9f37ebd6d0565c4560055c2b44e5b6a85666fb86dad6b14e096d68ffac4023e688b91ebd0091ad97bafcb64f80e70dfc7088e07de665c1ed2d1580ed6be303 SHA512 5c83c352bce639971bc0f3194276a70107a4b9b2d1918c6575c96e21366639053ebf77cffd95dcda33aedc0922af1972df6e55da73cbc08ed24ef93c37f00f8a
+DIST thunderbird-78.3.3-eu.xpi 633354 BLAKE2B 116c45ee55a472a00f0ec3d9abe45093a164a6d25b7f3d8a568b762cddb6076a85e888e801700d8211ad68a59f2fe4bfcce388a525c057f18cf1bbd8bb99fbd9 SHA512 1a3aa07435c0c36fdcab9ac6e487bb401c05d65bdb3dd9da8dda56d7dd23d870233ceebc7f4845ae26549c70c6fd48f1677d9717f5f98ecb976d471b545b8324
+DIST thunderbird-78.3.3-fa.xpi 640172 BLAKE2B 0e17985019a8178b1a7f0c3d32eb50ce8c6c008215b21d5256f845feacb716de37e8b511d4ffd5a2c86e3288233720f9073253402161fb3226a07052ab44505e SHA512 8927a75c6c6be9fd3d2b451630fae818d587816ef022bd614f100b776f50a411e5620d8341aca371527126caf9ac3c3ab7de324721b39bd2a2cc1bbd2bf0281a
+DIST thunderbird-78.3.3-fi.xpi 642871 BLAKE2B 978a90e0595483f66ac291d061c8a76abf7216aaef174cbe8cd97bda438b1cbe29ea19080871d01fc4d6a11fb757e669e308e76886b5e65eae3fc8bc2caae8a9 SHA512 af6ab5747d346d2b6794c494b5c8c163949fe83f615f70bf58a971b28309873c22eca5e5741373a7106dbc5ebe97c3285554f7d2b7cf09e344c2b8f4d7c8ddce
+DIST thunderbird-78.3.3-fr.xpi 669938 BLAKE2B 5607f0986c1bcc8fe03dc66406581430c1f16c9578be3694dc7c08bb4842069fdafb36d62519a55bcd549ab59622acf71637f0c2d5f6b72e0de75d944a694b8d SHA512 ba4981e80626d12d31a03716ae7993aae17a1f5d637cdaf67d7af207d8766901993b9ec8ff1514991f78a1ede6e61301364eddf5f3b3752f43d8256bafdec5eb
+DIST thunderbird-78.3.3-fy-NL.xpi 653529 BLAKE2B 27bbaccfcbaa7b02794397d7b75741722311ce705a6498e9a0c019352673192dca8b1245f2187f3d07373f71d4171b1c06be4c64674f5c478e635ededf7586ce SHA512 e8604338cb3f309a40979d990448d68245ef96bb17e0ff9d78defe57b35a1402b320187db072da6fac809bbffccc67d84fbd8f97cdb42d3f714385f162f20442
+DIST thunderbird-78.3.3-ga-IE.xpi 601176 BLAKE2B eee9e7cb6c1199e264baab96449dca7fbdb5b33ed03dad8758eadee4c17f1cd89362796d86092bfc7f90144c0169462f834ed66df75972231b5ed7597070c9c0 SHA512 039f138c3d4c5d6eeeeccd13013a8aa86cf13bfcd98c057b349fa1eeb05431dccd9c2f63d4a649a9da48e44683a285282eff40d2f6b4156b68a764aca122d1df
+DIST thunderbird-78.3.3-gd.xpi 609819 BLAKE2B 5febe73d5135147131a15552fd80d728f7d3be2a0dafa3a0838c8630d49aaa2beb53b343c7edf79d8f40a0806a2003993fab44d6dfefb246db6838fe1b876174 SHA512 53c6257404455a3b3c5f51bd2d23640df740bd91487a4ad3a635809e109d61df2f789bb4cab6a1a31d0bc648f6c7137d5101d9d18ed557f8cd2b80b88539655a
+DIST thunderbird-78.3.3-gl.xpi 616197 BLAKE2B 2646a7e3f250de852d2941a92224c05e7317198d8b77f3e13447a7cca5f543e8bdef8b66a456ebaab9ab120e966bd6099bcdb6798e2173647b3b85374ac9862e SHA512 615ca440727956e6004cf803456f521cc4a4deffed40abe73d94af93e98897f5c806d879eb5c8e61db4f038aa5f385f7a3986513400a71c8dd27bb397dfee5ec
+DIST thunderbird-78.3.3-he.xpi 640983 BLAKE2B 91a089a67bf9eac752ceea2ac814e462bc1557959b0a049bfd091b10e9043de27e0403834361b0353bb6b649e6aa26fdf84ebba4737de705e2683d96a6b78198 SHA512 394177becf13c764972ad32d5535a31e862d28bc07b102781322442634c860e4ad2cf907ead6b555ff54ba452d75dd86ce358db9d6e40ce7f9fc1fbc05dc0320
+DIST thunderbird-78.3.3-hr.xpi 629428 BLAKE2B ef6ef935cee705eb069dbc96652064ed383e3d9ec3b0c1b87907f5204d18c775a948e78f40c6674c5ee6a793216e47a2f1fd602f73b487dce77b706f029b956f SHA512 c95e85cdc285cd9d7bfb190168ae463d2828f6240c21efebbb5d72fe597d581cd5d669f96fb339b08bfb200a1b4ca10bf051297fd297168b71a2a34ccce51678
+DIST thunderbird-78.3.3-hsb.xpi 669044 BLAKE2B 43eb8e367d7fc22ce2ff4590904627ea8966a2debfec63218c1c4216731f5e0ffe4a66214158c0799c889b2225281a287a6673f95371f3cf1302c7f8e7524ef0 SHA512 7713f96a29ea227c20629c47c241c4afea995490d0d9a9a5c1914fcca985a30883d0e9d892426abaf562911945d7f6a9a91f1c46c29879daa22f4783dca799d9
+DIST thunderbird-78.3.3-hu.xpi 680276 BLAKE2B bcc7af3325dc2c6a8ae2c742351e8c5f28a607c9915c1421cb6f52384225cf561a1007eea7ecdb2aa2572a1bf3911ddf496822662d9ef3d308427c8279fec75c SHA512 ead5eef11eb1040efb6a4ad3d60731ec1f0bbd81576ca2de09b4630ff0cba95da662c2a4826541e777643f5603bfb6832672465c534a7420d1d18c63afc0c113
+DIST thunderbird-78.3.3-hy-AM.xpi 713774 BLAKE2B f2464658e8d9a359b4b2d6ed2c9a5c8edfd0727a1a1cfb5279691362874bbd7bcc19dc4667b5f96df8346e6a8ae93ee23c9d2290a5eb1c2c40893bce94b8aa9f SHA512 c187bbd72c5a1e57f97c1852bcd53dc9744037ca7314763d2ad1a7561c0a3f6ccbc97ac8126b799d7da39fc9aede60d7eb8596997088b31a51809ecb331edc16
+DIST thunderbird-78.3.3-id.xpi 621080 BLAKE2B d14b4fd06ca268c7b9c0fb0437b1ccd174573a43953d825e31df612039b3350014d3ecb392be089bf6d8188a4d1e59b92dd26bce2e7ebfac92099ebd49112518 SHA512 3b331421567c1ff7c3837eb9cc9c7f833ae2eefad7755ba272f42f83484ec973759081439562e43fb4af0e45043fe2644190ec9e8da7d9e14fb1cb85d0f7fa1a
+DIST thunderbird-78.3.3-is.xpi 582079 BLAKE2B 294075962902eaef6e90b4539f927a845fe1e2606d809f4148fbebea8ea3d9049e2cabb6358fffe88c1855aecbd5279d7ab249ebb9cf8d35ba314d0f1a51a071 SHA512 6a477e9247f0077f0f4767d76b67d7701ab898bc3621f3769f4405a96167babe666766d75f8c4c343eda09c0767a579c6860cba5d10eb7e6905bfc36db29bf5f
+DIST thunderbird-78.3.3-it.xpi 573397 BLAKE2B 9d39cc0205b155e80cd50131a5fb849d39d42ddcd00aaed4489bd27fd7af841f0d777eec432c28ddefa0f8fbea51c2e53f3cdef18487ad85bec6ddd3b2d597cc SHA512 4213e8a959bceb73534a38e8be760e3cb35799e1a63be7dda7d67c7bfd764ad3ec2992fff4dc4ebd3c29e11d33a123e4128ef1d3ce7b535f9c39303ec423ec82
+DIST thunderbird-78.3.3-ja.xpi 722931 BLAKE2B c057e8fac876cc43d1fda883644fdb87d3e5b85a097a0b1edbb3a69f3e1028dc4680015f5971f4b1f76ede4e990f18d0e7dcfd6e5ef8fde2e6b016852a076953 SHA512 944c5c9a90af7d20c4eb34ba63da0406d7f3f0161f1cb98383715b9ea27ec60ad4a8ad55345693341b800767e6d76ce92f23b8acd2351fe5e051512fc999b1f3
+DIST thunderbird-78.3.3-ka.xpi 717496 BLAKE2B b6fd3a078603b3e5a5646ac80722c08c030e2e6618306ec3de2ef1c106530c110e63a1353f242e142334cbc47dddaf8e5323212b0c29c909a891ce492420ec52 SHA512 480211c626f1ba5ef9c008fc8840b4173eb9d1e215aca3737c4fa697fa8dc44fc6605080dfe65e86528ea1625934e2c37bb151c6bf1bdfa48d9fadf79af80287
+DIST thunderbird-78.3.3-kab.xpi 652362 BLAKE2B 8136167e70ea5ff0fd14f1e56cc38c06b0cc838c79193a71d84f41bd5b8d6e37decabbb76b110d3fcd7df95a69efbfd2f08e702f98d56e118541282abd8a74e1 SHA512 e0b17b223a706c8160ab417b0f86bbb1957c3487b73236da602aca93cf47f94c563957e7367b27110b43e1c5b9565d2a53ba26c5f28e24367626f1f85044b65b
+DIST thunderbird-78.3.3-kk.xpi 720913 BLAKE2B fbbc1f648863e1bf374c99f036777a97c5fb7a471c615fe3b6bd14b26ffba6e3b82c65ad8a778f090373a7a8f4c96375e66c41911efb8c9cf67b958810214134 SHA512 b88d3f61e04023bcbad80e5b2f079f9851ad66d27e7284ca4539ec33f50c7a9bf425e7913e3fe8446ebe165c3244f9e2cb5d0710da0d3edfc378e9d94d3ef721
+DIST thunderbird-78.3.3-ko.xpi 688661 BLAKE2B 34c02a4a8cd5128f760b4fd46f8d33049782addbfea10763dff30094323cb977b21c0c3313f56818e42c71a07cfe7cb13aa8345c3e3dedfb2769ec9cf2b5f928 SHA512 df1236bc4a5dd2d791683d138cd71c21ef225ba55cb67a691ec577dad64f586e6461491261e35f70359526730652daa3144c36b53fc98f57afad0689217cc8bd
+DIST thunderbird-78.3.3-lt.xpi 660737 BLAKE2B d380c1427f2c0f937950f38d51ef6c5b2f7b2573ce3879cd8aad7916cf3b4e3b12b02945d213943f562d20e967304b6df5c8fdea62a5b92c07a28216822afaee SHA512 f2f745a1144c3637b3aa27b441a68947c1f1babb19d2ff911e8e74d4d707ea3a713ed47c887b730bbbf5db9d6684dada7541e133c1fa73ea8da3fd1e48774048
+DIST thunderbird-78.3.3-ms.xpi 572595 BLAKE2B 9ad95a5393939069e33fd787dc292679b506e49b02115bfd91dfe4fa746eb3d2b986910407e990d5d3e8049d71e8f1d1098d2874621222ae7fbb2a7779eec10f SHA512 e2d616377f6fbe632626273f6c34d1208fda38c2b273fd4da11ad7846c420dcb6b201157510e7c3d9c33b095cae787dc197ffc50c332452f4a28ee151b3b1036
+DIST thunderbird-78.3.3-nb-NO.xpi 637687 BLAKE2B 27150a71336ba7a47165e477d5f3d84801f5e1f977ea117778c9629e62215df962ccfed0df32cc355a99fc9002cc592e6598246c2f4eadec9448cc756747357c SHA512 c06667e81284fe965575b436423cb1d9ee98b470fee0339819c433da26b9c517d661fddce375b615f7d49f432d115d2ac6fe5fe6925094cfe7bedec9092f7ca2
+DIST thunderbird-78.3.3-nl.xpi 644780 BLAKE2B d90d634930ad7fcae41ae0e44af0d9a6d58611a4911d95dd3f6a911c2b3ea3963b8ee8bea5b0070d19bc3e30dfe8d8cf59f3b326298df5df429e9d442eda25fc SHA512 066ff372afefa2a63b788c55364c6d9a0183ed26e22d20549a9f8e255353419439b8a1f9757ff2d6bc9b597018b8a70060c40f98232bba4b53c1c6d48c2a5951
+DIST thunderbird-78.3.3-nn-NO.xpi 641130 BLAKE2B 727052680b320b90c02848039d44b88a15b95c8de08a6d8cd7ae155984d37ffb02097896e39987da17eaeb393e0ffb9e4e9bdc487ac6f96695ccf43583b83659 SHA512 15a20a765c8b0b4c7898d71650b5ae649e555059407104e49ec11f91332acaac10c35758e3c7631afd33ffa5317e23e4b0174c46fc969b38d5161b234185c793
+DIST thunderbird-78.3.3-pa-IN.xpi 633701 BLAKE2B 6583201e8df871070124f8201be13c443cbea2225adb6252b2955e22038c504bbf9c8806d6e20677b97c778a2f9af08d8518f9a98c88fa30125899695d341a67 SHA512 8c9feaaad962e6da3291816e65aff7ea8c8699cccb8bee540df484f37186549690b31ed8d4b1d59a07258aae53bc356a49404f7d357c6e02f2b1db3f5b7ce895
+DIST thunderbird-78.3.3-pl.xpi 637565 BLAKE2B 01c8dd789a677c3356b24099f6d31f6aedb5474129b9a7acb351270469abc04d313f231935d54a07cb8fedc0721759b951ba4d378ccc7cf0057c9de7e26116d2 SHA512 c8c071a0a3c7763557494aaf5732a5a29f6517f7549453e5ffee3558042b7572c5e4e70190c38b06f1545187fd996fc23cca0c95bd3d0fe511b9cb4b276bb3ee
+DIST thunderbird-78.3.3-pt-BR.xpi 649867 BLAKE2B 80d553b4a0387020502b9aea58f4cf11177f313b454b351176e03ec96a55f07fa91d28e4e0772170167b6eea1c9151c7dafd2d360d6db994c2f38d4c2cc580d8 SHA512 1b01c0c17e94b093a6fd3ea2651871dd6105fb6132757a4ec4b019b3d31595afd7079d213ae9abe590eb0fb862e9b24a244b094dc3aab49bf8aa115be555e0be
+DIST thunderbird-78.3.3-pt-PT.xpi 655968 BLAKE2B 0eb755f6425e728531579d50bb0fdd0c850f0fd2fdb0d307164954b37d80d2edeaa1bcfbecaf7c1018831cb98783b56ab9f74d1b3cc0ee3de5083e81867c8876 SHA512 98cefe97e1b7ed8b3c934b8364301a6792c943c961c8975b1bbc0d282fdbed30f11cfd9b8b6b5ffc68f98258fb373c70e196ea7e96eecedc91f5e8d3a2be2081
+DIST thunderbird-78.3.3-rm.xpi 646972 BLAKE2B f9d6d62cd799c90d9e85de45ca336beaa2feaaa57d41831c33f39cb41fe4a4817319b1ca2e96c702ed77a3e1d47d4f488b3ce8d919a4820db1fea22e60ce7b39 SHA512 b03b397cfe004e71fa003b71a9abdb152802f428ced202d46db0ecbe404629db5c3141dd8e57b226702a5e7721e0264beb7dad08a4527789cd265f601970de61
+DIST thunderbird-78.3.3-ro.xpi 663083 BLAKE2B f59088c0a5986979f4dec5beff302deef8b0c673052e267d3cac8e9ac5f7b6616241acaecd7b6a55385f10cd6d3689fa8a54e7645b3fb30ad455d84f98aaacac SHA512 80c68cd31c08824a3ab79753cd742c290ac3552265eeedc7986e46b9b71736c20bd631a35ad01da336879d48ed8d8fe687b8ecde2f0ec0d8d9a0aff23dcd3c5f
+DIST thunderbird-78.3.3-ru.xpi 756662 BLAKE2B e9aa4597cb77bfa4ae4906fb007b30f892927f663e4acb71ee4143ce65792b56dfc06618ff5241194c405d5ebc3409d15c96311056e6ff1b052b21f2e22bcaa2 SHA512 8b475a85eef000422766c65ea3b99f3d6d4c9c15db284fe109e541a8323c4f4d4c78b220fec66ca07334321d64ee66f6437fcfce2abae3a73936fe68434991e9
+DIST thunderbird-78.3.3-si.xpi 651577 BLAKE2B 5c9a8d91e32bfb8b1fb7fa831baae63ab299c091e384badd33b00617af154587a6e41a37f373728fcf4e88c7bd18352f52745e45ec9f468b5ee89a95ae3eff48 SHA512 324203f6aa43b253957c0eeddf1d382bf8a137c32527fef23e3844e92d7f8d1cf31b656de5bcb788860afbd873a3084dd8b065c0a1d7ce95af196534dea3cd8f
+DIST thunderbird-78.3.3-sk.xpi 643642 BLAKE2B aca755352a31bc0b6282a7adefef39021bbac186fe65203dca6d2e41d4bac3a0bbed049c8968672bd2da8e86c13d45140faedc25eeaa968af2d330939a4a244e SHA512 5233dd4618e96002e93a8246a2903183ee324cf79ba1d20786eab2bca6610ccdf67f1aafd470b6a9663a11f2f2724c699aec2d5004f07248b662b0f133d72563
+DIST thunderbird-78.3.3-sl.xpi 632788 BLAKE2B 441cee6a88f575ae7dc9f94b30f40db7a14566bc48d4da90470982f071c755bcfc04502430e98cf3502046c680dd00125212b5fee44f6581b3142ef7b989607b SHA512 4725ff6d1155b095781589dc9abde1d62d9d160bfa3578a12441109846df614ad552beeb094becca015a93fd6e40c5a215343f71c44081520b2459acee86cedd
+DIST thunderbird-78.3.3-sq.xpi 658258 BLAKE2B 97829b5abf17f2a332473218312e82fd0cab9e717069608e2b25fbb9640b3667229876c4e15b6114f44dbfa05e21e53366cc65eff622a1bd0dd4e5415d1e8e2d SHA512 2181d7eb63a84eda839ddedf1918add09714330bf2310fa8e7d41ebb48824ec604dc7c73117e0b054e1ea2da3aafc8ecfbcdcb702170d7813d83221fa08908b3
+DIST thunderbird-78.3.3-sr.xpi 683540 BLAKE2B 48317bec3832bec6a47f14ed2e8e3062a5dc8d337fb420f4580055852a1bd2a4c522fa8f9734bad75e6cf3f34dc19046cd9a6197062fa264e3b3e924953bcc7c SHA512 742f4be73e0354655f2409aca3e8fd236db888de78cb818e45acb0443ec0730061aded8925888f5fa227e5d319d5e5606b5a1839026f8e3731bd663e24d7b008
+DIST thunderbird-78.3.3-sv-SE.xpi 649320 BLAKE2B d2566d4cb004c89bd9673f80708f76efb172aed6c3d34cf76c53950a29c121ab6270d2b8890c46130348df78f9a2e77389b5527c48ee8c7ac0259ac13fc6d90e SHA512 a3794e0206e1089af83f84427454e0c1e65d1e304ea3cf3d04521f81bf17dfb30db0462df1a58a6057f985ddeb7febf5d62d957483eab96dba4a5220d2ddd3d1
+DIST thunderbird-78.3.3-th.xpi 712508 BLAKE2B f5576eb1c4e506cb0fc3c454f68209787a74b8ce2a1ab86ec23e7f74f8da585d42ad8c18ee06e18139328a45df38a19851be60f554c3b59dfb627c20f7dd83ea SHA512 ec28955aa794f657504d13120d0cbe890ed1bbc704e9b14dc15628f7d63aaadabd5ee1a15774ffaa6081918752d4b0f3317b879f073603fae96a0e00a2816850
+DIST thunderbird-78.3.3-tr.xpi 649513 BLAKE2B 4d51509ce69bd54727bac7c756785282f31be2de1d80f7f70cf0314e9dc9f6dc995e7d58ef0d0a80d66e5a1833b474d86d5f1cb730a50027ed4c39792a573a29 SHA512 ba19ace76c58fab76eb500855961b35224e96230e9465415881eef8f7d5fedb4d85b9e84069c6e32c53b193ced20db705fcda404806d70fd7d4d1f9567e8f225
+DIST thunderbird-78.3.3-uz.xpi 587043 BLAKE2B 587dbc94da1d2d57c581c5ca2061074a09586b5d43220f9d42b4c59b131aead572e0102dd0c3eefe1e8e10d5c9d4108cc4bfa322b2a9b80a6d77548c320459f5 SHA512 2518317e6af86205bce6a555fd0a61e97d13d0e4d3e05863052658be9a81a419f28a86d2c410a8deeaaec6343bf08a53e55c57e4861582bac91f7a9195764dd1
+DIST thunderbird-78.3.3-vi.xpi 675054 BLAKE2B 40dc665f92a088e63a969870b932c2a37e5e332eda61b28258dffd577ffad50f81adeab82d219cb9a7835acdc362e310cadb45a1e724132479ea97730071bf71 SHA512 57c6c1189143717ea140f6e2f01712429941e1921dc06840343ed94d6a028c09da40630aae315175b9e87b57b30d907814e415c9e001d21ca81559b58a8a0c3c
+DIST thunderbird-78.3.3-zh-CN.xpi 687637 BLAKE2B 970476763e6251cb457d558314a673babbd1af6291f088b8b3c102f69554f12b845437dcbb258043aed45a3ca71af734b7178d0f53c945af8248df05876b86f7 SHA512 d319d72df75e10c05f54916e1aba953ccc01f5ec336970c798bfc865c50ca88bb958caafd6d2ec53fd2d4cad80fa7d581ee8fd70de75cea123c8827fe61371b4
+DIST thunderbird-78.3.3-zh-TW.xpi 688080 BLAKE2B d3b40ceb39b255adc02f14eca2254f64a7c1267443ec7b0650ab825397caa1d0d2b9fe36b0b02a5fb0243b791342d9fb1bc9f967cee36c0d28d1c68ad07dc615 SHA512 fcb3a2b536cb4679fa356bfca73aa883439ce8f232d81d968327a532ea71be291dfead8ef82db1f84241f1d418023c20558e18f85d5fa661f29635942655f1ce
+DIST thunderbird-78.3.3.sources.tar.xz 361488376 BLAKE2B 6b0caf4a84df0f78436a07e8957b4d44806b1c3d0b9812dcaad206d79bf66f419505761818d44d4c064a33c0e4c64c3c3107a499ad02b45916ef1a0d4f265d5c SHA512 eff25c62fde0f2dafa9a844c732159529b98fa5bbf7acc9370422b889ab30c87fd1a456ba7804c41bd39793b2332a1915f6b30403d3091cfe74a4fedd04b5b38
diff --git a/mail-client/thunderbird/thunderbird-78.3.3.ebuild b/mail-client/thunderbird/thunderbird-78.3.3.ebuild
new file mode 100644
index 000000000000..e9d252f03cc6
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-78.3.3.ebuild
@@ -0,0 +1,1035 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+FIREFOX_PATCHSET="firefox-esr-78-patches-03.tar.xz"
+
+LLVM_MAX_SLOT=11
+
+PYTHON_COMPAT=( python3_{7..9} )
+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 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/~{axs,polynomial-c,whissi}/mozilla/patchsets/${FIREFOX_PATCHSET}
+)
+
+SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES}.sources.tar.xz
+ ${PATCH_URIS[@]}"
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="https://www.mozilla.org/thunderbird"
+
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+
+SLOT="0/$(ver_cut 1)"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+IUSE="clang cpu_flags_arm_neon dbus debug eme-free
+ hardened jack lto +openh264 pgo pulseaudio selinux
+ +system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent
+ +system-libvpx +system-webp wayland wifi"
+
+BDEPEND="${PYTHON_DEPS}
+ app-arch/unzip
+ app-arch/zip
+ >=dev-util/cbindgen-0.14.3
+ >=net-libs/nodejs-10.19.0
+ virtual/pkgconfig
+ >=virtual/rust-1.41.0
+ || (
+ (
+ sys-devel/clang:11
+ sys-devel/llvm:11
+ clang? (
+ =sys-devel/lld-11*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-11*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:10
+ sys-devel/llvm:10
+ clang? (
+ =sys-devel/lld-10*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-10*[profile] )
+ )
+ )
+ (
+ sys-devel/clang:9
+ sys-devel/llvm:9
+ clang? (
+ =sys-devel/lld-9*
+ pgo? ( =sys-libs/compiler-rt-sanitizers-9*[profile] )
+ )
+ )
+ )
+ lto? (
+ !clang? ( sys-devel/binutils[gold] )
+ )
+ amd64? ( >=dev-lang/yasm-1.1 )
+ x86? ( >=dev-lang/yasm-1.1 )
+ !system-av1? (
+ amd64? ( >=dev-lang/nasm-2.13 )
+ x86? ( >=dev-lang/nasm-2.13 )
+ )"
+
+CDEPEND="
+ >=dev-libs/nss-3.53.1
+ >=dev-libs/nspr-4.25
+ dev-libs/atk
+ dev-libs/expat
+ >=x11-libs/cairo-1.10[X]
+ >=x11-libs/gtk+-2.18:2
+ >=x11-libs/gtk+-3.4.0:3[X]
+ x11-libs/gdk-pixbuf
+ >=x11-libs/pango-1.22.0
+ >=media-libs/libpng-1.6.35:0=[apng]
+ >=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/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.3.0:=
+ >=media-libs/libaom-1.0.0:=
+ )
+ system-harfbuzz? (
+ >=media-libs/harfbuzz-2.6.8:0=
+ >=media-gfx/graphite2-1.3.13
+ )
+ system-icu? ( >=dev-libs/icu-67.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-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 )"
+
+RDEPEND="${CDEPEND}
+ 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="${CDEPEND}
+ 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
+ ewarn "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
+ ewarn "=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
+ ewarn "=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 fa fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM
+ id is it ja ka kab kk ko lt ms nb-NO nl nn-NO pa-IN pl pt-BR
+ pt-PT rm ro ru si sk sl sq sr sv-SE th tr 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="13G"
+ else
+ CHECKREQS_DISK_BUILD="5400M"
+ 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="13G"
+ else
+ CHECKREQS_DISK_BUILD="5400M"
+ 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
+
+ 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 ! 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
+
+ # 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 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
+
+ xdg_src_prepare
+}
+
+src_configure() {
+ # Show flags set at the beginning
+ einfo "Current CFLAGS: ${CFLAGS}"
+ einfo "Current LDFLAGS: ${LDFLAGS}"
+ einfo "Current RUSTFLAGS: ${RUSTFLAGS}"
+
+ 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
+
+ # 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 MOZCONFIG
+ export MOZCONFIG="${S}/.mozconfig"
+
+ # Initialize MOZCONFIG
+ mozconfig_add_options_ac '' --enable-application=comm/mail
+ mozconfig_add_options_ac '' --enable-calendar
+
+ 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
+ # Linking only works when using ld.gold when LTO is enabled
+ mozconfig_add_options_ac "forcing ld=gold due to USE=lto" --enable-linker=gold
+
+ # ThinLTO is currently broken, see bmo#1644409
+ mozconfig_add_options_ac '+lto' --enable-lto=full
+ 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
+ elif tc-ld-is-gold ; then
+ mozconfig_add_options_ac "linker is set to gold" --enable-linker=gold
+ 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*'
+
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-install-strip \
+ --disable-strip \
+ --disable-updater \
+ --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-png \
+ --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-location-service-api-keyfile="${S}/api-google.key" \
+ --with-google-safebrowsing-api-keyfile="${S}/api-google.key"
+ else
+ einfo "Building without Google 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-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 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
+
+ # 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
+ fi
+
+ # Additional ARCH support
+ case "${ARCH}" in
+ arm | ppc64)
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif tc-ld-is-gold ; 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
+
+ # Build system requires xargs but is unable to find it
+ mozconfig_add_options_mk '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 CFLAGS: ${CFLAGS}"
+ einfo "Build LDFLAGS: ${LDFLAGS}"
+ einfo "Build RUSTFLAGS: ${RUSTFLAGS}"
+
+ # 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/firefox \
+ "${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}"/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 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 menus
+ local wrapper_wayland="${PN}-wayland.sh"
+ local wrapper_x11="${PN}-x11.sh"
+ local desktop_file="${FILESDIR}/icon/${PN}-r2.desktop"
+ local display_protocols="auto X11"
+ local icon="${PN}"
+ local name="Mozilla ${MOZ_PN^}"
+ local use_wayland="false"
+
+ if use wayland ; then
+ display_protocols+=" Wayland"
+ use_wayland="true"
+ fi
+
+ local app_name desktop_filename display_protocol exec_command
+ for display_protocol in ${display_protocols} ; do
+ app_name="${name} on ${display_protocol}"
+ desktop_filename="${PN}-${display_protocol,,}.desktop"
+
+ case ${display_protocol} in
+ Wayland)
+ exec_command="${PN}-wayland --name ${PN}-wayland"
+ newbin "${FILESDIR}/${wrapper_wayland}" ${PN}-wayland
+ ;;
+ X11)
+ if ! use wayland ; then
+ # Exit loop here because there's no choice so
+ # we don't need wrapper/.desktop file for X11.
+ continue
+ fi
+
+ exec_command="${PN}-x11 --name ${PN}-x11"
+ newbin "${FILESDIR}/${wrapper_x11}" ${PN}-x11
+ ;;
+ *)
+ app_name="${name}"
+ desktop_filename="${PN}.desktop"
+ exec_command="${PN}"
+ ;;
+ esac
+
+ 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
+ done
+
+ # Install generic wrapper script
+ [[ -f "${ED}/usr/bin/${PN}" ]] && rm "${ED}/usr/bin/${PN}"
+ newbin "${FILESDIR}/${PN}.sh" ${PN}
+
+ # Update wrapper
+ local wrapper
+ for wrapper in \
+ "${ED}/usr/bin/${PN}" \
+ "${ED}/usr/bin/${PN}-x11" \
+ "${ED}/usr/bin/${PN}-wayland" \
+ ; do
+ [[ ! -f "${wrapper}" ]] && continue
+
+ 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}:" \
+ "${wrapper}" \
+ || die
+ done
+}
+
+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
+
+ if [[ -z "${REPLACING_VERSIONS}" ]] ; then
+ # New install; Tell user that DoH is disabled by default
+ show_doh_information=yes
+ 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
+}