aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-08-11 14:15:20 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-08-11 14:15:20 +0200
commit4073749d3bd11d73290bc37904efd77b84272270 (patch)
tree5a18e0a9384efe3c22299af865c714c48f5dafb3 /cmake
parent2e684d2f4e663a5c7469d4b2b831b336af35126d (diff)
downloadtdv-4073749d3bd11d73290bc37904efd77b84272270.tar.gz
tdv-4073749d3bd11d73290bc37904efd77b84272270.tar.xz
tdv-4073749d3bd11d73290bc37904efd77b84272270.zip
Synchronize cross-compilation scripts
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Win32CleanupAdwaita.sh6
-rw-r--r--cmake/Win64Depends.sh6
2 files changed, 6 insertions, 6 deletions
diff --git a/cmake/Win32CleanupAdwaita.sh b/cmake/Win32CleanupAdwaita.sh
index 8e7bb9e..ac2b032 100644
--- a/cmake/Win32CleanupAdwaita.sh
+++ b/cmake/Win32CleanupAdwaita.sh
@@ -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 --
diff --git a/cmake/Win64Depends.sh b/cmake/Win64Depends.sh
index 9a13177..f9d33e9 100644
--- a/cmake/Win64Depends.sh
+++ b/cmake/Win64Depends.sh
@@ -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