geos, bump to 3.14.0 (#12889)

This commit is contained in:
Schrijvers Luc
2025-09-03 10:55:50 +02:00
committed by GitHub
parent afe34f5a7d
commit 1fecd15253

View File

@@ -11,9 +11,9 @@ COPYRIGHT="2005-2006 Refractions Research Inc.
2008-2010 Safe Software Inc.
2008 Sean Gillies"
LICENSE="GNU LGPL v2.1"
REVISION="2"
REVISION="1"
SOURCE_URI="https://download.osgeo.org/geos/geos-$portVersion.tar.bz2"
CHECKSUM_SHA256="79ab8cabf4aa8604d161557b52e3e4d84575acdc0d08cb09ab3f7aaefa4d858a"
CHECKSUM_SHA256="fe85286b1977121894794b36a7464d05049361bedabf972e70d8f9bf1e3ce928"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
@@ -26,7 +26,7 @@ else
commandBinDir=$prefix/bin
fi
libVersion="1.17.0"
libVersion="1.20.4"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
portVersionCompat="$portVersion compat >= ${portVersion%.*}"
@@ -72,7 +72,9 @@ BUILD()
{
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
$cmakeDirArgs \
-DCMAKE_INSTALL_BINDIR=$commandBinDir
-DCMAKE_INSTALL_BINDIR=$commandBinDir \
-DBUILD_TESTING=OFF
make -C build $jobArgs
}
@@ -80,6 +82,15 @@ INSTALL()
{
make -C build install
sed -e "s|\(\${_IMPORT_PREFIX}\)/include/geos|\1/$relativeIncludeDir/geos|" -i \
"$libDir"/cmake/GEOS/geos-targets.cmake
# sed -i 's,\${_IMPORT_PREFIX}/include/,\${_IMPORT_PREFIX}/$relativeIncludeDir,' \
# "$libDir"/cmake/GEOS/geos-targets.cmake
# sed -i 's,\${_IMPORT_PREFIX}/include/geos,\${_IMPORT_PREFIX}/$relativeIncludeDir/geos,' \
# "$libDir"/cmake/GEOS/geos-targets.cmake
sed -i 's,\${_IMPORT_PREFIX}/include/geos;,/,' \
"$libDir"/cmake/GEOS/geos-targets.cmake
prepareInstalledDevelLibs libgeos_c libgeos
fixPkgconfig