--- gnome-mplayer/gnome-mplayer-1.0.4.ebuild 2011-07-04 21:09:16.440001529 +0300 +++ gnome-mplayer/gnome-mplayer-1.0.4.ebuild 2011-07-04 21:20:59.053001843 +0300 @@ -12,11 +12,12 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="alsa dbus gnome ipod libnotify musicbrainz pulseaudio" +IUSE="alsa dbus gnome gtk3 ipod libnotify musicbrainz pulseaudio" RDEPEND=">=dev-libs/glib-2.26:2 || ( >=media-video/mplayer-1.0_rc4_p20091026-r1[ass] media-video/mplayer2[ass] ) - x11-libs/gtk+:3 + gtk3? ( x11-libs/gtk+:3 ) + !gtk3? ( x11-libs/gtk+:2 ) x11-libs/libX11 x11-libs/libXScrnSaver alsa? ( media-libs/alsa-lib ) @@ -37,7 +38,7 @@ src_configure() { # FIXME: The only reason why --without-gpm-new-method is passed is lack of testing. econf \ - --enable-gtk3 \ + $(use_enable gtk3) \ $(use_enable gnome nautilus) \ --disable-gseal \ --without-gconf \