summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild')
-rw-r--r--dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild b/dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild
index d1986eff5067..204ae45414d5 100644
--- a/dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild
+++ b/dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild,v 1.1 2011/02/05 12:36:20 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-4.0.18-r1.ebuild,v 1.2 2011/02/05 14:04:34 ssuominen Exp $
EAPI=2
JAVA_PKG_IUSE="doc examples source"
@@ -27,7 +27,7 @@ RDEPEND=">=dev-libs/glib-2.22
>=x11-libs/cairo-1.10.0[svg]
>=x11-libs/gtksourceview-2.6.2
>=app-text/gtkspell-2.0.15-r1
- >=x11-libs/libnotify-0.7
+ >=x11-libs/libnotify-0.4.5
>=dev-libs/libunique-1.0.8
>=gnome-base/librsvg-2.32.1
>=virtual/jre-1.5"
@@ -45,7 +45,9 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
#fix dependency typo in configure
sed -i -e "s/librsvg-2.0atk/librsvg-2.0 atk/" configure || die
- epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
+ if has_version ">=x11-libs/libnotify-0.7"; then
+ epatch "${FILESDIR}"/${P}-libnotify-0.7.patch
+ fi
}
src_configure() {