summaryrefslogtreecommitdiff
blob: df756bbb137039a372dca4d0c4635dcbfbac7789 (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.1.ebuild,v 1.1 2014/05/13 17:43:11 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 )
	!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
}