--- /usr/portage/dev-python/gtkmozembed-python/gtkmozembed-python-2.19.1.ebuild +++ gtkmozembed-python-2.19.1.ebuild @@ -16,33 +16,27 @@ LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="sparc ~x86-fbsd" -IUSE="doc firefox seamonkey +xulrunner" +IUSE="doc firefox +xulrunner" RDEPEND="xulrunner? ( =net-libs/xulrunner-1.8* ) - !xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) ) - !xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )" + !xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) )" DEPEND="${RDEPEND}" pkg_setup() { gnome-python-common_pkg_setup - confutils_require_any "firefox" "seamonkey" "xulrunner" + confutils_require_any "firefox" "xulrunner" if use xulrunner; then G2CONF="${G2CONF} --with-gtkmozembed=xulrunner" 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 }