- simplified PKGBUILD recipe - build in silent mode - make sure we link with static zlib and zstd - fix qmltyperegistrar 'Cannot open foreign types file' error - fix race condition when building qtactiveqt tools - fix *.pc & *.prl files further by removing full path to libs
27 lines
1.2 KiB
Diff
27 lines
1.2 KiB
Diff
--- a/qtimageformats/src/imageformats/configure.json
|
|
+++ b/qtimageformats/src/imageformats/configure.json
|
|
@@ -84,8 +84,9 @@
|
|
]
|
|
},
|
|
"sources": [
|
|
- { "type": "pkgConfig", "args": "libtiff-4" },
|
|
- { "libs": "-ltiff" }
|
|
+ { "type": "pkgConfig", "args": "libtiff-4", "condition": "features.shared" },
|
|
+ { "type": "pkgConfig", "args": "--static --libs libtiff-4", "condition": "!features.shared" },
|
|
+ { "libs": "-ltiff", "condition": "features.shared" }
|
|
]
|
|
},
|
|
"webp": {
|
|
@@ -115,8 +116,9 @@
|
|
]
|
|
},
|
|
"sources": [
|
|
- { "type": "pkgConfig", "args": "libwebp libwebpmux libwebpdemux" },
|
|
- { "libs": "-lwebp -lwebpdemux -lwebpmux" }
|
|
+ { "type": "pkgConfig", "args": "libwebp libwebpmux libwebpdemux", "condition": "features.shared" },
|
|
+ { "libs": "-lwebp -lwebpdemux -lwebpmux", "condition": "features.shared" },
|
|
+ { "libs": "-lwebpdemux -lwebpmux -lwebp -lsharpyuv", "condition": "!features.shared" }
|
|
]
|
|
}
|
|
},
|