blob: 874a1fc660dd59a2a9fdff91a4975b48f129aaa8 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libattica/libattica-0.4.2.ebuild,v 1.5 2013/08/02 14:33:10 ago Exp $
EAPI=5
MY_P="${P#lib}"
MY_PN="${PN#lib}"
if [[ $PV = *9999* ]]; then
EGIT_REPO_URI="git://anongit.kde.org/attica"
KEYWORDS=""
scm_eclass=git-2
else
SRC_URI="mirror://kde/stable/${MY_PN}/${MY_P}.tar.bz2"
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
fi
inherit cmake-utils ${scm_eclass}
DESCRIPTION="A library providing access to Open Collaboration Services"
HOMEPAGE="http://www.kde.org/"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
IUSE="debug +qt4 qt5 test"
REQUIRED_USE="^^ ( qt4 qt5 )"
RDEPEND="
qt4? ( dev-qt/qtcore:4 )
qt5? (
dev-qt/qtcore:5
dev-qt/qtnetwork:5
)
"
DEPEND="${RDEPEND}
qt5? (
dev-libs/extra-cmake-modules
dev-qt/qtconcurrent:5
)
test? (
qt4? (
dev-qt/qtgui:4
dev-qt/qttest:4
)
qt5? (
dev-qt/qttest:5
dev-qt/qtwidgets:5
)
)
"
DOCS=( AUTHORS ChangeLog README )
S=${WORKDIR}/${MY_P}
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package qt5 Qt5Core)
$(cmake-utils_use test ATTICA_ENABLE_TESTS)
)
cmake-utils_src_configure
}
|