Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit acccd63

Browse filesBrowse files
committed
package updates
1 parent 5420361 commit acccd63
Copy full SHA for acccd63

File tree

Expand file treeCollapse file tree

1 file changed

+24
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+24
-9
lines changed

‎build-ffmpeg

Copy file name to clipboardExpand all lines: build-ffmpeg
+24-9Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -180,18 +180,24 @@ if build "opencore"; then
180180
fi
181181

182182
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"
184184
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+
186192
execute ./configure --prefix=${WORKSPACE} --disable-unit-tests --disable-shared
187193
execute make -j $MJOBS
188194
execute make install
189195
build_done "libvpx"
190196
fi
191197

192198
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
195201
execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static
196202
execute make -j $MJOBS
197203
execute make install
@@ -213,19 +219,28 @@ if build "xvidcore"; then
213219
build_done "xvidcore"
214220
fi
215221

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+
216231
if build "x264"; then
217232
download "ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-20170328-2245.tar.bz2" "last_x264.tar.bz2"
218233
cd $PACKAGES/x264-snapshot-* || exit
219-
execute ./configure --prefix=${WORKSPACE} --disable-asm --enable-static
234+
execute ./configure --prefix=${WORKSPACE} --enable-static
220235
execute make -j $MJOBS
221236
execute make install
222237
execute make install-lib-static
223238
build_done "x264"
224239
fi
225240

226241
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
229244
execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static
230245
execute make -j $MJOBS
231246
execute make install
@@ -284,7 +299,7 @@ if build "vid_stab"; then
284299
fi
285300

286301
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"
288303
cd $PACKAGES/x265_* || exit
289304
cd source || exit
290305
execute cmake -DCMAKE_INSTALL_PREFIX:PATH=${WORKSPACE} -DENABLE_SHARED:bool=off .
@@ -306,7 +321,7 @@ fi
306321

307322

308323
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"
310325
cd $PACKAGES/ffmpeg* || exit
311326
CFLAGS="-I$WORKSPACE/include" LDFLAGS="-L$WORKSPACE/lib"
312327
execute ./configure --arch=64 --prefix=${WORKSPACE} --extra-cflags="-I$WORKSPACE/include" --extra-ldflags="-L$WORKSPACE/lib" \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.