View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/x11-libs/wxGTK/wxGTK-2.6.2.ebuild (-12 / +15 lines)
 Lines 12-20    Link Here 
IUSE="gnome joystick odbc opengl sdl X"
IUSE="gnome joystick odbc opengl sdl X"
RDEPEND="${RDEPEND}
RDEPEND="${RDEPEND}
	opengl? ( virtual/opengl )
	opengl? ( virtual/opengl )
	>=x11-libs/gtk+-2.0
	X? ( >=x11-libs/gtk+-2.0
	>=dev-libs/glib-2.0
		>=dev-libs/glib-2.0
	media-libs/tiff
		media-libs/tiff )
	odbc? ( dev-db/unixODBC )
	odbc? ( dev-db/unixODBC )
	!mips? ( !arm? ( !hppa? ( !ia64? ( !ppc64? ( !alpha? ( !sparc? ( sdl? ( media-libs/sdl-sound ) ) ) ) ) ) ) )"
	!mips? ( !arm? ( !hppa? ( !ia64? ( !ppc64? ( !alpha? ( !sparc? ( sdl? ( media-libs/sdl-sound ) ) ) ) ) ) ) )"
 Lines 30-46    Link Here 
src_compile() {
src_compile() {
	gnuconfig_update
	gnuconfig_update
	myconf="${myconf}
	myconf="${myconf}
		--with-png
		$(use_with sdl)"
		--with-jpeg
	if use X; then
		--with-tiff
		myconf="${myconf}
		$(use_enable opengl)
			--with-png
		$(use_with opengl)
			--with-jpeg
		$(use_with gnome gnomeprint)
			--with-tiff
		$(use_with sdl)
			$(use_enable opengl)
		$(use_enable joystick)"
			$(use_with opengl)
			$(use_with gnome gnomeprint)
			$(use_enable joystick)"
	fi
	use X && configure_build gtk2 unicode "${myconf} --with-gtk=2"
	use X && configure_build gtk2 unicode "${myconf} --with-gtk=2"
	use X || configure_build base unicode "--disable-gui"
	use X || configure_build base unicode "${myconf} --disable-gui"
}
}
src_install() {
src_install() {