diff options
author | Daniel Gryniewicz <dang@gentoo.org> | 2008-11-19 16:11:38 +0000 |
---|---|---|
committer | Daniel Gryniewicz <dang@gentoo.org> | 2008-11-19 16:11:38 +0000 |
commit | 721e037ac900567e54a57ef1c1cec3adece34b54 (patch) | |
tree | edc497d71e659ea7ec990035a750265b05a12759 /dev-python/gtkmozembed-python | |
parent | Masked =media-fonts/ja-ipafonts-0.0.20040715 for bug #196340. (diff) | |
download | gentoo-2-721e037ac900567e54a57ef1c1cec3adece34b54.tar.gz gentoo-2-721e037ac900567e54a57ef1c1cec3adece34b54.tar.bz2 gentoo-2-721e037ac900567e54a57ef1c1cec3adece34b54.zip |
Add a version depending on xulrunner 1.9
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'dev-python/gtkmozembed-python')
-rw-r--r-- | dev-python/gtkmozembed-python/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/gtkmozembed-python/gtkmozembed-python-2.19.1-r10.ebuild | 47 |
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-python/gtkmozembed-python/ChangeLog b/dev-python/gtkmozembed-python/ChangeLog index 7336f240f5e0..404d42c2cab8 100644 --- a/dev-python/gtkmozembed-python/ChangeLog +++ b/dev-python/gtkmozembed-python/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/gtkmozembed-python # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gtkmozembed-python/ChangeLog,v 1.1 2008/10/16 22:51:24 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gtkmozembed-python/ChangeLog,v 1.2 2008/11/19 16:11:38 dang Exp $ + +*gtkmozembed-python-2.19.1-r10 (19 Nov 2008) + + 19 Nov 2008; Daniel Gryniewicz <dang@gentoo.org> + +gtkmozembed-python-2.19.1-r10.ebuild: + Add a version depending on xulrunner 1.9 *gtkmozembed-python-2.19.1 (16 Oct 2008) diff --git a/dev-python/gtkmozembed-python/gtkmozembed-python-2.19.1-r10.ebuild b/dev-python/gtkmozembed-python/gtkmozembed-python-2.19.1-r10.ebuild new file mode 100644 index 000000000000..bf19d89c24c6 --- /dev/null +++ b/dev-python/gtkmozembed-python/gtkmozembed-python-2.19.1-r10.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gtkmozembed-python/gtkmozembed-python-2.19.1-r10.ebuild,v 1.1 2008/11/19 16:11:38 dang Exp $ + +EAPI="1" + +G_PY_PN="gnome-python-extras" + +inherit confutils gnome-python-common + +PVP="$(get_version_component_range 1-2)" +SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2 + mirror://gentoo/${G_PY_PN}-${PV}-split.patch.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc firefox seamonkey +xulrunner" + +RDEPEND="xulrunner? ( =net-libs/xulrunner-1.9* ) + !xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) ) + !xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )" +DEPEND="${RDEPEND}" + +pkg_setup() { + gnome-python-common_pkg_setup + + confutils_require_any "firefox" "seamonkey" "xulrunner" + + if use xulrunner; then + G2CONF="${G2CONF} --with-gtkmozembed=xulrunner-1.9" + elif use firefox; then + G2CONF="${G2CONF} --with-gtkmozembed=firefox" + elif use seamonkey; then + G2CONF="${G2CONF} --with-gtkmozembed=seamonkey" + fi +} + +src_unpack() { + gnome-python-common_src_unpack + + # change mozilla to seamonkey + sed -e 's:1.2b):1.0.0):;s:mozilla):seamonkey):' -i configure.ac + + epatch "${WORKDIR}/${G_PY_PN}-${PV}-split.patch" + eautoreconf +} |