From 577272188d75651b565827886f0da7bb12ea5118 Mon Sep 17 00:00:00 2001 From: Aaron Colwell <300262+acolwell@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:51:24 -0700 Subject: [PATCH 1/2] Update OpenImageIO sha256 hash. They changed the directory name in the tarball. --- tools/MINGW-packages/mingw-w64-openimageio/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/MINGW-packages/mingw-w64-openimageio/PKGBUILD b/tools/MINGW-packages/mingw-w64-openimageio/PKGBUILD index 3a7cc69c8..25373a17c 100644 --- a/tools/MINGW-packages/mingw-w64-openimageio/PKGBUILD +++ b/tools/MINGW-packages/mingw-w64-openimageio/PKGBUILD @@ -35,7 +35,7 @@ source=(${_realname}-${pkgver}.tar.gz::https://github.com/OpenImageIO/oiio/archi oiio-2.2.14-libraw.diff oiio-2.4.13.0-thread-shutdown.patch # Remove when updating to a future 2.5 release that has these changes. ) -sha256sums=('72b7d2d5edd1049bb7fc09becad4d8be64a9918cdf79bae98b4b32e1fda762cd' +sha256sums=('bb10a7ab6dff5dae2c6d854e9da38136546232235913237e8b1b3c99abb7dd0b' 'SKIP' 'e8aec185fd20a6e5cdf77a7155fcaedb301c07bd806f73bd30dfc75af721ac83' 'd9c2e066ce0e94404d31fd649341cc0ee03faf9b4023dfcdf5cf59fbbf466127' @@ -44,7 +44,7 @@ sha256sums=('72b7d2d5edd1049bb7fc09becad4d8be64a9918cdf79bae98b4b32e1fda762cd' ) prepare() { - cd ${srcdir}/oiio-${pkgver} + cd ${srcdir}/OpenImageIO-${pkgver} #patch -p0 -i ${srcdir}/oiio-2.1.10-boost.diff patch -p1 -i ${srcdir}/oiio-2.0.8-invalidatespec.patch patch -p0 -i ${srcdir}/oiio-2.2.14-libraw.diff @@ -92,7 +92,7 @@ build() { -DCMAKE_CXX_STANDARD=14 \ -DCMAKE_SHARED_LINKER_FLAGS=" -Wl,--export-all-symbols -Wl,--enable-auto-import " \ ${extra_config} \ - ../oiio-${pkgver} + ../OpenImageIO-${pkgver} make } From 265ef39a02bf2e480a8212bf74ae197ade9df1e2 Mon Sep 17 00:00:00 2001 From: Aaron Colwell <300262+acolwell@users.noreply.github.com> Date: Tue, 3 Oct 2023 14:08:16 -0700 Subject: [PATCH 2/2] Fix ffmpeg patch's sha256 sum. Index line has extra hash digits now. --- tools/MINGW-packages/mingw-w64-ffmpeg-gpl2/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/MINGW-packages/mingw-w64-ffmpeg-gpl2/PKGBUILD b/tools/MINGW-packages/mingw-w64-ffmpeg-gpl2/PKGBUILD index a2cea2497..6bbc74242 100644 --- a/tools/MINGW-packages/mingw-w64-ffmpeg-gpl2/PKGBUILD +++ b/tools/MINGW-packages/mingw-w64-ffmpeg-gpl2/PKGBUILD @@ -49,7 +49,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" source=(https://ffmpeg.org/releases/${_realname}-${pkgver}.tar.xz https://github.com/FFmpeg/FFmpeg/commit/effadce6c756247ea8bae32dc13bb3e6f464f0eb.patch) sha256sums=('6c5b6c195e61534766a0b5fe16acc919170c883362612816d0a1c7f4f947006e' - '206f4d8437b21f6197ffc444c86d0504892a5c2137cb227b4af1c1e8bf2c426c') + '8fad5f253bcda7a17523dbfcbfcfd60b3db23783dcdb65998005cddc7c7776c3') prepare() { cd "${srcdir}/${_realname}-${pkgver}"