Skip to content

Commit 0ee789f

Browse files
committed
Windows: adding patches from libheif repo
1 parent 478c83b commit 0ee789f

File tree

1 file changed

+46
-4
lines changed
  • libheif/windows/mingw-w64-libheif

1 file changed

+46
-4
lines changed

libheif/windows/mingw-w64-libheif/PKGBUILD

Lines changed: 46 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,22 @@ source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_r
3434
"011-fix-loading-alpha-image.patch"::"https://github.com/strukturag/libheif/commit/c32f15512323960097b99c204535ec53d11fb355.patch"
3535
"012-fix-do-not-pad-16x16-AOM.patch"::"https://github.com/strukturag/libheif/commit/ec1dc464dc08517ecef7b675043886ec727eadb2.patch"
3636
"013-fix-enable-lossless-AOM.patch"::"https://github.com/strukturag/libheif/commit/b2612dd9c63f8835cf2047960b8cacd464a325a4.patch"
37-
"014-expose-aom-decoder-errors.patch"::"https://github.com/strukturag/libheif/commit/13c3d59be814a34ceb2ae12da1b6eab3cd85cf72.patch"
38-
"015-aom-all-intra.patch"::"https://github.com/strukturag/libheif/commit/4ec2ac35e2cd79e8594092f6e36b5eace19cefdf.patch"
37+
"014-fix-RGB-to-YCbCr-chroma.patch"::"https://github.com/strukturag/libheif/commit/2c8d963dfc0b967e6c78259ba0a99185b27206d8.patch"
38+
"015-fix-RRGGBB-to-YCbCr-chroma.patch"::"https://github.com/strukturag/libheif/commit/ab0af732fd3c2ebf0211a0a072c76789c8d38d39.patch"
39+
"016-fix-RGB-to-YCbCr-chroma-2.patch"::"https://github.com/strukturag/libheif/commit/2dfc9b2c04ce77c0d85af37a4f66c0ee2dbe058d.patch"
40+
"017-fix-aom-signal-chroma-position.patch"::"https://github.com/strukturag/libheif/commit/487c3d821df79178edd18a62285449d8d1f70160.patch"
41+
"018-expose-aom-decoder-errors.patch"::"https://github.com/strukturag/libheif/commit/13c3d59be814a34ceb2ae12da1b6eab3cd85cf72.patch"
42+
"019-aom-all-intra.patch"::"https://github.com/strukturag/libheif/commit/4ec2ac35e2cd79e8594092f6e36b5eace19cefdf.patch"
43+
"020-fix-scaling-of-images.patch"::"https://github.com/strukturag/libheif/commit/0cd461e18b99d018f9adef731eec928781078afb.patch"
44+
"021-fix-clap-box-dimensions-1.diff"::"https://github.com/strukturag/libheif/commit/4193d80e87133b308205d30d234436592fc70c49.diff"
45+
"022-fix-clap-box-dimensions-2.patch"::"https://github.com/strukturag/libheif/commit/ca2473d9eca36697aa531f42209567cc663ceaee.patch"
46+
"023-fix-clap-box-dimensions-3.patch"::"https://github.com/strukturag/libheif/commit/2c4cb5712724b5617019dc749b91b0acd0f9ad7c.patch"
47+
"024-fix-avif-left-shift-ub.patch"::"https://github.com/strukturag/libheif/commit/82070385eca01f64c587e02c0a75d60386d308c3.patch"
48+
"025-fix-bitstream-potential-overflow.patch"::"https://github.com/strukturag/libheif/commit/67410c3ce2c8a210d42d02c790c3ac1f9791605a.patch"
49+
"026-fix-encoder-no-SPS-returned-1.patch"::"https://github.com/strukturag/libheif/commit/2611d39704bdb6bb37429e39660d9dedbdfff35a.patch"
50+
"027-fix-check-results-of-read.patch"::"https://github.com/strukturag/libheif/commit/5a20339c29831cd2f72903a1ca2ff88e458dc1c2.patch"
51+
"028-fix-encoder-no-SPS-returned-2.patch"::"https://github.com/strukturag/libheif/commit/98b867ea575ecce7039458b71f2c320742489e30.patch"
52+
"029-fix-nclx-avoid-division-by-zero.patch"::"https://github.com/strukturag/libheif/commit/9497e10168660138fd10a738179039c0e7d7ba6c.patch"
3953
"030-fix-wrong-copy-size.patch"::"https://github.com/strukturag/libheif/commit/11ffeffadd980f9f96019fe180fc1e81827e3790.patch")
4054
sha256sums=('e1ac2abb354fdc8ccdca71363ebad7503ad731c84022cf460837f0839e171718'
4155
'd6bb42bdd884592d1edd3eb69ebc927de4fc329fbc05fab921b0aee23b68b124'
@@ -48,8 +62,22 @@ sha256sums=('e1ac2abb354fdc8ccdca71363ebad7503ad731c84022cf460837f0839e171718'
4862
'75ac6e6ca7cecf9bedeb23d21bc60cbc17bf5dcae1c82d39bf388f8d30c6f916'
4963
'0d2a3727e494cb328f5b786d4bb116d167026a86a709219768ab47ed4d2c73c8'
5064
'd9747b6191ea142df649166de7cfa4ddb4012530802906c5e0626aed20705325'
65+
'5c235e94a6e0ed644942ec9824110800566e750ba9a9a90e92a8d03dd520ae08'
66+
'3ba2ae48158b1362edcdd46b8ee56c88f93e540152da7408a429917ccf2bd5bd'
67+
'ab9b658197542bcc0d6ed28ebef1879da2b75bcb7ce8d267be90ee998649a523'
68+
'8eda9cf854cd4084a97b8a0c770bf183cc4f567e6a9e1f66288fa27957e26df3'
5169
'9dd1c14838b71b9e593649d36f979c0fea6a85692f591021e06285ec9c392d50'
5270
'98b1074874c5697254f74444a64dd00cfb15ecf5544d873c5c1f2c5cb11b602b'
71+
'81f2c5de8cbd80297208cfd54e95e6f7765c896365ef531ff8f38aaa4f4f6679'
72+
'dcb87aa66ea09848e007ce8fed65848b9028b1c7456634d62da690f9c5867195'
73+
'e6f107c77c8b8ffc00e12d37a11a29642b5db2aadd552fa7d7033c4368c689f2'
74+
'a6fde7081abe1fd5d3b9bc4e850cdbb16790d2105971111c86657696bad39438'
75+
'64d51a24cb26af69fbca98c8394cd1682b0d16eb9a50412635a20ee153e3372b'
76+
'368a8965118647a8e7ca6e9b454cac94b72f3b26711bfd3d371e274b59b94007'
77+
'7cbca7d0f8f6743d0997a3b5102a1397eb967261e96c8946ad70e195d93cc24f'
78+
'a07fc8974cf1f0634c158c72ac6c3263457c6d91a0e66143607c9ee2fcb72feb'
79+
'1e063aef2a871526e99247615d439bc7055034e443d5537d6702db09a470a9f9'
80+
'97fc5e57727d9ea47aa7dbdf2635afd40122ca1a0f9d44be228d3d14efd7c610'
5381
'1a5ea2b0afe73b233daa7a693a9891c0096565f6d72a65a135b05c88e839395a')
5482

5583
prepare() {
@@ -64,8 +92,22 @@ prepare() {
6492
patch -Np1 -i "${srcdir}/011-fix-loading-alpha-image.patch"
6593
patch -Np1 -i "${srcdir}/012-fix-do-not-pad-16x16-AOM.patch"
6694
patch -Np1 -i "${srcdir}/013-fix-enable-lossless-AOM.patch"
67-
patch -Np1 -i "${srcdir}/014-expose-aom-decoder-errors.patch"
68-
patch -Np1 -i "${srcdir}/015-aom-all-intra.patch"
95+
patch -Np1 -i "${srcdir}/014-fix-RGB-to-YCbCr-chroma.patch"
96+
patch -Np1 -i "${srcdir}/015-fix-RRGGBB-to-YCbCr-chroma.patch"
97+
patch -Np1 -i "${srcdir}/016-fix-RGB-to-YCbCr-chroma-2.patch"
98+
patch -Np1 -i "${srcdir}/017-fix-aom-signal-chroma-position.patch"
99+
patch -Np1 -i "${srcdir}/018-expose-aom-decoder-errors.patch"
100+
patch -Np1 -i "${srcdir}/019-aom-all-intra.patch"
101+
patch -Np1 -i "${srcdir}/020-fix-scaling-of-images.patch"
102+
patch -Np1 -i "${srcdir}/021-fix-clap-box-dimensions-1.diff"
103+
patch -Np1 -i "${srcdir}/022-fix-clap-box-dimensions-2.patch"
104+
patch -Np1 -i "${srcdir}/023-fix-clap-box-dimensions-3.patch"
105+
patch -Np1 -i "${srcdir}/024-fix-avif-left-shift-ub.patch"
106+
patch -Np1 -i "${srcdir}/025-fix-bitstream-potential-overflow.patch"
107+
patch -Np1 -i "${srcdir}/026-fix-encoder-no-SPS-returned-1.patch"
108+
patch -Np1 -i "${srcdir}/027-fix-check-results-of-read.patch"
109+
patch -Np1 -i "${srcdir}/028-fix-encoder-no-SPS-returned-2.patch"
110+
patch -Np1 -i "${srcdir}/029-fix-nclx-avoid-division-by-zero.patch"
69111
patch -Np1 -i "${srcdir}/030-fix-wrong-copy-size.patch"
70112
}
71113

0 commit comments

Comments
 (0)