diff options
Diffstat (limited to 'dev-libs/libattica/libattica-0.4.1.ebuild')
-rw-r--r-- | dev-libs/libattica/libattica-0.4.1.ebuild | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/dev-libs/libattica/libattica-0.4.1.ebuild b/dev-libs/libattica/libattica-0.4.1.ebuild index 16ea55b47285..c824e220878c 100644 --- a/dev-libs/libattica/libattica-0.4.1.ebuild +++ b/dev-libs/libattica/libattica-0.4.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libattica/libattica-0.4.1.ebuild,v 1.2 2012/08/22 13:40:27 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libattica/libattica-0.4.1.ebuild,v 1.3 2012/10/04 13:05:41 kensington Exp $ EAPI=4 @@ -16,12 +16,23 @@ SRC_URI="mirror://kde/stable/${MY_PN}/${MY_P}.tar.bz2" LICENSE="GPL-2 LGPL-2" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" SLOT="0" -IUSE="debug" +IUSE="debug test" RDEPEND="x11-libs/qt-core:4" DEPEND="${RDEPEND} - x11-libs/qt-test:4" + test? ( + x11-libs/qt-gui:4 + x11-libs/qt-test:4 + )" DOCS=(AUTHORS ChangeLog README) +PATCHES=( "${FILESDIR}/${P}-automagic.patch" ) S="${WORKDIR}/${MY_P}" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use test ATTICA_ENABLE_TESTS) + ) + cmake-utils_src_configure +} |