summaryrefslogtreecommitdiff
blob: ce7e41c5d33a50abe2429c49dd72deeeab96a42b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libindicate-qt/libindicate-qt-0.2.5-r1.ebuild,v 1.2 2011/03/27 22:57:56 arfrever Exp $

EAPI=2

inherit virtualx cmake-utils

DESCRIPTION="Qt wrapper for libindicate library"
HOMEPAGE="https://launchpad.net/libindicate-qt/"
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="
	x11-libs/qt-gui:4
	>=dev-libs/libindicate-0.3.3
	<dev-libs/libindicate-0.4.50
"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
"

src_test() {
	local ctestargs
	[[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure"

	cd "${CMAKE_BUILD_DIR}/tests"

	VIRTUALX_COMMAND="ctest ${ctestargs}" virtualmake || die "Tests failed."
}