summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/glib-java/ChangeLog10
-rw-r--r--dev-java/glib-java/Manifest22
-rw-r--r--dev-java/glib-java/files/digest-glib-java-0.2.33
-rw-r--r--dev-java/glib-java/glib-java-0.2.3.ebuild87
-rw-r--r--dev-java/libgtk-java/ChangeLog8
-rw-r--r--dev-java/libgtk-java/Manifest48
-rw-r--r--dev-java/libgtk-java/files/digest-libgtk-java-2.8.33
-rw-r--r--dev-java/libgtk-java/libgtk-java-2.8.3.ebuild94
8 files changed, 272 insertions, 3 deletions
diff --git a/dev-java/glib-java/ChangeLog b/dev-java/glib-java/ChangeLog
index 41ced8e25e40..b3c5bcaf291d 100644
--- a/dev-java/glib-java/ChangeLog
+++ b/dev-java/glib-java/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/glib-java
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/glib-java/ChangeLog,v 1.4 2005/12/30 02:40:56 compnerd Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glib-java/ChangeLog,v 1.5 2006/02/08 00:27:55 compnerd Exp $
+
+*glib-java-0.2.3 (08 Feb 2006)
+
+ 08 Feb 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+ +glib-java-0.2.3.ebuild:
+ Version bump from upstream
30 Dec 2005; Saleem Abdulrasool <compnerd@gentoo.org>
glib-java-0.2.2.ebuild:
diff --git a/dev-java/glib-java/Manifest b/dev-java/glib-java/Manifest
index 043004d28e87..30263c22415a 100644
--- a/dev-java/glib-java/Manifest
+++ b/dev-java/glib-java/Manifest
@@ -1,8 +1,30 @@
MD5 852ab3358ea095d42ed8ef6a93be9d0d ChangeLog 863
+RMD160 2d041f026a7a07a67e04f945da4f232c7c3b1ff7 ChangeLog 863
+SHA256 93111b4e0867f03f2b467fd79bd4420f7c19a4b65ee40c1e846c3171ba50f06b ChangeLog 863
MD5 6f1550893a37966aca2b2c7ceb220b71 files/aclocal_voodoo.patch 749
+RMD160 ae731fbbcb529dfb0231f85430aacb912d7040f3 files/aclocal_voodoo.patch 749
+SHA256 5129cfd8bffc258fa132dd2a16a01d0f95c9bd16d437219e5b75e906e38e98ef files/aclocal_voodoo.patch 749
MD5 1d2e28a6488384bd29477c8488017453 files/digest-glib-java-0.2.1 67
+RMD160 aa0f65585f13f6f952d310a3f341f52fbca121ae files/digest-glib-java-0.2.1 67
+SHA256 e371f3933938fd489b948fc55a344c25d3935506d0024c221abb4063d41aa217 files/digest-glib-java-0.2.1 67
MD5 fef53b5a865fe519d6c678b4c95974a4 files/digest-glib-java-0.2.2 67
+RMD160 7f4892d5a7010a3741be832877ca39f363bd4a6b files/digest-glib-java-0.2.2 67
+SHA256 1b70380b8692208011724a3b7673526b0c87cdb736e19ceaf263623753be9c31 files/digest-glib-java-0.2.2 67
+MD5 6fefbc436dfe3bc884f2587845ee88fe files/digest-glib-java-0.2.3 247
+RMD160 7f2e9be95b15a40aa25ffda3b77a00378e0553d4 files/digest-glib-java-0.2.3 247
+SHA256 bd3b924cdfd5e5e660414294ff4234c5015f64f7b8b83a0a4c3f83130fae0d66 files/digest-glib-java-0.2.3 247
MD5 b1e11a9eba5947c307093c7e951155fe files/jg_common-macromagic.patch 482
+RMD160 e5bc048435a96c0592aab2a4396985f6d48ea723 files/jg_common-macromagic.patch 482
+SHA256 a3bcb5dbee0062864e6d73333925c922e0b4cca488ee8e7021db42f399934296 files/jg_common-macromagic.patch 482
MD5 3480719d0ce24733bd92a7827d5776a1 glib-java-0.2.1.ebuild 1962
+RMD160 3c8319af218f4e6c0c45335c0166428e77772747 glib-java-0.2.1.ebuild 1962
+SHA256 d608b7f11073fdb46fa3e53e165b8f3dee90b2e4d72d4bd90e4c9f56cdaf9816 glib-java-0.2.1.ebuild 1962
MD5 aa81eb6e3f5bcbb397240f7c7a06b59c glib-java-0.2.2.ebuild 2015
+RMD160 3aaf1a94a485f7971d4e51e76bc222c92745c397 glib-java-0.2.2.ebuild 2015
+SHA256 424ac523fede8a1d846b6ef8bf69687b8cbacadd3c5937f54b4cd7ac8153cd63 glib-java-0.2.2.ebuild 2015
+MD5 aa81eb6e3f5bcbb397240f7c7a06b59c glib-java-0.2.3.ebuild 2015
+RMD160 3aaf1a94a485f7971d4e51e76bc222c92745c397 glib-java-0.2.3.ebuild 2015
+SHA256 424ac523fede8a1d846b6ef8bf69687b8cbacadd3c5937f54b4cd7ac8153cd63 glib-java-0.2.3.ebuild 2015
MD5 5c652987877650c412fa53be7fdc9210 metadata.xml 351
+RMD160 0e264a3a00a4e9596de198ba12c78e70a80c4971 metadata.xml 351
+SHA256 150643467149fc29f21bc81dfb154912778d0c212638490d474fe46450f26ce4 metadata.xml 351
diff --git a/dev-java/glib-java/files/digest-glib-java-0.2.3 b/dev-java/glib-java/files/digest-glib-java-0.2.3
new file mode 100644
index 000000000000..7b1185a66336
--- /dev/null
+++ b/dev-java/glib-java/files/digest-glib-java-0.2.3
@@ -0,0 +1,3 @@
+MD5 dabe425330fe2474d5e28afc08835a57 glib-java-0.2.3.tar.gz 325579
+RMD160 5527f17459f326094c09e7b62f38af417e21a45c glib-java-0.2.3.tar.gz 325579
+SHA256 7659ca0bb56955ab468ece9229261e0f80eb731eb78a657048230fa907c60a5b glib-java-0.2.3.tar.gz 325579
diff --git a/dev-java/glib-java/glib-java-0.2.3.ebuild b/dev-java/glib-java/glib-java-0.2.3.ebuild
new file mode 100644
index 000000000000..fff0684c80ed
--- /dev/null
+++ b/dev-java/glib-java/glib-java-0.2.3.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/glib-java/glib-java-0.2.3.ebuild,v 1.1 2006/02/08 00:27:55 compnerd Exp $
+
+# Must be before the gnome.org inherit
+GNOME_TARBALL_SUFFIX="gz"
+
+inherit java-pkg eutils gnome.org
+
+DESCRIPTION="Java bindings for glib"
+HOMEPAGE="http://java-gnome.sourceforge.net/"
+
+# Not on gnome.org mirrors yet :-(
+SRC_URI="http://research.operationaldynamics.com/linux/java-gnome/dist/${PF}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0.2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc gcj source"
+
+DEPS=">=dev-libs/glib-2.8.1
+ dev-util/pkgconfig"
+
+DEPEND=">=virtual/jdk-1.4
+ >=sys-apps/sed-4
+ souce? ( app-arch/zip )
+ ${DEPS}"
+RDEPEND=">=virtual/jre-1.4
+ ${DEPS}"
+
+pkg_setup() {
+ if use gcj ; then
+ if ! built_with_use sys-devel/gcc gcj ; then
+ ewarn
+ ewarn "You must build gcc with the gcj support to build with gcj"
+ ewarn
+ ebeep 5
+ die "No GCJ support found!"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/aclocal_voodoo.patch
+
+ # Oh the joys of patching the autotools stuff
+ aclocal -I macros || die "aclocal failed"
+ libtoolize --force --copy || die "libtoolize failed"
+ autoconf || die "autoconf failed"
+ automake || die "automake failed"
+}
+
+src_compile() {
+ # JARDIR is a hack for java-config
+ econf $(use_with gcj gcj-compile) \
+ $(use_with doc javadocs) \
+ --with-jardir=/usr/share/${PN}-${SLOT}/lib \
+ || die "configure failed"
+
+ emake || die "compile failed"
+
+ # Fix the broken pkgconfig file
+ sed -i \
+ -e "s:classpath.*$:classpath=\${prefix}/share/${PN}-${SLOT}/lib/${PF}.jar:" \
+ ${S}/${PN}.pc
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "install failed"
+
+ # use java-pkg_dojar to install the jar
+ rm -rf ${D}/usr/share/${PN}-${SLOT}
+
+ mv ${S}/glib${SLOT}.jar ${S}/${PF}.jar
+ java-pkg_dojar ${S}/${PF}.jar
+
+ if use doc ; then
+ java-pkg_dohtml -r ${S}/doc
+ fi
+
+ if use source ; then
+ java-pkg_dosrc ${S}/src/java/org
+ fi
+}
diff --git a/dev-java/libgtk-java/ChangeLog b/dev-java/libgtk-java/ChangeLog
index 74b62d07b3e8..a14d1ded0488 100644
--- a/dev-java/libgtk-java/ChangeLog
+++ b/dev-java/libgtk-java/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/libgtk-java
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/libgtk-java/ChangeLog,v 1.16 2006/01/11 01:44:38 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libgtk-java/ChangeLog,v 1.17 2006/02/08 00:30:05 compnerd Exp $
+
+*libgtk-java-2.8.3 (08 Feb 2006)
+
+ 08 Feb 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+ +libgtk-java-2.8.3.ebuild:
+ Version bump from upstream
11 Jan 2006; Karl Trygve Kalleberg <karltk@gentoo.org>
libgtk-java-2.8.2.ebuild:
diff --git a/dev-java/libgtk-java/Manifest b/dev-java/libgtk-java/Manifest
index cb7a6116ad99..9aa159b7be28 100644
--- a/dev-java/libgtk-java/Manifest
+++ b/dev-java/libgtk-java/Manifest
@@ -1,21 +1,69 @@
MD5 ca80dba2916d05f68a1a49f612d10474 ChangeLog 4971
+RMD160 20f2691ee518553cd8de9493ea45640800968708 ChangeLog 4971
+SHA256 1091b955c913e20e487ebceb51de82227c926753e585c49c5579f569ac3bc363 ChangeLog 4971
MD5 984048712e487cfd26ccdc19f1247e63 files/aclocal_voodoo.patch 733
+RMD160 993fcaaa923beaa02040eb5174f99b3f135fdf03 files/aclocal_voodoo.patch 733
+SHA256 308ccc115371c6d90fe866aaf6a04c5d4b6b43e866a9c838c1b2a30b7ce214ef files/aclocal_voodoo.patch 733
MD5 c9b06cd33dfa81082635f38a375da14d files/digest-libgtk-java-2.4.8.1 72
+RMD160 b9eb6524c5404b86fefcaff7a64e1e2d5e702140 files/digest-libgtk-java-2.4.8.1 72
+SHA256 707d717b6f28804ad29fc7b1cf830f2209c200e2f25cf440bd49dae2d1b337cc files/digest-libgtk-java-2.4.8.1 72
MD5 f4c28fbb216236ce592ffe72a3d4e9ed files/digest-libgtk-java-2.4.9 70
+RMD160 6c3a4d0cdcb1d428cabe54ee8df6fba085d74950 files/digest-libgtk-java-2.4.9 70
+SHA256 6e9089aa4e47c238b90b8da09dce52ccdc768e9455f78da62401d59b657fb8db files/digest-libgtk-java-2.4.9 70
MD5 5447d20adb67dacfc4ecd80c88386343 files/digest-libgtk-java-2.6.2-r1 70
+RMD160 492a04afe8be720328de56d1d77a65c834120979 files/digest-libgtk-java-2.6.2-r1 70
+SHA256 8841ce3fbbde66a9c73178558b4543b5f1e77f41bb6f128356dd32ef09f6089c files/digest-libgtk-java-2.6.2-r1 70
MD5 766fa2461a679dad768a21ea8b014bff files/digest-libgtk-java-2.8.1 70
+RMD160 636d7b9fcd5dcd4d6428bbcbd62748fef1a7d54e files/digest-libgtk-java-2.8.1 70
+SHA256 a4da60ff1289f67536ef3ee40c470d1d491839367b0ef1db6fdd9a5a232a00f6 files/digest-libgtk-java-2.8.1 70
MD5 d3c7611133a8c982fa6a17cc3d3c317c files/digest-libgtk-java-2.8.2 70
+RMD160 edc02d84a683430f0c23b09b48426c3b78255fce files/digest-libgtk-java-2.8.2 70
+SHA256 9cffb462c41487b3fd8264b99f88e15863a75a23f547a356e60e7c093be947c3 files/digest-libgtk-java-2.8.2 70
+MD5 76e14901f21fc3d0a5bba9d257efab75 files/digest-libgtk-java-2.8.3 256
+RMD160 8d9add6acc146446c998648a138116ad389e4e32 files/digest-libgtk-java-2.8.3 256
+SHA256 decd5e474700d86818f7c73b8f28211ad7ada309855f1ab40e5a846728d2e713 files/digest-libgtk-java-2.8.3 256
MD5 21907163f2b6597c520b7c1a4da20784 files/libgtk-java-2.4.6_find_jni.patch 369
+RMD160 3b8f9d667777aabc75e10bb1d252c3c1c70c8a26 files/libgtk-java-2.4.6_find_jni.patch 369
+SHA256 0b13fdf937bfd5fe7dd92e84ade90de93c8403b611c71eb8f8f85293f8c59696 files/libgtk-java-2.4.6_find_jni.patch 369
MD5 40956547f4eb0b797359f67f6c6910bb files/libgtk-java-2.4.6_gcj-autoconf-macro-fix.patch 689
+RMD160 6d0f942cc1dbcc8e6a62a73240989f1c18da0a59 files/libgtk-java-2.4.6_gcj-autoconf-macro-fix.patch 689
+SHA256 984e21a9ce263d8e74a2eaa0a475f28e017a432a6b9aae8d21abdad5143f3df7 files/libgtk-java-2.4.6_gcj-autoconf-macro-fix.patch 689
MD5 1f2599c8fd250432f6e6b43d598e75db files/libgtk-java-2.4.6_gentoo-PN-SLOT.patch 2013
+RMD160 db3807a4781025b840938b6a371d33a43c5dc17a files/libgtk-java-2.4.6_gentoo-PN-SLOT.patch 2013
+SHA256 9ad6556d1b8b10e73b182dba3eef7799cafad5f4439ddf45d9ebcff5a9a2fc59 files/libgtk-java-2.4.6_gentoo-PN-SLOT.patch 2013
MD5 1defc6f20e4684f13955e28a28e47e1f files/libgtk-java-2.4.6_install-doc.patch 740
+RMD160 f2cabdc0cbe1f5460a29666a71a7240a9351f605 files/libgtk-java-2.4.6_install-doc.patch 740
+SHA256 f97d5c0333d739fb8db634558c7782011918d60f5aecf162f7a7bc11a46f9f54 files/libgtk-java-2.4.6_install-doc.patch 740
MD5 e8a6ddb689376b8e04d3bc41cca48253 files/libgtk-java-2.4.6_no-docbook-autoconf-macro.patch 394
+RMD160 79a155d29d2e9e0e3183be8335debfec4eb44f81 files/libgtk-java-2.4.6_no-docbook-autoconf-macro.patch 394
+SHA256 8d20c264493a4ff08e892bce3e6d82b5c9c507617c8d0c72531c386fe072c0f4 files/libgtk-java-2.4.6_no-docbook-autoconf-macro.patch 394
MD5 fc26b5e15e1e19216390e328d36237f2 files/libgtk-java-2.4.8.1_find-jni.patch 662
+RMD160 982571c17a97c37770e32f7fd1198e7ebfd4720f files/libgtk-java-2.4.8.1_find-jni.patch 662
+SHA256 04422f11b8e79792f5bdcefb1ba31f95f5b0757a5ed8c2501e332ec039d2597f files/libgtk-java-2.4.8.1_find-jni.patch 662
MD5 40c9acf29309ee98632a536eba5ef6a9 files/libgtk-java-2.4.8.1_fix-TextBuffer.patch 802
+RMD160 e73185b694423738f9210940808fb3f64a3a3b0d files/libgtk-java-2.4.8.1_fix-TextBuffer.patch 802
+SHA256 399b7557e869207f1483f822e484c883ff0341ec118cdad19f602635ee6f9d8c files/libgtk-java-2.4.8.1_fix-TextBuffer.patch 802
MD5 4130379b76854eac4060c133f20a765d files/libgtk-java-2.4.8.1_gentoo-PN-SLOT.patch 527
+RMD160 50e313d29aab7685f0d2b44aedb4c2a2d24cb4d7 files/libgtk-java-2.4.8.1_gentoo-PN-SLOT.patch 527
+SHA256 73451a6802f93cf9486d7ea91d4458fb11f8032dc901026db310e927938145dc files/libgtk-java-2.4.8.1_gentoo-PN-SLOT.patch 527
MD5 894895a802ebec44935045bc8f800c2f libgtk-java-2.4.8.1.ebuild 3350
+RMD160 bed6181433c9a4c9c9f51df8a527c7fb088afe8a libgtk-java-2.4.8.1.ebuild 3350
+SHA256 c06fa040a828b90160ab5d1610971ac653440a1b259af750f35467efbfde98a1 libgtk-java-2.4.8.1.ebuild 3350
MD5 b022186c8e04efb63e91009731c12120 libgtk-java-2.4.9.ebuild 2892
+RMD160 016fc6d0f51f568f4cbbc90d683ea62554a4a43f libgtk-java-2.4.9.ebuild 2892
+SHA256 40a636c3047fb37a94b0d100979d1a0c777f5017d8cc1b8c2406aa2955824a80 libgtk-java-2.4.9.ebuild 2892
MD5 856b0e851f16dddc9002d7e1ee2c603e libgtk-java-2.6.2-r1.ebuild 2820
+RMD160 d430f59c225eda84011468810b7fe1b9413131cf libgtk-java-2.6.2-r1.ebuild 2820
+SHA256 8e62cbc81235a8a39b5dcaf8b6fc07668d33f94cfcb5b26b8fc2574925e330c2 libgtk-java-2.6.2-r1.ebuild 2820
MD5 ff4ecec720f483314e6e8b688e902425 libgtk-java-2.8.1.ebuild 2111
+RMD160 9f743d4be62efa43c9b266073dcb160c322869c6 libgtk-java-2.8.1.ebuild 2111
+SHA256 412dc7565ca25976b12bc5e8b941e4e9f2e0e63229c6c38f9b3593eb061960ae libgtk-java-2.8.1.ebuild 2111
MD5 1529be15d188a0377a6ee2936601b64a libgtk-java-2.8.2.ebuild 2210
+RMD160 5103026cffd3ddbc704b4a4081ae42ab494b272f libgtk-java-2.8.2.ebuild 2210
+SHA256 5531ef46a72380811dad430f9686620a83b7e434cacd45d2256ca80025c289d3 libgtk-java-2.8.2.ebuild 2210
+MD5 eb756350eeb9c3bef82f90a0c3f4e6d5 libgtk-java-2.8.3.ebuild 2210
+RMD160 2213aef61118985ef51d768641f5ea094ff505b2 libgtk-java-2.8.3.ebuild 2210
+SHA256 6fb72332fa3b6b8ef6c9d7b2060338834c735c10317c95d7eb284e3bf7187ee2 libgtk-java-2.8.3.ebuild 2210
MD5 8d139287f93dc4241b670299688f0ae0 metadata.xml 1075
+RMD160 4363981c18b937d471ce972eaa1410bd10878942 metadata.xml 1075
+SHA256 b1dc19e09c5fc03f291a354e9bf11ce63e1c51df34ebe4153a6ae685a499071e metadata.xml 1075
diff --git a/dev-java/libgtk-java/files/digest-libgtk-java-2.8.3 b/dev-java/libgtk-java/files/digest-libgtk-java-2.8.3
new file mode 100644
index 000000000000..1de6db19a831
--- /dev/null
+++ b/dev-java/libgtk-java/files/digest-libgtk-java-2.8.3
@@ -0,0 +1,3 @@
+MD5 0bcf838a3220fdfa685c55c22d664874 libgtk-java-2.8.3.tar.gz 1099065
+RMD160 f9179f032033d02a9a8a667a202111ed71f525a7 libgtk-java-2.8.3.tar.gz 1099065
+SHA256 cdc8a9c37b8b69a2e68d77b6aeaf0780ec9d277fc104c718f18a50f20982fe1c libgtk-java-2.8.3.tar.gz 1099065
diff --git a/dev-java/libgtk-java/libgtk-java-2.8.3.ebuild b/dev-java/libgtk-java/libgtk-java-2.8.3.ebuild
new file mode 100644
index 000000000000..8fca59efa8de
--- /dev/null
+++ b/dev-java/libgtk-java/libgtk-java-2.8.3.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/libgtk-java/libgtk-java-2.8.3.ebuild,v 1.1 2006/02/08 00:30:05 compnerd Exp $
+
+# Must be before the gnome.org inherit
+GNOME_TARBALL_SUFFIX="gz"
+
+inherit java-pkg eutils gnome.org
+
+DESCRIPTION="Java bindings for GTK+"
+HOMEPAGE="http://java-gnome.sourceforge.net/"
+
+# Not on gnome.org mirrors yet :-(
+SRC_URI="http://research.operationaldynamics.com/linux/java-gnome/dist/${PF}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="2.8"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc gcj source"
+
+DEPS=">=x11-libs/gtk+-2.8.3
+ >=dev-java/glib-java-0.2.3
+ >=dev-java/cairo-java-1.0.2
+ >=dev-libs/glib-2.6.0
+ >=x11-libs/cairo-1.0.0-r2
+ dev-util/pkgconfig"
+
+DEPEND=">=virtual/jdk-1.4
+ >=sys-apps/sed-4
+ source? ( app-arch/zip )
+ ${DEPS}"
+RDEPEND=">=virtual/jre-1.4
+ ${DEPS}"
+
+pkg_setup() {
+ if use gcj ; then
+ if ! built_with_use sys-devel/gcc gcj ; then
+ ewarn
+ ewarn "You must build gcc with the gcj support to build with gcj"
+ ewarn
+ ebeep 5
+ die "No GCJ support found!"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/aclocal_voodoo.patch
+
+ # Oh the joys of patching the autotools stuff
+ aclocal || die "aclocal failed"
+ libtoolize --force --copy || die "libtoolize failed"
+ autoconf || die "autoconf failed"
+ automake || die "automake failed"
+}
+
+src_compile() {
+ # JARDIR is a hack for java-config
+ econf $(use_with gcj gcj-compile) \
+ $(use_with doc javadocs) \
+ --with-jardir=/usr/share/${PN}-${SLOT}/lib \
+ || die "configure failed"
+
+ emake || die "compile failed"
+
+ # Fix the broken pkgconfig file
+ sed -i \
+ -e "s:classpath.*$:classpath=\${prefix}/share/${PN}-${SLOT}/lib/${PF}.jar:" \
+ ${S}/gtk2-java.pc
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "install failed"
+
+ # Examples are documentation
+ use doc || rm -rf ${D}/usr/share/doc/${PF}/examples
+
+ # use java-pkg_dojar to install the jar
+ rm -rf ${D}/usr/share/${PN}-${SLOT}
+
+ mv ${S}/gtk${SLOT}.jar ${S}/${PF}.jar
+ java-pkg_dojar ${S}/${PF}.jar
+
+ if use doc ; then
+ java-pkg_dohtml -r ${S}/doc
+ fi
+
+ if use source ; then
+ java-pkg_dosrc ${S}/src/java/org
+ fi
+}