# Distributed under the terms of the GNU General Public License v2 # Copyright 2019 Gluzskiy Alexandr require github [ user=OpenVisualCloud tag=v${PV} project=SVT-VP9 ] require cmake [ api=2 ] export_exlib_phases src_prepare SUMMARY="Scalable Video Technology for VP9 Encoder (SVT-VP9 Encoder)" LICENCES="BSD-2-Clause-Patent" SLOT="0" MYOPTIONS="" CMAKE_SRC_CONFIGURE_PARAMS=( -DBUILD_APP=ON -DBUILD_SHARED_LIBS=ON ) svt-vp9_src_prepare() { edo sed -e "s/gcc-ar/$(exhost --target)-gcc-ar/g" -i "${WORKBASE}/${PNV}"/CMakeLists.txt edo sed -e "s/gcc-ranlib/$(exhost --target)-gcc-ranlib/g" -i "${WORKBASE}/${PNV}"/CMakeLists.txt cmake_src_prepare }