libheif: disable rav1e on clang32 (and clangarm64).

rav1e requires rust, which is not yet available for those platforms.
This commit is contained in:
Jeremy Drake
2021-09-06 21:57:53 -07:00
parent 7c0fb4d66c
commit fc1f334602

View File

@@ -4,10 +4,10 @@ _realname=libheif
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=1.12.0
pkgrel=3
pkgrel=4
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
url="https://github.com/strukturag/libheif"
license=('LGPL-3.0' 'MIT')
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
@@ -20,7 +20,9 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
"${MINGW_PACKAGE_PREFIX}-libjpeg-turbo"
"${MINGW_PACKAGE_PREFIX}-libpng"
"${MINGW_PACKAGE_PREFIX}-libwinpthread-git"
"${MINGW_PACKAGE_PREFIX}-rav1e"
$( [[ ${MINGW_PACKAGE_PREFIX} == *-clang-i686* || \
${MINGW_PACKAGE_PREFIX} == *-clang-aarch64* ]] || \
echo "${MINGW_PACKAGE_PREFIX}-rav1e" )
"${MINGW_PACKAGE_PREFIX}-x265")
options=('strip' 'staticlibs')
source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz"