--- xemacs-21.4.10-r2.ebuild 2003-05-09 15:52:01.000000000 +0000 +++ xemacs-21.4.10-r3.ebuild 2003-05-09 15:52:08.000000000 +0000 @@ -1,4 +1,4 @@ -IUSE="gpm postgres xface nas dnd X jpeg tiff png mule motif canna freewnn lucid athena neXt Xaw3d" +IUSE="gpm postgres xface nas dnd X jpeg tiff png mule motif canna freewnn lucid athena neXt Xaw3d gtk" LICENSE="GPL-2" @@ -45,7 +45,10 @@ jpeg? ( media-libs/jpeg ) canna? ( app-i18n/canna ) - freewnn? ( app-i18n/freewnn )" + freewnn? ( app-i18n/freewnn ) + + gtk? ( =x11-libs/gtk+-1.2* ) + gnome? ( =gnome-base/gnome-libs-1.4* )" DEPEND="${RDEPEND} >=sys-libs/ncurses-5.2" @@ -54,7 +57,7 @@ SLOT="0" LICENSE="GPL-2" -KEYWORDS="~x86 -ppc ~sparc" +KEYWORDS="x86 -ppc sparc" src_unpack() { @@ -97,6 +100,13 @@ myconf="${myconf} --with-scrollbars=athena" myconf="${myconf} --with-menubars=lucid" fi + if [ "`use gtk`" ]; then + myconf="${myconf} + --with-gtk + --with-xpm + --with-dragndrop + --with-gif=no" + fi myconf="${myconf} --with-gif=no" @@ -111,6 +121,8 @@ myconf="${myconf} --without-jpeg" use xface && myconf="${myconf} --with-xface" || myconf="${myconf} --without-xface" + use gnome && myconf="${myconf} --with-gnome" || + myconf="${myconf} --without-gnome" else myconf="${myconf}