summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-04-17 15:32:26 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-04-17 15:32:26 +0000
commit05f45e3476a819f02764381983e9c29b79e7548a (patch)
tree6e9d108e3ff711d5b33922dcf45142bcbe05bf3f /dev-java/wx4j
parentxml-apis.jar is provided by xml-commons , see #82561 (diff)
downloadgentoo-2-05f45e3476a819f02764381983e9c29b79e7548a.tar.gz
gentoo-2-05f45e3476a819f02764381983e9c29b79e7548a.tar.bz2
gentoo-2-05f45e3476a819f02764381983e9c29b79e7548a.zip
Initial import, ebuilds mainly based on the contribution by Bill Six <billsix316@yahoo.com>. Fixes #86559
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/wx4j')
-rw-r--r--dev-java/wx4j/ChangeLog11
-rw-r--r--dev-java/wx4j/Manifest3
-rw-r--r--dev-java/wx4j/files/digest-wx4j-0.2.01
-rw-r--r--dev-java/wx4j/files/wx4j-0.2.0-build.patch20
-rw-r--r--dev-java/wx4j/metadata.xml5
-rw-r--r--dev-java/wx4j/wx4j-0.2.0.ebuild50
6 files changed, 90 insertions, 0 deletions
diff --git a/dev-java/wx4j/ChangeLog b/dev-java/wx4j/ChangeLog
new file mode 100644
index 000000000000..ae95f999662c
--- /dev/null
+++ b/dev-java/wx4j/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/wx4j
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/wx4j/ChangeLog,v 1.1 2005/04/17 15:32:26 luckyduck Exp $
+
+*wx4j-0.2.0 (17 Apr 2005)
+
+ 17 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+ +files/wx4j-0.2.0-build.patch, +wx4j-0.2.0.ebuild:
+ Initial import, ebuilds mainly based on the contribution by Bill Six
+ <billsix316@yahoo.com>. Fixes #86559
+
diff --git a/dev-java/wx4j/Manifest b/dev-java/wx4j/Manifest
new file mode 100644
index 000000000000..1c6504089856
--- /dev/null
+++ b/dev-java/wx4j/Manifest
@@ -0,0 +1,3 @@
+MD5 76a5dabc4941cfce1a9b97038bb9f1bd wx4j-0.2.0.ebuild 1183
+MD5 1eb2e7bb0ca1b9e6c8644243652d077c files/wx4j-0.2.0-build.patch 642
+MD5 bca1747c76e3a9f5bf4c98914efea047 files/digest-wx4j-0.2.0 63
diff --git a/dev-java/wx4j/files/digest-wx4j-0.2.0 b/dev-java/wx4j/files/digest-wx4j-0.2.0
new file mode 100644
index 000000000000..cd14e67d88ac
--- /dev/null
+++ b/dev-java/wx4j/files/digest-wx4j-0.2.0
@@ -0,0 +1 @@
+MD5 495aea836b5aa426a927df2e30121640 wx4j-0.2.0.tar.bz2 271889
diff --git a/dev-java/wx4j/files/wx4j-0.2.0-build.patch b/dev-java/wx4j/files/wx4j-0.2.0-build.patch
new file mode 100644
index 000000000000..efff753df852
--- /dev/null
+++ b/dev-java/wx4j/files/wx4j-0.2.0-build.patch
@@ -0,0 +1,20 @@
+--- project/build.properties.dist 2004-03-31 18:40:58.000000000 +0200
++++ build.properties 2005-03-26 01:53:58.737844464 +0100
+@@ -13,7 +13,7 @@
+ # Location of JDK. This may be different than the location of the JRE
+ # since only the JDK comes with the JNI header files
+ #
+-# jdk.home = /usr/local
++jdk.home = ${JAVA_HOME}
+
+ # Whether or not to staticly link to wxWidgets.
+ # default is true.
+@@ -21,7 +21,7 @@
+ #
+ # Only works on Linux at the moment.
+ #
+-# wx.static = fase
++wx.static = false
+
+ # Instructs the build process to compile all the C++ files in a single
+ # pass by including them all into a single C++ file. Can mask include
diff --git a/dev-java/wx4j/metadata.xml b/dev-java/wx4j/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/wx4j/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/wx4j/wx4j-0.2.0.ebuild b/dev-java/wx4j/wx4j-0.2.0.ebuild
new file mode 100644
index 000000000000..31a268400c94
--- /dev/null
+++ b/dev-java/wx4j/wx4j-0.2.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/wx4j/wx4j-0.2.0.ebuild,v 1.1 2005/04/17 15:32:26 luckyduck Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="A blending of the wxWindows C++ class library with Java"
+HOMEPAGE="http://www.wx4j.org/"
+SRC_URI="mirror://sourceforge/wx4j/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="1"
+KEYWORDS="-amd64 ~x86 ~ppc" #segfaults on amd64
+IUSE="examples gtk2 source"
+
+DEPEND=">=virtual/jdk-1.4
+ gtk2? ( dev-util/pkgconfig )
+ >=dev-java/ant-1.6.2-r6"
+RDEPEND=">=virtual/jre-1.4
+ >=x11-libs/wxGTK-2.4.2-r2
+ gtk2? ( >=x11-libs/gtk+-2.0
+ >=x11-libs/pango-1.2
+ >=dev-libs/glib-2.0 )
+ !gtk2? ( =x11-libs/gtk+-1.2*
+ =dev-libs/glib-1.2* )
+ >=dev-lang/swig-1.3.21"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ cp project/build.properties.dist build.properties
+ epatch ${FILESDIR}/${P}-build.patch
+}
+
+src_compile() {
+ local antflags="build"
+ ant ${antflags} || die "compilation failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/wx4j/lib/*.jar
+ java-pkg_doso dist/wx4j/lib/libwx4j.so
+
+ if use examples; then
+ dodir /usr/share/doc/${PF}/examples
+ cp -r project/samples/java/* ${D}/usr/share/doc/${PF}/examples
+ fi
+ use source && java-pkg_dosrc project/wx4j/java/*
+}