1 |
commit: f007a2b124b36813ad00db536aa082e433651c51 |
2 |
Author: Thomas Bettler <thomas.bettler <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Feb 20 09:51:22 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 23:11:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f007a2b1 |
7 |
|
8 |
sci-geosciences/qgis: add pdal for point clouds |
9 |
|
10 |
Closes: https://bugs.gentoo.org/830003 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/23526 |
12 |
Signed-off-by: Thomas Bettler <thomas.bettler <AT> gmail.com> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
sci-geosciences/qgis/metadata.xml | 1 + |
16 |
sci-geosciences/qgis/qgis-3.22.4.ebuild | 4 +++- |
17 |
sci-geosciences/qgis/qgis-9999.ebuild | 6 ++++-- |
18 |
sci-libs/pdal/metadata.xml | 12 ++++++++---- |
19 |
sci-libs/pdal/pdal-2.3.0.ebuild | 6 +++--- |
20 |
5 files changed, 19 insertions(+), 10 deletions(-) |
21 |
|
22 |
diff --git a/sci-geosciences/qgis/metadata.xml b/sci-geosciences/qgis/metadata.xml |
23 |
index a63b6aef6b2a..8d7ea9e307f6 100644 |
24 |
--- a/sci-geosciences/qgis/metadata.xml |
25 |
+++ b/sci-geosciences/qgis/metadata.xml |
26 |
@@ -21,6 +21,7 @@ |
27 |
<flag name="mapserver">Determines whether mapserver should be built</flag> |
28 |
<flag name="netcdf">Enable MDAL support for GRIB and XMDF formats</flag> |
29 |
<flag name="opencl">Enable OpenCL support</flag> |
30 |
+ <flag name="pdal">Enable support for PDAL for point clouds via <pkg>sci-libs/pdal</pkg></flag> |
31 |
<flag name="polar">Enable support for the polar coordinate system via <pkg>x11-libs/qwtpolar</pkg></flag> |
32 |
<flag name="qml">Enable support Qml-based plugins using <pkg>dev-qt/qtdeclarative</pkg></flag> |
33 |
<flag name="serial">Enable support for serial GPS using <pkg>dev-qt/qtserialport</pkg></flag> |
34 |
|
35 |
diff --git a/sci-geosciences/qgis/qgis-3.22.4.ebuild b/sci-geosciences/qgis/qgis-3.22.4.ebuild |
36 |
index 424d7ec8847e..12e8cd68f1e8 100644 |
37 |
--- a/sci-geosciences/qgis/qgis-3.22.4.ebuild |
38 |
+++ b/sci-geosciences/qgis/qgis-3.22.4.ebuild |
39 |
@@ -21,7 +21,7 @@ HOMEPAGE="https://www.qgis.org/" |
40 |
|
41 |
LICENSE="GPL-2+ GPL-3+" |
42 |
SLOT="0" |
43 |
-IUSE="3d examples georeferencer grass hdf5 mapserver netcdf opencl oracle polar postgres python qml serial" |
44 |
+IUSE="3d examples georeferencer grass hdf5 mapserver netcdf opencl oracle pdal polar postgres python qml serial" |
45 |
|
46 |
REQUIRED_USE="${PYTHON_REQUIRED_USE} mapserver? ( python )" |
47 |
|
48 |
@@ -66,6 +66,7 @@ COMMON_DEPEND=" |
49 |
dev-db/oracle-instantclient:= |
50 |
sci-libs/gdal:=[oracle] |
51 |
) |
52 |
+ pdal? ( sci-libs/pdal:= ) |
53 |
polar? ( >=x11-libs/qwtpolar-1.1.1-r1[qt5(+)] ) |
54 |
postgres? ( dev-db/postgresql:= ) |
55 |
python? ( |
56 |
@@ -140,6 +141,7 @@ src_configure() { |
57 |
-DUSE_OPENCL=$(usex opencl) |
58 |
-DWITH_ORACLE=$(usex oracle) |
59 |
-DWITH_QWTPOLAR=$(usex polar) |
60 |
+ -DWITH_PDAL=$(usex pdal) |
61 |
-DWITH_POSTGRESQL=$(usex postgres) |
62 |
-DWITH_BINDINGS=$(usex python) |
63 |
-DWITH_CUSTOM_WIDGETS=$(usex python) |
64 |
|
65 |
diff --git a/sci-geosciences/qgis/qgis-9999.ebuild b/sci-geosciences/qgis/qgis-9999.ebuild |
66 |
index af65e82db8df..12e8cd68f1e8 100644 |
67 |
--- a/sci-geosciences/qgis/qgis-9999.ebuild |
68 |
+++ b/sci-geosciences/qgis/qgis-9999.ebuild |
69 |
@@ -1,4 +1,4 @@ |
70 |
-# Copyright 1999-2021 Gentoo Authors |
71 |
+# Copyright 1999-2022 Gentoo Authors |
72 |
# Distributed under the terms of the GNU General Public License v2 |
73 |
|
74 |
EAPI=7 |
75 |
@@ -21,7 +21,7 @@ HOMEPAGE="https://www.qgis.org/" |
76 |
|
77 |
LICENSE="GPL-2+ GPL-3+" |
78 |
SLOT="0" |
79 |
-IUSE="3d examples georeferencer grass hdf5 mapserver netcdf opencl oracle polar postgres python qml serial" |
80 |
+IUSE="3d examples georeferencer grass hdf5 mapserver netcdf opencl oracle pdal polar postgres python qml serial" |
81 |
|
82 |
REQUIRED_USE="${PYTHON_REQUIRED_USE} mapserver? ( python )" |
83 |
|
84 |
@@ -66,6 +66,7 @@ COMMON_DEPEND=" |
85 |
dev-db/oracle-instantclient:= |
86 |
sci-libs/gdal:=[oracle] |
87 |
) |
88 |
+ pdal? ( sci-libs/pdal:= ) |
89 |
polar? ( >=x11-libs/qwtpolar-1.1.1-r1[qt5(+)] ) |
90 |
postgres? ( dev-db/postgresql:= ) |
91 |
python? ( |
92 |
@@ -140,6 +141,7 @@ src_configure() { |
93 |
-DUSE_OPENCL=$(usex opencl) |
94 |
-DWITH_ORACLE=$(usex oracle) |
95 |
-DWITH_QWTPOLAR=$(usex polar) |
96 |
+ -DWITH_PDAL=$(usex pdal) |
97 |
-DWITH_POSTGRESQL=$(usex postgres) |
98 |
-DWITH_BINDINGS=$(usex python) |
99 |
-DWITH_CUSTOM_WIDGETS=$(usex python) |
100 |
|
101 |
diff --git a/sci-libs/pdal/metadata.xml b/sci-libs/pdal/metadata.xml |
102 |
index 3be37e190bd4..e6a3eb2519dd 100644 |
103 |
--- a/sci-libs/pdal/metadata.xml |
104 |
+++ b/sci-libs/pdal/metadata.xml |
105 |
@@ -1,14 +1,18 @@ |
106 |
<?xml version="1.0" encoding="UTF-8"?> |
107 |
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
108 |
<pkgmetadata> |
109 |
+ <maintainer type="person" proxied="yes"> |
110 |
+ <email>thomas.bettler@×××××.com</email> |
111 |
+ <name>Thomas Bettler</name> |
112 |
+ </maintainer> |
113 |
+ <maintainer type="person" proxied="proxy"> |
114 |
+ <email>proxy-maint@g.o</email> |
115 |
+ <name>Proxy Maintainers</name> |
116 |
+ </maintainer> |
117 |
<maintainer type="project"> |
118 |
<email>sci-geosciences@g.o</email> |
119 |
<name>Gentoo Geosciences Project</name> |
120 |
</maintainer> |
121 |
- <maintainer type="person"> |
122 |
- <email>thomas.bettler@×××××.com</email> |
123 |
- <name>Thomas Bettler</name> |
124 |
- </maintainer> |
125 |
<longdescription> |
126 |
PDAL is a C++ library for translating and manipulating point cloud data. |
127 |
It is very much like the GDAL library which handles raster and vector data. |
128 |
|
129 |
diff --git a/sci-libs/pdal/pdal-2.3.0.ebuild b/sci-libs/pdal/pdal-2.3.0.ebuild |
130 |
index ee1182834970..f85812782818 100644 |
131 |
--- a/sci-libs/pdal/pdal-2.3.0.ebuild |
132 |
+++ b/sci-libs/pdal/pdal-2.3.0.ebuild |
133 |
@@ -1,4 +1,4 @@ |
134 |
-# Copyright 2021 Gentoo Authors |
135 |
+# Copyright 2021-2022 Gentoo Authors |
136 |
# Distributed under the terms of the GNU General Public License v2 |
137 |
|
138 |
EAPI=8 |
139 |
@@ -30,8 +30,8 @@ DEPEND=" |
140 |
RDEPEND="${DEPEND}" |
141 |
|
142 |
PATCHES=( |
143 |
- ${FILESDIR}/${P}-fix_cmake_install_location.patch |
144 |
- ${FILESDIR}/${P}-upgrade_cmake_min.patch |
145 |
+ "${FILESDIR}"/${P}-fix_cmake_install_location.patch |
146 |
+ "${FILESDIR}"/${P}-upgrade_cmake_min.patch |
147 |
) |
148 |
|
149 |
S="${WORKDIR}/PDAL-${PV}-src" |