summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/spacefm/spacefm-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-misc/spacefm/spacefm-9999.ebuild b/x11-misc/spacefm/spacefm-9999.ebuild
index 560a3a322f0..0bdefc78b08 100644
--- a/x11-misc/spacefm/spacefm-9999.ebuild
+++ b/x11-misc/spacefm/spacefm-9999.ebuild
@@ -15,7 +15,8 @@ HOMEPAGE="http://ignorantguru.github.com/spacefm/"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS=""
-IUSE="+startup-notification +video-thumbnails"
+IUSE="gtk2 +gtk3 +startup-notification +video-thumbnails"
+REQUIRED_USE="gtk2? ( !gtk3 )"
RDEPEND="dev-libs/glib:2
dev-util/desktop-file-utils
@@ -42,7 +43,7 @@ src_configure() {
--disable-hal \
--enable-inotify \
--disable-pixmaps \
- --with-gtk3=yes
+ $(use_with gtk3 gtk3 "yes")
}
pkg_preinst() {