Synchronize cross-compilation scripts
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
#!/bin/sh -e
 | 
			
		||||
# Removes unused icons from the Adwaita theme, it could be even more aggressive,
 | 
			
		||||
# since it keeps around lots of sizes and all the GTK+ stock icons
 | 
			
		||||
# Removes unused icons from the Adwaita theme. It could be even more aggressive,
 | 
			
		||||
# since it keeps around lots of sizes and all the GTK+ stock icons.
 | 
			
		||||
export LC_ALL=C
 | 
			
		||||
find share/icons/Adwaita -type f | awk 'BEGIN {
 | 
			
		||||
	while (("grep -aho \"[a-z][a-z-]*\" *.dll *.exe" | getline) > 0)
 | 
			
		||||
@@ -17,4 +17,4 @@ find share/icons/Adwaita -type f | awk 'BEGIN {
 | 
			
		||||
		sub(/-(ltr|rtl|symbolic)$/, "", base)) {}
 | 
			
		||||
	if (!keep)
 | 
			
		||||
		print
 | 
			
		||||
}' | xargs rm
 | 
			
		||||
}' | xargs rm --
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
#!/bin/sh -e
 | 
			
		||||
# Win64Depends.sh: download dependencies from MSYS2 for cross-compilation
 | 
			
		||||
# Win64Depends.sh: download dependencies from MSYS2 for cross-compilation.
 | 
			
		||||
# Dependencies: AWK, sed, sha256sum, cURL, bsdtar, wine64
 | 
			
		||||
repository=https://repo.msys2.org/mingw/mingw64/
 | 
			
		||||
 | 
			
		||||
@@ -57,12 +57,12 @@ configure() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# This directory name matches the prefix in .pc files, so we don't need to
 | 
			
		||||
# modify them (pkgconf has --prefix-variable, but CMake can't pass that option)
 | 
			
		||||
# modify them (pkgconf has --prefix-variable, but CMake can't pass that option).
 | 
			
		||||
mkdir -p mingw64
 | 
			
		||||
cd mingw64
 | 
			
		||||
dbsync
 | 
			
		||||
fetch mingw-w64-x86_64-gtk3 mingw-w64-x86_64-icu \
 | 
			
		||||
	mingw-w64-x86_64-libwinpthread-git # because we don't do "provides"?
 | 
			
		||||
	mingw-w64-x86_64-libwinpthread-git # Because we don't do "provides"?
 | 
			
		||||
verify
 | 
			
		||||
extract
 | 
			
		||||
configure
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user