-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update gdal to 3.8.0 * update python3-rasterio to 1.3.9 * update pdal to 2.6 * update entwine to 3.0.0 * update saga9 to 9.2.0 (refs north-road/qgis-processing-saga-nextgen#34)) * include python3-pdal-plugins (implements #808) * rebuild python3-pdal, saga*, qgis* with new PDAL using pdalcpp.lib to fill in for removed pdal_util.lib where necessary.
- Loading branch information
Showing
13 changed files
with
133 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
export P=python3-pdal-plugins | ||
export V=1.2.1 | ||
export B=next | ||
export MAINTAINER=JuergenFischer | ||
export BUILDDEPENDS="python3-pip python3-wheel python3-devel python3-numpy pdal-devel" | ||
|
||
source ../../../scripts/build-helpers | ||
|
||
startlog | ||
|
||
cd .. | ||
|
||
if [ -d pdal ]; then | ||
cd pdal | ||
git fetch | ||
else | ||
git clone https://github.com/PDAL/python-plugins pdal | ||
cd pdal | ||
fi | ||
|
||
git checkout $V | ||
|
||
cd $OSGEO4W_PWD | ||
|
||
fetchenv osgeo4w/bin/o4w_env.bat | ||
|
||
vs2019env | ||
cmakeenv | ||
ninjaenv | ||
|
||
pip3 install scikit_build | ||
|
||
cat <<EOF >pip.env | ||
EOF | ||
|
||
export INCLUDE="$(cygpath -am osgeo4w/include);\$INCLUDE" | ||
export LIB="$(cygpath -am osgeo4w/lib);\$LIB" | ||
|
||
cd ../pdal | ||
|
||
pip3 install . | ||
|
||
export R=$OSGEO4W_REP/x86_64/release/$P | ||
mkdir -p $R/$P | ||
|
||
cat <<EOF >$R/setup.hint | ||
sdesc: "PDAL Python plugins plugin" | ||
ldesc: "PDAL Python plugins allow you to process data with PDAL into Numpy arrays. They support embedding Python in PDAL pipelines with the readers.numpy and filters.python stages." | ||
category: Commandline_Utilities | ||
requires: python3-core pdal-libs | ||
category: Libs | ||
requires: msvcrt2019 | ||
maintainer: $MAINTAINER | ||
EOF | ||
|
||
tar -C ../osgeo4w -cjf $R/$P-$V-$B.tar.bz2 \ | ||
--xform "s,osgeo4w/apps/Python39/bin/,apps/pdal/plugins/," \ | ||
osgeo4w/apps/Python39/bin/libpdal_plugin_filter_python.dll \ | ||
osgeo4w/apps/Python39/bin/libpdal_plugin_reader_numpy.dll | ||
|
||
|
||
cp ../pdal/LICENSE $R/$P-$V-$B.txt | ||
|
||
tar -C .. -cjf $R/$P-$V-$B-src.tar.bz2 osgeo4w/package.sh | ||
|
||
endlog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.