summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-11-06 19:40:16 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-11-06 19:47:07 +0100
commit5a54db063638181694157c6d0e29bb33ad0aa303 (patch)
treec82404a9fe1656e861c6fea5a945ecc091f4cb93 /mail-client
parentprofiles/arch/arm64/package.use.mask: add bug #s to my last two masks (diff)
downloadgentoo-5a54db063638181694157c6d0e29bb33ad0aa303.tar.gz
gentoo-5a54db063638181694157c6d0e29bb33ad0aa303.tar.bz2
gentoo-5a54db063638181694157c6d0e29bb33ad0aa303.zip
mail-client/thunderbird: bump to v78.4.1
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/Manifest65
-rw-r--r--mail-client/thunderbird/thunderbird-78.4.1.ebuild1038
2 files changed, 1103 insertions, 0 deletions
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index 4cf7fc90b0a6..b159b9e87ebb 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -64,3 +64,68 @@ DIST thunderbird-78.4.0-vi.xpi 674611 BLAKE2B d143adb7bc1100625139a0c52909c546a0
DIST thunderbird-78.4.0-zh-CN.xpi 687181 BLAKE2B 6ae557ec78fc7f0d1dcea14ef0f853e9a94e662768f0e791d75d76626dfc47ac1ca0156e8a98df2214454e81532ba3f3dcc7a95ccbd659d1be1953d7ce987766 SHA512 05a3ec86e362fe4a2a22d98cb58b9e9f3d98f1bd3d1bef29939cce11acf220bcdfff05288ddd303133f836b078228b079cd803dca8c40367aefe0b524f56a189
DIST thunderbird-78.4.0-zh-TW.xpi 687619 BLAKE2B 3632264d8d1810c866d4efc3885d6856418d7d3e9d35d6bdfd7f1618fa325da2b251d9b030ec7e9d839653a269cb96e6dce0622228365a4f6aa99dea6424fc7f SHA512 dc555bc40bba3af879c48d294dc3d417547dc33a85b7419dbe34f7cbb8e23075e1a241f3ea36a1687c0338ca2ba3185d0f1de57dc6966c98c2010883fe54378c
DIST thunderbird-78.4.0.source.tar.xz 361176060 BLAKE2B 189ca273d5ed6b450cf23af138653ad3460808d3d1dd13cc795b090045f26875441f741d98d43146c0ed278db440e5a153b7862e7ac38e49f606a7b3f0fd4ad1 SHA512 0536a59286dec2f05e3fa00bdcc4f2e52139d9c53d5c086e0074d0d7c6a3b01bbb4beee2c996ffecace2950d1b8b35e2731e6c681ece804b1505acd26f58b308
+DIST thunderbird-78.4.1-af.xpi 548318 BLAKE2B c6a9399f0d97b84db5f2b8a569214ca6ae50109db85ff3ccd7f11eb9a0727be2cc3753353f0358fe25661bc7aed51658b20cc11a678abb00fcd2842084930791 SHA512 bfefda4356d93b47e29d95d47fff108aad07a7eea3a1f17cb22376aa3da8d775947177098e112698b0b3962cacf5cbd7d238549e88e7774398514e51bcad4af0
+DIST thunderbird-78.4.1-ar.xpi 648573 BLAKE2B 0f58b63d843d57832914555a4ebc0034f664c0d2d8152be40fd5d444cba7e65d67c7ba6807f13ca45d03b8d0c29e662a3bb3b6939ef8bab9fee0311ee8651407 SHA512 3501d796db1fdd73252f7c260e455540e70a5780378f72ed2c82112f21675d37625a131bb52b7b660b91fa702d8aaa974c8c61ca8f3f5e5fb52dfc91ab1b3eef
+DIST thunderbird-78.4.1-ast.xpi 561231 BLAKE2B 4baddd1c8b01d76aef79029374af283cc2586c6c111ed2ee1a137255aa741468d4db32a81b7073d1b89189bbc45d70c2a072c0b5e87827dd24793b4b1435b65a SHA512 b50430a43bde0be86fca000886f751922785373635f164bd0eda90bea7f360dfdcd3f7508f16ba113bcb6629d4994628534f8ac0d48da29986f8494a85615976
+DIST thunderbird-78.4.1-be.xpi 666631 BLAKE2B a53e883b6f687e544437c4d5137060c649fdb053ec1cc6ef39b82f298bd86a28dfd1cf95ea0e141eb3e7cea90e21a91a769e4e81608cade9c925d7bab1a8d243 SHA512 5d869dd3e168a607a4b23f7a191ca8995b91db817ce427f100c4aff2ecd71fc959199544f881579978949b181af8b6983fbe7496395bc35fa265d9b1b6e518ef
+DIST thunderbird-78.4.1-bg.xpi 672388 BLAKE2B f1ed34109ae2551982b06be9b23b9d17059acfe58918f6d627aaf8cc05bad94ed594873e9828e223a43ac0004140880c50a0e800fc1a48cfa02312019f29246e SHA512 5aa6843e94f311cbc4e77b7ea57451991f59652b83e2e363804ed5b963b887fc8b1aa76701a7baff86070fdd600f8d58e83395f513e4419f081d4e658ee2e727
+DIST thunderbird-78.4.1-br.xpi 604494 BLAKE2B 7ada0534eeb8de66a4d8b18bdaae9584e405a956af690d8b87b6315a5b1cdb548b7e1103e56232ccff2c0c62bd7f48ec94e53943b9120b2f4fcef91afde41c41 SHA512 6798878619b3d8043f69a5758840591251b99f57addbfaf5bec3cc6d32aad3ebe2fcbfcee1b0eef4a5fb853e92bd3938d47bf3c7f738ea17d8aaf1263589d33e
+DIST thunderbird-78.4.1-ca.xpi 620405 BLAKE2B 6096d0e22cc864355e6ff3b4390a882f32e299ca704445a6360b1828f2115d1f1fb68e11a5a114aa1577de949fb4ad434da25a2bcfc23c04cb68777a4ff2d80a SHA512 26bac010f52d4eb722db9c7a040b18be2f450030f8f3506c8a7b057e91b7271d5e0ba1d80ea6a285c08de79b22b79fe9150f6fbb57b192f01885a666e2ed1008
+DIST thunderbird-78.4.1-cak.xpi 635647 BLAKE2B ddf336f2ac7acdeed23ef5042b03daf7f5550f3d9baf9f207a5d1770556f87b3e7e496506a050c32ed7a6e4c0481e871d90de2bb929f32942af04cbe9fc7f980 SHA512 8b468201bc564e2a3e00ad8056b19a088052d03452d7f320a3d3681e03fbe34dad01734a0cb341c2654997883a88a12cda8b0934536927da2522f7066e8423d9
+DIST thunderbird-78.4.1-cs.xpi 635312 BLAKE2B ed4c8c69e62439d516cd504d51e15e6c3dda82bed2dbce2e8ccd58db143ef03f08420545b5953405c9d0b5647079bb7d1ebea7bd2bcc5ff5980bf1f6aa3af3bf SHA512 828beafb0d2cc4c68d97ac205baab99ad3ea6f2bbde80279cc69aa2bf7fb6ef52f29775d3d0e5ea14c1f2016bcb93e2fb0da3c464df398abd8d1774beb964937
+DIST thunderbird-78.4.1-cy.xpi 646240 BLAKE2B 67ee50eac07ffe13f7cd39ee4de514b5e6b1350cd272061c01fafd80f8ffab259c8625632fcaad6fc28cf6eacb3026503778bb4519aff533fd89e0517105ad0c SHA512 83c2ac976122030440bd6fd3f05c52b945c2f5e6ec8063e96cd50307f5edc7fd8cac7f0047899f39f693065c758a662e881d507740ab8b14f53fa17729b8260f
+DIST thunderbird-78.4.1-da.xpi 620989 BLAKE2B 9ac6d9f19f9bc94906ab90261d0e6d714b0dd825ccafc47575b77342cb8c6ffa4d909c4a3fd7a6829148c2b243f1217fde8a116ef719e62697fc24337e8ecb46 SHA512 270efbc365b0b75aaaf914b692b01fd13db4eb4f3ca9029b65b5d4925255723a2e66cbbb021e08bc3ebf142b14731882bcb06a5225a5a7bf14efa30f89504b53
+DIST thunderbird-78.4.1-de.xpi 665189 BLAKE2B 93547f0a48cdb1972965e3debd12d0cdcd363c15f0f40f9d0b6d63b7a2cdd723d5df48d91ba6c74a483856d7d26aada90a186327b3b9e6392b8157afe02c82aa SHA512 b8aaca5390df81f91a13ddf9b3de63c2736e666af5791e4565c95c5cf5569cd26cf5b7f885789cf5f8e33c05ab2b15da468da44580a4707a54f3ea9954176a8d
+DIST thunderbird-78.4.1-dsb.xpi 666773 BLAKE2B 03fa27370f877898f4b5e831d30194f89d9d2f44a623fb901fdd59b6fe0c408240ad13f722b54daa9762dce3fdcb136d4213af9a0cdb5c975bdbedfd3f886519 SHA512 6a340225464495893b5c79b3da35f5331a35f69381a8a13bfde7dc57596be8134fc23003aca40ed606d10f04cd2859969e5600aa840393730fef1ac6965c66cf
+DIST thunderbird-78.4.1-el.xpi 774450 BLAKE2B 6bb3a83a58839cb49d44c7f52ab7a9949b645bdbe420e42a96d349185c4dabd1e9fa5fa05b14739a599bf75f48353cf4de2affb835378ab43af4cce1ceb2e9ae SHA512 d7a8ebe4ed7375cf69c4d46191d6e29292c2f627ce621515344b69228f24a57104b225eda2c6f479978dd13bc7fea62d102a883b7c891c236800a423c92e8133
+DIST thunderbird-78.4.1-en-CA.xpi 611767 BLAKE2B 8cfa00ae3733f8226263da15356b18239ac5592b6013d9c05f185bc1382d8989361269f49b0b7a6a83561f6c133969a158232f02ee227f59f446ec58ddcf85fa SHA512 82c27d5e5ac96b22ba43439d8cb68d925b66928e98f8f207779b00fb8627ffc275e1ace2cf9d3b49ecf874aa9d2ca2b4f8372bcd527f2007b80dab7d8f4bcbf2
+DIST thunderbird-78.4.1-en-GB.xpi 611184 BLAKE2B d9e9029448e425d4d32196c14e96706bc428f23ceec58289baf39835c2fa70167d126c733daf4494de4ab0a89583bb7fa04a062f3e48ed950dcc4475b3a832db SHA512 3ca37bb4d1359e62539524f5ba39b896fc7df746b1d9c1e05c435717813d65cd5d854cefb19865ef1bb5c4c4d671c0175dec0d98f8497de9a6a2e9225fe5639e
+DIST thunderbird-78.4.1-es-AR.xpi 657787 BLAKE2B 9f2eefabbbddb52ecabd3758c0da4efbffda21ba46a4371972813e090f56120d8cb06af897e2d99d8d72be06fe2f3928288cb3e9a0311e2b1d858cbdd2efc566 SHA512 78951432f432e55c569670fcda06679786613e267f2e2b8f4bc0ca6368798973c82877969fceb670a3bcbb3ae630180b20ae7bde5634a30cfb7838e4a1d6a271
+DIST thunderbird-78.4.1-es-ES.xpi 569799 BLAKE2B ebfd40c99dea8175526322887cf21c79231eaa9def1f96f4a65f55b577a7d4009503a595a886b9e090d5c56e1a0cbe4810133e5650b136fe9cacdf0387e2aca5 SHA512 b84434825524e6b792ea53faba118aa0ff246b55e59eaf159821207e83cd25ae99bcb440cf46593ba37e939ef7381005902d53e7cd3d107e78ad73cbee524f53
+DIST thunderbird-78.4.1-et.xpi 597702 BLAKE2B bdd9f508b9774485891a5821f1e8948278dd77f5cd3b7b1a01562f5a86ebf498929e0f1769133811684e7ad3050becd4dd9fa4f23207265c4f3aea65f6da4d51 SHA512 6b7fbec3f153e240173f93d56cf6d6ced7a01a3d87d9ddf0f590d15b8085460a7b8b868320f6c13bc20e7bfc03fed57f174015c580b27b830b9b85623cf07c35
+DIST thunderbird-78.4.1-eu.xpi 632929 BLAKE2B 7f8c7552c487c14cffaa0afe63fa797f340e5f7cc29c9f96b90c6e876cf0a83c2bfdbfe15f778a7618692068c784f9295f51cd2d7466e6aea6e6081b58dfd6d4 SHA512 1751166117f9e351b405dcb634ad79f1268664e5afea9e05e9b7071769559785a80561eb18165ecec1c341776c080dbb45c6d3630d6578cb0d2763438f8f69a2
+DIST thunderbird-78.4.1-fa.xpi 639719 BLAKE2B 207160383529efbd744adea53e22404d6f8c6515d84497a09064a61a84e6be355ed76e75c15a5ecccf92f5c128a303111031da3e5f110b7a1a847c138dbd48d1 SHA512 2217fab88d05cd205e17e7e0c108f8eb32c9d2dd641355986ae3900ac70e43b166e6e2b756b38cd43d5e48f9a158401220eec53fe8137c5bc4b47136dc8e4c71
+DIST thunderbird-78.4.1-fi.xpi 642445 BLAKE2B 86175f6d0d3c58e933823b6e94779875b86c42ad1020de71a48439d44a137861223708a079a22847ee175a7338e1e7a1ba7c186bd8842041ee09bc4864207fa9 SHA512 4ccea199a779716d0de5d946810308ecb54f43e0d8a17beb360d27c05fb357e640fcf73bda083981fa43182636c025874e4b4bbbbb09b23225c3c200943a1e15
+DIST thunderbird-78.4.1-fr.xpi 669492 BLAKE2B 82deefbff76a7afd0a4fd0bd89c54c12fdefe6c022c8a14f98c3b8abccfc99bdf57b286f7cea57f7e79f31d08bbc632fa7e59a9e3f703370670d250514013a16 SHA512 efa3af6ef013883ad3dcc47126716052fd1c5a9bed833c1608294faba81942ced7d0cb39ea39b13a52cba40bdeee6d1d1a12ec42ca4e4c98aecd03836fc0129f
+DIST thunderbird-78.4.1-fy-NL.xpi 653085 BLAKE2B 6c8865ab64e2dadfdaa49dcb5fda90b7bf9b833c2e256edd99d0c0e9740c9b94fc774ec9d6b28322fd2d1c4dfacc1350275ecf7024debd53c9e1163391d6cdd6 SHA512 936bda91cb40d1b2ceb758c15db251980afea194f30b05ebb41340bc5d62c0d149fe21a94c44ecb70a106c5f6321dea44c6f7e09ca530730a59c9836c5a1e7f9
+DIST thunderbird-78.4.1-ga-IE.xpi 600679 BLAKE2B b3e568ddd4442c7d34c8dbee349ec8341d5bd99c9a337db1e32226e6c8c1c5d2f55de4b29ff370e8841178d32d30a631341a1b7c6ef6572d878b76ba9e56e7d6 SHA512 43752b5ee053ca81965837c556712b17231dfcf8695f68b8f13865f14d17130ce112f819461cf7a1473eb409e7c4a1f14242045b56a6afbc7d82bb4553b1c175
+DIST thunderbird-78.4.1-gd.xpi 609338 BLAKE2B ede36c4f98d2c3974053523683ff3d3c545615875215a5de809877b17f8b3804a7fd0acbd809ace2766c189d3330611d28e641e03138464b9e5120c9a9257e53 SHA512 1a0f2ba96de7a27659fd4f40813b689a2102fb66b8defa8cf545de0159521c27ad50d1e3b3c808ceb6736c15d96f8fdf686bcf5ba1fa42003e51eea2811d30cb
+DIST thunderbird-78.4.1-gl.xpi 615719 BLAKE2B 05c9acd78f446f25b1218b2ac1128135f03dedbbdbed5286731a4df526b641f6063a315efcfe1fd6ffdfc547ca941264e67e33b316f474f9435f975780ad6b65 SHA512 85f0b8cb8dd87bcb8713855b9ccc6357490485541d659021b5cd1871e5b31779bc02c6c28039621aa7c2b674471f70da373d1f63ca61ecf0d23bee42ef59e31b
+DIST thunderbird-78.4.1-he.xpi 640501 BLAKE2B 1319f6cf580818bf102de553c794cb40be9c9a4852bf068ad795318df6854ea70367379e04a5ae79b343f0d6c4b106096e3a21aea4e9754f5956f896b0368b7f SHA512 f7096d8ed47220c1e60cf62ac70dae9dc89806b7996df21913cdad38e7bf81e5d1ff80ef0c02ffc9013b540379d869ea28e4810652bdf6fb6d14dce15473ad3d
+DIST thunderbird-78.4.1-hr.xpi 628989 BLAKE2B d0c79521fc190756da4723330cd4ac644ce6689c5763405c959d0b26ad0c26c5731986732d000ee59bb641903830c9aa04a228b98245c898cf5d7511a0be48d7 SHA512 e93428640f39cde0f3601a1bc4133876b5cc4773bfeefcb22014fa059ec8f8b4a7e6bcb19c0bb2efbd7b010d71bfd92e756f6a5beda8625e274e088ad810ecbf
+DIST thunderbird-78.4.1-hsb.xpi 668599 BLAKE2B 60850ed91db6846a06330d7064012c7ffaa634875e27fd6eebb4367455e281ac6c230bb0b397472c3f28f0e5ed5f25586d53f6dfdab82a0583bc78296fa01e03 SHA512 a285e322b6bf49c4452f8209fad848db62a02b49f08b586a96084be42bc8feecb021e24adbbfaa617f322aed06f9172539a9e028d553f2dc0e93fac7e36a0d39
+DIST thunderbird-78.4.1-hu.xpi 679838 BLAKE2B d5fbb5b6d5116ba60431704a22596d7e24b3c4cd07ad3b3eb16aeea2a6dbdc0a859c4f59028ccfe3c206815dbba8c18090f604ae71f1130f2b7138f27ca2a669 SHA512 e02ba92d7870be22916ab685eea85fc778fe63cf74b9aa22b0ed3e2488086267ff75776158ca376cb3597b77c654eedec912950729393d47d1085ee0c0a446a0
+DIST thunderbird-78.4.1-hy-AM.xpi 713296 BLAKE2B 743f1df71b4ee4a6e51e6e10a34946251728d5d99cdac2793a9eca6d7d58eefa68a16ab3f2f411773f59cbf808a8311a85bb67ae1407e793abd8786df8dd48dc SHA512 250b5728b3ebeb297337d8917f9c0fda31c8f6341eeb522de431f4ea2134435d14d3a982f1f243ed3c677bbe449fe21d4f23f14770f441346cf3aca1864bc0d8
+DIST thunderbird-78.4.1-id.xpi 620648 BLAKE2B 7e8b8511958312d9dc40941648836fe46554614a52690350c5e56d5ab141979d2cfb20892db9b93fd2696b51d6bf2aaa41b17613ce85c9568c7c92476df4780d SHA512 7f5688bca712f1a90288d6300d73892141a08fca0e9cabaed4c4d4dac6a185f30737387b124b9446db0a9fccc18b1b115dee1dfa9a4a70e88686c533d038830c
+DIST thunderbird-78.4.1-is.xpi 581611 BLAKE2B 0427ef283006b7d0e23ed82612be5c009d933cdc8f23fdc888f894ebf9036b0ee73c039f12ce57dc51cd80d56ce45b9cfbe214a6db297409d33dbb0663a98fe7 SHA512 d18c57f3c5a6d0cd68ab21bebae48a96231aa4220ce16c9f144befbbb975f8c1a4b25ded25b9b7c147b88ff86eaaf50389917a790fa3c04ae5133eee6da057ef
+DIST thunderbird-78.4.1-it.xpi 572959 BLAKE2B eed756cabacf00a897f29511f6d911832dc0abd21965fdcaea94238016cdbd36de9431e9bcee4ae8cd2b5a38054409d7d1a5d39c8dae982ec2060bad30d39219 SHA512 1ec31aabc045558d465746fa81a081183d5aef0ed26e36846cda23d08afa7c736d239033fdc688a0f24dc6e03b597106a9b7d3ad36d1c5e29b6a0c6bc89cec10
+DIST thunderbird-78.4.1-ja.xpi 722458 BLAKE2B b52a0c26ba217a8852b786096f7eaca7e59722396716fa798c92592d90a53ac879c2bb113916cc54fb969643eb491309eaa233f45ddbd27f20b603683e1ee09c SHA512 97f4919a2ed5c1c8e79fdc2f050a7b43cdf3dab505049ff2ea3e45642dd59ae81d625023e1be86b1d2cf42ad09953b24f8d12146557276b60fd33c5a7e905504
+DIST thunderbird-78.4.1-ka.xpi 717017 BLAKE2B cb64ea5e9d5c49f4f05b545e1933d0f818ae836ea463b9411bae3b9beddd1fbb6f374a8b35bcbed008543f4dc37fa5a26c1db0e1ed71e6a9c8449afe22736c5c SHA512 baca618e0fc05179dec7dad0e6170cc9a9585b2fb2b2ae4eee72a663a90e3bebc1fdd7facf8ad5f16700fd90040e6a062f5b48f14eaa168a9d77ac09a6e6960b
+DIST thunderbird-78.4.1-kab.xpi 651920 BLAKE2B ae94d27c17a67f70a833235d28f988350d70f1048ccda885b57399abddfbc9ee70ee9237f3935a6d96799f662161d236cb11df4da6e0aabf2404367c2804f207 SHA512 a436ae999e7912251a5b6aaf5b798793f80de0107489cecf80b5b921930cde7773bb160946bf802f35d5a01bd3eeededfa94ed1a254d238504f4a9e5adac6f8a
+DIST thunderbird-78.4.1-kk.xpi 720440 BLAKE2B 1f6a4b74b0090f1a1626da5cf5f0c94c0db2c4b1d9b5ec1b78eb3753e9d9cd0c868470d94175613414656640d759c7c7c63eb2641914c58dcbe575d64b9098fe SHA512 b8351911adc8e43911a860a9456b5803183a08ef639424e3321fcbbfa7bb0bd221aaabb7e65a9ea0b1065ddaad68ac5f223e77f2cffec7db68177c27b2080905
+DIST thunderbird-78.4.1-ko.xpi 688207 BLAKE2B 8fa231594c7c7f9a37899321e6cc32b754e2906817c8fa618adab66de03dca01cd55376b62d7950ec9e7d0bb26900f1daa580856e3fb7e0a796f76ab987956d5 SHA512 93c524b02de49f2d285ec84694f16e72ab7f2fb44e0d72bf559c3eb37d469a166b96e5fdedd020ea50f6e166b7c848bfeb8f9f61c6729445094acc7e3082d400
+DIST thunderbird-78.4.1-lt.xpi 660296 BLAKE2B a6a77b471090c88273b50219359c2b2c38921748e3c8cbf8899899a092923c11f37adc33dff869e7c574b165cd931c089d785d7eb168bcef2057d9fb6be29913 SHA512 d40f03b1598b04d094290b9ea8d26b8d1e2a473c5287fe80fbaa24535f16863b24ed2707349672bb12d5c7de74a1f7fa9f15730a971ff60aa4b26877392466ab
+DIST thunderbird-78.4.1-ms.xpi 572136 BLAKE2B e33e1f552419e7cc3b6e5568e2b921a87cea2d06ebd372c2a55070bbf37e8921f8f9233a6f6ca3c27fc821e2b3a1cc9272b8004e60ed2e701cb46eda3b7b8dde SHA512 b108bba36de77648ce3aa1ac52156be4c1f063469b311eebcaa33f45fcd9cc278bf4b0072f1206407845294b48e350e43dcacac0963b350bb5f7626a93e26551
+DIST thunderbird-78.4.1-nb-NO.xpi 637231 BLAKE2B 12151f661f422e977aacbe1c684c12805b3ae13a4513bd99d76e493e3806bd75d6850670f8cd568164fee00a29768017027be5c01cb2e35a1e8b1f53dd7e2a72 SHA512 ec9cafc5e641cdaf5d24f9d3b24cf20eaa9e81c974297d0f7a7614bb6d0d0dc049355d07fc885acf0ac96769c2274257dacfacc75c957971aa76c231d36c2c95
+DIST thunderbird-78.4.1-nl.xpi 644359 BLAKE2B 071cc8c27e9f1cc68d5b671048054d9a153e9ac540196399dd234dda92bde9a9c090873ec53f91e9346d67884417c8674fd4dbcbe32a57c12ec24e4c4e6730f0 SHA512 a99264c5d93b1a99f82d0e74926183aa52eeaf360c614bcbda32dda4cd4b56c2c17864f4a62c59c4e9988a5008c44747d5982f715f2342ac00257b8c4179d422
+DIST thunderbird-78.4.1-nn-NO.xpi 640685 BLAKE2B d1bc815dc5b32d846522589411eac560034e53c6917d5be78c04ce8fcbc10b37c03608f5a0c209389accc624242dd5d4a88da062add3f33c7538abf6f4a7b830 SHA512 cae1bb197736bbe2b3735b254a2b3e52d19a1043fdd083efc7c50869953487172f20aed3c583a539b9dbd4587481f0961bc4e27cf8f7e9bf0bc476fa7b398cf8
+DIST thunderbird-78.4.1-pa-IN.xpi 633183 BLAKE2B 7691cf51d3bb93bee7ba0006907ac8d7a0054d8330485bf1282f89c405469d4daa0549bb72b90a0efcf229d4d6b4c14da429dcb83d67d8ddaf2f18742c1b7c62 SHA512 ff5d71b98177d3f3ae2bb9d366cbbdd2cb146e239307ec03a49735c541edceffed6f310525ae98b0bab3df96f8220705b789e0e76a5fea4e1f9a6f53eec15386
+DIST thunderbird-78.4.1-pl.xpi 637122 BLAKE2B c50973459218e48809e4e737dd05262f1c48661155149ccdc260b212717060ba4267a9643789ac9d37adf8dc7dcdfdabdb6e90838c31c3f7d24270330db3aeac SHA512 a35d01b006b251d3c692e80444802d06fdb0c1ccd5d05702e1a4d672dcb94ae50ec002da186b037d8e545f012f7c9f6d299860bcbf9c2472f802282859907bb7
+DIST thunderbird-78.4.1-pt-BR.xpi 649417 BLAKE2B 545c2b032592071016686ae1dda65e568e8225a36b9247e7aeecd5205021327c2af815da71f137b891a3f37d9b2bf77a096b4e8798dd459236a06c3d268fb43f SHA512 98e2fc6406da9a2da1a5a38426f4293f2ec283babbfbe788b553f25f49970154e797bdcb38ce3b5b253acef274f6a27970ee14a9326cf45770081ecb3e28e0e1
+DIST thunderbird-78.4.1-pt-PT.xpi 655500 BLAKE2B 859e02604d1d3e036219c7db0ff7c8728ee253dc6a43b1f8b0b10fa31c86fca4e7e97d9ea48591588d01517103e69eaf732bb188ef1ab2d9c771fa155b7378d6 SHA512 a73a1161b2e8afc7e93f4a32bb4e83ca4f0b1b9eee13e848ea1a504e71b5e2669475881381533cccd1fb509d757a76cef35fa1b451d3bc870befa2758fd7adb0
+DIST thunderbird-78.4.1-rm.xpi 646532 BLAKE2B 27638a38a47f4fa01d290582d9ddfaac90e71bd86f8fe7889051560773580ece7f3853caf30fe8538657407272d49d9973501834e6dae3cc5f5be829a759212a SHA512 1f03a390426b566583da71bbffe2e694416fa8ab7b3db609fffc7cbd0f31b81b4698489804bef65734372aec5607966102663c702f48fbea21e48f861746702a
+DIST thunderbird-78.4.1-ro.xpi 662635 BLAKE2B b870ad6aede8b501fd421a71372e25f8600a0a932cb5a17dd56e8e12f15d316680080cb06e56a80f716f7bbcab1d4db42923c6f378fdf3fc0b36875bef5ac497 SHA512 9f1142ee53069b92bf5a479abc4e9fdc9a6a10e3f9624511b88bf57b504274a010bc50131a729a8bd660dc6bd3f65258b19dd53f88734313b11f69bd53a2a0c9
+DIST thunderbird-78.4.1-ru.xpi 756189 BLAKE2B 4c1aa549b52d553416c74380ec2868fa7fbda33c9bec667123b929626827bdc1a91339b5179917062697d14345dc5f9ea3f8cfb1404ee4efd747755b57fdc16e SHA512 cc02f11d45cf76180644861ce6604528993eaae30679de0d53276ab588b9acaf44a953bd531cd3c6841d30df1e2b897340dc2f24f26abbb995c6eb311e978a60
+DIST thunderbird-78.4.1-si.xpi 651072 BLAKE2B b82145ea13b173e61825deba4d0d55508e96e1c0d1110bfdd1a4bfd2eb6262d411af0a3ec0093093934e850c3bb4491f6cd78e3bbef57a000798f611d303e6bf SHA512 d090928f20e1598c0b1189e5b4969a34284ec2c27968bee5a34c16a91b038b1c523eb4a9d40a3b8a9ada71eb75e9a59ce3a49a5d9984b4f9ec2eceb7fe96b42a
+DIST thunderbird-78.4.1-sk.xpi 643183 BLAKE2B aa70861a950012f7a2ebc9213bf4fd735cb0bbd3576ec9c6a81c83d18490b139cf1517ae957bc87283002c33de2423983a95e1ce909cf00e8536753e9446062a SHA512 480d978477c16823666902d6c9f34e77342e19656a5b3f1fb01db58a09b15115fe88997886a6cd5658545dae042b59070494bbd048b43ae4bcbc5d56893c017a
+DIST thunderbird-78.4.1-sl.xpi 632347 BLAKE2B 3d34d31bda5757d21c4d626d0895541028b1517d2d41d9b5c1e27c23a19f3b15f79cc7cf51b8b74ca893c88657017f7bf8dcc9a91f06e4a8949af25367e4881e SHA512 2b762c1e26d3e4fc3d4e2ab378d30fe0d3ef1920cf58845e0e00c1d1c05d098c6ded6b24cb4b0c4774fae234dec20d9fd880c4357d1579ac275984e9a01ba100
+DIST thunderbird-78.4.1-sq.xpi 657824 BLAKE2B 08235502d579eeb118611cb4862162fbde3a8b8cf609efe5ee6be2788fe02472d8e59a7e80b0ecc92978241fb48926f1fc15b5b512150831cc61f2eed4bbe60f SHA512 cca35734e6db9a52f1cb6f343829868b6a1feec3ec72ab8913c435df1909b85bd742f0be85582f31c1c0e4960d93caaa43fa641a5d2720860025d39e3eea59ac
+DIST thunderbird-78.4.1-sr.xpi 683067 BLAKE2B 38aae8f3a87bbb1af5553ac23129ad0ecb8a99168fc4a1d7be31fcf4ab9bd4982b02632acbf564bdc07786320ba0a0dd17ed472a557b88fccd52584f58288a77 SHA512 5dc2df3d6a88f44fdfa8f271ad672d916f5f54719a413b464d94f22715883d619313168f319e74556a5b29aa59211dd1ff0c0efe3640103a6d6b68157830bd43
+DIST thunderbird-78.4.1-sv-SE.xpi 648870 BLAKE2B acc953c93d4668e277da68d67a6c42737c168d8c21ae27b8741f336d5ef117c879c21130bc0e78fbaefd28b23194cae7bf52509d7fc07b7f690456c1ca09a0e6 SHA512 1e18ec40cb201ea6eb3dbeacad240c6f4918c59d790f7c01f62f960a181d22ecf08a5450c87bd413fe69e4cca3f6d3fddf6643fdb06a394d90bee8da90961725
+DIST thunderbird-78.4.1-th.xpi 712023 BLAKE2B 59ac63d311a99fa424314f0c91a62dbd438ced8903779024f71579c2a0ea26220c89f6617a7e4058a8222623cae0ad3e176fca71e788890b6ba75e9b1d5c4071 SHA512 91cd9b58e8f94933abdee63596890c64b265dc602b1c8cd6495e1b88cc425923918e4989d64315a66594d6381d025594179fd55dd596c95cd0a64300b02317aa
+DIST thunderbird-78.4.1-tr.xpi 649078 BLAKE2B c2848cec90dffb392250fb3ddc496becdca63fd9f45bf1d525feb4c0df1a258611a3cd3470599367ddfb43a287fd5f1d95b1bf6b0dbc25432ceb3d4907b0c62c SHA512 fb9242c3ef39f2c8613c5a73a6184357e60c2ded507a3d7f27cd3593c5a978384c9d5fdd5f5696c39b45073ad45964ca193304d7cab729392b99491994429ef7
+DIST thunderbird-78.4.1-uz.xpi 586581 BLAKE2B 5febaff010ecd4b42995d94f6e98691e450b5d917012fd60869eb5ea14a0b84900d6fb82b1505d2af875ee47962b17f494c78aea11bb03b4d3566efb574ea422 SHA512 c937e048468e7aa263d123edc1162a1dc4e2ec03b50e0cb534abd931cbbb3e0974b7efa4ed3c33af26b7439398191a02a5b67e9a8c06ea76a8a4a863f0469f8d
+DIST thunderbird-78.4.1-vi.xpi 674607 BLAKE2B bbd36271879a5d23675dd3a5edfd5eef59119d6e1ec8d54b1899615b4431132e54f8268b3ce4fca2b825f863e759304053d1e94c126fc678d261d349711569c8 SHA512 3ba3661db47710215e751322d4e8ba5d6b048cbf141493d44a375b4c3a3dedca299b7ba2913086514942bee77d67725519bfa9a1c042cbf26d72936cf2254857
+DIST thunderbird-78.4.1-zh-CN.xpi 687176 BLAKE2B d5ac299e83772b16f4900e081bd5ac937adde9fef0a2f377f9765ecef83d91efa33283be01397b403349202a734cea2bb0b21e3e2f9e3828fe6322c99fe6bf05 SHA512 5759a06a09f3f1ea5afbe59ca835345570a44bdc77c0784cec7f35c5086f5868121b877bc0de2faf77f9a2d13027160e27970914fbec414d76e378b4462bf6fd
+DIST thunderbird-78.4.1-zh-TW.xpi 687618 BLAKE2B 5045bc8549003bcbb4dacfca888c09d47be3db50724b2e87719f28bda6b06380432a2d10b72bf8a7daf9fe9b2d5b53d877d94ea8d02e6feacf477c7c450e6dd1 SHA512 ee4d380d4b4f4c77c938f679b31c01bd0203aea3fb8a474d6e6d40f9221ce3dcf8f51916a73c4a9b8879d6a06ad89701cdbcbb3f23283ec4c102dc305e369086
+DIST thunderbird-78.4.1.source.tar.xz 352778636 BLAKE2B 4cc5781920ce02fc3c2844ef33389cf9cbacf86aa0dd85471c181dd98e698bf582c744e4aeb43d960647960cc343e38a38385bcbd692da6a8a218c5438c24c74 SHA512 dd2aea61d172e5e6b6bebf1aeaa9fbafe38749bc435b791472d13e430446286fcd20e03c12e8f9acd6c74d4af0e7db1e50e08b2ff5cfdbdbae6462eb6984b5aa
diff --git a/mail-client/thunderbird/thunderbird-78.4.1.ebuild b/mail-client/thunderbird/thunderbird-78.4.1.ebuild
new file mode 100644
index 000000000000..9d1d11a1429a
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-78.4.1.ebuild
@@ -0,0 +1,1038 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+FIREFOX_PATCHSET="firefox-78esr-patches-04.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}.source.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="5800M"
+ 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="5800M"
+ 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
+
+ # Set Gentoo defaults
+ export MOZILLA_OFFICIAL=1
+
+ mozconfig_add_options_ac 'Gentoo default' \
+ --allow-addon-sideload \
+ --disable-cargo-incremental \
+ --disable-crashreporter \
+ --disable-install-strip \
+ --disable-strip \
+ --disable-updater \
+ --enable-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
+
+ 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*'
+
+ # 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)
+ # Reduce the memory requirements for linking
+ if use clang ; then
+ # Nothing to do
+ :;
+ elif tc-ld-is-gold || use lto ; then
+ append-ldflags -Wl,--no-keep-memory
+ else
+ append-ldflags -Wl,--no-keep-memory -Wl,--reduce-memory-overheads
+ fi
+ ;;
+ esac
+
+ if ! use elibc_glibc ; then
+ mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+ fi
+
+ # Allow elfhack to work in combination with unstripped binaries
+ # when they would normally be larger than 2GiB.
+ append-ldflags "-Wl,--compress-debug-sections=zlib"
+
+ # Make revdep-rebuild.sh happy; Also required for musl
+ append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
+
+ # Pass $MAKEOPTS to build system
+ export MOZ_MAKE_FLAGS="${MAKEOPTS}"
+
+ # Use system's Python environment
+ export MACH_USE_SYSTEM_PYTHON=1
+
+ # Disable notification when build system has finished
+ export MOZ_NOSPAM=1
+
+ # 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
+}