sfcgal: Update to 2.0.0 (#22230)

This commit is contained in:
Loïc Bartoletti
2024-12-20 10:50:38 +01:00
committed by GitHub
parent 1589c9a2ec
commit d7fd25d806
2 changed files with 8 additions and 8 deletions

View File

@@ -3,8 +3,8 @@
_realname=pysfcgal
pkgbase=mingw-w64-python-${_realname}
pkgname=${MINGW_PACKAGE_PREFIX}-python-${_realname}
pkgver=1.5.2
pkgrel=2
pkgver=2.0.0
pkgrel=1
pkgdesc='Python SFCGAL binding (mingw-w64)'
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -12,7 +12,7 @@ url='https://gitlab.com/SFCGAL/pysfcgal'
msys2_references=(
'pypi: PySFCGAL'
)
license=('spdx:MIT')
license=('spdx:GPL-3.0-or-later')
depends=(
${MINGW_PACKAGE_PREFIX}-python
${MINGW_PACKAGE_PREFIX}-sfcgal
@@ -25,7 +25,7 @@ makedepends=(
${MINGW_PACKAGE_PREFIX}-python-setuptools
)
source=(https://gitlab.com/SFCGAL/pysfcgal/-/archive/v${pkgver}/pysfcgal-v${pkgver}.tar.gz)
sha256sums=('322c174ed05005a192441da357ea648b7fb4e0abb8bdc6e4535f6cdaae403870')
sha256sums=('fad4832d0264b1d20dc5425366d6dbc6321efac88298ff7bd0ea7a796738488f')
build() {
cp -r "${_realname}-v${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"

View File

@@ -3,8 +3,8 @@
_realname=sfcgal
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.5.2
pkgrel=2
pkgver=2.0.0
pkgrel=1
pkgdesc="Wrapper around CGAL that intents to implement 2D and 3D operations on OGC standards models (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -22,7 +22,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-mpfr"
"${MINGW_PACKAGE_PREFIX}-cgal")
source=(https://gitlab.com/SFCGAL/SFCGAL/-/archive/v${pkgver}/SFCGAL-v${pkgver}.tar.gz)
sha256sums=('b946b3c20d53f6e2703046085f0fcfea6c1a4081163f7bedd30b1195801efdd2')
sha256sums=('11843953f49e7e4432c42fd27d54e1ff7ca55d0cc72507725c2a5d840c2c6535')
build() {
mkdir ${srcdir}/build-${MSYSTEM} && cd ${srcdir}/build-${MSYSTEM}
@@ -35,7 +35,7 @@ build() {
fi
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \
${MINGW_PREFIX}/bin/cmake \
${MINGW_PREFIX}/bin/cmake -Wno-dev \
-G"Ninja" \
-DCMAKE_INSTALL_PREFIX=${MINGW_PREFIX} \
${_extra_config[@]} \