commit:     d6c261dcf7bda90f6bbedb6cb5698d10ae2a4cca
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  7 18:37:13 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Nov  7 18:44:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6c261dc

mail-client/thunderbird: bump to v68.2.2

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 mail-client/thunderbird/Manifest                  |  54 ++
 mail-client/thunderbird/thunderbird-68.2.2.ebuild | 776 ++++++++++++++++++++++
 2 files changed, 830 insertions(+)

diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index f37cbec1072..864d22f638a 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -115,3 +115,57 @@ DIST thunderbird-68.2.1-vi.xpi 623422 BLAKE2B 
ee7f5664b1d4f9b6108ce5235b7b744612
 DIST thunderbird-68.2.1-zh-CN.xpi 626819 BLAKE2B 
177ec11066c6169a17f5444bd51ad1d576199390deea34e865f58a5ecb163557b29d6e2b297e189c671fa3647341ca24d3fa7f78840176dd07198c76aed6bc83
 SHA512 
13b0c8eb61474d8b41ec14963f784229100fd9c3abe539ac59333c67dc8ed4c09ff2e0c1e349105b3400ab83163715f30a0f48e5d9498abcd5d2fcbb49641a26
 DIST thunderbird-68.2.1-zh-TW.xpi 627475 BLAKE2B 
88dfb44bbe46eca62c97e22db52279979dca021e9ef65f1a686040900d6c8718e82a782dce49d6f2fa366599488854154f5fe1f946322d0329b425f87b2cc0c2
 SHA512 
bd52aed2b4de2fdd87b95edbbaba3b847245498584e7469bfb304d95094a98833cf008c273fbe2b1e0c0e98e359fb2f02e037684d8c6ae69953d240dbbf4de0c
 DIST thunderbird-68.2.1.source.tar.xz 333597972 BLAKE2B 
44313e0e439a9e42b9953696d7cd14274e858d641b2b7dafa5e9da67e1659db9a2c48a6f7e6bd8ec8d32e0fcca956db1b152b9663c58f6476b011a94e6f878bd
 SHA512 
2d921cac84f6f09b63c122e54fff7848ff0d0997c8c5fedd87503e487750aa2cde8d117e1a0cdbfbf042cc364554bfd4c81b639635a03d656c62e934b973da7c
+DIST thunderbird-68.2.2-ar.xpi 617164 BLAKE2B 
9c241614721d5802cbf612e7f5a21b1416bf40848d1fe9bb5611be74c013efafa2843856d6ab5a00bf9d1dd9c249a8517dda07ddf4434d5d597d496311e0fc31
 SHA512 
751310b75772d6a028d2866e7c9397ff2157f1069912533393f0eec44b713d1140a754cf01ceec98d961c0d2e99eeef8c15ecb1cdd8f99390531b9ae91602d67
+DIST thunderbird-68.2.2-ast.xpi 551297 BLAKE2B 
d67cb8b324f1161ea0e6dd423923b5caea40c2a40797b63edc871e85040a778565b827ddfec1f339c6627a2175ff62e14e1f27d6eab7bc088d0db97e63cee38d
 SHA512 
70c39b128df9d30d109959ef939cf80d29ff26d8c08c8cd7b28e7509bff7f70059955b394fca24362026fe1df0ab93908f288736514e58728c1663f91b9774d3
+DIST thunderbird-68.2.2-be.xpi 646279 BLAKE2B 
26f55579d80abd3fe0797ee7d8719c541a45124111b8855d0aebbceff38fbe69b5add1784640c305cd1bd25acae81525ea69c1b9ad259f82eb27513cc2d934cc
 SHA512 
bd3e01aa4767e68b6e77f5556464cff3fc32e415bf713b4ccaaf20305057e988e6286ba55ed57ff9a6d80869e383c4fdd8233d777437b75151ad2b7763b3e0f3
+DIST thunderbird-68.2.2-bg.xpi 646226 BLAKE2B 
c73fc55c51123fb959ac4a72bd7658322f246ce76f8cec363b9058bb98505acce0c161d0343523cd95ba15dfa046dc688800e367be221e8ee0cc5fdc9ed7ad0e
 SHA512 
b4d6754e774cc84c62729fee44a6b8f1779726bf9566a3e83babf389d7c1386d4a843c8e9cc8462d4e37b0152c8778004526290429085d8fdc575bcbc010c668
+DIST thunderbird-68.2.2-br.xpi 574851 BLAKE2B 
1685362672e0fffa0bc2cd7c6f749f6d502454acb8fea13272977ed79840e01f2d9b5ecca981d704455710a2096b918a0cc91c0dc559c8fa28f2f16abbf16259
 SHA512 
ad22ff063fa03298aeff11468f9e1e5dbc4c011f09eecb447670c7c13b784f65571149b4cdca60fb4af570d24ab500b8807f7270384d5e9f4d47b31336c3b480
+DIST thunderbird-68.2.2-ca.xpi 578438 BLAKE2B 
2d74f61f842511f44d3f4cfa250630c055fbe27106819ba033d10923d2d13072069d4fab6aceb7f13a8079733bac7cf6a28861ec4ab946323078c69915977d91
 SHA512 
aa87b07d24d458b630a663125836eb1aebde27202a674e392d0b38805b632f169b75530642d7c5d9972cfe0adb2704130e06fc7df6c031b9f7151f3173a4af6f
+DIST thunderbird-68.2.2-cs.xpi 603041 BLAKE2B 
fe8014571155ac829a7171a69543077b4bd1b0a4fc69067243ff811bff04d2e16e5a9e09b486d81f74de12be3f979c0edd305917851a89803f93a4b59bcf25be
 SHA512 
647229741fd329aea4b6eea6f22c5f87a6bedd572abaaca0fe8ebad87d0f383b2a3e68fd481277093dfe01b48e895f8c3643673f0aa1edf4aba6285c3a1afd0c
+DIST thunderbird-68.2.2-cy.xpi 589901 BLAKE2B 
cba6f2e3cb668e2c0f4e1961c009f3f6e02358a1d616d39fc679ab7ca91c13cf1f6921d0f73c095f846628b4485849588c03cb97ba301c721aa1294820479f00
 SHA512 
f2c188c650ec4856a728a443f9a17c36424c2bd782b436a0faa1cfbf10e86038ece967a2ddadd6b6273acc665832c79ce2095d5c980ea0e647a8f2068148e1d8
+DIST thunderbird-68.2.2-da.xpi 588348 BLAKE2B 
15e90b3b3e06df14a0895ecaf9152ca484f4cc92079df28828ec8321c4746d5783c1c4384a37e51ca3111fb63687967c99025f16ba639682f14f33fb4de6c819
 SHA512 
b68c46f4e7961a0894a5304c0bb71d57e997f24bbfa77d20a7218ace19d8f393edd484cbdb046c0c79dcfcdd2162b03a57c93c003796e4bd965a7498404562b8
+DIST thunderbird-68.2.2-de.xpi 597802 BLAKE2B 
a15a4ca6a8269d287f93d3855d3441c99b8856fb59171237d08c8f9afae34b1fcd9559f08145b3df7cff9263fcc383aefc6aca300508a4621cb0ab1caa698374
 SHA512 
c6ca9374d67e5b6009d1ca070d984ac4246f15b5fb20c7bb8291ba801724c448db51dac05fcfb2c8907e1b6b6541a51abdd198c6ebd13b0176e852339ef9466d
+DIST thunderbird-68.2.2-el.xpi 699223 BLAKE2B 
bdc299c0872724118127a16e3402ba1285af765cb92f28e729effed63644001f35e5165e7d2909e2011c65db45c829c0f509e09ed72a8394f3eec032d6a9c4d1
 SHA512 
77d234822d0a87d83b5312d791542cffa1e31f045908a9fb7b92032dbcae139a0b1b24083bec04cd4e9a88851ea855c5c9d7c807eae5310ff0d993467428badc
+DIST thunderbird-68.2.2-en-GB.xpi 556402 BLAKE2B 
b0533af1bc0d32288d3a606b3ef40e0e8c1155c3ed8f6fa5943d72ae2519b3e96ea5af29179bcbaf0269cb431b22e435865cc32e9a3996dccef5335061d7c51c
 SHA512 
49cd5803bb1c287ae3a4cfa374f64964adb3c1ba95437d472ae3883dc46303bc11022a4407515f1e2b564eb3c079b5c013c90f5192e531909f52dd9c37aeb865
+DIST thunderbird-68.2.2-es-AR.xpi 596550 BLAKE2B 
b4771b661ec447854078d57ab0d76eec9475ba60e984bb5131671e44d5351b952fcc7593d6c5d5f14a2ccae1ff96b3482a716cd0fe60b7fc4a1b106c80fe1dab
 SHA512 
001c4f60cf155d050935b00c70eef7d62c1a8fb330aa6fa8bbf1b442d04a19e62c3bcdc481de3b79bad2a37a7909cc7d4d33a7f73d066aeee02dbe7a60b596a1
+DIST thunderbird-68.2.2-es-ES.xpi 518351 BLAKE2B 
ea31698e96f66f083b2e465addc89ab3cd0d87a21e03828512fc2b8583b9838265f2cbe3b496bcc4fb88af000a568aead419baa078b425fd6616aa42e5b5d696
 SHA512 
1b9f2d9c0f77814e8d39033b338610609bc91d73e594d24d091d2ffc60fae0409abda7329a4ffc030afc019711e0efc49d261a45bfe91d28fef3faa3edc1c653
+DIST thunderbird-68.2.2-et.xpi 573580 BLAKE2B 
1ac94dc7b4c20457185658d642e0992f5bd3fce54bc3ae29117927f156060a41b65ddebc3117d3888a36c20469c707859c815227cfb866df4fe1ed301ae01313
 SHA512 
57997e5bca9bea1d863db0d0eb043b05c331917cd044321615d2537b0947b5481b7b714dcdd28754d9133249b4a0ebfd973a5c6825af0563d6fb2dcae68fe892
+DIST thunderbird-68.2.2-eu.xpi 579944 BLAKE2B 
4d75057110258dfac4313c0a6583bcb21fd76db48631ffd243091354d0b4ba86aa94a801925102e091ebf97c7573176d3d6411dbc0a9f2764628dd0b108fb19d
 SHA512 
3047dcbc46c023d1897b724243f4993820b0e4f9380c355c075e1237151f699359a998d371ca7441201cf4cd1060b9b241caa5a8b7c18503f7e5035be32776d7
+DIST thunderbird-68.2.2-fi.xpi 578416 BLAKE2B 
adcae84f5bdd25387c9053f52860f6b5e09b2816cd8628983de18a531ce51436f43ca4a72cd2b55960097df537b056e68f2e8b4d201aa9654c710c20a022f05e
 SHA512 
b6dcf0624c84bf19192caabcdcc4b22fc9946d1b3541613dfd23c31041e039dd24208db550fec36c5e85d4807c4efcaab4b949936848297bac1bf43049525a09
+DIST thunderbird-68.2.2-fr.xpi 607809 BLAKE2B 
2dfb08d9de21e885cf1863e3340a7b2dc67c98ad408e129592c70f6a6aaaa9b81a9dccfaeab91b89ab77b64627dea6bbc078313e3ee6def319398719cc89573e
 SHA512 
acf16ebab0eed05b99ec55e0a47d6a43817be6e25b55b1b5b99ac0c766e4e9c7d1cbde5631b320c6b9e57c7274a755d3ac8efbcdde5568038f4400fedaea59b8
+DIST thunderbird-68.2.2-fy-NL.xpi 594466 BLAKE2B 
4615677160a4d3c8197d6fcf26561513a3cf473ae127f02a37654c2e420cb1c6de7b542fd73adcf14286221209832a0d3e52a30a850dccf3502613dcf3452386
 SHA512 
ca3f459a782e43edd36cf8f446e3c364cd93c9a3d724f45ebe73e36e5e6fbb460311d3652fb0a88e82ca9b819e5c90be4102ca39ab33da5ab87673a539136346
+DIST thunderbird-68.2.2-ga-IE.xpi 588709 BLAKE2B 
c7141c8f672324e36e712adb03b5d613e894b5f2540261238b61cd11c8fb2d851f8a17d80c51aeaa97864bc4c9290ee824fe7c9fa1865123bc25eed218bba6b6
 SHA512 
1cfe403df401b3d6fb0de4ade1eaf545c917023b287cd87d5392a0a9cbf802b84c7ef90a667cccffefe7e9662843b5df1e52f366e06f564ba22cb47aa63b74f0
+DIST thunderbird-68.2.2-gd.xpi 587108 BLAKE2B 
2729261acc0ef9a671d6284328dab07606a746c301cf1ec76704b98a0a72a528ca167bb86a3b8e0727a14fedc85070d1e8f6967a5bef3d59260fb2b69d90b623
 SHA512 
b206f8a11c021ce38bd80ebee47f6e541802b0adbb3ee2350524ced62d096db7757db637b3b0e53adf43a03376d792c35d9740b84ad10371689f71911d96d97b
+DIST thunderbird-68.2.2-gl.xpi 568395 BLAKE2B 
53a3a758802d5b0f65699c0008de4240026500a5b531ac12383a06d6a8e1b5cae0f5a257d03726cfbdf4cde93fd561698128cd798ef2b9fbba4b08538dbbeced
 SHA512 
a1257e57ec4f2dcf27d0f48b4e06c7b2cc8e8712eb68f0d8bd7ec51d2800b8f28208a94228c010525beddd8cae8a55751d9c280c44d1184692cbe9872fcc38ee
+DIST thunderbird-68.2.2-he.xpi 604786 BLAKE2B 
9957413334fe3d645f65f792f89a6070dfcea97deb7562ea102baacd65b44ad920d85b2a49f4d62a82fc9cb3550f53b3f70bfacb2735cd806728fa2024ee25fd
 SHA512 
627aecba77024e47f178acacb90f47672e61b4974482a4c647d578205f22bf18c87a4701ebdf6c1912eb3c12c99129d1cf08814eb39c379b8db0e174269e356c
+DIST thunderbird-68.2.2-hr.xpi 583782 BLAKE2B 
f9cb82fe1941d238b914ab86e1fea9f56b62ca54462f6ed06cec0565ba48198d70eb68277ad5bb1d8e9b5ab3ec5162ff5402c54e021cc921613ec926600293d7
 SHA512 
267f10ab9e6fe45a66a4b86f42e46d5d79a568f1d237d4e0efc175cdd8754c0bb2b676a9f2fa8ac07da6fd2949dcb0ef378f04a29a25bab4a621f07e532c511e
+DIST thunderbird-68.2.2-hsb.xpi 616034 BLAKE2B 
9841109ea8794b0422f7968ae1e857274b96c985102aa233361d37570144ad4b4911c6226ef5b914eaa0a025c49ab4bd4b385a12b37bdbebaa4037ab652f304c
 SHA512 
7cfc5ed7db2b8a25f30e4346862befb50d902fc83fb111040c238308a347ef44c92d7ec2f7e8a456ca024fc02d268d49ee65ad3c62e7f59bd22e12b32ae40ce9
+DIST thunderbird-68.2.2-hu.xpi 618153 BLAKE2B 
80377f937fc9874b8b9bf65a882bfdc0abce827a32b155fb99252492657b7d32f345cd0e8db13f7050660b82899f0f9591e36f8d23582084f90c354f25bc578d
 SHA512 
6bf5c5d7f65b1eb54aad1ac7e4bae899ed4a7b6fc3bc5070071150eedf2294f8a48eb94beed6f79fdaec819b40ec079d21f2283e0afe97b8fef47c6f7a05134b
+DIST thunderbird-68.2.2-hy-AM.xpi 630522 BLAKE2B 
61685a681309428cd7c6f0359a7227fcb6712afa4b0d069c21aab120783826bca7b529d7f939655bb074b2852d381f5fbef757306c15b788b1e791f51155103c
 SHA512 
c52fdde76e05c154ac5f40ef17f040311347a367387f25bf5c7b4a691d38c9eb98e157a640ab3f3a25c2adc19c7cac650471ae95cc4c97a76289a9057aedcd27
+DIST thunderbird-68.2.2-id.xpi 567746 BLAKE2B 
8acc16378fe4c43c1370412a8fae81bde4857a199fd29f72dfc3780921a8c3e0d6f5d60c0098b5ee9c585f7a8d9f7025fb172ba211556525df2d378f9dce2b66
 SHA512 
639fc48c6dd4827477868205e5e83bbd059abdb04d9d66305fa19ced20befbb78299737079267ab487581c2728ae5f0f028cef5f65213cd6f477b3cce0a52c3e
+DIST thunderbird-68.2.2-is.xpi 575439 BLAKE2B 
ac38e8dd4a0ef66c7e7e1e6fd19b37a96a873838261f619d57abdcacd58012054d201fa5f33d4dfb88c5fad78be1383c4b19d91955c916acb48d3f9470cdb8c7
 SHA512 
4d3fc6d846b547fa1f43102a24858d0934700fb94b9c755715c040470731402d278c695a57eaaa2211669278e26aa91e1c0404b027dcfa81ebefed200fef8201
+DIST thunderbird-68.2.2-it.xpi 489519 BLAKE2B 
0b6a7ee731fb7941694ff87fa9e4b588d772b760c335283458a3f18368f115318e1553004bbe6bf8f354959c4dd3b15a1731c4b3989ca3a1192baedc05250958
 SHA512 
b23149ee8f1bc99ad8a62daae2d5560abf7ccd506dd65e955cc4251f1cf0a5e39ca7609a070f66617883b9ca643e023bb1e45ff7c523e41bedd2b017819e892a
+DIST thunderbird-68.2.2-ja.xpi 643574 BLAKE2B 
12305f8201e75acbf7e84e8bd2d4f6d4ee50b2672e491d8c241895bf7ab1b81f7cb1c4b8f09d4567bc2c368d192db7d32f63d4b53299e1effeedfb357be3c219
 SHA512 
8b2019e74f323447571686f0e97e4bbbc3e9973b25e91b5604a3becadeddf3f03c2bdaca29ae0bec88121a23c12d737b199c17efe05d3add448e5dc94ef59cd9
+DIST thunderbird-68.2.2-ko.xpi 620528 BLAKE2B 
c4c196521661d3ac2c44004d6de36ac203db15e124f056905627f1f9c721d558bca2b8cc8fd72ff24ad779b14d38ddefea56f56462c702735f8dadaabfca7edf
 SHA512 
c6a6b964eba1a9132d6c4d64d142071f8da60566373e1ff6e7335a379f6233d2935fad49775ff5c9a06934b13698022a5d9f6c015ee8dc7e960f3de495bc9e3a
+DIST thunderbird-68.2.2-lt.xpi 603844 BLAKE2B 
6582c6ffb7cee0a49601aeef088279eddb2ea71803027b474b377ce8d985b935b02b3148d42c386e5571bac3e1703f016d8c80660b27cd876d2aceef2bc1b5e0
 SHA512 
b5b79b34c140816a8ce31aaad0d4f6830096e37888819a18aea10d44401b7b889cf4871c915ed8d32bb26dfae45366b0228a1caeac21db78bc549cf877702305
+DIST thunderbird-68.2.2-nb-NO.xpi 574019 BLAKE2B 
e062c51eeff5f693c4076afc0b536c77ff6ff98da1cc7f8363049b0a7eae27a15c0012a5efa50395cbb6256170afe2e52a29dc6f71f96677c04e58d4ce301081
 SHA512 
144a2c75479dbb76bb3d2a1ad3520bcc08aa9ef97373d831e552424a7ea0a47dfdfcd5a4b9815c65df6ebc73e359091326702f440b45dc79ba4a2f6c8f442fab
+DIST thunderbird-68.2.2-nl.xpi 581354 BLAKE2B 
9b3cd9f3ddaa20bbe2e05aac07da5db1ced6cdb248a54ba7ccd8588890e7702b327a9f9c61b6e292ad2429e76eb15845d6efd34fb494d410ff6df8ee85d3c79f
 SHA512 
2fcf5681efc36f73181d927b94782075a774f06cf5b5949caf8ae17481b299c8a63ce6c5ec3c1f2f9ed3eaea8e02638177b229adcdd58fb7aae92fc5ff4a4688
+DIST thunderbird-68.2.2-nn-NO.xpi 574947 BLAKE2B 
8c2fbb9f70ba4a969f76a8421c4fc39aae78def3e86f2323c8d53ce938a709b41b189ba7c4e9b3b3e819acc9b03cd3b9fb71df8ad11157ce4c189a45c6b37e0f
 SHA512 
4abdeefcfbfada72b459437a19f72f390dd03989fc057c6d375132527f4c298ed6fcd5b9aa9705976b6fb163de7d8581a7958c18c5626487b697e7e8d132e02b
+DIST thunderbird-68.2.2-pl.xpi 576084 BLAKE2B 
e9517677ce1eea31135d5edcf92355e94b74655433b10e0e1c3f410c5e4ccf388f82a0ff886477b73759bc4596f11f4f3e61f81ef32b3671b3e59c3f8efd3ce1
 SHA512 
ccb03e1b18ac2226cfd40e854697121f0710c8955afedc32efb4182d1f846bf15c4988dc18a8a8710f3c0812697956dc890efa3ff8afdf819c6cb96af7dbc7fd
+DIST thunderbird-68.2.2-pt-BR.xpi 589835 BLAKE2B 
a03592a60d33883cee4c2a324cf52b3055358fbd4a60f5d9fd8ec76b7e85b3a6a7267634643636e4ccd743cc062ae2ee71dfdabd0668a0fa656190b71240733b
 SHA512 
6955ec5002e3ae0f411e2ef641be457a0476bc14662d24f180db8067cb13cb1f82248bf08bef70382e34d40dda02798f379aef54119de250ef2715e58168ad1d
+DIST thunderbird-68.2.2-pt-PT.xpi 588100 BLAKE2B 
f0d4338aabcd7f6a8c40ee15a7a4acd7b81dd6b2609fe153c266c130abe9c2bb41e75545ffe984e0350ef6dfb9d6d946167b5b8bbd427be36b5a3a3a2bc63803
 SHA512 
3cd8186f492b06e5c7374bd7f6974d96b0e291deaf4d74a13d9411387e71f1ea25e0aeeb8c146d8244ca69f137112ca61883a2b99fe3f978a67dd05ace3b5fae
+DIST thunderbird-68.2.2-rm.xpi 578048 BLAKE2B 
e257e69809a4a541bb479777cd602d0c03afac7949b494c484dcb495954a5628938f9c51d7ee4dad251646f86e7d69dea55e69af930810685ddd7c2e68e6ab0e
 SHA512 
a3fe6f53206e35589c6c63431ea661f086a1fe588d6bbf33a2331ec3814dda9f0e70f1da3110fa39ba4aa6a141c3c17021749fece2c65c690e079b062b3589b5
+DIST thunderbird-68.2.2-ro.xpi 594840 BLAKE2B 
68f39e47f9764680409852c4e4f12ddf044ce85e91cb6cda7a6882f949d1332fd5f4b40765a8bd25595731c4fb8b35e34506457067194142281b9442df94793f
 SHA512 
9a5ab66c2ca6bf55597c9d28a264e403a77065ee0de2cc9903343165865d5d76e804b5fedb58d07a23b0cc710292a9b193d60fccf01628872c94b7b2dbd3b5cf
+DIST thunderbird-68.2.2-ru.xpi 683324 BLAKE2B 
dbf6ee21fc68ba08fbf2046f09d5ea2124df81129c716742aacb08621ace4e5123b5b50bff1a1e2a98ee11b5624770e21eb0cf87c0ff48e7d4d3185666f4f4bd
 SHA512 
c5f7226a648daf6ed3e1e44d219f26cc3c991b8ef299b29a8e267c7ca4bb8da60b4e93b3a8f0fd77b9887d8803933539abfaf9be59a3b4986c526917296c21ae
+DIST thunderbird-68.2.2-si.xpi 637404 BLAKE2B 
9c2f6338d2d2042cef81b98bb3dd91ee1e271a5b2d9f25f1c217f2eb365277ff500fa84045e940524dcbca4e1d0ee7a759de7a18186e6351111a8c91f3037c6e
 SHA512 
46219b4e19767b1cf2d6e7f9a2a00a10bc2a60feead67531c64b6ef6c4cc7a6136d0e7c2e1dd9a879fe2a3f0fce311cac0e508239c579bd0f8eccd76aecb717d
+DIST thunderbird-68.2.2-sk.xpi 609751 BLAKE2B 
4e305568ca189ca8e1a3ead7d5137dd23f28a04381b4d40b42d9e8b34ba4536c1a8d8bad4ff15446e835a0129db1945fa031d452ede73c5cc66adf8f27dc0097
 SHA512 
6c53639ccb3d645f7ad8760b5372521204299bd2b4e477ab33ee9dd193af1ed2028f138944613e4f05c9615318183bed91c384ad9a2571030eb02021eae0aa3b
+DIST thunderbird-68.2.2-sl.xpi 590627 BLAKE2B 
5feb5883f89684ff100b6a38aa5aac0454ca062a0af162bfd3a74a367a07b960bc9286d8fb78e835a48f88e7fc7391d92790d7ff456c3a0ce84345b3a040f8c2
 SHA512 
fed6d4e780d122529c7164bbec07d04b81dc374b44cc156d70d1353cf4f3d321a3c3dae33f71f028069e710578a31a6287392cb4cfbe10779a241e8ea2726f61
+DIST thunderbird-68.2.2-sq.xpi 598898 BLAKE2B 
3d89133ec517b1790cb81295d46d9f9cba344f50fc0717c729655fc4a34e42f9e53f42164da898e5b562bcc7298467268bfa6a9bc6012bcc310acf00505f6213
 SHA512 
db2cc0657e71c03f6cf4668f950b4d2739ebaa7eef01a21146639225fff0a627d71fa4155b1d7830ace8008d342b282730785e89c2c11e1a1b48d0e1d54c0852
+DIST thunderbird-68.2.2-sr.xpi 624895 BLAKE2B 
ffca8df7e7004b7687ca9c69fcdc4a3333f144588f308ddfb58b9c6417c80aa3100f10781a8a93ab021bd91319d304b9c9068208086d25769a500ccc7f0bf51d
 SHA512 
a6a8bad2bd3d234be269f4d36802b2253d17eed20c1e2fa8056f3d6fea155a4027409cc6c735c3b496c84a8432c6aba0abe49d0096dbbfe3c1c932c6e589ef0d
+DIST thunderbird-68.2.2-sv-SE.xpi 591594 BLAKE2B 
38243595e5555db6457a38c2ec8716084a4ef5ce660e864fbf93e97dd0970d7c686aef6462d5850a930316f78002caced0e818e9b69d60c8e9b56f7904e57ed6
 SHA512 
c9fd588754e99247c767038bf833b82ce8f01d288f961bb5314f0aa634be954feadbce2965f2a879c0682bbe4e82d5da4514976b0fd5d370dcbb510f278265db
+DIST thunderbird-68.2.2-tr.xpi 599706 BLAKE2B 
ff4fc3bc17197c2c5798ea46d54c87576ff4a5c420b751b44ece906aa6188ee677fd15018c239a97428b635eb1becd4a95fb2fdc349b4ba73deccafbf2756221
 SHA512 
340ff1145ca10b828ba6eb584c98247949bec467a748e31e2d691bc3960a66b805a772b048ff0f96a69fb7d4ef1c47dd3200ab26388d8a0f5e9a03e403037f14
+DIST thunderbird-68.2.2-uk.xpi 671452 BLAKE2B 
06996c4bf847d33491a92c7282deafb4eb24cc34cf4b4fa4823e0165a889f0ebca0c34744083ba36bfd502fbdf268bf8ef9b6c6a4c2215fd82dea6af6504119c
 SHA512 
3e6498afaf10cbe2fe36c807440d2d56ac19a4af308d7aab98960d4f992c705b23560f3728bb74a7b24794240491dae208061c6161eb507067a593d717aafc84
+DIST thunderbird-68.2.2-vi.xpi 623420 BLAKE2B 
525e23ae74eacc1b78b06b6cb29b56bd5e1bf1a0ac6133d2d5e6ee4254d20e0726a81d8d6c1ec01d2e50e5b1e0d0ac6dfba0e1c05e5bbb57cf857b3a9230db4a
 SHA512 
b613ffafe4fc240d82f50b086f186e4149835a168c8a931fa5547e1ee87e930d1fbbbef90045bab1264f810aee51f7dda492fa133b0f6f89d274a4bd349171f5
+DIST thunderbird-68.2.2-zh-CN.xpi 626818 BLAKE2B 
0a49f945a8dc075f11e25f61abc529924ec813b746e7afaae6bcb2c83d87b6bf2718fd406eb6f9931ba45920e8eb0407997864dc7d7936de361c55dbecd2521b
 SHA512 
22991c78f7ba9323fedf8ffc3242cc0abeda05cc6f0da8515dd80ac4869f0c0a9b1445affbbef8c9f82db5039551c35982179cbf6507195d1e02bd7739f905a7
+DIST thunderbird-68.2.2-zh-TW.xpi 627474 BLAKE2B 
67f886442be27be6b4a48f1827b677faf81fe1ced1b99716118c07274c1a8dc0a2fc39f7b0fe0ff533b7ffc645ea317ac9fcf871a2a1d8a373840ef2b66a58f7
 SHA512 
3c69f5d799cbe50222ae22c30c4cab9a75eaa0340c46713bc6f439ff2c4d4f9625bf03bf2fff5813e553151208ee0cb2ed17f1e4bda81a49025d820b8ac4d6b9
+DIST thunderbird-68.2.2.source.tar.xz 334809520 BLAKE2B 
e532d8b48ea0872fc69a7b2fe418dca551b5dedf6276671dffb72ce5270fdcc7d63ef835ff4ddf92b870305267fc52dbbd3f3d00f154debd308b9a569ef00422
 SHA512 
96c9d7b7820091896b174e2c7924e426fa0fd2e6edfa8268ab502c1292a7456d3d864f97976cced0a5e9587bfa2dd92023df1a52f989729a92e0ca604e5ab5eb

diff --git a/mail-client/thunderbird/thunderbird-68.2.2.ebuild 
b/mail-client/thunderbird/thunderbird-68.2.2.ebuild
new file mode 100644
index 00000000000..7d71069196c
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-68.2.2.ebuild
@@ -0,0 +1,776 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+VIRTUALX_REQUIRED="pgo"
+WANT_AUTOCONF="2.1"
+MOZ_ESR=""
+MOZ_LIGHTNING_VER="6.2.5"
+MOZ_LIGHTNING_GDATA_VER="4.4.1"
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+PYTHON_REQ_USE='ncurses,sqlite,ssl,threads(+)'
+
+# This list can be updated using scripts/get_langs.sh from the mozilla overlay
+MOZ_LANGS=(ar ast be bg br ca cs cy da de el en en-GB en-US es-AR
+es-ES et eu fi fr fy-NL ga-IE gd gl he hr hsb hu hy-AM id is it
+ja ko lt nb-NO nl nn-NO pl pt-BR pt-PT rm ro ru si sk sl sq sr
+sv-SE tr uk vi zh-CN zh-TW )
+
+# Convert the ebuild version to the upstream mozilla version, used by 
mozlinguas
+MOZ_PV="${PV/_beta/b}"
+
+# Patches
+PATCHFF="firefox-68.0-patches-12"
+
+MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases";
+
+# ESR releases have slightly version numbers
+if [[ ${MOZ_ESR} == 1 ]]; then
+       MOZ_PV="${MOZ_PV}esr"
+fi
+MOZ_P="${PN}-${MOZ_PV}"
+
+LLVM_MAX_SLOT=9
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="https://www.mozilla.org/thunderbird";
+
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free
+       +gmp-autoupdate hardened jack lightning lto neon pgo pulseaudio
+        selinux startup-notification +system-av1 +system-harfbuzz +system-icu
+       +system-jpeg +system-libevent +system-sqlite +system-libvpx
+       +system-webp test wayland wifi"
+RESTRICT="!bindist? ( bindist )
+       !test? ( test )"
+
+PATCH_URIS=( 
https://dev.gentoo.org/~{anarchy,axs,polynomial-c,whissi}/mozilla/patchsets/${PATCHFF}.tar.xz
 )
+SRC_URI="${SRC_URI}
+       ${MOZ_HTTP_URI}/${MOZ_PV}/source/${MOZ_P}.source.tar.xz
+       
https://dev.gentoo.org/~axs/distfiles/lightning-${MOZ_LIGHTNING_VER}.tar.xz
+       lightning? ( 
https://dev.gentoo.org/~axs/distfiles/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}.tar.xz
 )
+       ${PATCH_URIS[@]}"
+
+inherit check-reqs eapi7-ver flag-o-matic toolchain-funcs eutils \
+               gnome2-utils llvm mozcoreconf-v6 pax-utils xdg-utils \
+               autotools mozlinguas-v2 virtualx multiprocessing
+
+CDEPEND="
+       >=dev-libs/nss-3.44.1
+       >=dev-libs/nspr-4.21
+       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
+       dbus? ( >=sys-apps/dbus-0.60
+               >=dev-libs/dbus-glib-0.72 )
+       startup-notification? ( >=x11-libs/startup-notification-0.8 )
+       >=x11-libs/pixman-0.19.2
+       >=dev-libs/glib-2.26:2
+       >=sys-libs/zlib-1.2.3
+       >=virtual/libffi-3.0.10:=
+       virtual/ffmpeg
+       x11-libs/libX11
+       x11-libs/libXcomposite
+       x11-libs/libXdamage
+       x11-libs/libXext
+       x11-libs/libXfixes
+       x11-libs/libXrender
+       x11-libs/libXt
+       system-av1? (
+               >=media-libs/dav1d-0.3.0:=
+               >=media-libs/libaom-1.0.0:=
+       )
+       system-harfbuzz? ( >=media-libs/harfbuzz-2.4.0:0= 
>=media-gfx/graphite2-1.3.13 )
+       system-icu? ( >=dev-libs/icu-63.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.7*:0=[postproc] )
+       system-sqlite? ( >=dev-db/sqlite-3.28.0:3[secure-delete,debug=] )
+       system-webp? ( >=media-libs/libwebp-1.0.2:0= )
+       wifi? ( kernel_linux? ( >=sys-apps/dbus-0.60
+                       >=dev-libs/dbus-glib-0.72
+                       net-misc/networkmanager ) )
+       jack? ( virtual/jack )
+       selinux? ( sec-policy/selinux-mozilla )"
+
+RDEPEND="${CDEPEND}
+       jack? ( virtual/jack )
+       pulseaudio? ( || ( media-sound/pulseaudio
+               >=media-sound/apulse-0.1.9 ) )
+       selinux? ( sec-policy/selinux-mozilla )"
+
+DEPEND="${CDEPEND}
+       app-arch/zip
+       app-arch/unzip
+       >=dev-util/cbindgen-0.8.7
+       >=net-libs/nodejs-8.11.0
+       >=sys-devel/binutils-2.30
+       sys-apps/findutils
+       || (
+               (
+                       sys-devel/clang:9
+                       !clang? ( sys-devel/llvm:9 )
+                       clang? (
+                               =sys-devel/lld-9*
+                               sys-devel/llvm:9[gold]
+                               pgo? ( 
=sys-libs/compiler-rt-sanitizers-9*[profile] )
+                       )
+               )
+               (
+                       sys-devel/clang:8
+                       !clang? ( sys-devel/llvm:8 )
+                       clang? (
+                               =sys-devel/lld-8*
+                               sys-devel/llvm:8[gold]
+                               pgo? ( 
=sys-libs/compiler-rt-sanitizers-8*[profile] )
+                       )
+               )
+               (
+                       sys-devel/clang:7
+                       !clang? ( sys-devel/llvm:7 )
+                       clang? (
+                               =sys-devel/lld-7*
+                               sys-devel/llvm:7[gold]
+                               pgo? ( 
=sys-libs/compiler-rt-sanitizers-7*[profile] )
+                       )
+               )
+               (
+                       sys-devel/clang:6
+                       !clang? ( sys-devel/llvm:6 )
+                       clang? (
+                               =sys-devel/lld-6*
+                               sys-devel/llvm:6[gold]
+                               pgo? ( 
=sys-libs/compiler-rt-sanitizers-6*[profile] )
+                       )
+               )
+       )
+       pulseaudio? ( media-sound/pulseaudio )
+       >=virtual/rust-1.34.0
+       wayland? ( >=x11-libs/gtk+-3.11:3[wayland] )
+       amd64? ( >=dev-lang/yasm-1.1 virtual/opengl )
+       x86? ( >=dev-lang/yasm-1.1 virtual/opengl )
+       !system-av1? (
+               amd64? ( >=dev-lang/nasm-2.13 )
+               x86? ( >=dev-lang/nasm-2.13 )
+       )"
+
+REQUIRED_USE="wifi? ( dbus )
+       pgo? ( lto )"
+
+S="${WORKDIR}/${MOZ_P%b[0-9]*}"
+
+BUILD_OBJ_DIR="${S}/tbird"
+
+# allow GMP_PLUGIN_LIST to be set in an eclass or
+# overridden in the enviromnent (advanced hackers only)
+if [[ -z $GMP_PLUGIN_LIST ]] ; then
+       GMP_PLUGIN_LIST=( gmp-gmpopenh264 gmp-widevinecdm )
+fi
+
+llvm_check_deps() {
+       if ! has_version --host-root "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 --host-root "=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 --host-root 
"=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 "Will use LLVM slot ${LLVM_SLOT}!" >&2
+}
+
+pkg_setup() {
+       moz_pkgsetup
+
+       if use pgo ; then
+               if ! has usersandbox $FEATURES ; then
+                       die "You must enable usersandbox as X server can not 
run as root!"
+               fi
+       fi
+
+       # 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 \
+               XDG_SESSION_COOKIE \
+               XAUTHORITY
+
+       if ! use bindist ; then
+               einfo
+               elog "You are enabling official branding. You may not 
redistribute this build"
+               elog "to any users on your network or the internet. Doing so 
puts yourself into"
+               elog "a legal problem with Mozilla Foundation."
+               elog "You can disable it by emerging ${PN} _with_ the bindist 
USE-flag."
+       fi
+
+       addpredict /proc/self/oom_score_adj
+
+       llvm_pkg_setup
+}
+
+pkg_pretend() {
+       # Ensure we have enough disk space to compile
+       if use pgo || use lto || use debug || use test ; then
+               CHECKREQS_DISK_BUILD="8G"
+       else
+               CHECKREQS_DISK_BUILD="4G"
+       fi
+
+       check-reqs_pkg_setup
+}
+
+src_unpack() {
+       unpack ${A}
+
+       # Unpack language packs
+       mozlinguas_src_unpack
+}
+
+src_prepare() {
+       # Apply firefox patchset then apply thunderbird patches
+       rm "${WORKDIR}"/firefox/2013_avoid_noinline_on_GCC_with_skcms.patch || 
die
+       rm "${WORKDIR}"/firefox/2015_fix_cssparser.patch || die
+       eapply "${WORKDIR}/firefox"
+       pushd "${S}"/comm &>/dev/null || die
+       eapply "${FILESDIR}/1000_fix_gentoo_preferences.patch"
+       popd &>/dev/null || die
+
+       # Allow user to apply any additional patches without modifing ebuild
+       eapply_user
+
+       local n_jobs=$(makeopts_jobs)
+       if [[ ${n_jobs} == 1 ]]; then
+               einfo "Building with MAKEOPTS=-j1 is known to fail (bug 
#687028); Forcing MAKEOPTS=-j2 ..."
+               export MAKEOPTS=-j2
+       fi
+
+       # Enable gnomebreakpad
+       if use debug ; then
+               sed -i -e 
"s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \
+                       "${S}"/build/unix/run-mozilla.sh || die "sed failed!"
+       fi
+
+       # Drop -Wl,--as-needed related manipulation for ia64 as it causes ld 
sefgaults, bug #582432
+       if use ia64 ; then
+               sed -i \
+               -e '/^OS_LIBS += no_as_needed/d' \
+               -e '/^OS_LIBS += as_needed/d' \
+               "${S}"/widget/gtk/mozgtk/gtk2/moz.build \
+               "${S}"/widget/gtk/mozgtk/gtk3/moz.build \
+               || die "sed failed to drop --as-needed for ia64"
+       fi
+
+       # Fix sandbox violations during make clean, bug 372817
+       sed -e "s:\(/no-such-file\):${T}\1:g" \
+               -i "${S}"/config/rules.mk \
+               -i "${S}"/nsprpub/configure{.in,} \
+               || die
+
+       # Don't exit with error when some libs are missing which we have in
+       # system.
+       sed '/^MOZ_PKG_FATAL_WARNINGS/s@= 1@= 0@' \
+               -i "${S}"/comm/mail/installer/Makefile.in || die
+
+       # Don't error out when there's no files to be removed:
+       sed 's@\(xargs rm\)$@\1 -f@' \
+               -i "${S}"/toolkit/mozapps/installer/packager.mk || die
+
+       # Keep codebase the same even if not using official branding
+       sed '/^MOZ_DEV_EDITION=1/d' \
+               -i "${S}"/browser/branding/aurora/configure.sh || die
+
+       # rustfmt, a tool to format Rust code, is optional and not required to 
build Firefox.
+       # However, when available, an unsupported version can cause problems, 
bug #669548
+       sed -i -e "s@check_prog('RUSTFMT', 
add_rustup_path('rustfmt')@check_prog('RUSTFMT', 
add_rustup_path('rustfmt_do_not_use')@" \
+               "${S}"/build/moz.configure/rust.configure || die
+
+       # Autotools configure is now called old-configure.in
+       # This works because there is still a configure.in that happens to be 
for the
+       # shell wrapper configure script
+       eautoreconf old-configure.in
+
+       # Must run autoconf in js/src
+       cd "${S}"/js/src || die
+       eautoconf old-configure.in
+}
+
+src_configure() {
+       MEXTENSIONS="default"
+       # 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.
+       _google_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc
+
+       # Add information about TERM to output (build.log) to aid debugging
+       # blessings problems
+       if [[ -n "${TERM}" ]] ; then
+               einfo "TERM is set to: \"${TERM}\""
+       else
+               einfo "TERM is unset."
+       fi
+
+       if use clang && ! tc-is-clang ; then
+               # Force clang
+               einfo "Enforcing the use of clang due to USE=clang ..."
+               CC=${CHOST}-clang
+               CXX=${CHOST}-clang++
+               strip-unsupported-flags
+       elif ! use clang && ! tc-is-gcc ; then
+               # Force gcc
+               einfo "Enforcing the use of gcc due to USE=-clang ..."
+               CC=${CHOST}-gcc
+               CXX=${CHOST}-g++
+               strip-unsupported-flags
+       fi
+
+       ####################################
+       #
+       # mozconfig, CFLAGS and CXXFLAGS setup
+       #
+       ####################################
+
+       mozconfig_init
+       # common config components
+       mozconfig_annotate 'system_libs' \
+               --with-system-zlib \
+               --with-system-bz2
+
+       # Must pass release in order to properly select linker
+       mozconfig_annotate 'Enable by Gentoo' --enable-release
+
+       if use pgo ; then
+               if ! has userpriv $FEATURES ; then
+                       eerror "Building firefox with USE=pgo and 
FEATURES=-userpriv is not supported!"
+               fi
+       fi
+
+       # Don't let user's LTO flags clash with upstream's flags
+       filter-flags -flto*
+
+       if use lto ; then
+               local show_old_compiler_warning=
+
+               if use clang ; then
+                       # At this stage CC is adjusted and the following check 
will
+                       # will work
+                       if [[ $(clang-major-version) -lt 7 ]] ; then
+                               show_old_compiler_warning=1
+                       fi
+
+                       # Upstream only supports lld when using clang
+                       mozconfig_annotate "forcing ld=lld due to USE=clang and 
USE=lto" --enable-linker=lld
+               else
+                       if [[ $(gcc-major-version) -lt 8 ]] ; then
+                               show_old_compiler_warning=1
+                       fi
+
+                       # Bug 689358
+                       append-cxxflags -flto
+
+                       if ! use cpu_flags_x86_avx2 ; then
+                               local _gcc_version_with_ipa_cdtor_fix="8.3"
+                               local 
_current_gcc_version="$(gcc-major-version).$(gcc-minor-version)"
+
+                               if ver_test "${_current_gcc_version}" -lt 
"${_gcc_version_with_ipa_cdtor_fix}" ; then
+                                       # due to a GCC bug, GCC will produce 
AVX2 instructions
+                                       # even if the CPU doesn't support AVX2, 
https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01142.html
+                                       einfo "Disable IPA cdtor due to bug in 
GCC and missing AVX2 support -- triggered by USE=lto"
+                                       append-ldflags -fdisable-ipa-cdtor
+                               else
+                                       einfo "No GCC workaround required, GCC 
version is already patched!"
+                               fi
+                       else
+                               einfo "No GCC workaround required, system 
supports AVX2"
+                       fi
+
+                       # Linking only works when using ld.gold when LTO is 
enabled
+                       mozconfig_annotate "forcing ld=gold due to USE=lto" 
--enable-linker=gold
+               fi
+
+               if [[ -n "${show_old_compiler_warning}" ]] ; then
+                       # Checking compiler's major version uses CC variable. 
Because we allow
+                       # user to control used compiler via USE=clang flag, we 
cannot use
+                       # initial value. So this is the earliest stage where we 
can do this check
+                       # because pkg_pretend is not called in the main phase 
function sequence
+                       # environment saving is not guaranteed so we don't know 
if we will have
+                       # correct compiler until now.
+                       ewarn ""
+                       ewarn "USE=lto requires up-to-date compiler (>=gcc-8 or 
>=clang-7)."
+                       ewarn "You are on your own -- expect build failures. 
Don't file bugs using that unsupported configuration!"
+                       ewarn ""
+                       sleep 5
+               fi
+
+               mozconfig_annotate '+lto' --enable-lto=thin
+
+               if use pgo ; then
+                       mozconfig_annotate '+pgo' MOZ_PGO=1
+               fi
+       else
+               # Avoid auto-magic on linker
+               if use clang ; then
+                       # This is upstream's default
+                       mozconfig_annotate "forcing ld=lld due to USE=clang" 
--enable-linker=lld
+               elif tc-ld-is-gold ; then
+                       mozconfig_annotate "linker is set to gold" 
--enable-linker=gold
+               else
+                       mozconfig_annotate "linker is set to bfd" 
--enable-linker=bfd
+               fi
+       fi
+
+       # It doesn't compile on alpha without this LDFLAGS
+       use alpha && append-ldflags "-Wl,--no-relax"
+
+       # Add full relro support for hardened
+       if use hardened ; then
+               append-ldflags "-Wl,-z,relro,-z,now"
+               mozconfig_use_enable hardened hardening
+       fi
+
+       # Modifications to better support ARM, bug 553364
+       if use neon ; then
+               mozconfig_annotate '' --with-fpu=neon
+
+               if ! tc-is-clang ; then
+                       # thumb options aren't supported when using clang, bug 
666966
+                       mozconfig_annotate '' --with-thumb=yes
+                       mozconfig_annotate '' --with-thumb-interwork=no
+               fi
+       fi
+       if [[ ${CHOST} == armv*h* ]] ; then
+               mozconfig_annotate '' --with-float-abi=hard
+               if ! use system-libvpx ; then
+                       sed -i -e "s|softfp|hard|" \
+                               "${S}"/media/libvpx/moz.build
+               fi
+       fi
+
+       mozconfig_use_enable !bindist official-branding
+
+       mozconfig_use_enable debug
+       mozconfig_use_enable debug tests
+       if ! use debug ; then
+               mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols
+       else
+               mozconfig_annotate 'enabled by Gentoo' --enable-debug-symbols
+       fi
+       # These are enabled by default in all mozilla applications
+       mozconfig_annotate '' --with-system-nspr 
--with-nspr-prefix="${SYSROOT}${EPREFIX}"/usr
+       mozconfig_annotate '' --with-system-nss 
--with-nss-prefix="${SYSROOT}${EPREFIX}"/usr
+       mozconfig_annotate '' --x-includes="${SYSROOT}${EPREFIX}"/usr/include \
+               --x-libraries="${SYSROOT}${EPREFIX}"/usr/$(get_libdir)
+       mozconfig_annotate '' --prefix="${EPREFIX}"/usr
+       mozconfig_annotate '' --libdir="${EPREFIX}"/usr/$(get_libdir)
+       mozconfig_annotate '' --disable-crashreporter
+       mozconfig_annotate 'Gentoo default' --with-system-png
+       mozconfig_annotate '' --enable-system-ffi
+       mozconfig_annotate '' --disable-gconf
+       mozconfig_annotate '' --with-intl-api
+       mozconfig_annotate '' --enable-system-pixman
+       # Instead of the standard --build= and --host=, mozilla uses --host 
instead
+       # of --build, and --target intstead of --host.
+       # Note, mozilla also has --build but it does not do what you think it 
does.
+       # Set both --target and --host as mozilla uses python to guess values 
otherwise
+       mozconfig_annotate '' --target="${CHOST}"
+       mozconfig_annotate '' --host="${CBUILD:-${CHOST}}"
+       if use system-libevent ; then
+               mozconfig_annotate '' 
--with-system-libevent="${SYSROOT}${EPREFIX}"/usr
+       fi
+
+       if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
+               mozconfig_annotate '' --enable-rust-simd
+       fi
+
+       # use the gtk3 toolkit (the only one supported at this point)
+       # TODO: Will this result in automagic dependency on 
x11-libs/gtk+[wayland]?
+       if use wayland ; then
+               mozconfig_annotate '' 
--enable-default-toolkit=cairo-gtk3-wayland
+       else
+               mozconfig_annotate '' --enable-default-toolkit=cairo-gtk3
+       fi
+
+       mozconfig_use_enable startup-notification
+       mozconfig_use_enable system-sqlite
+       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-libvpx
+       mozconfig_use_with system-webp
+       mozconfig_use_enable pulseaudio
+       # force the deprecated alsa sound code if pulseaudio is disabled
+       if use kernel_linux && ! use pulseaudio ; then
+               mozconfig_annotate '-pulseaudio' --enable-alsa
+       fi
+
+       # Disable built-in ccache support to avoid sandbox violation, #665420
+       # Use FEATURES=ccache instead!
+       mozconfig_annotate '' --without-ccache
+       sed -i -e 's/ccache_stats = None/return None/' \
+               python/mozbuild/mozbuild/controller/building.py || \
+               die "Failed to disable ccache stats call"
+
+       mozconfig_use_enable dbus
+
+       mozconfig_use_enable wifi necko-wifi
+
+       # enable JACK, bug 600002
+       mozconfig_use_enable jack
+
+       # Other tb-specific settings
+       mozconfig_annotate '' --with-user-appdir=.thunderbird
+       mozconfig_annotate '' --enable-ldap
+       mozconfig_annotate '' --enable-calendar
+
+       # Enable/Disable eme support
+       use eme-free && mozconfig_annotate '+eme-free' --disable-eme
+
+       # Setup api key for location services and safebrowsing, 
https://bugzilla.mozilla.org/show_bug.cgi?id=1531176#c34
+       echo -n "${_google_api_key}" > "${S}"/google-api-key
+       mozconfig_annotate '' 
--with-google-location-service-api-keyfile="${S}/google-api-key"
+       mozconfig_annotate '' 
--with-google-safebrowsing-api-keyfile="${S}/google-api-key"
+
+       mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
+
+       # allow elfhack to work in combination with unstripped binaries
+       # when they would normally be larger than 2GiB.
+       append-ldflags "-Wl,--compress-debug-sections=zlib"
+
+       if use clang ; then
+               # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
+               # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
+               mozconfig_annotate 'elf-hack is broken when using Clang' 
--disable-elf-hack
+       fi
+
+       echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
+       echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig
+
+       # Finalize and report settings
+       mozconfig_final
+
+       mkdir -p "${S}"/third_party/rust/libloading/.deps
+
+       # workaround for funky/broken upstream configure...
+       SHELL="${SHELL:-${EPREFIX}/bin/bash}" MOZ_NOSPAM=1 \
+       ./mach configure || die
+}
+
+src_compile() {
+       local _virtx=
+       if use pgo ; then
+               _virtx=virtx
+
+               # Reset and cleanup environment variables used by GNOME/XDG
+               gnome2_environment_reset
+
+               addpredict /root
+               addpredict /etc/gconf
+       fi
+
+       GDK_BACKEND=x11 \
+               MOZ_MAKE_FLAGS="${MAKEOPTS} -O" \
+               SHELL="${SHELL:-${EPREFIX}/bin/bash}" \
+               MOZ_NOSPAM=1 \
+               ${_virtx} \
+               ./mach build --verbose \
+               || die
+}
+
+src_install() {
+       MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+       cd "${BUILD_OBJ_DIR}" || die
+
+       # Pax mark xpcshell for hardened support, only used for startupcache 
creation.
+       pax-mark m "${BUILD_OBJ_DIR}"/dist/bin/xpcshell
+
+       # Copy our preference before omnijar is created.
+       cp "${FILESDIR}"/thunderbird-gentoo-default-prefs.js-2 \
+               "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
+               || die
+
+       # set dictionary path, to use system hunspell
+       echo "pref(\"spellchecker.dictionary_path\", 
\"${EPREFIX}/usr/share/myspell\");" \
+               >>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die
+
+       # force the graphite pref if system-harfbuzz is enabled, since the pref 
cant disable it
+       if use system-harfbuzz ; then
+               echo 
"sticky_pref(\"gfx.font_rendering.graphite.enabled\",true);" \
+                       
>>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die
+       fi
+
+       # force cairo as the canvas renderer on platforms without skia support
+       if [[ $(tc-endian) == "big" ]] ; then
+               echo "sticky_pref(\"gfx.canvas.azure.backends\",\"cairo\");" \
+                       
>>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die
+               echo "sticky_pref(\"gfx.content.azure.backends\",\"cairo\");" \
+                       
>>"${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" || die
+       fi
+
+       echo "pref(\"extensions.autoDisableScopes\", 3);" >> \
+               "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
+               || die
+
+       local plugin
+       use gmp-autoupdate || use eme-free || for plugin in 
"${GMP_PLUGIN_LIST[@]}" ; do
+               echo "pref(\"media.${plugin}.autoupdate\", false);" >> \
+                       "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" 
\
+                       || die
+       done
+
+       cd "${S}"
+       MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL:-${EPREFIX}/bin/bash}" 
MOZ_NOSPAM=1 \
+       DESTDIR="${D}" ./mach install || die
+
+       # Install language packs
+       MOZ_INSTALL_L10N_XPIFILE="1" mozlinguas_src_install
+
+       local size sizes icon_path icon
+       if ! use bindist; then
+               icon_path="${S}/comm/mail/branding/thunderbird"
+               icon="${PN}-icon"
+
+               domenu "${FILESDIR}"/icon/${PN}.desktop
+       else
+               icon_path="${S}/comm/mail/branding/nightly"
+               icon="${PN}-icon-unbranded"
+
+               newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
+                       ${PN}.desktop
+
+               sed -i -e "s:Mozilla\ Thunderbird:EarlyBird:g" \
+                       "${ED}"/usr/share/applications/${PN}.desktop
+       fi
+
+       # Install a 48x48 icon into /usr/share/pixmaps for legacy DEs
+       newicon "${icon_path}"/default48.png "${icon}".png
+       # Install icons for menu entry
+       sizes="16 22 24 32 48 256"
+       for size in ${sizes}; do
+               newicon -s ${size} "${icon_path}/default${size}.png" 
"${icon}.png"
+       done
+
+       # Disable built-in auto-update because we update firefox through 
package manager
+       insinto ${MOZILLA_FIVE_HOME}/distribution/
+       newins "${FILESDIR}"/disable-auto-update.policy.json policies.json
+
+       # Add StartupNotify=true bug 237317
+       if use startup-notification ; then
+               echo "StartupNotify=true"\
+                        >> "${ED}/usr/share/applications/${PN}.desktop" \
+                       || die
+       fi
+
+       # Don't install llvm-symbolizer from sys-devel/llvm package
+       [[ -f "${ED%/}${MOZILLA_FIVE_HOME}/llvm-symbolizer" ]] && \
+               rm "${ED%/}${MOZILLA_FIVE_HOME}/llvm-symbolizer"
+
+       local emid
+       # stage extra locales for lightning and install over existing
+       emid='{e2fda1a4-762b-4020-b5ad-a41df1933103}'
+       rm -f "${ED}"/${MOZILLA_FIVE_HOME}/distribution/extensions/${emid}.xpi 
|| die
+       mozlinguas_xpistage_langpacks 
"${BUILD_OBJ_DIR}"/dist/bin/distribution/extensions/${emid} \
+               "${WORKDIR}"/lightning-${MOZ_LIGHTNING_VER} lightning calendar
+
+       mkdir -p "${T}/${emid}" || die
+       cp -RLp -t "${T}/${emid}" 
"${BUILD_OBJ_DIR}"/dist/bin/distribution/extensions/${emid}/* || die
+       insinto ${MOZILLA_FIVE_HOME}/distribution/extensions
+       doins -r "${T}/${emid}"
+
+       if use lightning; then
+               # move lightning out of distribution/extensions and into 
extensions for app-global install
+               mkdir -p "${ED}"/${MOZILLA_FIVE_HOME}/extensions
+               mv 
"${ED}"/${MOZILLA_FIVE_HOME}/{distribution,}/extensions/${emid} || die
+
+               # stage extra locales for gdata-provider and install app-global
+               mozlinguas_xpistage_langpacks 
"${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider \
+                       "${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}
+               emid='{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}'
+               mkdir -p "${T}/${emid}" || die
+               cp -RLp -t "${T}/${emid}" 
"${BUILD_OBJ_DIR}"/dist/xpi-stage/gdata-provider/* || die
+
+               # manifest.json does not allow the addon to load, put 
install.rdf in place
+               # note, version number needs to be set properly
+               cp -RLp -t "${T}/${emid}" 
"${WORKDIR}"/gdata-provider-${MOZ_LIGHTNING_GDATA_VER}/install.rdf
+               sed -i -e '/em:version/ s/>[^<]*</>4.1</' 
"${T}/${emid}"/install.rdf
+
+               insinto ${MOZILLA_FIVE_HOME}/extensions
+               doins -r "${T}/${emid}"
+       fi
+
+       # thunderbird and thunderbird-bin are identical
+       rm "${ED%/}"${MOZILLA_FIVE_HOME}/thunderbird-bin || die
+       dosym thunderbird ${MOZILLA_FIVE_HOME}/thunderbird-bin
+
+       # Required in order to use plugins and even run thunderbird on hardened.
+       pax-mark pm "${ED%/}"${MOZILLA_FIVE_HOME}/{thunderbird,plugin-container}
+}
+
+pkg_preinst() {
+       # if the apulse libs are available in MOZILLA_FIVE_HOME then apulse
+       # doesn't need to be forced into the LD_LIBRARY_PATH
+       if use pulseaudio && has_version ">=media-sound/apulse-0.1.9" ; 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_desktop_database_update
+       xdg_icon_cache_update
+
+       if ! use gmp-autoupdate && ! use eme-free ; then
+               elog "USE='-gmp-autoupdate' has disabled the following plugins 
from updating or"
+               elog "installing into new profiles:"
+               local plugin
+               for plugin in "${GMP_PLUGIN_LIST[@]}"; do elog "\t ${plugin}" ; 
done
+               elog
+       fi
+
+       if use pulseaudio && has_version ">=media-sound/apulse-0.1.9" ; 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
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
+}

Reply via email to