forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
artikulate-16.08.3.ebuild
43 lines (36 loc) · 1.05 KB
/
artikulate-16.08.3.ebuild
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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
KDE_HANDBOOK="true"
inherit kde5
DESCRIPTION="Language learning application that helps improving pronunciation skills"
HOMEPAGE="https://edu.kde.org/applications/language/artikulate"
KEYWORDS="amd64 x86"
IUSE="+gstreamer qtmedia"
DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcrash)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep knewstuff)
$(add_frameworks_dep kwidgetsaddons)
$(add_frameworks_dep kxmlgui)
$(add_qt_dep qtdeclarative)
$(add_qt_dep qtgui)
$(add_qt_dep qtsql)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
$(add_qt_dep qtxmlpatterns)
gstreamer? ( >=media-libs/qt-gstreamer-1.2.0[qt5] )
qtmedia? ( $(add_qt_dep qtmultimedia) )
"
RDEPEND="${DEPEND}"
REQUIRED_USE="|| ( gstreamer qtmedia )"
src_configure() {
local mycmakeargs=(
-DBUILD_GSTREAMER_PLUGIN=$(usex gstreamer)
-DBUILD_QTMULTIMEDIA_PLUGIN=$(usex qtmedia)
)
kde5_src_configure
}