summaryrefslogtreecommitdiff
blob: 18ec8b84e26b823d8f1a2c6322564e71583cbabb (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
35
36
37
38
39
40
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/ktp-text-ui/ktp-text-ui-0.5.1.ebuild,v 1.1 2012/11/22 00:56:46 dastergon Exp $

EAPI=4

KDE_LINGUAS="ca cs da de el es et fi fr ga gl hu it ja km lt nb nds nl pl pt
pt_BR sk sr sr@ijekavian sr@ijekavianlatin sr@latin sv ug uk zh_CN zh_TW"
inherit kde4-base

DESCRIPTION="KDE Telepathy text chat window"
HOMEPAGE="http://community.kde.org/Real-Time_Communication_and_Collaboration"
if [[ ${PV} != *9999* ]]; then
	SRC_URI="mirror://kde/unstable/kde-telepathy/${PV}/src/${P}.tar.bz2"
	KEYWORDS="~amd64 ~x86"
else
	KEYWORDS=""
fi

LICENSE="GPL-2"
SLOT="4"
IUSE="debug +history"

DEPEND="
	>=net-libs/telepathy-qt-0.9.3
	history? ( >=net-libs/telepathy-logger-qt-0.5.0 )
"
RDEPEND="${DEPEND}
	>=net-im/ktp-contact-list-${PV}
"

RESTRICT="test"

src_configure() {
	mycmakeargs=(
		$(cmake-utils_use_with history TelepathyLoggerQt4)
	)

	cmake-utils_src_configure
}