summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/wxmozilla')
-rw-r--r--x11-libs/wxmozilla/ChangeLog10
-rw-r--r--x11-libs/wxmozilla/Manifest14
-rw-r--r--x11-libs/wxmozilla/files/digest-wxmozilla-0.5.31
-rw-r--r--x11-libs/wxmozilla/metadata.xml7
-rw-r--r--x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild60
5 files changed, 92 insertions, 0 deletions
diff --git a/x11-libs/wxmozilla/ChangeLog b/x11-libs/wxmozilla/ChangeLog
new file mode 100644
index 000000000000..030b81e1de4f
--- /dev/null
+++ b/x11-libs/wxmozilla/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for x11-libs/wxmozilla
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxmozilla/ChangeLog,v 1.1 2004/12/11 17:32:21 kloeri Exp $
+
+*wxmozilla-0.5.3 (11 Dec 2004)
+
+ 11 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> +metadata.xml,
+ +wxmozilla-0.5.3.ebuild:
+ Initial import. ebuild by Fernando Serboncini in bug 31998.
+
diff --git a/x11-libs/wxmozilla/Manifest b/x11-libs/wxmozilla/Manifest
new file mode 100644
index 000000000000..da02e8f225a7
--- /dev/null
+++ b/x11-libs/wxmozilla/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 ef14b82f69b2d7692edb9c77b41d94c8 ChangeLog 399
+MD5 499f4ffa169e7c6cddc64e949def6746 metadata.xml 277
+MD5 465e1af301817e2efe741e7f0107d2f2 wxmozilla-0.5.3.ebuild 1529
+MD5 cd769d652989e37dddd923b336b2fbb3 files/digest-wxmozilla-0.5.3 67
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBuy9QugEuf3OQ0akRAruBAJ9kE2xLraDdkYszbvGaptmnNnJDegCgl2Sm
+hNDgGlnni8VpoOIT16dhysI=
+=XWLU
+-----END PGP SIGNATURE-----
diff --git a/x11-libs/wxmozilla/files/digest-wxmozilla-0.5.3 b/x11-libs/wxmozilla/files/digest-wxmozilla-0.5.3
new file mode 100644
index 000000000000..763cdf0b835f
--- /dev/null
+++ b/x11-libs/wxmozilla/files/digest-wxmozilla-0.5.3
@@ -0,0 +1 @@
+MD5 c353300bfd1f45e1fa3e413cdbdd48d2 wxmozilla-0.5.3.tar.gz 327374
diff --git a/x11-libs/wxmozilla/metadata.xml b/x11-libs/wxmozilla/metadata.xml
new file mode 100644
index 000000000000..9fedb25c7901
--- /dev/null
+++ b/x11-libs/wxmozilla/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>fserb@terra.com.br</email></maintainer>
+<maintainer><email>kloeri@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild b/x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild
new file mode 100644
index 000000000000..b5ada4f76739
--- /dev/null
+++ b/x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild,v 1.1 2004/12/11 17:32:21 kloeri Exp $
+
+inherit eutils libtool
+
+IUSE="python doc"
+
+DESCRIPTION="Mozilla widget for wxWindows"
+SRC_URI="mirror://sourceforge/wxmozilla/${P}.tar.gz"
+HOMEPAGE="http://wxmozilla.sourceforge.net/"
+
+DEPEND=">=mozilla-1.3
+ python? ( dev-lang/python >=dev-python/wxpython-2.4 )
+ >=x11-libs/wxGTK-2.4"
+
+SLOT="0"
+LICENSE="wxWinLL-3"
+KEYWORDS="~x86"
+
+pkg_setup() {
+ # make sure gtk{1,2} setting of Mozilla and wxGTK is same
+ if built_with_use net-www/mozilla gtk2; then
+ tk_mozilla="gtk2"
+ else
+ tk_mozilla="gtk1"
+ fi
+ if built_with_use x11-libs/wxGTK gtk2; then
+ tk_wxgtk="gtk2"
+ else
+ tk_wxgtk="gtk1"
+ fi
+
+ if [ $tk_mozilla != $tk_wxgtk ]; then
+ eerror "You need x11-libs/wxGTK and net-www/mozilla compiled with same GTK+ version."
+ eerror "Emerge both either with or without 'gtk2' in your USE flags."
+ eerror "wxGTK toolkit: $tk_wxgtk"
+ eerror "Mozilla toolkit: $tk_mozilla"
+ die "wxGTK and Mozilla must use same major GTK+ version"
+ fi
+}
+
+src_compile() {
+ elibtoolize
+ econf `use_enable python` || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "install failed"
+
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ exeinto /usr/share/doc/${PF}
+ doins README
+ newins demo/main.cpp example.cpp
+ doexe demo/wxMozillaDemo
+ doins wxPython/demo/*.py
+ fi
+}