@@ -180,18 +180,24 @@ if build "opencore"; then
180
180
fi
181
181
182
182
if build " libvpx" ; then
183
- download " https://github.com/webmproject/libvpx/archive/v1.5 .0.tar.gz" " libvpx-1.5 .0.tar.gz"
183
+ download " https://github.com/webmproject/libvpx/archive/v1.7 .0.tar.gz" " libvpx-1.7 .0.tar.gz"
184
184
cd $PACKAGES /libvpx* || exit
185
- sed -e ' s/cp -p/cp/' -i build/make/Makefile
185
+
186
+ if [[ " $OSTYPE " == " darwin" * ]]; then
187
+ echo " Applying Darwin patch"
188
+ sed " s/,--version-script//g" build/make/Makefile > build/make/Makefile.patched
189
+ sed " s/-Wl,--no-undefined -Wl,-soname/-Wl,-undefined,error -Wl,-install_name/g" build/make/Makefile.patched > build/make/Makefile
190
+ fi
191
+
186
192
execute ./configure --prefix=${WORKSPACE} --disable-unit-tests --disable-shared
187
193
execute make -j $MJOBS
188
194
execute make install
189
195
build_done " libvpx"
190
196
fi
191
197
192
198
if build " lame" ; then
193
- download " http://kent.dl.sourceforge.net/project/lame/lame/3.99 /lame-3.99.5. tar.gz" " lame-3.99.5. tar.gz"
194
- cd $PACKAGES /lame-3.99.5 || exit
199
+ download " http://kent.dl.sourceforge.net/project/lame/lame/3.100 /lame-3.100. tar.gz" " lame-3.100. tar.gz"
200
+ cd $PACKAGES /lame-3.100 || exit
195
201
execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static
196
202
execute make -j $MJOBS
197
203
execute make install
@@ -213,19 +219,28 @@ if build "xvidcore"; then
213
219
build_done " xvidcore"
214
220
fi
215
221
222
+ if build " nasm" ; then
223
+ download " http://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.gz" " nasm.tar.gz"
224
+ cd $PACKAGES /nasm* || exit
225
+ execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static
226
+ execute make -j $MJOBS
227
+ execute make install
228
+ build_done " nasm"
229
+ fi
230
+
216
231
if build " x264" ; then
217
232
download " ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-20170328-2245.tar.bz2" " last_x264.tar.bz2"
218
233
cd $PACKAGES /x264-snapshot-* || exit
219
- execute ./configure --prefix=${WORKSPACE} --disable-asm -- enable-static
234
+ execute ./configure --prefix=${WORKSPACE} --enable-static
220
235
execute make -j $MJOBS
221
236
execute make install
222
237
execute make install-lib-static
223
238
build_done " x264"
224
239
fi
225
240
226
241
if build " libogg" ; then
227
- download " http://downloads.xiph.org/releases/ogg/libogg-1.3.2 .tar.gz" " libogg-1.3.2 .tar.gz"
228
- cd $PACKAGES /libogg-1.3.2 || exit
242
+ download " http://downloads.xiph.org/releases/ogg/libogg-1.3.3 .tar.gz" " libogg-1.3.3 .tar.gz"
243
+ cd $PACKAGES /libogg-1.3.3 || exit
229
244
execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static
230
245
execute make -j $MJOBS
231
246
execute make install
@@ -284,7 +299,7 @@ if build "vid_stab"; then
284
299
fi
285
300
286
301
if build " x265" ; then
287
- download " https://bitbucket.org/multicoreware/x265/downloads/x265_2.3 .tar.gz" " x265-2.3tar .gz"
302
+ download " https://bitbucket.org/multicoreware/x265/downloads/x265_2.6 .tar.gz" " x265-2.6.tar .gz"
288
303
cd $PACKAGES /x265_* || exit
289
304
cd source || exit
290
305
execute cmake -DCMAKE_INSTALL_PREFIX:PATH=${WORKSPACE} -DENABLE_SHARED:bool=off .
306
321
307
322
308
323
build " ffmpeg"
309
- download " http://ffmpeg.org/releases/ffmpeg-2.8.13 .tar.bz2" " ffmpeg-snapshot.tar.bz2"
324
+ download " http://ffmpeg.org/releases/ffmpeg-3.4.1 .tar.bz2" " ffmpeg-snapshot.tar.bz2"
310
325
cd $PACKAGES /ffmpeg* || exit
311
326
CFLAGS=" -I$WORKSPACE /include" LDFLAGS=" -L$WORKSPACE /lib"
312
327
execute ./configure --arch=64 --prefix=${WORKSPACE} --extra-cflags=" -I$WORKSPACE /include" --extra-ldflags=" -L$WORKSPACE /lib" \
0 commit comments