From 1a163bdb8b4878f456fb04b33978a92f3fcd8e91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Thu, 11 Aug 2022 11:36:31 +0200 Subject: Resolve a few issues with MSYS2 cross-builds - Fix launching of subprocesses (missing gspawn helpers). - Discard unused GSettings schemas. - Make the program find its user guide. - Bundle a somewhat suboptimal version of ExifTool. --- msys2-cross-configure.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'msys2-cross-configure.sh') diff --git a/msys2-cross-configure.sh b/msys2-cross-configure.sh index 602548e..848749a 100755 --- a/msys2-cross-configure.sh +++ b/msys2-cross-configure.sh @@ -33,6 +33,11 @@ fetch() { status Fetching "$name" [ -f "packages/$name" ] || curl -#o "packages/$name" "$repository/$name" done + + name=exiftool-$(curl -# https://exiftool.org/ver.txt).zip + status Fetching "$name" + [ -f "$name" ] || curl -#o "$name" "https://exiftool.org/$name" + ln -sf "$name" exiftool.zip } verify() { @@ -48,6 +53,8 @@ extract() { for i in packages/* do bsdtar -xf "$i" --strip-components 1 mingw64 done + + bsdtar -xOf exiftool.zip > bin/exiftool.exe } configure() { -- cgit v1.2.3