File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -319,6 +319,13 @@ printf "{\n\
319
319
320
320
printf " \" ${PLATFORM} \" " > platform.json
321
321
322
+ # Add third-party notices
323
+ curl -Os https://raw.githubusercontent.com/lovell/sharp-libvips/master/THIRD-PARTY-NOTICES.md
324
+
322
325
# Create .tar.gz
323
- tar czf /packaging/libvips-${VERSION_VIPS} -${PLATFORM} .tar.gz include lib * .json
326
+ tar czf /packaging/libvips-${VERSION_VIPS} -${PLATFORM} .tar.gz \
327
+ include \
328
+ lib \
329
+ * .json \
330
+ THIRD-PARTY-NOTICES.md
324
331
advdef --recompress --shrink-insane /packaging/libvips-${VERSION_VIPS} -${PLATFORM} .tar.gz
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ VERSION_VIPS_MINOR=$(echo $VERSION_VIPS | cut -d. -f2)
7
7
# Fetch and unzip
8
8
mkdir /vips
9
9
cd /vips
10
- curl -LO https://github.com/lovell/build-win64/releases/download/v${VERSION_VIPS} /vips-dev-w64-web-${VERSION_VIPS} .zip
10
+ curl -LOs https://github.com/lovell/build-win64/releases/download/v${VERSION_VIPS} /vips-dev-w64-web-${VERSION_VIPS} .zip
11
11
unzip vips-dev-w64-web-${VERSION_VIPS} .zip
12
12
13
13
# Clean and zip
@@ -19,7 +19,7 @@ cp bin/*.dll lib/
19
19
printf " \" ${PLATFORM} \" " > platform.json
20
20
21
21
# Create versions.json
22
- curl -LO https://raw.githubusercontent.com/lovell/build-win64/v${VERSION_VIPS} /${VERSION_VIPS_MAJOR} .${VERSION_VIPS_MINOR} /vips.modules
22
+ curl -Os https://raw.githubusercontent.com/lovell/build-win64/v${VERSION_VIPS} /${VERSION_VIPS_MAJOR} .${VERSION_VIPS_MINOR} /vips.modules
23
23
version_of () {
24
24
xmllint --xpath " string(/moduleset/autotools[@id='$1 ']/branch/@version | /moduleset/cmake[@id='$1 ']/branch/@version | /moduleset/meson[@id='$1 ']/branch/@version)" vips.modules
25
25
}
@@ -53,7 +53,18 @@ printf "{\n\
53
53
rm vips.modules
54
54
cat versions.json
55
55
56
+ # Add third-party notices
57
+ curl -Os https://raw.githubusercontent.com/lovell/sharp-libvips/master/THIRD-PARTY-NOTICES.md
58
+
56
59
echo " Creating tarball"
57
- tar czf /packaging/libvips-${VERSION_VIPS} -${PLATFORM} .tar.gz include lib/glib-2.0 lib/libvips.lib lib/libglib-2.0.lib lib/libgobject-2.0.lib lib/* .dll * .json
60
+ tar czf /packaging/libvips-${VERSION_VIPS} -${PLATFORM} .tar.gz \
61
+ include \
62
+ lib/glib-2.0 \
63
+ lib/libvips.lib \
64
+ lib/libglib-2.0.lib \
65
+ lib/libgobject-2.0.lib \
66
+ lib/* .dll \
67
+ * .json \
68
+ THIRD-PARTY-NOTICES.md
58
69
echo " Shrinking tarball"
59
70
advdef --recompress --shrink-insane /packaging/libvips-${VERSION_VIPS} -${PLATFORM} .tar.gz
You can’t perform that action at this time.
0 commit comments