1 |
commit: aa01d5339cce93fa58abea6248e848a0159197fe |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 28 12:06:17 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 28 12:32:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa01d533 |
7 |
|
8 |
sci-geosciences/qgis: Drop 3.16.4, 3.16.8 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
sci-geosciences/qgis/Manifest | 2 - |
14 |
sci-geosciences/qgis/qgis-3.16.4.ebuild | 207 -------------------------------- |
15 |
sci-geosciences/qgis/qgis-3.16.8.ebuild | 207 -------------------------------- |
16 |
3 files changed, 416 deletions(-) |
17 |
|
18 |
diff --git a/sci-geosciences/qgis/Manifest b/sci-geosciences/qgis/Manifest |
19 |
index a0c7a13da32..d96957089cb 100644 |
20 |
--- a/sci-geosciences/qgis/Manifest |
21 |
+++ b/sci-geosciences/qgis/Manifest |
22 |
@@ -1,5 +1,3 @@ |
23 |
-DIST qgis-3.16.4.tar.bz2 115427023 BLAKE2B 1526350974b634d13f55b77e99ec54c8cd29eb523657657f72de0f9e9b2b47d931e503404b202fe2e181c8e1918888732cc4353091dd8dffcaefb6caa32ad47f SHA512 a58ef90089416ac08ba014f483cf7f6f929ef97306e213a5d1855fe551ecc42631926f8e015134ebcbc368f134c9f3ed8f2fda1846a409f249ed00b104036d25 |
24 |
-DIST qgis-3.16.8.tar.bz2 116478775 BLAKE2B b4a310745ec24a41471073c390063e4aae2d58001dae18b8ea1f1b7f430e7380ae541c3fb7efc05a7bafe617f3bcc0b1f123654941622ee6d1d29cde40acc301 SHA512 4b4941c78a4eebf0ad2d6eaebdcd15cd1fa0a4435b4043b2c23bf388b9dc2e4ad0211cf9921e8c3b336bc94e619842ea9b21fe42ca4084e8c1bc889586f86db7 |
25 |
DIST qgis-3.18.3.tar.bz2 121178524 BLAKE2B 9f4c5bb4b4bf980c81b91a38716b280f48bf28d894550563607e202a7764f72c78b9520f060319c219e484254eaa31315fc232b459bec8cc6a1bc07b587babc6 SHA512 d2c08f1f0bdb2ba56a108dc9626122dfe90caae4f300ceb7be2d40112ee9bcc7f286f092f7f207812428aca926c7fe0dabe49039bba0f32f2f371d290536f0ef |
26 |
DIST qgis-3.20.0.tar.bz2 131619071 BLAKE2B c6644b6e858a38c5b15846d39293d5b92b849efb44d147b8968a5630db413b427150f20722a24e806a14af877b88c0b06774777fd01dd8753cd9305ba1c40e33 SHA512 0f1d9527d3cf4241ed7688fe4f13e459beb7848c99492a995ac30d8b0c874f3198007d25d9fbde51cc36e6e08029a2fdd2d023c88423adb925a0a99778df27bc |
27 |
DIST qgis_sample_data-2.8.14.tar.gz 22119181 BLAKE2B 2d0565e91ec8119382bc9ab8e262dc04227fe8289146794891759ff5a32012245270614ba1119a6329fc45cf56852830c2079589309aa3467873f71f5c608eac SHA512 6b2653d5b57ffc2c2317639dac212429840984ac917ca3e452b39aabb99ea106d1a77c1c1dd967244ef16ede9deae751b170affdf08b72239eafed5b8977da3d |
28 |
|
29 |
diff --git a/sci-geosciences/qgis/qgis-3.16.4.ebuild b/sci-geosciences/qgis/qgis-3.16.4.ebuild |
30 |
deleted file mode 100644 |
31 |
index 7e4e3237f9f..00000000000 |
32 |
--- a/sci-geosciences/qgis/qgis-3.16.4.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,207 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
41 |
-PYTHON_REQ_USE="sqlite" |
42 |
- |
43 |
-if [[ ${PV} = *9999 ]]; then |
44 |
- EGIT_REPO_URI="https://github.com/${PN}/${PN^^}.git" |
45 |
- inherit git-r3 |
46 |
-else |
47 |
- SRC_URI="https://qgis.org/downloads/${P}.tar.bz2 |
48 |
- examples? ( https://qgis.org/downloads/data/qgis_sample_data.tar.gz -> qgis_sample_data-2.8.14.tar.gz )" |
49 |
- KEYWORDS="amd64 x86" |
50 |
-fi |
51 |
-inherit cmake desktop python-single-r1 qmake-utils xdg |
52 |
- |
53 |
-DESCRIPTION="User friendly Geographic Information System" |
54 |
-HOMEPAGE="https://www.qgis.org/en/site/" |
55 |
- |
56 |
-LICENSE="GPL-2+ GPL-3+" |
57 |
-SLOT="0" |
58 |
-IUSE="3d examples georeferencer grass hdf5 mapserver netcdf opencl oracle polar postgres python qml serial" |
59 |
- |
60 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} mapserver? ( python )" |
61 |
- |
62 |
-BDEPEND="${PYTHON_DEPS} |
63 |
- dev-qt/linguist-tools:5 |
64 |
- sys-devel/bison |
65 |
- sys-devel/flex |
66 |
-" |
67 |
-COMMON_DEPEND=" |
68 |
- >=app-crypt/qca-2.3.0:2[ssl] |
69 |
- >=dev-db/spatialite-4.2.0 |
70 |
- dev-db/sqlite:3 |
71 |
- dev-libs/expat |
72 |
- dev-libs/libzip:= |
73 |
- dev-libs/protobuf:= |
74 |
- dev-libs/qtkeychain:= |
75 |
- dev-qt/designer:5 |
76 |
- dev-qt/qtconcurrent:5 |
77 |
- dev-qt/qtcore:5 |
78 |
- dev-qt/qtgui:5 |
79 |
- dev-qt/qtnetwork:5[ssl] |
80 |
- dev-qt/qtpositioning:5 |
81 |
- dev-qt/qtprintsupport:5 |
82 |
- dev-qt/qtsql:5 |
83 |
- dev-qt/qtsvg:5 |
84 |
- dev-qt/qtwidgets:5 |
85 |
- dev-qt/qtxml:5 |
86 |
- media-gfx/exiv2:= |
87 |
- >=sci-libs/gdal-3.0.4:=[geos] |
88 |
- sci-libs/geos |
89 |
- sci-libs/libspatialindex:= |
90 |
- >=sci-libs/proj-6.3.1:= |
91 |
- sys-libs/zlib |
92 |
- >=x11-libs/qscintilla-2.10.3:= |
93 |
- >=x11-libs/qwt-6.1.3-r2:6=[svg] |
94 |
- 3d? ( dev-qt/qt3d:5 ) |
95 |
- georeferencer? ( sci-libs/gsl:= ) |
96 |
- grass? ( =sci-geosciences/grass-7*:= ) |
97 |
- hdf5? ( sci-libs/hdf5:= ) |
98 |
- mapserver? ( dev-libs/fcgi ) |
99 |
- netcdf? ( sci-libs/netcdf:= ) |
100 |
- opencl? ( virtual/opencl ) |
101 |
- oracle? ( |
102 |
- dev-db/oracle-instantclient:= |
103 |
- sci-libs/gdal:=[oracle] |
104 |
- ) |
105 |
- polar? ( >=x11-libs/qwtpolar-1.1.1-r2 ) |
106 |
- postgres? ( dev-db/postgresql:= ) |
107 |
- python? ( |
108 |
- ${PYTHON_DEPS} |
109 |
- $(python_gen_cond_dep ' |
110 |
- dev-python/httplib2[${PYTHON_MULTI_USEDEP}] |
111 |
- dev-python/jinja[${PYTHON_MULTI_USEDEP}] |
112 |
- dev-python/markupsafe[${PYTHON_MULTI_USEDEP}] |
113 |
- dev-python/owslib[${PYTHON_MULTI_USEDEP}] |
114 |
- dev-python/pygments[${PYTHON_MULTI_USEDEP}] |
115 |
- dev-python/PyQt5[designer,gui,network,printsupport,sql,svg,${PYTHON_MULTI_USEDEP}] |
116 |
- dev-python/python-dateutil[${PYTHON_MULTI_USEDEP}] |
117 |
- dev-python/pytz[${PYTHON_MULTI_USEDEP}] |
118 |
- dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] |
119 |
- >=dev-python/qscintilla-python-2.10.3[${PYTHON_MULTI_USEDEP}] |
120 |
- dev-python/requests[${PYTHON_MULTI_USEDEP}] |
121 |
- <dev-python/sip-5:=[${PYTHON_MULTI_USEDEP}] |
122 |
- dev-python/six[${PYTHON_MULTI_USEDEP}] |
123 |
- >=sci-libs/gdal-2.2.3[python,${PYTHON_MULTI_USEDEP}] |
124 |
- postgres? ( dev-python/psycopg:2[${PYTHON_MULTI_USEDEP}] ) |
125 |
- ') |
126 |
- ) |
127 |
- qml? ( dev-qt/qtdeclarative:5 ) |
128 |
- serial? ( dev-qt/qtserialport:5 ) |
129 |
-" |
130 |
-DEPEND="${COMMON_DEPEND} |
131 |
- dev-qt/qttest:5 |
132 |
-" |
133 |
-RDEPEND="${COMMON_DEPEND} |
134 |
- sci-geosciences/gpsbabel |
135 |
-" |
136 |
- |
137 |
-# Disabling test suite because upstream disallow running from install path |
138 |
-RESTRICT="test" |
139 |
- |
140 |
-PATCHES=( |
141 |
- # git master |
142 |
- "${FILESDIR}/${PN}-3.16.0-cmake-lib-suffix.patch" |
143 |
- # TODO upstream |
144 |
- "${FILESDIR}/${PN}-3.16.1-featuresummary.patch" |
145 |
- "${FILESDIR}/${PN}-3.16.1-default-qmldir.patch" |
146 |
-) |
147 |
- |
148 |
-pkg_setup() { |
149 |
- python-single-r1_pkg_setup |
150 |
-} |
151 |
- |
152 |
-src_prepare() { |
153 |
- cmake_src_prepare |
154 |
- sed -e "/QtWebKit.*.py/d" \ |
155 |
- -i python/PyQt/CMakeLists.txt || die |
156 |
-} |
157 |
- |
158 |
-src_configure() { |
159 |
- local mycmakeargs=( |
160 |
- -DQGIS_MANUAL_SUBDIR=share/man/ |
161 |
- -DQGIS_LIB_SUBDIR=$(get_libdir) |
162 |
- -DQGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis |
163 |
- -DQWT_INCLUDE_DIR=/usr/include/qwt6 |
164 |
- -DQWT_LIBRARY=/usr/$(get_libdir)/libqwt6-qt5.so |
165 |
- -DPEDANTIC=OFF |
166 |
- -DUSE_CCACHE=OFF |
167 |
- -DWITH_ANALYSIS=ON |
168 |
- -DWITH_APIDOC=OFF |
169 |
- -DWITH_GUI=ON |
170 |
- -DWITH_INTERNAL_MDAL=ON # not packaged, bug 684538 |
171 |
- -DWITH_QSPATIALITE=ON |
172 |
- -DENABLE_TESTS=OFF |
173 |
- -DWITH_3D=$(usex 3d) |
174 |
- -DWITH_GEOREFERENCER=$(usex georeferencer) |
175 |
- -DWITH_GRASS7=$(usex grass) |
176 |
- $(cmake_use_find_package hdf5 HDF5) |
177 |
- -DWITH_SERVER=$(usex mapserver) |
178 |
- $(cmake_use_find_package netcdf NetCDF) |
179 |
- -DUSE_OPENCL=$(usex opencl) |
180 |
- -DWITH_ORACLE=$(usex oracle) |
181 |
- -DWITH_QWTPOLAR=$(usex polar) |
182 |
- -DWITH_POSTGRESQL=$(usex postgres) |
183 |
- -DWITH_BINDINGS=$(usex python) |
184 |
- -DWITH_CUSTOM_WIDGETS=$(usex python) |
185 |
- -DWITH_QUICK=$(usex qml) |
186 |
- -DWITH_QT5SERIALPORT=$(usex serial) |
187 |
- -DWITH_QTWEBKIT=OFF |
188 |
- ) |
189 |
- |
190 |
- if use grass; then |
191 |
- mycmakeargs+=( |
192 |
- -DGRASS_PREFIX7=/usr/$(get_libdir)/grass78 |
193 |
- ) |
194 |
- fi |
195 |
- |
196 |
- use python && mycmakeargs+=( -DBINDINGS_GLOBAL_INSTALL=ON ) || |
197 |
- mycmakeargs+=( -DWITH_QGIS_PROCESS=OFF ) # FIXME upstream issue #39973 |
198 |
- |
199 |
- # bugs 612956, 648726 |
200 |
- addpredict /dev/dri/renderD128 |
201 |
- addpredict /dev/dri/renderD129 |
202 |
- |
203 |
- cmake_src_configure |
204 |
-} |
205 |
- |
206 |
-src_install() { |
207 |
- cmake_src_install |
208 |
- |
209 |
- insinto /usr/share/mime/packages |
210 |
- doins debian/qgis.xml |
211 |
- |
212 |
- if use examples; then |
213 |
- docinto examples |
214 |
- dodoc -r "${WORKDIR}"/qgis_sample_data/. |
215 |
- docompress -x /usr/share/doc/${PF}/examples |
216 |
- fi |
217 |
- |
218 |
- if use python; then |
219 |
- python_optimize |
220 |
- python_optimize "${ED}"/usr/share/qgis/python |
221 |
- fi |
222 |
- |
223 |
- if use grass; then |
224 |
- python_fix_shebang "${ED}"/usr/share/qgis/grass/scripts |
225 |
- fi |
226 |
-} |
227 |
- |
228 |
-pkg_postinst() { |
229 |
- if use postgres; then |
230 |
- elog "If you don't intend to use an external PostGIS server" |
231 |
- elog "you should install:" |
232 |
- elog " dev-db/postgis" |
233 |
- elif use python; then |
234 |
- elog "Support of PostgreSQL is disabled." |
235 |
- elog "But some installed python-plugins import the psycopg2 module." |
236 |
- elog "If you do not need these plugins just disable them" |
237 |
- elog "in the Plugins menu, else you need to set USE=\"postgres\"" |
238 |
- fi |
239 |
- |
240 |
- xdg_pkg_postinst |
241 |
-} |
242 |
|
243 |
diff --git a/sci-geosciences/qgis/qgis-3.16.8.ebuild b/sci-geosciences/qgis/qgis-3.16.8.ebuild |
244 |
deleted file mode 100644 |
245 |
index b9241f08516..00000000000 |
246 |
--- a/sci-geosciences/qgis/qgis-3.16.8.ebuild |
247 |
+++ /dev/null |
248 |
@@ -1,207 +0,0 @@ |
249 |
-# Copyright 1999-2021 Gentoo Authors |
250 |
-# Distributed under the terms of the GNU General Public License v2 |
251 |
- |
252 |
-EAPI=7 |
253 |
- |
254 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
255 |
-PYTHON_REQ_USE="sqlite" |
256 |
- |
257 |
-if [[ ${PV} = *9999 ]]; then |
258 |
- EGIT_REPO_URI="https://github.com/${PN}/${PN^^}.git" |
259 |
- inherit git-r3 |
260 |
-else |
261 |
- SRC_URI="https://qgis.org/downloads/${P}.tar.bz2 |
262 |
- examples? ( https://qgis.org/downloads/data/qgis_sample_data.tar.gz -> qgis_sample_data-2.8.14.tar.gz )" |
263 |
- KEYWORDS="~amd64 ~x86" |
264 |
-fi |
265 |
-inherit cmake desktop python-single-r1 qmake-utils xdg |
266 |
- |
267 |
-DESCRIPTION="User friendly Geographic Information System" |
268 |
-HOMEPAGE="https://www.qgis.org/en/site/" |
269 |
- |
270 |
-LICENSE="GPL-2+ GPL-3+" |
271 |
-SLOT="0" |
272 |
-IUSE="3d examples georeferencer grass hdf5 mapserver netcdf opencl oracle polar postgres python qml serial" |
273 |
- |
274 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} mapserver? ( python )" |
275 |
- |
276 |
-BDEPEND="${PYTHON_DEPS} |
277 |
- dev-qt/linguist-tools:5 |
278 |
- sys-devel/bison |
279 |
- sys-devel/flex |
280 |
-" |
281 |
-COMMON_DEPEND=" |
282 |
- >=app-crypt/qca-2.3.0:2[ssl] |
283 |
- >=dev-db/spatialite-4.2.0 |
284 |
- dev-db/sqlite:3 |
285 |
- dev-libs/expat |
286 |
- dev-libs/libzip:= |
287 |
- dev-libs/protobuf:= |
288 |
- dev-libs/qtkeychain:= |
289 |
- dev-qt/designer:5 |
290 |
- dev-qt/qtconcurrent:5 |
291 |
- dev-qt/qtcore:5 |
292 |
- dev-qt/qtgui:5 |
293 |
- dev-qt/qtnetwork:5[ssl] |
294 |
- dev-qt/qtpositioning:5 |
295 |
- dev-qt/qtprintsupport:5 |
296 |
- dev-qt/qtsql:5 |
297 |
- dev-qt/qtsvg:5 |
298 |
- dev-qt/qtwidgets:5 |
299 |
- dev-qt/qtxml:5 |
300 |
- media-gfx/exiv2:= |
301 |
- >=sci-libs/gdal-3.0.4:=[geos] |
302 |
- sci-libs/geos |
303 |
- sci-libs/libspatialindex:= |
304 |
- >=sci-libs/proj-6.3.1:= |
305 |
- sys-libs/zlib |
306 |
- >=x11-libs/qscintilla-2.10.3:= |
307 |
- >=x11-libs/qwt-6.1.3-r2:6=[svg] |
308 |
- 3d? ( dev-qt/qt3d:5 ) |
309 |
- georeferencer? ( sci-libs/gsl:= ) |
310 |
- grass? ( =sci-geosciences/grass-7*:= ) |
311 |
- hdf5? ( sci-libs/hdf5:= ) |
312 |
- mapserver? ( dev-libs/fcgi ) |
313 |
- netcdf? ( sci-libs/netcdf:= ) |
314 |
- opencl? ( virtual/opencl ) |
315 |
- oracle? ( |
316 |
- dev-db/oracle-instantclient:= |
317 |
- sci-libs/gdal:=[oracle] |
318 |
- ) |
319 |
- polar? ( >=x11-libs/qwtpolar-1.1.1-r2 ) |
320 |
- postgres? ( dev-db/postgresql:= ) |
321 |
- python? ( |
322 |
- ${PYTHON_DEPS} |
323 |
- $(python_gen_cond_dep ' |
324 |
- dev-python/httplib2[${PYTHON_MULTI_USEDEP}] |
325 |
- dev-python/jinja[${PYTHON_MULTI_USEDEP}] |
326 |
- dev-python/markupsafe[${PYTHON_MULTI_USEDEP}] |
327 |
- dev-python/owslib[${PYTHON_MULTI_USEDEP}] |
328 |
- dev-python/pygments[${PYTHON_MULTI_USEDEP}] |
329 |
- dev-python/PyQt5[designer,gui,network,printsupport,sql,svg,${PYTHON_MULTI_USEDEP}] |
330 |
- dev-python/python-dateutil[${PYTHON_MULTI_USEDEP}] |
331 |
- dev-python/pytz[${PYTHON_MULTI_USEDEP}] |
332 |
- dev-python/pyyaml[${PYTHON_MULTI_USEDEP}] |
333 |
- >=dev-python/qscintilla-python-2.10.3[${PYTHON_MULTI_USEDEP}] |
334 |
- dev-python/requests[${PYTHON_MULTI_USEDEP}] |
335 |
- <dev-python/sip-5:=[${PYTHON_MULTI_USEDEP}] |
336 |
- dev-python/six[${PYTHON_MULTI_USEDEP}] |
337 |
- >=sci-libs/gdal-2.2.3[python,${PYTHON_MULTI_USEDEP}] |
338 |
- postgres? ( dev-python/psycopg:2[${PYTHON_MULTI_USEDEP}] ) |
339 |
- ') |
340 |
- ) |
341 |
- qml? ( dev-qt/qtdeclarative:5 ) |
342 |
- serial? ( dev-qt/qtserialport:5 ) |
343 |
-" |
344 |
-DEPEND="${COMMON_DEPEND} |
345 |
- dev-qt/qttest:5 |
346 |
-" |
347 |
-RDEPEND="${COMMON_DEPEND} |
348 |
- sci-geosciences/gpsbabel |
349 |
-" |
350 |
- |
351 |
-# Disabling test suite because upstream disallow running from install path |
352 |
-RESTRICT="test" |
353 |
- |
354 |
-PATCHES=( |
355 |
- # git master |
356 |
- "${FILESDIR}/${PN}-3.16.0-cmake-lib-suffix.patch" |
357 |
- # TODO upstream |
358 |
- "${FILESDIR}/${PN}-3.16.1-featuresummary.patch" |
359 |
- "${FILESDIR}/${PN}-3.16.1-default-qmldir.patch" |
360 |
-) |
361 |
- |
362 |
-pkg_setup() { |
363 |
- python-single-r1_pkg_setup |
364 |
-} |
365 |
- |
366 |
-src_prepare() { |
367 |
- cmake_src_prepare |
368 |
- sed -e "/QtWebKit.*.py/d" \ |
369 |
- -i python/PyQt/CMakeLists.txt || die |
370 |
-} |
371 |
- |
372 |
-src_configure() { |
373 |
- local mycmakeargs=( |
374 |
- -DQGIS_MANUAL_SUBDIR=share/man/ |
375 |
- -DQGIS_LIB_SUBDIR=$(get_libdir) |
376 |
- -DQGIS_PLUGIN_SUBDIR=$(get_libdir)/qgis |
377 |
- -DQWT_INCLUDE_DIR=/usr/include/qwt6 |
378 |
- -DQWT_LIBRARY=/usr/$(get_libdir)/libqwt6-qt5.so |
379 |
- -DPEDANTIC=OFF |
380 |
- -DUSE_CCACHE=OFF |
381 |
- -DWITH_ANALYSIS=ON |
382 |
- -DWITH_APIDOC=OFF |
383 |
- -DWITH_GUI=ON |
384 |
- -DWITH_INTERNAL_MDAL=ON # not packaged, bug 684538 |
385 |
- -DWITH_QSPATIALITE=ON |
386 |
- -DENABLE_TESTS=OFF |
387 |
- -DWITH_3D=$(usex 3d) |
388 |
- -DWITH_GEOREFERENCER=$(usex georeferencer) |
389 |
- -DWITH_GRASS7=$(usex grass) |
390 |
- $(cmake_use_find_package hdf5 HDF5) |
391 |
- -DWITH_SERVER=$(usex mapserver) |
392 |
- $(cmake_use_find_package netcdf NetCDF) |
393 |
- -DUSE_OPENCL=$(usex opencl) |
394 |
- -DWITH_ORACLE=$(usex oracle) |
395 |
- -DWITH_QWTPOLAR=$(usex polar) |
396 |
- -DWITH_POSTGRESQL=$(usex postgres) |
397 |
- -DWITH_BINDINGS=$(usex python) |
398 |
- -DWITH_CUSTOM_WIDGETS=$(usex python) |
399 |
- -DWITH_QUICK=$(usex qml) |
400 |
- -DWITH_QT5SERIALPORT=$(usex serial) |
401 |
- -DWITH_QTWEBKIT=OFF |
402 |
- ) |
403 |
- |
404 |
- if use grass; then |
405 |
- mycmakeargs+=( |
406 |
- -DGRASS_PREFIX7=/usr/$(get_libdir)/grass78 |
407 |
- ) |
408 |
- fi |
409 |
- |
410 |
- use python && mycmakeargs+=( -DBINDINGS_GLOBAL_INSTALL=ON ) || |
411 |
- mycmakeargs+=( -DWITH_QGIS_PROCESS=OFF ) # FIXME upstream issue #39973 |
412 |
- |
413 |
- # bugs 612956, 648726 |
414 |
- addpredict /dev/dri/renderD128 |
415 |
- addpredict /dev/dri/renderD129 |
416 |
- |
417 |
- cmake_src_configure |
418 |
-} |
419 |
- |
420 |
-src_install() { |
421 |
- cmake_src_install |
422 |
- |
423 |
- insinto /usr/share/mime/packages |
424 |
- doins debian/qgis.xml |
425 |
- |
426 |
- if use examples; then |
427 |
- docinto examples |
428 |
- dodoc -r "${WORKDIR}"/qgis_sample_data/. |
429 |
- docompress -x /usr/share/doc/${PF}/examples |
430 |
- fi |
431 |
- |
432 |
- if use python; then |
433 |
- python_optimize |
434 |
- python_optimize "${ED}"/usr/share/qgis/python |
435 |
- fi |
436 |
- |
437 |
- if use grass; then |
438 |
- python_fix_shebang "${ED}"/usr/share/qgis/grass/scripts |
439 |
- fi |
440 |
-} |
441 |
- |
442 |
-pkg_postinst() { |
443 |
- if use postgres; then |
444 |
- elog "If you don't intend to use an external PostGIS server" |
445 |
- elog "you should install:" |
446 |
- elog " dev-db/postgis" |
447 |
- elif use python; then |
448 |
- elog "Support of PostgreSQL is disabled." |
449 |
- elog "But some installed python-plugins import the psycopg2 module." |
450 |
- elog "If you do not need these plugins just disable them" |
451 |
- elog "in the Plugins menu, else you need to set USE=\"postgres\"" |
452 |
- fi |
453 |
- |
454 |
- xdg_pkg_postinst |
455 |
-} |