summaryrefslogtreecommitdiff
blob: 88fac8130d672c18123079292a521419ea3290eb (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/artikulate/artikulate-4.13.3.ebuild,v 1.2 2014/07/29 18:22:51 johu Exp $

EAPI=5

DECLARATIVE_REQUIRED="always"
KDE_HANDBOOK="optional"
inherit kde4-base multilib

DESCRIPTION="Language learning application that helps improving pronunciation skills"
HOMEPAGE="http://edu.kde.org/applications/language/artikulate"
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
IUSE="debug gstreamer"

DEPEND="
	dev-qt/qtxmlpatterns:4
	media-libs/phonon
	gstreamer? ( <media-libs/qt-gstreamer-1.0.0 )
	!gstreamer? ( dev-qt/qt-mobility[multimedia] )
"
RDEPEND="${DEPEND}
	$(add_kdebase_dep kqtquickcharts)
"

src_configure() {
	# Paths are required because qt-mobility is installed to custom location
	local mycmakeargs=(
		-DCMAKE_INCLUDE_PATH="${EPREFIX}/usr/include/qt4"
		-DCMAKE_LIBRARY_PATH="${EPREFIX}/usr/$(get_libdir)/qt4"
		$(cmake-utils_use_find_package gstreamer QtGStreamer)
	)

	kde4-base_src_configure
}