Add support for geos (#532)

pull/533/head
Michele Locati 2022-03-24 10:18:15 +01:00 committed by GitHub
parent 1f60d47bb0
commit 4e5fbe0d84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,4 @@
geos !alpine3.7 !alpine3.8 !alpine3.9 !alpine3.10
memprof !alpine memprof !alpine
parallel zts parallel zts
pdo_sqlsrv !alpine3.7 !alpine3.8 pdo_sqlsrv !alpine3.7 !alpine3.8

View File

@ -20,6 +20,7 @@ ffi 7.4 8.0 8.1
gd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 gd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
gearman 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 gearman 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
geoip 5.5 5.6 7.0 7.1 7.2 7.3 7.4 geoip 5.5 5.6 7.0 7.1 7.2 7.3 7.4
geos 5.5 5.6 7.0 7.1 7.2 7.3 7.4
geospatial 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 geospatial 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
gettext 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 gettext 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
gmagick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 gmagick 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1

View File

@ -681,6 +681,14 @@ buildRequiredPackageLists() {
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ^libgeoip1[0-9]*$" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ^libgeoip1[0-9]*$"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libgeoip-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libgeoip-dev"
;; ;;
geos@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent geos-dev"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile geos"
;;
geos@debian)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent ^libgeos-c1(v[0-9]*)?$"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile libgeos-dev"
;;
gettext@alpine) gettext@alpine)
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libintl" buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libintl"
buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile gettext-dev" buildRequiredPackageLists_volatile="$buildRequiredPackageLists_volatile gettext-dev"
@ -2286,6 +2294,18 @@ installRemoteModule() {
installRemoteModule_version=beta installRemoteModule_version=beta
fi fi
;; ;;
geos)
if test -z "$installRemoteModule_version"; then
installRemoteModule_version=71b5f9001512e16d3cf4657b517e8a051d6ef36f
fi
installRemoteModule_src="$(getPackageSource https://git.osgeo.org/gitea/geos/php-geos/archive/$installRemoteModule_version.tar.gz)"
cd "$installRemoteModule_src"
./autogen.sh
./configure
make -j$(getProcessorCount) install
cd - >/dev/null
installRemoteModule_manuallyInstalled=1
;;
geospatial) geospatial)
if test -z "$installRemoteModule_version"; then if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then if test $PHP_MAJMIN_VERSION -le 506; then