16 |
16 |
else
|
17 |
17 |
SRC_URI="https://qgis.org/downloads/${P}.tar.bz2
|
18 |
18 |
examples? ( https://qgis.org/downloads/data/qgis_sample_data.tar.gz -> qgis_sample_data-2.8.14.tar.gz )"
|
19 |
|
KEYWORDS="amd64 ~x86"
|
|
19 |
KEYWORDS="~amd64 ~x86"
|
20 |
20 |
fi
|
21 |
21 |
inherit cmake python-single-r1 virtualx xdg
|
22 |
22 |
|
... | ... | |
25 |
25 |
|
26 |
26 |
LICENSE="GPL-2+ GPL-3+"
|
27 |
27 |
SLOT="0"
|
28 |
|
IUSE="3d doc examples +georeferencer grass hdf5 mapserver netcdf opencl oracle pdal polar postgres python qml serial test"
|
|
28 |
IUSE="3d examples georeferencer grass hdf5 mapserver netcdf opencl oracle pdal polar postgres python qml serial test"
|
29 |
29 |
|
30 |
30 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
31 |
31 |
mapserver? ( python )
|
... | ... | |
83 |
83 |
${PYTHON_DEPS}
|
84 |
84 |
>=sci-libs/gdal-2.2.3[python,${PYTHON_SINGLE_USEDEP}]
|
85 |
85 |
$(python_gen_cond_dep '
|
|
86 |
dev-python/httplib2[${PYTHON_USEDEP}]
|
86 |
87 |
dev-python/jinja[${PYTHON_USEDEP}]
|
|
88 |
dev-python/markupsafe[${PYTHON_USEDEP}]
|
87 |
89 |
dev-python/numpy[${PYTHON_USEDEP}]
|
88 |
90 |
dev-python/owslib[${PYTHON_USEDEP}]
|
89 |
91 |
dev-python/pygments[${PYTHON_USEDEP}]
|
90 |
92 |
dev-python/PyQt5[designer,gui,network,positioning,printsupport,sql,svg,widgets,${PYTHON_USEDEP}]
|
|
93 |
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
|
94 |
dev-python/pytz[${PYTHON_USEDEP}]
|
91 |
95 |
dev-python/pyyaml[${PYTHON_USEDEP}]
|
92 |
96 |
>=dev-python/qscintilla-python-2.10.1[qt5(+),${PYTHON_USEDEP}]
|
|
97 |
dev-python/requests[${PYTHON_USEDEP}]
|
93 |
98 |
dev-python/sip:=[${PYTHON_USEDEP}]
|
94 |
99 |
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
|
95 |
100 |
')
|
... | ... | |
107 |
112 |
dev-qt/linguist-tools:5
|
108 |
113 |
sys-devel/bison
|
109 |
114 |
sys-devel/flex
|
110 |
|
doc? ( app-doc/doxygen )
|
111 |
115 |
test? (
|
112 |
116 |
$(python_gen_cond_dep '
|
113 |
117 |
dev-python/PyQt5[${PYTHON_USEDEP},testlib]
|
... | ... | |
117 |
121 |
)
|
118 |
122 |
"
|
119 |
123 |
|
120 |
|
PATCHES=(
|
121 |
|
"${FILESDIR}/${PN}-3.28.9-exiv2-0.28.patch" # 3.34.0; bug 906470
|
122 |
|
"${FILESDIR}/${P}-protobuf-23.patch" # git master; bug 912846
|
123 |
|
)
|
124 |
|
|
125 |
124 |
src_prepare() {
|
126 |
125 |
cmake_src_prepare
|
127 |
126 |
# Tests want to be run inside a git repo
|
... | ... | |
147 |
146 |
-DPEDANTIC=OFF
|
148 |
147 |
-DUSE_CCACHE=OFF
|
149 |
148 |
-DWITH_ANALYSIS=ON
|
150 |
|
-DWITH_APIDOC=$(usex doc)
|
|
149 |
-DWITH_APIDOC=OFF
|
151 |
150 |
-DWITH_GUI=ON
|
152 |
151 |
-DWITH_INTERNAL_MDAL=ON # not packaged, bug 684538
|
153 |
152 |
-DWITH_QSPATIALITE=ON
|
... | ... | |
218 |
217 |
|
219 |
218 |
use python && mycmakeargs+=( -DBINDINGS_GLOBAL_INSTALL=ON )
|
220 |
219 |
|
221 |
|
CMAKE_BUILD_TYPE=Release # RelWithDebInfo enables debug logging
|
222 |
|
|
223 |
220 |
# bugs 612956, 648726
|
224 |
221 |
addpredict /dev/dri/renderD128
|
225 |
222 |
addpredict /dev/dri/renderD129
|