diff options
author | Mounir Lamouri <volkmar@gentoo.org> | 2009-10-01 17:06:10 +0000 |
---|---|---|
committer | Mounir Lamouri <volkmar@gentoo.org> | 2009-10-01 17:06:10 +0000 |
commit | fc2393fa379ee0203f510e537aa64ae3bec5af79 (patch) | |
tree | a671d3162f95511d24b25f264523105ba7a0f299 /www-plugins | |
parent | old (diff) | |
download | gentoo-2-fc2393fa379ee0203f510e537aa64ae3bec5af79.tar.gz gentoo-2-fc2393fa379ee0203f510e537aa64ae3bec5af79.tar.bz2 gentoo-2-fc2393fa379ee0203f510e537aa64ae3bec5af79.zip |
Version bump to 0.7.
(Portage version: 14420-svn/cvs/Linux ppc)
Diffstat (limited to 'www-plugins')
-rw-r--r-- | www-plugins/mozilla-weave/ChangeLog | 8 | ||||
-rw-r--r-- | www-plugins/mozilla-weave/mozilla-weave-0.7.ebuild | 115 |
2 files changed, 122 insertions, 1 deletions
diff --git a/www-plugins/mozilla-weave/ChangeLog b/www-plugins/mozilla-weave/ChangeLog index b1d5adc0b3bb..503e2dcd6027 100644 --- a/www-plugins/mozilla-weave/ChangeLog +++ b/www-plugins/mozilla-weave/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-plugins/mozilla-weave # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/mozilla-weave/ChangeLog,v 1.14 2009/08/30 10:36:50 volkmar Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-plugins/mozilla-weave/ChangeLog,v 1.15 2009/10/01 17:06:10 volkmar Exp $ + +*mozilla-weave-0.7 (01 Oct 2009) + + 01 Oct 2009; Mounir Lamouri <volkmar@gentoo.org> + +mozilla-weave-0.7.ebuild: + Version bump to 0.7. 30 Aug 2009; Mounir Lamouri <volkmar@gentoo.org> mozilla-weave-0.6.ebuild: Workaround for parallel compilation issues diff --git a/www-plugins/mozilla-weave/mozilla-weave-0.7.ebuild b/www-plugins/mozilla-weave/mozilla-weave-0.7.ebuild new file mode 100644 index 000000000000..7b6012051738 --- /dev/null +++ b/www-plugins/mozilla-weave/mozilla-weave-0.7.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-plugins/mozilla-weave/mozilla-weave-0.7.ebuild,v 1.1 2009/10/01 17:06:10 volkmar Exp $ + +EAPI="2" + +inherit eutils mozextension multilib + +MY_PN="weave" +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Mozilla Labs prototype for online services" +HOMEPAGE="http://labs.mozilla.com/projects/weave/" +SRC_URI="http://hg.mozilla.org/labs/${MY_PN}/archive/${PV}.tar.bz2 + -> ${P}.tar.bz2" + +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND="|| ( + >=www-client/mozilla-firefox-3.5 + >=www-client/mozilla-firefox-bin-3.5 + >=www-client/seamonkey-2.0_alpha3 + >=www-client/seamonkey-bin-2.0_alpha3 + >=mail-client/mozilla-thunderbird-3.0_beta2 + >=mail-client/mozilla-thunderbird-bin-3.0_beta2 + ) + >=net-libs/xulrunner-1.9.1 + >=dev-libs/nss-3.12 + >=dev-libs/nspr-4.7.1" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +RESTRICT="test" + +# NOTES: +# fennec is also listed in install.rdf but not in-tree + +# TODO: +# tests are failing because they are not using pkgconfig +# parallel compilation isssues +# server ebuild: https://wiki.mozilla.org/Labs/Weave/0.5/Setup/Storage + +src_prepare() { + # remove compiled files + rm -rf crypto/platform/* || die "rm -rf never dies" + + # upstream bug 504022 + epatch "${FILESDIR}"/${PN}-0.5.1-pkgconfig.patch +} + +src_compile() { + export WEAVE_BUILDID=${PV} + + emake -j1 rebuild_crypto=1 build || die "emake failed" +} + +#src_test() { +# emake -j1 test || die "emake test" +#} + +src_install() { + local MOZILLA_FIVE_HOME xpiname + + emake release_build=1 xpi || die "emake xpi failed" + + mozillas="" + xpiname="${MY_P}-rel" + xpi_unpack "${S}/dist/xpi/${xpiname}.xpi" + + # FIXME: Hard-coded MOZILLA_FIVE_HOME dirs + if has_version '>=www-client/mozilla-firefox-3.5'; then + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-firefox" + xpi_install "${WORKDIR}/${xpiname}" + mozillas="$(best_version www-client/mozilla-firefox) ${mozillas}" + fi + if has_version '>=www-client/mozilla-firefox-bin-3.5'; then + MOZILLA_FIVE_HOME="/opt/firefox" + xpi_install "${WORKDIR}/${xpiname}" + mozillas="$(best_version www-client/mozilla-firefox-bin) ${mozillas}" + fi + if has_version '>=www-client/seamonkey-2.0_alpha3'; then + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/seamonkey" + xpi_install "${WORKDIR}/${xpiname}" + mozillas="$(best_version www-client/seamonkey) ${mozillas}" + fi + if has_version '>=www-client/seamonkey-bin-2.0_alpha3'; then + MOZILLA_FIVE_HOME="/opt/seamonkey" + xpi_install "${WORKDIR}/${xpiname}" + mozillas="$(best_version www-client/seamonkey-bin) ${mozillas}" + fi + if has_version '>=mail-client/mozilla-thunderbird-3.0_beta2'; then + MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird" + xpi_install "${WORKDIR}/${xpiname}" + mozillas="$(best_version mail-client/mozilla-thunderbird) ${mozillas}" + fi + if has_version '>=mail-client/mozilla-thunderbird-bin-3.0_beta2'; then + MOZILLA_FIVE_HOME="/opt/thunderbird" + xpi_install "${WORKDIR}/${xpiname}" + mozillas="$(best_version mail-client/mozilla-thunderbird-bin) ${mozillas}" + fi +} + +pkg_postinst() { + elog "Weave has been installed for the following packages:" + for i in ${mozillas}; do + elog " $i" + done + elog + elog "After installing other mozilla ebuilds, if you want to use weave with them," + elog "reinstall www-plugins/mozilla-weave" +} |