summaryrefslogtreecommitdiff
blob: 0eac76e08bf43572f92b64784708ab71057a0542 (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-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit kde4-base

DESCRIPTION="Scripting Meta Object Kompiler Engine - KDE bindings"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="akonadi attica debug kate okular"
HOMEPAGE="https://techbase.kde.org/Development/Languages/Smoke"

DEPEND="
	$(add_kdebase_dep smokeqt)
	akonadi? ( $(add_kdeapps_dep kdepimlibs) )
	attica? ( dev-libs/libattica )
	kate? ( $(add_kdeapps_dep kate) )
	okular? ( $(add_kdeapps_dep okular) )
"
RDEPEND="${DEPEND}"

src_configure() {
	local mycmakeargs=(
		-DWITH_Nepomuk=OFF
		-DWITH_Soprano=OFF
		$(cmake-utils_use_with akonadi)
		$(cmake-utils_use_with akonadi KdepimLibs)
		$(cmake-utils_use_with attica LibAttica)
		$(cmake-utils_use_disable kate)
		$(cmake-utils_use_with okular)
	)
	kde4-base_src_configure
}