Merge pull request #9695 from kmilos/patch-1

libheif: restore flag
This commit is contained in:
Christoph Reiter
2021-10-01 19:51:44 +03:00
committed by GitHub

View File

@@ -4,7 +4,7 @@ _realname=libheif
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=1.12.0
pkgrel=5
pkgrel=6
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32')
@@ -58,6 +58,8 @@ build() {
extra_config+=("-DCMAKE_BUILD_TYPE=Debug")
fi
# Keep flag due to https://github.com/strukturag/libheif/issues/357
CPPFLAGS+=" -DX265_API_IMPORTS=1"
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \
${MINGW_PREFIX}/bin/cmake \
-GNinja \