Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 51405
Collapse All | Expand All

(-)eclipse-sdk-3.0.0_pre8-r2.ebuild (-6 / +6 lines)
Lines 14-20 Link Here
14
14
15
RDEPEND=">=virtual/jdk-1.3
15
RDEPEND=">=virtual/jdk-1.3
16
	|| (
16
	|| (
17
		gtk2? ( >=x11-libs/gtk+-2.2.4 )
17
		gtk? ( >=x11-libs/gtk+-2.2.4 )
18
		kde? ( kde-base/kdelibs x11-libs/openmotif )
18
		kde? ( kde-base/kdelibs x11-libs/openmotif )
19
		motif? ( x11-libs/openmotif )
19
		motif? ( x11-libs/openmotif )
20
		>=x11-libs/gtk+-2.2.4
20
		>=x11-libs/gtk+-2.2.4
Lines 98-104 Link Here
98
	    gnome_lib=`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export:--export:"`
98
	    gnome_lib=`pkg-config --libs gnome-vfs-module-2.0 libgnome-2.0 libgnomeui-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export:--export:"`
99
	fi
99
	fi
100
100
101
	if use gtk2 ; then
101
	if use gtk ; then
102
		gtk_lib=`pkg-config --libs gtk+-2.0 gthread-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export:--export:"`
102
		gtk_lib=`pkg-config --libs gtk+-2.0 gthread-2.0 | sed -e "s:-pthread:-lpthread:" -e "s:-Wl,--export:--export:"`
103
		atk_lib=`pkg-config --libs atk gtk+-2.0 | sed -e "s:-Wl,--export:--export:"`
103
		atk_lib=`pkg-config --libs atk gtk+-2.0 | sed -e "s:-Wl,--export:--export:"`
104
	fi
104
	fi
Lines 212-218 Link Here
212
	set_dirs
212
	set_dirs
213
213
214
	# Build selected frontends
214
	# Build selected frontends
215
	use gtk2 && build_gtk_frontend
215
	use gtk && build_gtk_frontend
216
	use motif && build_motif_frontend
216
	use motif && build_motif_frontend
217
217
218
	einfo "Building resources.core plugin"
218
	einfo "Building resources.core plugin"
Lines 225-231 Link Here
225
225
226
	# Build all java code -- default to gtk if neither of gtk, motif, 
226
	# Build all java code -- default to gtk if neither of gtk, motif, 
227
	# kde are set
227
	# kde are set
228
	if ( use gtk2 || ! ( use gtk2 || use motif || use kde ) ); then
228
	if ( use gtk || ! ( use gtk || use motif || use kde ) ); then
229
		einfo "Building GTK+ frontend -- see compilelog.txt for details"
229
		einfo "Building GTK+ frontend -- see compilelog.txt for details"
230
		ant -q -q \
230
		ant -q -q \
231
			-buildfile build.xml \
231
			-buildfile build.xml \
Lines 264-270 Link Here
264
264
265
	# Install launchers and native code
265
	# Install launchers and native code
266
	exeinto ${eclipse_dir}
266
	exeinto ${eclipse_dir}
267
	if use gtk2 ; then
267
	if use gtk ; then
268
		einfo "Installing eclipse-gtk binary"
268
		einfo "Installing eclipse-gtk binary"
269
		doexe plugins/platform-launcher/library/gtk/eclipse-gtk \
269
		doexe plugins/platform-launcher/library/gtk/eclipse-gtk \
270
			|| die "Failed to install eclipse-gtk"
270
			|| die "Failed to install eclipse-gtk"
Lines 294-297 Link Here
294
		doins eclipse-${SLOT}.desktop
294
		doins eclipse-${SLOT}.desktop
295
	fi
295
	fi
296
296
297
}
297
}

Return to bug 51405