# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="4" CABAL_FEATURES="lib profile haddock hscolour" inherit git haskell-cabal DESCRIPTION="third party extensions for xmonad" HOMEPAGE="http://xmonad.org/" SRC_URI="" EGIT_REPO_URI="git://github.com/damex/xmonad-contrib-mirror.git" LICENSE="BSD" SLOT="0" KEYWORDS="" IUSE="xft" RDEPEND="~x11-wm/xmonad-${PV} dev-haskell/mtl dev-haskell/utf8-string dev-haskell/x11 dev-lang/ghc xft? ( dev-haskell/x11-xft )" DEPEND="${RDEPEND} dev-haskell/cabal" src_compile() { CABAL_CONFIGURE_FLAGS="--flags=-testing" if use xft ; then CABAL_CONFIGURE_FLAGS="${CABAL_CONFIGURE_FLAGS} --flags=use_xft" else CABAL_CONFIGURE_FLAGS="${CABAL_CONFIGURE_FLAGS} --flags=-use_xft" fi cabal_src_compile }