diff options
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/gtkdialog/gtkdialog-99999.ebuild | 8 | ||||
-rw-r--r-- | x11-misc/gtkdialog/metadata.xml | 1 |
2 files changed, 4 insertions, 5 deletions
diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild index 6a3b1eec8e20..131519d09a46 100644 --- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild +++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild @@ -11,14 +11,14 @@ EGIT_REPO_URI="https://github.com/oshazard/gtkdialog" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="gtk3" +IUSE="gtk2" RDEPEND=" - !gtk3? ( + gtk2? ( x11-libs/gtk+:2 x11-libs/vte:0= ) - gtk3? ( + !gtk2? ( x11-libs/gtk+:3 x11-libs/vte:2.91= ) @@ -41,7 +41,7 @@ src_prepare() { src_configure() { econf \ - $(use_enable gtk3) + $(usex gtk2 --disable-gtk3 --enable-gtk3) } src_compile() { diff --git a/x11-misc/gtkdialog/metadata.xml b/x11-misc/gtkdialog/metadata.xml index d5c3f5671d75..7d0ca79e2c46 100644 --- a/x11-misc/gtkdialog/metadata.xml +++ b/x11-misc/gtkdialog/metadata.xml @@ -20,7 +20,6 @@ provided. <use> <flag name="glade">Enable support for <pkg>gnome-base/libglade</pkg></flag> <flag name="gtk2">Build with GTK+2 instead of GTK+3</flag> -<flag name="gtk3">Build with GTK+3 instead of GTK+2</flag> <flag name="vte">Enable support for <pkg>x11-libs/vte</pkg></flag> </use> </pkgmetadata> |