summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-12-30 21:28:57 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-12-30 21:28:57 +0000
commit5e2a37bbe3f84f7ef1362a6c96d6f7665d4f9e9a (patch)
treed001a6a8e19995a35df042b0aa67b198671f0a44 /mail-client/mozilla-thunderbird-bin
parentQA: Respect AR/CC/RANLIB (bug 243708), use econf/emake (diff)
downloadhistorical-5e2a37bbe3f84f7ef1362a6c96d6f7665d4f9e9a.tar.gz
historical-5e2a37bbe3f84f7ef1362a6c96d6f7665d4f9e9a.tar.bz2
historical-5e2a37bbe3f84f7ef1362a6c96d6f7665d4f9e9a.zip
Version bump
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'mail-client/mozilla-thunderbird-bin')
-rw-r--r--mail-client/mozilla-thunderbird-bin/ChangeLog8
-rw-r--r--mail-client/mozilla-thunderbird-bin/Manifest41
-rw-r--r--mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.19.ebuild148
3 files changed, 195 insertions, 2 deletions
diff --git a/mail-client/mozilla-thunderbird-bin/ChangeLog b/mail-client/mozilla-thunderbird-bin/ChangeLog
index 844eb5c25d09..7f5369ae161b 100644
--- a/mail-client/mozilla-thunderbird-bin/ChangeLog
+++ b/mail-client/mozilla-thunderbird-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-client/mozilla-thunderbird-bin
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.120 2008/12/12 10:48:01 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.121 2008/12/30 21:28:57 armin76 Exp $
+
+*mozilla-thunderbird-bin-2.0.0.19 (30 Dec 2008)
+
+ 30 Dec 2008; Raúl Porcel <armin76@gentoo.org>
+ +mozilla-thunderbird-bin-2.0.0.19.ebuild:
+ Version bump
*mozilla-thunderbird-bin-3.0_beta1 (12 Dec 2008)
diff --git a/mail-client/mozilla-thunderbird-bin/Manifest b/mail-client/mozilla-thunderbird-bin/Manifest
index 5881e4fd63fc..8e34b6cd1c88 100644
--- a/mail-client/mozilla-thunderbird-bin/Manifest
+++ b/mail-client/mozilla-thunderbird-bin/Manifest
@@ -39,6 +39,43 @@ DIST mozilla-thunderbird-2.0.0.18-tr.xpi 157710 RMD160 c5cddca3b52478cfac2fce690
DIST mozilla-thunderbird-2.0.0.18-uk.xpi 194505 RMD160 9efdb1297f48a3cc1a8631790858ec437daa56f0 SHA1 b6892a8441cc97344bf7397584f3279b318dc9f6 SHA256 c9c7c380b376abb958fe776559c8eaa73fa5736ea2d68072ae4f85d76ee70265
DIST mozilla-thunderbird-2.0.0.18-zh-CN.xpi 147643 RMD160 5390e4000beda61bcba52dc98b8f1c60f856e086 SHA1 0351d34d5f922548a0963d658e863045940af8f4 SHA256 ea19f698e783400e9b15ed106b62329b12d5b620d3af5252fdaf07865359b195
DIST mozilla-thunderbird-2.0.0.18-zh-TW.xpi 153702 RMD160 f013f009fab714d0908ecf064d2eb36058fa061a SHA1 47071b5646015789eb59c5ebc3eeee5ff0c20e51 SHA256 e89f5347a58cb302dd4d51eafe5ba9c48c3a29a8c2c30203b284def83dbbe1cd
+DIST mozilla-thunderbird-2.0.0.19-af.xpi 177923 RMD160 cc66a1d8576561fd76ee49f8b2502f0d3dedc3fa SHA1 904358009e157ed791fe48d1dad41eb42ff53f69 SHA256 ab5e1a1265450dbcc41d38e633aead4e72341966b48465b49de4d8c442760172
+DIST mozilla-thunderbird-2.0.0.19-be.xpi 184813 RMD160 2aae12710cad61f3f6a5e795ba4fcd4b283b5707 SHA1 3983e3f65332929f04522373c3a56d89bab4074a SHA256 3901066d9b80fb5d4d364b855cce45764823a1d32c264d23eda2338b7d4f980c
+DIST mozilla-thunderbird-2.0.0.19-bg.xpi 196487 RMD160 c0a3094dff6f2289b35fef7231090d09d5fdf53f SHA1 96d00d807056e165e9d487da194e36a7b3c94778 SHA256 0173fb121a3d2b30635e52c2a2610465afc5f311cd57f56e0a1b3acc75a3ed82
+DIST mozilla-thunderbird-2.0.0.19-ca.xpi 184232 RMD160 8e30070d8cd83a0fc69242a8c78e588d14df5c11 SHA1 f293b13f80d85d52c0186f9cf47c0b59e74f6365 SHA256 19804592cff2c0a1d3c641c4eea0b5b263c5e1022fceea438dbc1c3ddffc4b4f
+DIST mozilla-thunderbird-2.0.0.19-cs.xpi 186167 RMD160 9cdc5f14f7ba5e530eb3abfe92311ec0c434364e SHA1 0d908077f2919752fad4c2fb6cff29ef8c1c7193 SHA256 ff03ef8e19999e3cc7f32e70ba1c776e4a6172d647b46640585168e00737e550
+DIST mozilla-thunderbird-2.0.0.19-da.xpi 179121 RMD160 b5f51f8f3eaccfadd33df9ce9e7c8b3ceaa55e8a SHA1 20ab6f874227e3e9784fdde7c327380bf86b293f SHA256 462190a9f0fd7e203d5ae84afaec6a15a75058d29f1e21dde66c7fdb436e867a
+DIST mozilla-thunderbird-2.0.0.19-de.xpi 159066 RMD160 e3af49f9dfac265d40cb16b2e3db5a8dfc49a801 SHA1 c3b5c4eacc4d22bc57cc3f87eae180def1c2f406 SHA256 af153c3506aa110696fa122424f80543544d0206848a30294285f0ccbe6b88ba
+DIST mozilla-thunderbird-2.0.0.19-el.xpi 183061 RMD160 2e9738c35a615e2238e041ac714c975d4e6ed9a9 SHA1 4bc3168a927757fdb7d7d85dd4a1b0b622f23dd7 SHA256 94ada876d920665648f28a5d3dd326f33158f71984c44e360f9ee2f0c20a1ab1
+DIST mozilla-thunderbird-2.0.0.19-en-GB.xpi 173049 RMD160 61aab62f3b3093cc7d2a13849b237773aba92305 SHA1 930243b0468c078ca2bf41b8a6d7f29cb990a435 SHA256 afe2ed26ba9c58798285b58532a57187e0bda3dff40fe01a5241ddd276a10195
+DIST mozilla-thunderbird-2.0.0.19-es-AR.xpi 184680 RMD160 b6311d0d3c7de8aa713961bac5e548fb6b6a9abc SHA1 8c93ff68ad728fa0965e5ad378d367bab3b3ccea SHA256 97337e2e6c07413fb162af151e5d55e40cd7346889188025d772042b245348b5
+DIST mozilla-thunderbird-2.0.0.19-es-ES.xpi 149560 RMD160 a0ed0c9057abda1bbebcb563b968d1ed911a6c46 SHA1 aae73c4865291c34dedbf3b8589d4c3d45ffbe4c SHA256 4859574062506c450e7e0d5ee1af95326abfca025801291c1a20dbe00d9f6c4d
+DIST mozilla-thunderbird-2.0.0.19-eu.xpi 181799 RMD160 5317cafa5efb1360e212d31cb67ea4aa8bf3760b SHA1 30a8bfb50c29f73f9e061b3991bd8235cb6a917f SHA256 cfbd2690c35b23ed1e2d9b8a12539a71085530a47446c2d20b96ce283fb5861e
+DIST mozilla-thunderbird-2.0.0.19-fi.xpi 187734 RMD160 499d42fe4b15f5454ccbf9b5cab68daf1e0ac526 SHA1 043adfa4f3852766bc822dc6049668c31adb2a5d SHA256 f4a1761a16a99912d3753634ac03456d0dc251e902f61d7c22287f942f844967
+DIST mozilla-thunderbird-2.0.0.19-fr.xpi 190912 RMD160 f4864ace4cd1dc814f73f8d8501166dc9969aeed SHA1 9c5fc060c05e49b5cb7b19760a7ea5665daa3aae SHA256 c92beb222bb1c0f45a81229f08695d1236699e75a6ef44509b5dd764383bed95
+DIST mozilla-thunderbird-2.0.0.19-ga-IE.xpi 185959 RMD160 dc98c76fa644c8e95b261d34f797bd2c93a7e750 SHA1 2f05d978f15a4d250e3daaee9f8352464bb51416 SHA256 af75c18c3ccf56d6f2bdcf3574a3575302de54033ed7db96f2992a76553eb081
+DIST mozilla-thunderbird-2.0.0.19-he.xpi 157243 RMD160 32b0b66f703adf0eb6d001a0b953b7578956371d SHA1 a73f12c667f44828c1723d7be38393e8f1b36364 SHA256 8cae6cb5e4cb0475658e98d340b15faabc0e6c3073185983cb58ce5adab202b0
+DIST mozilla-thunderbird-2.0.0.19-hu.xpi 191694 RMD160 bd63cf9308316522fbfa8eb926ee2a1c4ab35771 SHA1 f4895e02d320e32e2a2c6fa15b514e6a39f5c298 SHA256 7951d654f91e84a3282ccd877738b66c19956bc0818aa942a0054e3fb483e5dd
+DIST mozilla-thunderbird-2.0.0.19-it.xpi 152553 RMD160 5b78cb1fc8e6d17b42191983e635d49e40be806f SHA1 3a834fd9b7c57bb74e81d45cb299430e37b2fd0c SHA256 94eb23efd80b85b973e5c108d55c6a5b084ce4727670d6ee52ee34040e69946d
+DIST mozilla-thunderbird-2.0.0.19-ja.xpi 199411 RMD160 9486dc4ec6aee8288d4473aea1ddab4c2ac8900f SHA1 7a122742afd5083968848e25a3354eedbab25abc SHA256 b7871251fd995480462b85612cdf7a3b5f920c7aa2a8875420d3b99a5880cd28
+DIST mozilla-thunderbird-2.0.0.19-ko.xpi 170143 RMD160 d0fbf2562ed44536f81eff3e78331534514bd778 SHA1 12039548b1e027ab8782fbf375fdf0233c99618b SHA256 9368ef94ada3f8fa5514e35a882e85f4becd6fe774674f32a06c0c77d22fc7a2
+DIST mozilla-thunderbird-2.0.0.19-lt.xpi 189457 RMD160 87d8fe1c446c9f47ab744d33e93b7ad668cb31fe SHA1 894b0b5e44244a2603a49298774139701a5ab5f8 SHA256 fab200180329c233ea724d4ec1a13f26a7b968edac84a184ea3ca407d017f3f0
+DIST mozilla-thunderbird-2.0.0.19-mk.xpi 196440 RMD160 31b46d36d697f04a45f04428c5f4e98d2753c2ab SHA1 c5d81e37aa0b3d6758dc84dba478292d64011880 SHA256 fd7a8cd14f643d02e54e891d5616bb8ff54178c1ae7a960c358285d39cab9d9f
+DIST mozilla-thunderbird-2.0.0.19-nb-NO.xpi 183238 RMD160 e52f54f5205bad6ed7ce56954dd19c131b800319 SHA1 b3188f4b8c5261d1b6e72d1a0fb12ea2874e495a SHA256 1628f5aa272fb564df2bedce4dee3c5fe2770956d5245305ad5f3a91b067f5ee
+DIST mozilla-thunderbird-2.0.0.19-nl.xpi 184153 RMD160 bd3a7b619901ea805c6cde0d1c56e5ca70c80492 SHA1 68bf7a43f2358c4aac60c7afa4d83c344bcfe9be SHA256 94e6e11f9fd77a03fe0c6f841bd48e5300757fdb382a23ff29c76b64664789c6
+DIST mozilla-thunderbird-2.0.0.19-nn-NO.xpi 184117 RMD160 b0478f090e09337c817dc4e68cfa881a502f2986 SHA1 c718800124a5de0bd7cec43db2baac6fa392f919 SHA256 8d6298816eb42a1587547093098a2f104f987501a69241913904b16e08c5d1b0
+DIST mozilla-thunderbird-2.0.0.19-pa-IN.xpi 205022 RMD160 061fc51087fc368f771a8aadad7b95686e16b28e SHA1 950abf2d0bf1fb9d3ce75b24bb01909f51eb3f92 SHA256 6cd555cbdac48440bf7f6ad240d9221c14cce3621e98199411db703762e34a2c
+DIST mozilla-thunderbird-2.0.0.19-pl.xpi 177417 RMD160 7f64695155f776a755ff078629681e41e0eded83 SHA1 590336c95460da18cfcdcf3ab59374f3b7d36789 SHA256 7dc2511b3c5acfeb0d7057dc2fbf482eb8145cacf6902b95ac32cfb5bf225fa1
+DIST mozilla-thunderbird-2.0.0.19-pt-BR.xpi 183071 RMD160 6e0911759978489f1bc0ecaafcdcdf7ff987b540 SHA1 caca2003622fe3ab9ef5e4f6e98547d61316d9a3 SHA256 310bdd579c4df7bdb44362af9c466b1e4d61a28bc2dcfae89fc3d2d516c630d9
+DIST mozilla-thunderbird-2.0.0.19-pt-PT.xpi 183924 RMD160 2e89a3f2f3c79ebee299963b2c6ac1f1723def11 SHA1 23677c0ca945b467b98068d3485e87d80b558cf4 SHA256 8ac81f57a420921c68f07e056878fd9944e92cbf22189b42a2e8d0fff1ac7f30
+DIST mozilla-thunderbird-2.0.0.19-ru.xpi 174229 RMD160 ab17396865a5e9ac11fbf52e3f55f652a5912153 SHA1 1d20c443ca9c27ad0f37155ac743eef40eb4f77c SHA256 6b4c37036ca685ea9b58365ab5aa35c1bb9b82cd2105bc8422b3091eaaa09ed1
+DIST mozilla-thunderbird-2.0.0.19-sk.xpi 191718 RMD160 661afb25524b11401ab40009d03c5d2f2e6b01a5 SHA1 0fe446289b5c72e651ee23696e8b9fc8746c8cd7 SHA256 9a0eeaa9ebc3cd01e3330d9b98ed4180db1cd630afd1e61c71d756a05c9be4e5
+DIST mozilla-thunderbird-2.0.0.19-sl.xpi 188025 RMD160 c7c96bd18bdf983566408b9c2bd85aee60a135cd SHA1 219f2c331ea61e758b4421bebb69356bce113306 SHA256 1b81e3828a791c65b9ef1b2a07b250b40ffada3f492424ddf705cd2e1b0760c1
+DIST mozilla-thunderbird-2.0.0.19-sv-SE.xpi 191928 RMD160 a361dd378dbd03bdfdfdf5506fbea25608053024 SHA1 5c064f9fdf040ff8599bca6ec34e49867733110f SHA256 10dc69029b7395c22b95adbff44d63968a81761088a8632737395c0ab48788d7
+DIST mozilla-thunderbird-2.0.0.19-tr.xpi 157710 RMD160 6ce1858be60102de5c917826928af383fe75aea8 SHA1 552289e3825f814dd220b5b4b15951279b09b91e SHA256 415c8c491e65b528cdfbcc0a358c1cbf889e6fa04a5529012c610a67bb8f21c6
+DIST mozilla-thunderbird-2.0.0.19-uk.xpi 194506 RMD160 1570a606530d7dbb4ccad316d91b1f027619a018 SHA1 dfe28b1d66d28b5f849f50302c2a3055eb1ff67b SHA256 2df3a02dc87c35c464e8700ce228806d451344665c89ca5940161d9b2552aed9
+DIST mozilla-thunderbird-2.0.0.19-zh-CN.xpi 147643 RMD160 eeffd2202bac5b5da30931e5b3f154dd48e97707 SHA1 b4c25d1fe667b91ce37d6579acd13c2c00f931c4 SHA256 68b4bf105f6275718e7024c6229802dd4952efb3af55158e505d9c5b082efaf2
+DIST mozilla-thunderbird-2.0.0.19-zh-TW.xpi 153703 RMD160 493ecb11c6b34e4619c122b8a40b4c273b080df2 SHA1 922f551aad47f477bb2d6c77d3bb7508fb15a5de SHA256 8464770357cfaf18615874df8b128656b909337db089200895cb94d02389aaaf
DIST mozilla-thunderbird-3.0b1-af.xpi 180539 RMD160 cff1ee86bab30fe66b546d0df5ed708dd77f6c3a SHA1 005a74523fe667d5e49ed6989bd956627b30c1c1 SHA256 039525558ca813b2390e84018ff32a316ceff9ae228b071163cb59ee61cab578
DIST mozilla-thunderbird-3.0b1-ar.xpi 195195 RMD160 f27ab9b2a9cff6411a31f5441d6b6817e2e83720 SHA1 7e99bd279f65eb2ee74e5db60b4bd50f7ccb0c89 SHA256 27d780ffa839f8f8f48904e7a7b5537f86c3d11e474b4046431f5b543b1e700e
DIST mozilla-thunderbird-3.0b1-be.xpi 174463 RMD160 ee669c76622748811cc8f1ce340cb673075ee5a7 SHA1 79db7086b641e990075fbd85c59a07082b50fb2e SHA256 c35b12d0b57f166bc9b50a3bab0ba534fcdb8545cf5fcd36467c1ca018c19892
@@ -76,8 +113,10 @@ DIST mozilla-thunderbird-3.0b1-uk.xpi 643683 RMD160 943f5bd9108d1b22f51c264cfb00
DIST mozilla-thunderbird-3.0b1-zh-CN.xpi 187137 RMD160 fdf42c0d87d823349c650791552b31486345169f SHA1 e4cde1f1f5ad284eb42cba9d8552ac6840492b60 SHA256 37a338b09c865eb06188eaea633cd2da6dec022d63558a961f221aef25bc57d1
DIST mozilla-thunderbird-3.0b1-zh-TW.xpi 189292 RMD160 0e4f76f89fb16ffc9cf5e5fcaea0c116a7721657 SHA1 e5e5f16c78cbf934c0e0c2074a5931fff470c07e SHA256 a0424c927cdbd9040ca721f3628430def96ca617be7d5333cce10ec9673158a3
DIST thunderbird-2.0.0.18.tar.gz 11482752 RMD160 88140cc0bef0a214497b5e4f5f350058f7accc81 SHA1 904749af0b8717c3168943743106125f451b4aae SHA256 9ad998b83481e04781b2f80c737a58cdf919e3cda6974afb3105044e4220dc86
+DIST thunderbird-2.0.0.19.tar.gz 11484804 RMD160 088ca789cf36d88aeef62d92d691144a8b2299b3 SHA1 7e51314194e75e853140a6c1468aa56f32c5da0b SHA256 fbb9f4394c03d0c0054baeebb047420f2240eb1a5cf8a8f5cc9cd7b57bdb2e9a
DIST thunderbird-3.0b1.tar.bz2 10410311 RMD160 14944bc2514dcfa9f9eb762a9acf4d4d7c5f6e8d SHA1 7bcc2f4eaaf95037ff54297135fdba553393377a SHA256 ef382e99d1099a70843efa9171f3225af688d328827bf1b79be4a03ac4bc8859
EBUILD mozilla-thunderbird-bin-2.0.0.18.ebuild 4334 RMD160 a0d2bc0c50f957c64728ea47329c2d2a2c17f56b SHA1 edfada91d30dd0ade0543ba84dab98b851037bf0 SHA256 6edde94a259301e3bcfdc561481f86a15fe33dfb0c6d2a37cbe944115f83b806
+EBUILD mozilla-thunderbird-bin-2.0.0.19.ebuild 4337 RMD160 83a60220b45f4bcf3458b3404896af8ecbd01cf8 SHA1 c8fa3c826519d1d9111a8d47f83af3d7575c3a9e SHA256 21e50b39d1083275097d0e91b47533389877d19944a54a4ae6de680abe5f6ccc
EBUILD mozilla-thunderbird-bin-3.0_beta1.ebuild 5013 RMD160 a784c8d3efa7bd7c5e17f844ea5bfce9cf969d98 SHA1 317de71e67073332e3d8e1a5dce5117e8d4b8682 SHA256 35c09c2eeb258b04a161061f8a97429717bccfb13780ae37dd6ec85579dca316
-MISC ChangeLog 21452 RMD160 143ce34dd14fec084782218003219ef11ccc4b5c SHA1 b4dd1ae01c266272974ba6765af4d68ceadc54d4 SHA256 c642491fd43c4dd1c75884ef51058f80f0c87698212765363554361f4e125ee7
+MISC ChangeLog 21610 RMD160 738780951175746ad5c1d79e552167dc54b041f5 SHA1 be67315bbb3c42e4fe9111ed2a5cc6c79baa7ec8 SHA256 4d06a73a5939e0de08c2f2db06f10e9322232e619707f51dfe38793276f6c338
MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b
diff --git a/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.19.ebuild b/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.19.ebuild
new file mode 100644
index 000000000000..51634cde16d6
--- /dev/null
+++ b/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.19.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.19.ebuild,v 1.1 2008/12/30 21:28:57 armin76 Exp $
+
+inherit eutils mozilla-launcher multilib mozextension
+
+LANGS="af be bg ca cs da de el en-GB en-US es-AR es-ES eu fi fr ga-IE he hu it ja ko lt mk nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ru sk sl sv-SE tr uk zh-CN zh-TW"
+NOSHORTLANGS="en-GB es-AR pt-BR zh-TW"
+
+DESCRIPTION="Thunderbird Mail Client"
+SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/linux-i686/en-US/thunderbird-${PV}.tar.gz"
+HOMEPAGE="http://www.mozilla.com/thunderbird"
+RESTRICT="strip"
+
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
+IUSE=""
+
+for X in ${LANGS} ; do
+ if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then
+ SRC_URI="${SRC_URI}
+ linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
+ fi
+ IUSE="${IUSE} linguas_${X/-/_}"
+ # english is handled internally
+ if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then
+ if [ "${X}" != "en-US" ]; then
+ SRC_URI="${SRC_URI}
+ linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
+ fi
+ IUSE="${IUSE} linguas_${X%%-*}"
+ fi
+done
+
+DEPEND="app-arch/unzip"
+RDEPEND="x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libXmu
+ x86? (
+ >=x11-libs/gtk+-2.2
+ =virtual/libstdc++-3.3
+ )
+ amd64? (
+ >=app-emulation/emul-linux-x86-baselibs-1.0
+ >=app-emulation/emul-linux-x86-gtklibs-1.0
+ app-emulation/emul-linux-x86-compat
+ )
+ >=www-client/mozilla-launcher-1.41"
+
+S="${WORKDIR}/thunderbird"
+
+pkg_setup() {
+ # This is a binary x86 package => ABI=x86
+ # Please keep this in future versions
+ # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26
+ has_multilib_profile && ABI="x86"
+}
+
+linguas() {
+ local LANG SLANG
+ for LANG in ${LINGUAS}; do
+ if has ${LANG} en en_US; then
+ has en ${linguas} || linguas="${linguas:+"${linguas} "}en"
+ continue
+ elif has ${LANG} ${LANGS//-/_}; then
+ has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}"
+ continue
+ elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then
+ for X in ${LANGS}; do
+ if [[ "${X}" == "${LANG}-"* ]] && \
+ [[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then
+ has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}"
+ continue 2
+ fi
+ done
+ fi
+ ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA"
+ done
+}
+
+src_unpack() {
+ unpack thunderbird-${PV}.tar.gz
+
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != en ]] && xpi_unpack ${P/-bin}-${X}.xpi
+ done
+ if [[ ${linguas} != "" && ${linguas} != "en" ]]; then
+ einfo "Selected language packs (first will be default): ${linguas}"
+ fi
+}
+
+src_install() {
+ declare MOZILLA_FIVE_HOME="/opt/thunderbird"
+
+ # Install thunderbird in /opt
+ dodir ${MOZILLA_FIVE_HOME%/*}
+ mv "${S}" "${D}"${MOZILLA_FIVE_HOME}
+
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != en ]] && xpi_install ${WORKDIR}/${P/-bin}-${X}
+ done
+
+ local LANG=${linguas%% *}
+ if [[ ${LANG} != "" && ${LANG} != "en" ]]; then
+ ebegin "Setting default locale to ${LANG}"
+ sed -i "s:pref(\"general.useragent.locale\", \"en-US\"):pref(\"general.useragent.locale\", \"${LANG}\"):" \
+ "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-thunderbird.js \
+ "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-l10n.js
+ eend $? || die "sed failed to change locale"
+ fi
+
+ # Install /usr/bin/thunderbird-bin
+ install_mozilla_launcher_stub thunderbird-bin ${MOZILLA_FIVE_HOME}
+
+ # Install icon and .desktop for menu entry
+ doicon "${FILESDIR}"/icon/${PN}-icon.png
+ domenu "${FILESDIR}"/icon/${PN}.desktop
+
+ # revdep-rebuild entry
+ insinto /etc/revdep-rebuild
+ doins "${FILESDIR}"/10thunderbird-bin
+
+ # install ldpath env.d
+ doenvd "${FILESDIR}"/71thunderbird-bin
+}
+
+pkg_preinst() {
+ declare MOZILLA_FIVE_HOME="/opt/thunderbird"
+
+ # Remove entire installed instance to solve various
+ # problems, for example see bug 27719
+ rm -rf "${ROOT}"${MOZILLA_FIVE_HOME}
+}
+
+pkg_postinst() {
+ elog "For enigmail, please see instructions at"
+ elog " http://enigmail.mozdev.org/"
+
+ use amd64 && einfo "NB: You just installed a 32-bit thunderbird"
+ update_mozilla_launcher_symlinks
+}
+
+pkg_postrm() {
+ update_mozilla_launcher_symlinks
+}