1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

build/windows: Complete dirty 32-bit exiv2 workaround

This commit is contained in:
Bruno Lopes
2025-09-17 15:54:34 -03:00
parent 9551519f23
commit b773c3ac48

View File

@@ -102,7 +102,7 @@ function self_build ([string]$repo, [array]$branch, [array]$patches, [array]$opt
## Configure and/or build
if (-not (Test-Path _build-$env:MSYSTEM_PREFIX\build.ninja -Type Leaf))
{
if (Test-Path meson.build -Type Leaf)
if ((Test-Path meson.build -Type Leaf) -and -not (Test-Path CMakeLists.txt -Type Leaf))
{
#babl and GEGL already auto install .pdb but we don't know about other eventual deps
if ("$env:MSYSTEM_PREFIX" -ne 'MINGW32')
@@ -142,11 +142,11 @@ self_build gegl @('build/windows/patches/0001-meson-only-generate-CodeView-.pdb-
if ("$env:MSYSTEM_PREFIX" -ne 'MINGW32')
{
exiv2_version='v0.28.7'
$exiv2_version='v0.28.7'
}
else
{
exiv2_version='v0.27.7'
$exiv2_version='v0.27.7'
}
self_build https://github.com/Exiv2/exiv2 "$exiv2_version" @('https://github.com/Exiv2/exiv2/pull/3361.patch') @('-DCMAKE_DLL_NAME_WITH_SOVERSION=ON', '-DEXIV2_BUILD_EXIV2_COMMAND=OFF', '-DEXIV2_ENABLE_VIDEO=OFF')