@@ -235,7 +235,7 @@ if build "pkg-config"; then
235
235
fi
236
236
237
237
if build " cmake" ; then
238
- download " https://cmake.org/files/v3.5/cmake-3.5.0 .tar.gz" " cmake-3.5.0 .tar.gz"
238
+ download " https://cmake.org/files/v3.5/cmake-3.5.2 .tar.gz" " cmake-3.5.2 .tar.gz"
239
239
cd $PACKAGES /cmake* || exit
240
240
rm Modules/FindJava.cmake
241
241
perl -p -i -e " s/get_filename_component.JNIPATH/#get_filename_component(JNIPATH/g" Tests/CMakeLists.txt
@@ -281,7 +281,51 @@ build "ffmpeg"
281
281
download " http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 " " ffmpeg-snapshot.tar.bz2 "
282
282
cd $PACKAGES /ffmpeg* || exit
283
283
CFLAGS=" -I$WORKSPACE /include" LDFLAGS=" -L$WORKSPACE /lib"
284
- execute ./configure --arch=64 --prefix=${WORKSPACE} --extra-cflags=" -I$WORKSPACE /include" --extra-ldflags=" -L$WORKSPACE /lib" --extra-version=static --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-version3 --enable-libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-gpl --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-nonfree --enable-filters --enable-libvidstab --enable-libx265 --enable-runtime-cpudetect --enable-libfdk-aac
284
+ execute ./configure --arch=64 --prefix=${WORKSPACE} --extra-cflags=" -I$WORKSPACE /include" --extra-ldflags=" -L$WORKSPACE /lib" \
285
+ --extra-version=static \
286
+ --extra-cflags=--static \
287
+ --enable-static \
288
+ --disable-debug \
289
+ --disable-shared \
290
+ --disable-ffplay \
291
+ --disable-ffserver \
292
+ --disable-doc \
293
+ --enable-gpl \
294
+ --enable-version3 \
295
+ --enable-nonfree \
296
+ --enable-pthreads \
297
+ --enable-libvpx \
298
+ --enable-libmp3lame \
299
+ --enable-libtheora \
300
+ --enable-libvorbis \
301
+ --enable-libx264 \
302
+ --enable-libx265 \
303
+ --enable-runtime-cpudetect \
304
+ --enable-libfdk-aac \
305
+ --enable-avfilter \
306
+ --enable-libopencore_amrwb \
307
+ --enable-libopencore_amrnb \
308
+ --enable-filters \
309
+ --enable-libvidstab
310
+ # enable all filters
311
+ # enable AAC de/encoding via libfdk-aac [no]
312
+ # enable detecting cpu capabilities at runtime (smaller binary)
313
+ # enable HEVC encoding via x265 [no]
314
+ # enable H.264 encoding via x264 [no]
315
+ # enable Vorbis en/decoding via libvorbis, native implementation exists [no]
316
+ # enable Theora encoding via libtheora [no]
317
+ # enable MP3 encoding via libmp3lame [no]
318
+ # enable VP8 and VP9 de/encoding via libvpx [no]
319
+ # enable pthreads [autodetect]
320
+ # allow use of nonfree code, the resulting libs and binaries will be unredistributable [no]
321
+ # upgrade (L)GPL to version 3 [no]
322
+ # allow use of GPL code, the resulting libs and binaries will be under GPL [no]
323
+ # do not build documentation
324
+ # disable ffserver build
325
+ # disable ffplay build
326
+ # build static libraries [no]
327
+ # disable debugging symbols
328
+ # disable build shared libraries [no]
285
329
execute make -j $MJOBS
286
330
execute make install
287
331
0 commit comments