diff --git a/mingw-w64-opencolorio/PKGBUILD b/mingw-w64-opencolorio/PKGBUILD index 46a8e22d45..115892b0be 100644 --- a/mingw-w64-opencolorio/PKGBUILD +++ b/mingw-w64-opencolorio/PKGBUILD @@ -6,7 +6,7 @@ pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}-git") replaces=("${MINGW_PACKAGE_PREFIX}-${_realname}-git") pkgver=1.1.1 -pkgrel=3 +pkgrel=4 pkgdesc="A color management framework for visual effects and animation (mingw-w64)" arch=('any') url="https://opencolorio.org/" @@ -19,7 +19,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-boost" "${MINGW_PACKAGE_PREFIX}-lcms2" "${MINGW_PACKAGE_PREFIX}-openexr" "${MINGW_PACKAGE_PREFIX}-ptex" - "${MINGW_PACKAGE_PREFIX}-python2" + "${MINGW_PACKAGE_PREFIX}-python3" "${MINGW_PACKAGE_PREFIX}-tinyxml" "${MINGW_PACKAGE_PREFIX}-yaml-cpp") makedepends=("${MINGW_PACKAGE_PREFIX}-cmake" @@ -75,7 +75,7 @@ build() { [[ -d "build-${MINGW_CHOST}" ]] && rm -rf "build-${MINGW_CHOST}" mkdir -p ${srcdir}/build-${MINGW_CHOST} && cd ${srcdir}/build-${MINGW_CHOST} - local _py2ver=$(${MINGW_PREFIX}/bin/python2 -c "import sys;sys.stdout.write('.'.join(map(str, sys.version_info[:2])))") + local _py3ver=$(${MINGW_PREFIX}/bin/python3 -c "import sys;sys.stdout.write('.'.join(map(str, sys.version_info[:2])))") MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \ ${MINGW_PREFIX}/bin/cmake \ @@ -90,9 +90,9 @@ build() { -DOCIO_USE_BOOST_PTR=ON \ -DOCIO_BUILD_PYGLUE=ON \ -DOCIO_PYGLUE_LINK=ON \ - -DPYTHON_VERSION=${_py2ver} \ - -DPYTHON=${MINGW_PREFIX}/bin/python2.exe \ - -DPYTHON_EXECUTABLE=${MINGW_PREFIX}/bin/python2.exe \ + -DPYTHON_VERSION=${_py3ver} \ + -DPYTHON=${MINGW_PREFIX}/bin/python3.exe \ + -DPYTHON_EXECUTABLE=${MINGW_PREFIX}/bin/python3.exe \ -DOCIO_BUILD_TRUELIGHT=OFF \ ${_arch_opt} \ ../${_realname}-${pkgver}