blob: 218942ed5ef38dd2baef025c0d8f8bfabcdf1f93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Distributed under the terms of the GNU General Public License v2
# Copyright 2019 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
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
}
|