blob: b6f3af24dda4624168c091d024d9c11abb508aa8 (
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
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit qt5-build
DESCRIPTION="The Location module for the Qt5 framework"
if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
IUSE=""
RDEPEND="
~dev-qt/qtcore-${PV}
~dev-qt/qtdeclarative-${PV}
~dev-qt/qtgui-${PV}
~dev-qt/qtnetwork-${PV}
~dev-qt/qtpositioning-${PV}
~dev-qt/qtsql-${PV}
sys-libs/zlib
"
DEPEND="${RDEPEND}
~dev-qt/qtconcurrent-${PV}
"
QT5_TARGET_SUBDIRS=(
src/3rdparty/clipper
src/3rdparty/poly2tri
src/3rdparty/clip2tri
src/3rdparty/mapbox-gl-native
src/location
src/imports/location
src/plugins/geoservices
)
src_configure() {
# src/plugins/geoservices requires files that are only generated when
# qmake is run in the root directory. Bug 633776.
mkdir -p "${QT5_BUILD_DIR}" || die
qt5_qmake "${QT_BUILD_DIR}"
qt5-build_src_configure
}
|