diff options
author | Patrick Northon | 2021-05-18 09:19:24 -0400 |
---|---|---|
committer | Patrick Northon | 2021-05-18 09:19:24 -0400 |
commit | 76127bb46941cf81eca57bd3610daecc3eb67d27 (patch) | |
tree | 6169ea5b600a186d68c6cdba43dfa130e1b80475 | |
parent | f61eb507801518582dd17fe674ba8a3d98c7c726 (diff) | |
download | aur-76127bb46941cf81eca57bd3610daecc3eb67d27.tar.gz |
Update version.
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 21 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-openexr pkgdesc = An high dynamic-range image file format library (mingw-w64) - pkgver = 3.0.1 - pkgrel = 2 + pkgver = 3.0.2 + pkgrel = 1 url = http://www.openexr.com/ arch = any license = BSD @@ -14,8 +14,10 @@ pkgbase = mingw-w64-openexr options = staticlibs options = !buildflags options = !strip - source = https://github.com/AcademySoftwareFoundation/openexr/archive/v3.0.1.tar.gz - sha256sums = 6d14a8df938bbbd55dd6e55b24c527fe9323fe6a45f704e56967dfbf477cecc1 + source = https://github.com/AcademySoftwareFoundation/openexr/archive/v3.0.2.tar.gz + source = https://github.com/AcademySoftwareFoundation/openexr/pull/1022.patch + sha256sums = afcfaaba700d0bc86a54e9c2e51b22b9dd458527571046f02951ef75ddc7c8e2 + sha256sums = 95288d05e9e90b86ca88a904387f9a1cba8ce96df6f86704a8a2467f0ba40a44 pkgname = mingw-w64-openexr @@ -1,8 +1,8 @@ # Maintainer: Patrick Northon <northon_patrick3@yahoo.ca> pkgname=mingw-w64-openexr -pkgver=3.0.1 -pkgrel=2 +pkgver=3.0.2 +pkgrel=1 pkgdesc="An high dynamic-range image file format library (mingw-w64)" url="http://www.openexr.com/" arch=(any) @@ -11,28 +11,36 @@ depends=('mingw-w64-crt' 'mingw-w64-zlib' 'mingw-w64-imath') makedepends=('mingw-w64-cmake' 'wine') checkdepends=('mingw-w64-wine') options=('staticlibs' '!buildflags' '!strip') -source=("https://github.com/AcademySoftwareFoundation/openexr/archive/v${pkgver}.tar.gz") -sha256sums=("6d14a8df938bbbd55dd6e55b24c527fe9323fe6a45f704e56967dfbf477cecc1") +source=( + "https://github.com/AcademySoftwareFoundation/openexr/archive/v${pkgver}.tar.gz" + "https://github.com/AcademySoftwareFoundation/openexr/pull/1022.patch" +) +sha256sums=( + "afcfaaba700d0bc86a54e9c2e51b22b9dd458527571046f02951ef75ddc7c8e2" + "95288d05e9e90b86ca88a904387f9a1cba8ce96df6f86704a8a2467f0ba40a44" +) _architectures="i686-w64-mingw32 x86_64-w64-mingw32" _flags=( -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE="-O2 -DNDEBUG" -DOPENEXR_BUILD_UTILS=OFF -DOPENEXR_INSTALL_EXAMPLES=OFF -DOPENEXR_INSTALL_TOOLS=OFF ) +_dir="openexr-${pkgver}" prepare() { - cd "openexr-${pkgver}" + cd "${_dir}" + patch -p1 -i "../1022.patch" find . -name "CMakeLists.txt" -print0 | xargs -0 sed -i -r 's/COMMAND \$<TARGET_FILE/COMMAND \${CMAKE_CROSSCOMPILING_EMULATOR} \$<TARGET_FILE/' } build() { for _arch in ${_architectures}; do - ${_arch}-cmake -S "openexr-${pkgver}" -B "build-${_arch}" "${_flags[@]}" -DBUILD_TESTING=OFF + ${_arch}-cmake -S "${_dir}" -B "build-${_arch}" "${_flags[@]}" -DBUILD_TESTING=OFF cmake --build "build-${_arch}" done } check() { for _arch in ${_architectures}; do - ${_arch}-cmake -S "openexr-${pkgver}" -B "build-${_arch}" "${_flags[@]}" -DBUILD_TESTING=ON + ${_arch}-cmake -S "${_dir}" -B "build-${_arch}" "${_flags[@]}" -DBUILD_TESTING=ON cmake --build "build-${_arch}" cmake --build "build-${_arch}" --target test done |