summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-11-09 16:56:35 +0100
committerLars Wendler <polynomial-c@gentoo.org>2015-11-09 16:57:41 +0100
commite45cfc56ca7f5ae52ae873c30da1c86b898dc5d0 (patch)
treec1c112b1485e3b2e7d49839a8852076a7d1347cc /www-client/seamonkey
parentdev-php/xdebug: Update Manifest for upstream changed tarball (diff)
downloadgentoo-e45cfc56ca7f5ae52ae873c30da1c86b898dc5d0.tar.gz
gentoo-e45cfc56ca7f5ae52ae873c30da1c86b898dc5d0.tar.bz2
gentoo-e45cfc56ca7f5ae52ae873c30da1c86b898dc5d0.zip
www-client/seamonkey: Bump to version 2.39
Package-Manager: portage-2.2.24 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'www-client/seamonkey')
-rw-r--r--www-client/seamonkey/Manifest27
-rw-r--r--www-client/seamonkey/seamonkey-2.39.ebuild346
2 files changed, 373 insertions, 0 deletions
diff --git a/www-client/seamonkey/Manifest b/www-client/seamonkey/Manifest
index 0e275aa21275..ba65a9eb0ef0 100644
--- a/www-client/seamonkey/Manifest
+++ b/www-client/seamonkey/Manifest
@@ -1,6 +1,7 @@
DIST enigmail-1.8.2.tar.gz 1604159 SHA256 1d2700799bc52aaa8e8c9f7a0f5111281ff9fbdffc093cdff070657d574eb2a6 SHA512 51eece988f466aeb4a343719a86dc7d95ec41dfc3ec7e3d8d2f360528675c605f8f2154f10aeea6ef82ed87c784f1d13bfc978e052a9ede0072b5137f6294b11 WHIRLPOOL e12a703899e0e4c98adc58b5f4bf1f74e24a2cf09c1a706a6edca6aca06140041b293f23e6e5b05c507177b4148533ebc3431fb75592aae07d791a899ba2c45c
DIST firefox-38.0-patches-04.tar.xz 5572 SHA256 501bd1cbd0ac7239674df4f7424e0dd57cab9ede47e18af0c99a8b8e04aa5ccc SHA512 311d494ba2a4219c88eea651e617aa776d6aa8ff68092302b76e9ff4e3e348c7197ec583923188e39973b7bd14f94df19756daf2495d9b0fe44aeaa3dcd19100 WHIRLPOOL 6605eaa0b80c97d2d5d23a23f7b8d92e7ed875787b932adf14622eb3fb5f5ccdebe8a094d78b3518d874b8819724af94100fd1728074ba4a5c426bbd91eeb722
DIST firefox-41.0-patches-01.tar.xz 6328 SHA256 408f9a577d698b3713a112d04552e396ff2af7cb9756f87800efef7cc55dcdba SHA512 a9476a658731b5fdd51bb9855bf4292afc8cfb8e4475250b4fac75cb5166a1e9d384a8fd2ceb38d6f2044759bcb895f956c0cfcb361eb4a60d38481a93c546b0 WHIRLPOOL 9420e7757a0f45889dec228ce3d1fedd23ed6ff9cde1f3461ffef577ccd43bc6cdb5ce3a3200f067bfe9203111067467a91bd90c0861bf81d490b022baf087eb
+DIST firefox-42.0-patches-02.tar.xz 6424 SHA256 6c8a89c75ea4a359bf720f011e1bb856b653cd6676767b33ccb9d2f807a089e3 SHA512 d40266c98aa5bfeed243e3bd42f9146bc73492bd20bd07ac4941df83793a7e3a832220b65fc8c9eeb5f3a00089087251a2b758df5fc0d3dd3403468ec0b9eb53 WHIRLPOOL 93356507e31a5dca653a5fcc844c24acc1de6b2a01f3dbd7227c1e23eda4e8799a59cf1a50bb49b721249cb82c744d49f4671bfb7188275101c6de955afdb149
DIST seamonkey-2.33-patches-01.tar.xz 944 SHA256 1612d94dddbd37fa4ce8307c1ba565c8439d082609b63c12b4971e361895566c SHA512 0132e7d06a1ea5d6c059f23e5b8a20016a1e911e8aa40ae15eaefcd141030b4d245297f1e13e508827d91bab5988db4775c8425e737654afba2ede9c2dee8392 WHIRLPOOL 4520c4eaa7e6a25f5c32e9cd1d46472e181fbd769a1c5a59c913834cec5556100eac01423b4abf4a47543d0fbae4bf83b0f4a4d6cec7a058587e2705043bf507
DIST seamonkey-2.35-be.xpi 844271 SHA256 c1043f743a353dfb46db8f524249c808183e89f4f0f7a6181f9d5304d545f694 SHA512 2683a9e5858680a37b152c77fc15964d9b342e2d2a0fc409968b6cf35758f2bf30b3339dcd5c860ef95c56ed85c224383f95efc3d14999cd0a3e4a396c7c4644 WHIRLPOOL f3f69369b0e225cdbb8fc1ac35e4e2295ed1778df7cabd3c9f4f566b758ee6f7dc2f922e422b5b5175bc2ff2ecc15769e535810a90435d15f57f7b22217eb1bf
DIST seamonkey-2.35-ca.xpi 835414 SHA256 6b6bc56a6f780f18a8736a554fcec9b042ff8c3a4ecbef9d192d3ad6a67ed150 SHA512 7dd90e4d3124749971c66c5aa49c4a7ba2fa3813df49526d8f42083b0b6b712362005d3e7332a4d74b053360d56beb22f922e6917471f42e81386b7cc5d9b6d0 WHIRLPOOL 8aa4bc9e1d662c3488fe27b490b4bc42536931a82340b5b133b9886efd10836b64da3c7f253cfd83e561f0d9b2ed03cae922a836c9bb0f927a4c28dabd1de64f
@@ -54,3 +55,29 @@ DIST seamonkey-2.38-uk.xpi 873154 SHA256 129e2e999d6d102a186d232c98c59b4c7220a3d
DIST seamonkey-2.38-zh-CN.xpi 836248 SHA256 de94197af8954dff2330469d20e08789b739bd40e919f85be767967f69842ad3 SHA512 c3bcde38fffdc67cdea77918d3567084aa2893d5a4af06909a6d95ef81cec6ed63c0309f3351065d71cfe802a23d7e7b531d2814f6763f193a2d3764ab423e40 WHIRLPOOL 42a161aafe6b8a2204fa41ae894aad1cc644420d79d20e7899ddbba8d6b39de71be9b4fa5f317aca0a7a214fbf79287d714fd3056227043e43332b72faf8758f
DIST seamonkey-2.38-zh-TW.xpi 858220 SHA256 051ff2e2eafe8a52c7f0005c43b288df8fec90a59b179902240cd8a6ef71f6a1 SHA512 caf512cae00df7cd3b06c2360bc6d50f8d220ba6bec5f6474180391e52586b9debfbe911786e39fe995d7a4446ef6c94176feeaed43f5459d9fcbfb2cdedd9b5 WHIRLPOOL d0991af14ae3b4839bb86be3239e1f048ae010fa570397218b3fd8b77a29b4eb7b404bb8966a3bbe538ce0ca1cf2ad39564d9fdd9e5e4a8ac4927167554c85a7
DIST seamonkey-2.38.source.tar.xz 176647220 SHA256 da306b2fe5a38853b110a74af35332857d1b8aa034498983c1ec6f0b88706e5b SHA512 e1278489c5cc41e1cd87f4a01a7e5d16addea197ef5e04003459d7989bcf66a1d135f08dde7291227a9d556ad07928ed5f41d75d6e288bb68488ffd74a2657eb WHIRLPOOL 4b70331cf400e578856c3fd571a0c3913eb415439ae45e630b6a5677d7509205b9b6469fb35e0700ffcec249fcff37619b2a095406773b14ba537639bbb37bc1
+DIST seamonkey-2.39-be.xpi 845960 SHA256 289803bc8d1669aa8dc116e55ffbef60a611002c39dbe9e461ad3546d82043d5 SHA512 2332683e78d8f546fe85a9d7431c295f5f31341d46072eb0eafca6014d527367edc575f5384b332744d3ea9b1c37f5fb86d547f4c78919e4a9310c99c8705cae WHIRLPOOL 4b2fe60315e7146548311c6c8d2c335d21fed1fb0f9057e9c903968bae8dc251b7e60151965f1ca3a4f58dc210e08e6a7677a7f57c41f6d2577e156ef98ed5c0
+DIST seamonkey-2.39-ca.xpi 837800 SHA256 7cd996abf7027189f6c3fd09501331b1bcf06a61f596cd7042d2a2a66b58e0e2 SHA512 43eba49530dd7fdef0c197badff904cda164a700a54ece6fd0706867ae72637aa98eea71175e21de9b322c6b0deda5e709970e16f0bb543d56848e08457f129a WHIRLPOOL 47f6966ab587b4d9e33ff7f318e2009155d4f5d64d30020010414e2cb2d4ec05baff58dac2301339685ffadabeaa690bd519766fb6d99627e9e1258cce99b4ca
+DIST seamonkey-2.39-cs.xpi 830007 SHA256 6204072196d5ef65cfd5a380d7a985f225f17b8bf5c945e7828ca33cdb09b2da SHA512 b266532512053564d1dbe276e97f7cf3a314077129ecca389248a83b132aa0180627b8733de886fe292583148e6f704d55bd9bc3728ed7e046c2109b1df367f7 WHIRLPOOL bf94c95fb55858930bed961d828603d197099f63061795b04808e1149a7636c23e917e2ef39685e63601a310e31b37143a23637019f0118c75875d17ff338467
+DIST seamonkey-2.39-de.xpi 838258 SHA256 a12a02029fef8caa33a99c7bd254bcacf3825b1edbbbc7a2775a8f5a1756425f SHA512 9bd95c27b1b81b19de8fdf961c8d51f4bdd5dc3cc2595978814c2357ce78e83840b2a777e59c39485c60ff8a1aea671201d209bbf81191e89fd62ed824b6ae7e WHIRLPOOL d498a2d298fe5f43f988d583217748e8f4707804799cf40eb184a4fb816382fc9f6e0bb8c4620432eae3c94b56772b92f09405b74c83301e7343a9e97c3868fd
+DIST seamonkey-2.39-en-GB.xpi 800622 SHA256 6b7d78e35df5609cdbc944cc4a36fade59d9d29ba761d31969b20be13eebff0e SHA512 28873d21df8802b98dcae7c1bd7bf3d9641986ab95e38bc9b8f141205a60de225a021f014ceda8e905d5f5817b6d98b0168478baa221da1d5692c86ae30160b1 WHIRLPOOL 8de778ef8d2c782926c535a2deff67f86467db2773a85cab12986c2456897e0f44995242709314413ae19190524545aeec6ea365617109a8402cc90a7e3d4f2f
+DIST seamonkey-2.39-es-AR.xpi 849345 SHA256 f9c92da4f70391413c4be4255332add2fa60a54d8e42c3205badffc4579717da SHA512 e7c2ce3c9fd5eeae2dd1df6f8cea3551bfdedb04d9544e82358ac9508325508bb2d026ad7e85990b1a0e925106e62266e3bfe1fd395a51308e9368765696691d WHIRLPOOL 23ccfc5a9ae430807edee9fef4785ab9e5ca4ddf201e9984bc33303bdfad2b5251acb08b5117e5bf0dc02ed04dc8a808675657575b313634c7a1333e675c0425
+DIST seamonkey-2.39-es-ES.xpi 817622 SHA256 fe0d89ba946aff3ff90e6751491a64acf381d2fb176ed10270d113bc572e22f2 SHA512 6b7a2a3b93a86583b4bea013f7be87622977e392393a0a1fe62f832ca02877fb1744d958f96d67ac088c37016d44ef97ddbb03153ff2cc3001e70ee862da341f WHIRLPOOL 4dc58024895d4b45202a0dd6c6019783f9f99ba6239f60e228334bb308d02747ca5b287ee619abba9ff0a4fe5485b0b65223829b234492f96f43b0cf016e82da
+DIST seamonkey-2.39-fi.xpi 804879 SHA256 c1732389c3d532ca50152fda28495387e66c6ab9cfcda0b607936e9601549310 SHA512 271ddbfb82ccd5d51ad3dba7545fc241bf6a4ab10a5dc17e81af32394f97f7b74b80f03ad537fbf1b7ab731ce496b2e9b2b4155447580ab6605e77d6e91b3e99 WHIRLPOOL 3bd169380992dedc571b8bd18b5b289064dfca8ecb7aab2fc1416e83f59dc2b1534e63fdefc05d4399ee672775d53af63ad034b03ee699e92b64ba0e2a417310
+DIST seamonkey-2.39-fr.xpi 810559 SHA256 fa90086e2d3cc968010c222e58d5e4b465c2c374e07223191483b574db772999 SHA512 36f6d81a2d68fef54811c2c45a8d01c7713c7aed4987a9542219a1120d744e478991b07be40cad2364799d44bbfd46a902ecf55cbc71e11b0f4f24b5f1474c9e WHIRLPOOL 66895de4c7ac6159362de87119c9cd86a40628bfff6d1663ff294e150af2f7012f4be939b0b389c759ccda0dfd87950af298f28ee84bb11ab7fcaa6f8ff21a06
+DIST seamonkey-2.39-gl.xpi 816387 SHA256 20b888b8f9c2c2115e8a3a2157d6f8da353c484d573da0d347ffffd41f99bc76 SHA512 ccf7d4f2de45d91fc7ff983057b005d99e433c5f48a734787f2eaec6c807dce7243d91ceacc63105e5a9bfe898b5379186a29f082afe9ccad4d8bf163fc73f83 WHIRLPOOL b5bebae4cbd46ad028223bdfe82124d51e40750b1cbcf3dc129acc4c5cac22dbc06c2509919142eb3ccad8db54d378c53e30934c244183076ad4b988582161fc
+DIST seamonkey-2.39-hu.xpi 848211 SHA256 a13b872cf8ecc3cfaf1d8fc5e9a136ba4abd8ae07f4fff15e6dbe9fdd9e5ad7c SHA512 3304c4db69181d09e3c576068d952fa4452ccc130a18b263780c58ab144c152e1b0d78e63af6f41c1f580c5f232e03e01d3965b7dc403593328beac6213fb6c5 WHIRLPOOL 686d9519f6c50b1ce0a658e235dc42c0b34c9d66e2787633270fff708775b04144787c6a10605f21d88d0168fcd75722c1bd3b7027c00619c8457bb8c3794652
+DIST seamonkey-2.39-it.xpi 728624 SHA256 65fd240cdad3bc4808f0eb35ccf7cfeb9c5c69ba28d446fce91f225b0161ce97 SHA512 ad0ad56a1b1667c4617c8dae84b5f7ed8804b1680dbc8f6eeefb4f2a22424bd46dda30746f60e39daf605ba0887455822da96c07c2336ebce3dcfc9076da0ffc WHIRLPOOL e9a60ebca9a1145fa9549387e0ea2d9aabe2fe625d8feed17565a65c02ef4f50c3b5d8e05d905f9c56f8f8cf92aaa3ea67a6f6e61493671f594938982f326c2e
+DIST seamonkey-2.39-ja.xpi 886715 SHA256 859ee3e4733f944af91d06051cd99fb78f1bb7d60f012e8cf433cf65fb0d17a3 SHA512 8b06c7ec5fb94cc95ae734fe58ceff4ef7c1a1544591af3fed4f731c4d81e253486cf18260ad4998cc32d025b714280c06db03f7cbe0898214d39e59fc402550 WHIRLPOOL b5885745612c7b36f3d66b96e2226e22ef540ab3ae8c854a4777b18c97b2d59589a3e988fa2c6445966fd0e9c0af98d36e50725da354b644275ec2dcf4d5ff91
+DIST seamonkey-2.39-lt.xpi 857561 SHA256 bcd3b61379bbd1c28974f4609aefa25ece6b5f64715c4cb52b6eafffb60f23e6 SHA512 c89b197f4f24087aeb697d0d60ba58a67a3e142ca49d937b8750aec150c8e02ab91265998c044c7d8f778d6497fa5fab191d7e87ba5f4b634e22f8cfea4b1e8e WHIRLPOOL f183f2a78d12501153b0b6dda38d78215e8d1be1713d83ad61e51ed2f7afbdaf2b17e8cb7c9d034903a873482077fe3ea98a995d7480a295519ecbab89e44f22
+DIST seamonkey-2.39-nb-NO.xpi 827941 SHA256 9a7280be0ae9bdf0f21ad89749cbd050dcac588989c33b016bf79496ad3660df SHA512 aa7988628a69eb3179cd4c886214bf7da835fb7724dd32832dcbb15a40af4cec2bbcc3a8a71e9378e2b27d84f4672325a0becdf49ed01aef1585488cdb550206 WHIRLPOOL 850db2ac4ff722af009c383ba7bacb56c75ff04364d5eb0a389b758983c264b934bf8d13133b8450fbdeb52a20a24f5865ecedb6eea50b945e76963ef28b735d
+DIST seamonkey-2.39-nl.xpi 795152 SHA256 6e880ed775dbf46eb62e3ac9b8a55091790a451f86776aa5ba0de1945d8a23aa SHA512 044b041b813e058679515a796dbdb13e50417041714ad2fc6b2545aee25aa589e6ec680aa86fc4a52ba8156e3c80b804a853e72c1320ab759a044d43e9d29c16 WHIRLPOOL 18452e1851d57dccd4e29a05fb1df29361d540cfb35cc122e23b942283316f606f68aae980a580e3f9a9ff4982541b77f7812fad2d37ab237dae1b5ba944b038
+DIST seamonkey-2.39-pl.xpi 860260 SHA256 00cc6c894fc6dab4a22e9d38fb6037850f8e57a13f8150d64e8faf3878f204c8 SHA512 27c2ce154fd8ca27b7cf900409844b6484f59f059c6b5507ec88479c5537102c26ac5428ea7b93ca238e21e75ba099c12e15dec03777e3b5c0902777c6da8f77 WHIRLPOOL 0d9755979ed3904afa8dfa25adc5263606bce13e1cbbec2078ddb8436564a44626e0ae4ebab681af8466be02517a916d2cfc3ffe53cf3e85cadd9c5292508457
+DIST seamonkey-2.39-pt-PT.xpi 830427 SHA256 7be70081c211aed53e98228ed9f9d20741f227bbafb696acf44a5eae20a286f1 SHA512 932c0123bbb2bb7864520e1993f5f0d6d99f6be09af31f5b17c3d1d8dfa3428047b4f7577bfbac37164d87227a33832fa7db9dafef5b93b6af6bb7e4e570064a WHIRLPOOL d9b9ee79571b7031b29dd53cd0da10042aaee8a3a1a8f4f242cec845b8d1edb98a62f5717e2f290912c1cc59b29765e2d5e84c7e482f90f8f8c653d2491bc359
+DIST seamonkey-2.39-ru.xpi 889891 SHA256 9ad1066cb6cc07a49bbd0b2e8295db65e490a07af7c36485ae607d788817ec5e SHA512 17f7a292e38c86d6c921f65b76fd40e9b350d80577b2b840a11a16fb1242c07bcd30fd72bcc4c794836aae82c19f19a1910b0657ea0db5785843407bb1459db9 WHIRLPOOL 067e9a598e8060167b5f8e5654b8959ad70bf354192a2bf719c9682805be4a2b4971440455e5e92741d61371bafc9dfe5ec0e465c0f2377536c0e234f2e70cce
+DIST seamonkey-2.39-sk.xpi 856745 SHA256 f70af092108244bc70d3daa53fd41bd3a47c1af518afeca2b6f431952643c6e7 SHA512 f2884e0df86e0d620eb5b93f5103f0e3e08f1cb15e742034316020befe5de846d58d2e41be8547ad4e72b37304b15879556805f4a6a173eb731031baf420e61e WHIRLPOOL f2019f87ea7d8846d5bf7e20acec55fbf86b457a95386c121f33ac7b3bf68e7a77de2bfb720b91161144d86c5f87095e1b03dba4de4aeacbefb7f429e06cc3c8
+DIST seamonkey-2.39-sv-SE.xpi 823333 SHA256 4ee82e2d89fd9846b4fc9465797c2f04facea76b10bf00d82ade5a581b6c5c59 SHA512 f62d571c0887fa029369541d02a47d3b3aacc0a221efcf0f5c91fc6eab0f2c30af0aeb0694d9e13d5ef0eaac1563ed4c18adcc31945a72e245373c7ab9646a3b WHIRLPOOL ed69b558c1f1f2aa3523fddba4b233121c3c81937050e70c5785eb771f65c8522d6e27dcce07777fabce6e7ec0c9acaad1492b43a394b33c86bb9d3c88691fb5
+DIST seamonkey-2.39-tr.xpi 813628 SHA256 9d5e12b135b8157ab0febe7d2253466cc90ee410322234ebe23a3b4de83461b3 SHA512 bc2949594560050339dc32808e1c18b6895d7bd0f854f644f7f7603796262406b7d87a9d9392fe1e71eb0588737670f2609fd8cd137b098e704835afd5fe88d3 WHIRLPOOL 9c4eba08f151e292fa57b049e9295e2141c617a985d157ec932e757e88f0e39c15b1d5e47d0adaa1b843f05776918022424b51edd19cfc3b09e1567f83cb88c5
+DIST seamonkey-2.39-uk.xpi 875396 SHA256 6b4bed5fd385b1666579cf69cf094f7f81e4533be62915b02a9154ed9bbed6fe SHA512 0bd90ff705d398a4e54174ac331afa9f91ec79bb6b78be81afd4ad49100610381d52069e1b43ec63145f26b0a2c7eb2108937f1737c56e8c167f85e6a3ff8087 WHIRLPOOL bfc5381969f93569d710a074c69482d124714432ee9472b39254432aa78df0b1e3e4b1be8e6976b3dafb691aaeb0d037b3cd9a04382993ef2bea50a0317260db
+DIST seamonkey-2.39-zh-CN.xpi 838756 SHA256 7cdb2dc31da908a506fca78c93008cf1b6ce9ef3dddb0fcb38b383bf9e5be556 SHA512 6e1e98f2872b7b188a5db62d96ef0e21afd8b2502ef1fa35a6a59096d8d6c861253c6192a55e8bee93a6c4e746e418900257f01efeaf4f1c5a43c22c89168533 WHIRLPOOL d8d547e796b21ff5876e0dd25f5e1aea1a380a37a5c825cab4dae899dc17b191cc1783a0ca14c833df989c2338b7c55478727efaa9361fa9b26098396f9eea49
+DIST seamonkey-2.39-zh-TW.xpi 860307 SHA256 a3ae379666ff757e0424918491ae1aa710d08aa586d0fd4526bf4dd838c1461c SHA512 f26db467a96ae59e2b9b6d9f072108dc8a6686ce7f6da9c8451a02026cb46f37e86d578d44ec0557efe3f36603874dd970b76c95ed01b7e8fe1024b06b829abe WHIRLPOOL e80a726158c8ffb96ee69e4166877d133683ede68891ae570819fc1a26538828efc3c14bd30f540620286424aa49e1b6e4fc8ecf91273048b1f595325de86e03
+DIST seamonkey-2.39.source.tar.xz 182627632 SHA256 c871de0a64cb60acf785df0ea3859b729353e5d1e3274947840386766859930e SHA512 1ea912cff4ae305b6fe7237f0873220343134ae4fd0ff54e8472a388ed61dcd249a5961158520bde7838b27a9cee782fa0d4e1c35d22c7fb7a30145dde9f6dc9 WHIRLPOOL 93bf7658e0fcc634fd4022f17e882d066969844167fd6f6f4b8edcdf6dc3a15dec2e83ca2ce185c6090e021f68b48e98597ae7b179e38a6ee35aefe6ff14f5d2
diff --git a/www-client/seamonkey/seamonkey-2.39.ebuild b/www-client/seamonkey/seamonkey-2.39.ebuild
new file mode 100644
index 000000000000..10e1d1f972e4
--- /dev/null
+++ b/www-client/seamonkey/seamonkey-2.39.ebuild
@@ -0,0 +1,346 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+WANT_AUTOCONF="2.1"
+
+# This list can be updated with scripts/get_langs.sh from the mozilla overlay
+MOZ_LANGS=(be ca cs de en en-GB en-US es-AR es-ES fi fr gl hu it ja lt nb-NO nl
+ pl pt-PT ru sk sv-SE tr uk zh-CN zh-TW)
+
+MOZ_PV="${PV/_pre*}"
+MOZ_PV="${MOZ_PV/_alpha/a}"
+MOZ_PV="${MOZ_PV/_beta/b}"
+MOZ_PV="${MOZ_PV/_rc/rc}"
+MOZ_P="${P}"
+MY_MOZ_P="${PN}-${MOZ_PV}"
+
+if [[ ${PV} == *_pre* ]] ; then
+ MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/candidates/${MOZ_PV}-candidates/build${PV##*_pre}"
+ MOZ_LANGPACK_PREFIX="linux-i686/xpi/"
+ # And the langpack stuff stays at eclass defaults
+else
+ MOZ_HTTP_URI="https://archive.mozilla.org/pub/${PN}/releases/${MOZ_PV}"
+ MOZ_LANGPACK_PREFIX="langpack/${MY_MOZ_P}."
+ MOZ_LANGPACK_SUFFIX=".langpack.xpi"
+fi
+
+MOZCONFIG_OPTIONAL_WIFI=1
+MOZCONFIG_OPTIONAL_JIT="enabled"
+inherit check-reqs flag-o-matic toolchain-funcs eutils mozconfig-v6.41 multilib pax-utils fdo-mime autotools mozextension nsplugins mozlinguas
+
+PATCHFF="firefox-42.0-patches-02"
+PATCH="${PN}-2.33-patches-01"
+EMVER="1.8.2"
+
+DESCRIPTION="Seamonkey Web Browser"
+HOMEPAGE="http://www.seamonkey-project.org"
+
+[[ ${PV} != *_pre* ]] && \
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86"
+
+SLOT="0"
+LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
+IUSE="+chatzilla +crypt +gmp-autoupdate +ipc minimal pulseaudio +roaming selinux test"
+
+SRC_URI="${SRC_URI}
+ ${MOZ_HTTP_URI}/source/${MY_MOZ_P}.source.tar.xz -> ${P}.source.tar.xz
+ https://dev.gentoo.org/~axs/mozilla/patchsets/${PATCHFF}.tar.xz
+ https://dev.gentoo.org/~polynomial-c/mozilla/patchsets/${PATCH}.tar.xz
+ crypt? ( https://www.enigmail.net/download/source/enigmail-${EMVER}.tar.gz )"
+
+ASM_DEPEND=">=dev-lang/yasm-1.1"
+
+RDEPEND=">=dev-libs/nss-3.19.2
+ >=dev-libs/nspr-4.10.8
+ crypt? ( || (
+ ( >=app-crypt/gnupg-2.0
+ || (
+ app-crypt/pinentry[gtk]
+ app-crypt/pinentry[qt4]
+ )
+ )
+ =app-crypt/gnupg-1.4* ) )"
+
+DEPEND="${RDEPEND}
+ !elibc_glibc? ( !elibc_uclibc? ( dev-libs/libexecinfo ) )
+ crypt? ( dev-lang/perl )
+ amd64? ( ${ASM_DEPEND}
+ virtual/opengl )
+ x86? ( ${ASM_DEPEND}
+ virtual/opengl )"
+
+S="${WORKDIR}/${PN}-${MOZ_PV}"
+
+BUILD_OBJ_DIR="${S}/seamonk"
+
+pkg_setup() {
+ if [[ ${PV} == *_pre* ]] ; then
+ ewarn "You're using an unofficial release of ${PN}. Don't file any bug in"
+ ewarn "Gentoo's Bugtracker against this package in case it breaks for you."
+ ewarn "Those belong to upstream: https://bugzilla.mozilla.org"
+ fi
+
+ moz_pkgsetup
+}
+
+pkg_pretend() {
+ # Ensure we have enough disk space to compile
+ if 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 our patches
+ EPATCH_EXCLUDE="2001_ldap_respect_cflags.patch" \
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/seamonkey"
+
+ # browser patches go here
+ pushd "${S}"/mozilla &>/dev/null || die
+ EPATCH_EXCLUDE="2000-firefox_gentoo_install_dirs.patch" \
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}/firefox"
+ popd &>/dev/null || die
+
+ # Shell scripts sometimes contain DOS line endings; bug 391889
+ grep -rlZ --include="*.sh" $'\r$' . |
+ while read -r -d $'\0' file ; do
+ einfo edos2unix "${file}"
+ edos2unix "${file}"
+ done
+
+ # Allow user to apply any additional patches without modifing ebuild
+ epatch_user
+
+ local ms="${S}/mozilla"
+
+ # Enable gnomebreakpad
+ if use debug ; then
+ sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \
+ "${ms}"/build/unix/run-mozilla.sh || die "sed failed!"
+ fi
+
+ # Ensure that are plugins dir is enabled as default
+ sed -i -e "s:/usr/lib/mozilla/plugins:/usr/lib/nsbrowser/plugins:" \
+ "${ms}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 32bit!"
+ sed -i -e "s:/usr/lib64/mozilla/plugins:/usr/lib64/nsbrowser/plugins:" \
+ "${ms}"/xpcom/io/nsAppFileLocationProvider.cpp || die "sed failed to replace plugin path for 64bit!"
+
+ # 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}"/suite/installer/Makefile.in || die
+ # Don't error out when there's no files to be removed:
+ sed 's@\(xargs rm\)$@\1 -f@' \
+ -i "${ms}"/toolkit/mozapps/installer/packager.mk || die
+
+ eautoreconf
+ cd "${S}"/mozilla || die
+ eautoconf
+ cd "${S}"/mozilla/js/src || die
+ eautoconf
+ cd "${S}"/mozilla/memory/jemalloc/src || die
+ WANT_AUTOCONF= eautoconf
+}
+
+src_configure() {
+ MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+ 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
+
+ ####################################
+ #
+ # mozconfig, CFLAGS and CXXFLAGS setup
+ #
+ ####################################
+
+ mozconfig_init
+ mozconfig_config
+
+ # It doesn't compile on alpha without this LDFLAGS
+ use alpha && append-ldflags "-Wl,--no-relax"
+
+ if ! use chatzilla ; then
+ MEXTENSIONS+=",-irc"
+ fi
+ if ! use roaming ; then
+ MEXTENSIONS+=",-sroaming"
+ fi
+
+ # Setup api key for location services
+ echo -n "${_google_api_key}" > "${S}"/google-api-key
+ mozconfig_annotate '' --with-google-api-keyfile="${S}/google-api-key"
+
+ mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
+ mozconfig_annotate '' --enable-jsd
+ mozconfig_annotate '' --enable-canvas
+
+ # Other sm-specific settings
+ mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME}
+
+ mozconfig_annotate '' --enable-safe-browsing
+
+ # Use an objdir to keep things organized.
+ echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" \
+ >> "${S}"/.mozconfig
+
+ # Finalize and report settings
+ mozconfig_final
+
+ if use crypt ; then
+ pushd "${WORKDIR}"/enigmail &>/dev/null || die
+ econf
+ popd &>/dev/null || die
+ fi
+
+ # Work around breakage in makeopts with --no-print-directory
+ MAKEOPTS="${MAKEOPTS/--no-print-directory/}"
+
+ if [[ $(gcc-major-version) -lt 4 ]] ; then
+ append-cxxflags -fno-stack-protector
+ elif [[ $(gcc-major-version) -gt 4 || $(gcc-minor-version) -gt 3 ]] ; then
+ if use amd64 || use x86 ; then
+ append-flags -mno-avx
+ fi
+ fi
+
+ emake V=1 -f client.mk configure
+}
+
+src_compile() {
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" SHELL="${SHELL}" \
+ emake V=1 -f client.mk
+
+ # Only build enigmail extension if conditions are met.
+ if use crypt ; then
+ einfo "Building enigmail"
+ pushd "${WORKDIR}"/enigmail &>/dev/null || die
+ emake -j1
+ emake xpi
+ popd &>/dev/null || die
+ fi
+}
+
+src_install() {
+ MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+ DICTPATH="\"${EPREFIX}/usr/share/myspell\""
+
+ local emid
+ 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.
+ sed "s|SEAMONKEY_PVR|${PVR}|" "${FILESDIR}"/all-gentoo-1.js > \
+ "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
+ || die
+
+ # Set default path to search for dictionaries.
+ echo "pref(\"spellchecker.dictionary_path\", ${DICTPATH});" \
+ >> "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
+ || die
+
+ echo 'pref("extensions.autoDisableScopes", 3);' >> \
+ "${BUILD_OBJ_DIR}/dist/bin/defaults/pref/all-gentoo.js" \
+ || die
+
+ local plugin
+ if ! use gmp-autoupdate ; then
+ for plugin in gmp-gmpopenh264 ; do
+ echo "pref(\"media.${plugin}.autoupdate\", false);" >> \
+ "${S}/${BUILD_OBJ_DIR}/dist/bin/browser/defaults/preferences/all-gentoo.js" \
+ || dir
+ done
+ fi
+
+ MOZ_MAKE_FLAGS="${MAKEOPTS}" \
+ emake DESTDIR="${D}" install
+ cp "${FILESDIR}"/${PN}.desktop "${T}" || die
+
+ if use crypt ; then
+ local em_dir="${WORKDIR}/enigmail/build"
+ pushd "${T}" &>/dev/null || die
+ unzip "${em_dir}"/enigmail*.xpi install.rdf || die
+ emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
+ #'
+ dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
+ cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
+ unzip "${em_dir}"/enigmail*.xpi || die
+
+ popd &>/dev/null || die
+ fi
+
+ sed 's|^\(MimeType=.*\)$|\1text/x-vcard;text/directory;application/mbox;message/rfc822;x-scheme-handler/mailto;|' \
+ -i "${T}"/${PN}.desktop || die
+ sed 's|^\(Categories=.*\)$|\1Email;|' -i "${T}"/${PN}.desktop \
+ || die
+
+ # Install language packs
+ mozlinguas_src_install
+
+ # Add StartupNotify=true bug 290401
+ if use startup-notification ; then
+ echo "StartupNotify=true" >> "${T}"/${PN}.desktop || die
+ fi
+
+ # Install icon and .desktop for menu entry
+ newicon "${S}"/suite/branding/nightly/content/icon64.png ${PN}.png
+ domenu "${T}"/${PN}.desktop
+
+ # Required in order to use plugins and even run seamonkey on hardened.
+ pax-mark m "${ED}"${MOZILLA_FIVE_HOME}/{seamonkey,seamonkey-bin,plugin-container}
+
+ if use minimal ; then
+ rm -rf "${ED}"/usr/include "${ED}${MOZILLA_FIVE_HOME}"/{idl,include,lib,sdk}
+ fi
+
+ # Handle plugins dir through nsplugins.eclass
+ share_plugins_dir
+
+ #doman "${BUILD_OBJ_DIR}/suite/app/${PN}.1"
+
+ # revdep-rebuild entry
+ insinto /etc/revdep-rebuild
+ echo "SEARCH_DIRS_MASK=${MOZILLA_FIVE_HOME}*" >> ${T}/11${PN}
+ doins "${T}"/11${PN}
+}
+
+pkg_preinst() {
+ MOZILLA_FIVE_HOME="${ROOT}/usr/$(get_libdir)/${PN}"
+
+ if [ -d ${MOZILLA_FIVE_HOME}/plugins ] ; then
+ rm ${MOZILLA_FIVE_HOME}/plugins -rf
+ fi
+}
+
+pkg_postinst() {
+ MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ # Update mimedb for the new .desktop file
+ fdo-mime_desktop_database_update
+
+ if use chatzilla ; then
+ elog "chatzilla is now an extension which can be en-/disabled and configured via"
+ elog "the Add-on manager."
+ fi
+}