forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qtquick1-5.4.2.ebuild
50 lines (40 loc) · 1.12 KB
/
qtquick1-5.4.2.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
44
45
46
47
48
49
50
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit qt5-build
DESCRIPTION="Legacy declarative UI module for the Qt5 framework"
if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="amd64 arm ~arm64 ~hppa ppc64 ~x86"
fi
IUSE="designer opengl webkit xml"
# see bug 542698 for pinned dev-qt/designer dependency
DEPEND="
>=dev-qt/qtcore-${PV}:5
>=dev-qt/qtgui-${PV}:5
>=dev-qt/qtnetwork-${PV}:5
>=dev-qt/qtscript-${PV}:5
>=dev-qt/qtsql-${PV}:5
>=dev-qt/qtwidgets-${PV}:5
designer? (
~dev-qt/designer-${PV}
>=dev-qt/qtdeclarative-${PV}:5
)
opengl? ( >=dev-qt/qtopengl-${PV}:5 )
webkit? ( >=dev-qt/qtwebkit-${PV}:5 )
xml? ( >=dev-qt/qtxmlpatterns-${PV}:5 )
"
RDEPEND="${DEPEND}"
src_prepare() {
qt_use_disable_mod designer designer \
src/plugins/plugins.pro
qt_use_disable_mod opengl opengl \
src/imports/imports.pro \
tools/qml/qml.pri
qt_use_disable_mod webkit webkitwidgets \
src/imports/imports.pro
qt_use_disable_mod xml xmlpatterns \
src/declarative/declarative.pro \
src/declarative/util/util.pri
qt5-build_src_prepare
}