Update build.sh
This commit is contained in:
parent
caff3eb800
commit
91371bc17e
20
build.sh
20
build.sh
@ -37,14 +37,18 @@ function build_amf {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function build_mfx {
|
function build_mfx {
|
||||||
git clone -q https://github.com/lu-zero/mfx_dispatch.git $SRC/libmfx
|
cp -r "C:\Program Files (x86)\IntelSWTools\Intel(R) Media SDK 2021 R1\Software Development Kit\include" $BUILD/include/mfx
|
||||||
cd $SRC/libmfx
|
cp "C:\Program Files (x86)\IntelSWTools\Intel(R) Media SDK 2021 R1\Software Development Kit\lib\x64\libmfx_vs2015.lib" $BUILD/lib/libmfx.lib
|
||||||
#git checkout c200d833e25a91e3e49d69890dac1ffa3486cbe9
|
printf "prefix=$BUILD\nexec_prefix=\${prefix}\nincludedir=\${prefix}/include\nlibdir=\${exec_prefix}/lib\nName: libmfx\nDescription: Intel Media SDK Dispatched static library\nVersion: 1.34\nLibs: -L\${libdir} -llibmfx -ladvapi32 -lole32 -luuid\nCflags: -I\${includedir}\n" > $BUILD/lib/pkgconfig/libmfx.pc
|
||||||
if [[ ! -f "configure" ]]; then
|
|
||||||
autoreconf -fiv || exit 1
|
#git clone -q https://github.com/lu-zero/mfx_dispatch.git $SRC/libmfx
|
||||||
fi
|
#cd $SRC/libmfx
|
||||||
build libmfx
|
#if [[ ! -f "configure" ]]; then
|
||||||
sed -i 's/-lstdc++/-ladvapi32/g' $BUILD/lib/pkgconfig/libmfx.pc
|
# autoreconf -fiv || exit 1
|
||||||
|
#fi
|
||||||
|
#build libmfx
|
||||||
|
#sed -i 's/-lstdc++/-ladvapi32/g' $BUILD/lib/pkgconfig/libmfx.pc
|
||||||
|
|
||||||
add_comp libmfx
|
add_comp libmfx
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user