diff options
Diffstat (limited to 'x11-misc/matchbox-keyboard/matchbox-keyboard-0.1.ebuild')
-rw-r--r-- | x11-misc/matchbox-keyboard/matchbox-keyboard-0.1.ebuild | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1.ebuild b/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1.ebuild index 22684d8cd59c..dad8ce5c668a 100644 --- a/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1.ebuild +++ b/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1.ebuild,v 1.8 2010/04/15 13:11:26 yvasilev Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/matchbox-keyboard/matchbox-keyboard-0.1.ebuild,v 1.9 2010/04/15 13:18:22 yvasilev Exp $ + +EAPI="2" inherit versionator eutils @@ -14,23 +16,13 @@ KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86" IUSE="debug cairo" DEPEND="x11-libs/libfakekey - cairo? ( x11-libs/cairo ) + cairo? ( x11-libs/cairo[X] ) !cairo? ( x11-libs/libXft )" -pkg_setup() { - if use cairo && ! built_with_use x11-libs/cairo X ; then - eerror "In order to install ${PN} with cairo support you" - eerror "need to reinstall x11-libs/cairo with USE='X'." - die "x11-libs/cairo built without USE='X'" - fi -} - -src_compile() { +src_configure() { econf $(use_enable debug) \ $(use_enable cairo) \ || die "Configuration failed" - - emake || die "Compilation failed" } src_install() { |