--- /usr/portage/games-emulation/sdlmame/sdlmame-0.148_p1-r1.ebuild 2013-10-02 12:31:17.000000000 +0200 +++ /usr/gentoo/overlay/various/games-emulation/sdlmame/sdlmame-0.148_p1-r2.ebuild 2013-10-12 03:13:23.000000000 +0200 @@ -26,8 +26,8 @@ LICENSE="XMAME" SLOT="0" KEYWORDS="amd64 ~ppc ~x86" -IUSE="X alsa debug opengl" -REQUIRED_USE="debug? ( X )" +IUSE="X alsa debug gnome opengl" +REQUIRED_USE="debug? ( X ) gnome? ( X )" RDEPEND="dev-libs/expat media-libs/fontconfig @@ -38,11 +38,11 @@ virtual/jpeg alsa? ( media-libs/alsa-lib ) X? ( - gnome-base/gconf x11-libs/gtk+:2 x11-libs/libX11 x11-libs/libXinerama - )" + ) + gnome? ( gnome-base/gconf )" DEPEND="${RDEPEND} ${PYTHON_DEPS} app-arch/unzip @@ -90,6 +90,8 @@ "${FILESDIR}"/${P}-makefile.patch \ "${FILESDIR}"/${P}-no-opengl.patch + ! use gnome && epatch "${FILESDIR}"/${P}-no_gconf.patch + # Don't compile zlib and expat einfo "Disabling embedded libraries: expat, flac, jpeg, zlib" disable_feature BUILD_EXPAT