diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-05-27 14:16:50 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-05-27 14:16:50 +0000 |
commit | 62b2961aa4646825fa6504763faa08dce2f87515 (patch) | |
tree | e1a40f8fe2d348217284744e2c3858775a5c2164 /x11-plugins/lightning | |
parent | old (diff) | |
download | gentoo-2-62b2961aa4646825fa6504763faa08dce2f87515.tar.gz gentoo-2-62b2961aa4646825fa6504763faa08dce2f87515.tar.bz2 gentoo-2-62b2961aa4646825fa6504763faa08dce2f87515.zip |
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-plugins/lightning')
-rw-r--r-- | x11-plugins/lightning/ChangeLog | 5 | ||||
-rw-r--r-- | x11-plugins/lightning/lightning-0.7.ebuild | 113 |
2 files changed, 4 insertions, 114 deletions
diff --git a/x11-plugins/lightning/ChangeLog b/x11-plugins/lightning/ChangeLog index 593e766cee14..8c6f747f22f1 100644 --- a/x11-plugins/lightning/ChangeLog +++ b/x11-plugins/lightning/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/lightning # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/ChangeLog,v 1.5 2008/04/08 11:25:50 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/ChangeLog,v 1.6 2008/05/27 14:16:50 armin76 Exp $ + + 27 May 2008; Raúl Porcel <armin76@gentoo.org> -lightning-0.7.ebuild: + old *lightning-0.8 (08 Apr 2008) diff --git a/x11-plugins/lightning/lightning-0.7.ebuild b/x11-plugins/lightning/lightning-0.7.ebuild deleted file mode 100644 index 03acac32c6cb..000000000000 --- a/x11-plugins/lightning/lightning-0.7.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/lightning-0.7.ebuild,v 1.4 2008/03/17 12:50:14 armin76 Exp $ - -WANT_AUTOCONF="2.1" - -inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozextension makeedit multilib autotools - -SBPATCH="mozilla-sunbird-${PV}-patches-0.5" - -DESCRIPTION="Calendar extension for Mozilla Thunderbird." -HOMEPAGE="http://www.mozilla.org/projects/calendar/lightning/" -SRC_URI="http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/${PV}/source/${PN}-sunbird-${PV}-source.tar.bz2 - mirror://gentoo/${SBPATCH}.tar.bz2" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" -IUSE="" - -RDEPEND=">=mail-client/mozilla-thunderbird-2.0_alpha1 - >=www-client/mozilla-launcher-1.56" - -S="${WORKDIR}/mozilla" - -# Needed by src_compile() and src_install(). -# Would do in pkg_setup but that loses the export attribute, they -# become pure shell variables. -export BUILD_OFFICIAL=1 -export MOZILLA_OFFICIAL=1 -export MOZ_CO_PROJECT=calendar - -src_unpack() { - unpack ${A%bz2*}bz2 - - # Apply our patches - cd "${S}" || die "cd failed" - EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" \ - epatch "${WORKDIR}"/patch - - eautoreconf -} - -src_compile() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird" - - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - - mozconfig_annotate '' --enable-application=calendar - mozconfig_annotate '' --enable-extensions=lightning - mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} - mozconfig_annotate '' --with-system-nss - mozconfig_annotate '' --with-system-nspr - - # Finalize and report settings - mozconfig_final - - # -fstack-protector breaks us - if gcc-version ge 4 1; then - gcc-specs-ssp && append-flags -fno-stack-protector - else - gcc-specs-ssp && append-flags -fno-stack-protector-all - fi - filter-flags -fstack-protector -fstack-protector-all - - #################################### - # - # Configure and build Thunderbird - # - #################################### - - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ - econf || die - - # This removes extraneous CFLAGS from the Makefiles to reduce RAM - # requirements while compiling - edit_makefiles - - # Only build the parts necessary to support building enigmail - emake -j1 export || die "make export failed" - emake -C xpcom || die "make xpcom failed" - emake -C js/ || die "make js failed" - - # Build the lightning plugin - einfo "Building Lightning plugin..." - emake -C "${S}"/calendar/lightning/ || die "make lightning failed" -} - -src_install() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird" - declare emid - - cd "${T}" - unzip "${S}"/dist/xpi-stage/${PN}.xpi install.rdf - emid=$(sed -n -e '/<\?em:id>\?/!d; s/.*\([\"{].*[}\"]\).*/\1/; s/\"//g; p;' install.rdf | sed -e '1d') || die "failed to determine extension id" - - dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} - cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} - unzip "${S}"/dist/xpi-stage/${PN}.xpi - - # these files will be picked up by mozilla-launcher -register - dodir ${MOZILLA_FIVE_HOME}/{chrome,extensions}.d - insinto ${MOZILLA_FIVE_HOME}/chrome.d - newins "${S}"/dist/bin/chrome/installed-chrome.txt ${PN} - echo "extension,${emid}" > "${D}"${MOZILLA_FIVE_HOME}/extensions.d/${PN} -} |