# ChangeLog for x11-libs/wxmozilla
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxmozilla/ChangeLog,v 1.9 2006/12/31 23:12:39 dirtyepic Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxmozilla/ChangeLog,v 1.10 2007/01/02 09:01:35 dirtyepic Exp $
+
+*wxmozilla-0.5.7_pre20070102 (02 Jan 2007)
+
+ 02 Jan 2007; Ryan Hill <dirtyepic@gentoo.org> metadata.xml,
+ -wxmozilla-0.5.4.ebuild, +wxmozilla-0.5.7_pre20070102.ebuild:
+ Adding masked snapshot for testing. Adds support for wxGTK-2.6, Seamonkey,
+ Firefox 2.0. May cause blindness. Removed crusty 0.5.4 ebuild.
31 Dec 2006; Ryan Hill <dirtyepic@gentoo.org> -wxmozilla-0.5.3.ebuild:
Remove old ebuild.
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxmozilla/wxmozilla-0.5.7_pre20070102.ebuild,v 1.1 2007/01/02 09:01:35 dirtyepic Exp $
+
+inherit eutils wxwidgets
+
+IUSE="doc firefox python"
+
+DESCRIPTION="Mozilla widget for wxWindows"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+HOMEPAGE="http://wxmozilla.sourceforge.net/"
+
+DEPEND="
+ =x11-libs/wxGTK-2.6*
+ firefox? ( >=www-client/mozilla-firefox-2.0 )
+ !firefox? ( >=www-client/seamonkey-1.0.0 )
+ python? ( dev-lang/python
+ >=dev-python/wxpython-2.6.3 )"
+
+SLOT="0"
+LICENSE="wxWinLL-3"
+KEYWORDS="~x86"
+
+S="${WORKDIR}/wxMozilla"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+}
+
+src_compile() {
+
+ # Current Problems:
+ # -can't find wx-config without the funky configure option
+ # -can't find wxpython
+ # configure runs:
+ # wxpyvername=`$PYTHON -c "from wx.build.config import getExtraPath; print getExtraPath(addOpts=1)"
+ # python replies:
+ # sh: wx-config: command not found
+ # sh: wx-config: command not found
+ # sh: wx-config: command not found
+ # sh: wx-config: command not found
+ # sh: wx-config: command not found
+
+ # Currently Working:
+ #
+ # USE="-python" builds against seamonkey-1.0.7
+ # USE="python" builds against seamonkey-1.0.7 but i'm not sure everything's
+ # installed correctly.
+
+ # Currently Testing:
+ # FF 2.0
+
+ WX_GTK_VER="2.6"
+ need-wxwidgets unicode
+
+ if use firefox; then
+ myconf="--enable-firefox --disable-seamonkey"
+ else
+ myconf="--disable-firefox --enable-seamonkey"
+ fi
+
+ econf \
+ $(use_enable python) \
+ --disable-gtktest \
+ --with-wx-config=wx-config-2.6 \
+ ${myconf} \
+ || die "configure failed"
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+
+ if use doc; then
+ dodoc README
+ newdoc demo/main.cpp example.cpp
+ use python && dodoc wxPython/demo/*.py
+ fi
+}