summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2009-03-28 20:12:20 +0000
committerSerkan Kaba <serkan@gentoo.org>2009-03-28 20:12:20 +0000
commitc82138d1af203d3d68d6cbef25c1ebf70fbc02e9 (patch)
tree06fdb20642ea85419bfd6b96c172c3c79606c982 /app-accessibility/java-access-bridge/java-access-bridge-1.26.0.ebuild
parentAdd missing patch. (diff)
downloadgentoo-2-c82138d1af203d3d68d6cbef25c1ebf70fbc02e9.tar.gz
gentoo-2-c82138d1af203d3d68d6cbef25c1ebf70fbc02e9.tar.bz2
gentoo-2-c82138d1af203d3d68d6cbef25c1ebf70fbc02e9.zip
Version bump.
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'app-accessibility/java-access-bridge/java-access-bridge-1.26.0.ebuild')
-rw-r--r--app-accessibility/java-access-bridge/java-access-bridge-1.26.0.ebuild73
1 files changed, 73 insertions, 0 deletions
diff --git a/app-accessibility/java-access-bridge/java-access-bridge-1.26.0.ebuild b/app-accessibility/java-access-bridge/java-access-bridge-1.26.0.ebuild
new file mode 100644
index 000000000000..50557a21b235
--- /dev/null
+++ b/app-accessibility/java-access-bridge/java-access-bridge-1.26.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/java-access-bridge/java-access-bridge-1.26.0.ebuild,v 1.1 2009/03/28 20:12:20 serkan Exp $
+
+EAPI="2"
+inherit java-pkg-2 gnome2 autotools
+
+DESCRIPTION="Gnome Java Accessibility Bridge"
+HOMEPAGE="http://developer.gnome.org/projects/gap/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+COMMON_DEPEND=">=gnome-base/libbonobo-2
+ >=gnome-extra/at-spi-1.7.10"
+
+RDEPEND="$COMMON_DEPEND
+ >=virtual/jre-1.4"
+
+DEPEND="$COMMON_DEPEND
+ >=virtual/jdk-1.4
+ >=dev-util/pkgconfig-0.9"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ epatch "${FILESDIR}"/${PN}-1.6.0-missingclasses.patch
+ eautoreconf
+}
+
+pkg_setup() {
+ java-pkg-2_pkg_setup
+ G2CONF="--with-java-home=${JDK_HOME}"
+}
+
+src_configure() {
+ gnome2_src_configure
+}
+
+src_compile() {
+ emake JAVAC="${JAVAC} ${JAVACFLAGS}" || die "compile failure"
+}
+
+src_install() {
+ gnome2_src_install
+
+ java-pkg_dojar "${D}"/usr/share/jar/*.jar
+
+ insinto /usr/share/${PN}
+ doins "${D}"/usr/share/jar/*.properties
+
+ rm -rf "${D}"/usr/share/jar
+}
+
+pkg_preinst() {
+ java-pkg-2_pkg_preinst
+ gnome2_pkg_preinst
+}
+
+pkg_postinst() {
+ elog
+ elog "The Java Accessibility Bridge for GNOME has been installed."
+ elog
+ elog "To enable accessibility support with your java applications, you"
+ elog "have to enable CORBA traffic over IP. To do this, you may add the"
+ elog "following line to your /etc/orbitrc or ~/.orbitrc file:"
+ elog
+ elog " ORBIIOPIPv4=1"
+ elog
+}