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 f46eaf2

Browse filesBrowse files
committed
Freetype update
1 parent 78174c6 commit f46eaf2
Copy full SHA for f46eaf2

File tree

Expand file treeCollapse file tree

1 file changed

+19
-19
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+19
-19
lines changed

‎build-ffmpeg

Copy file name to clipboardExpand all lines: build-ffmpeg
+19-19Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# https://github.com/markus-perl/ffmpeg-build-script
44

5-
VERSION=0.6
5+
VERSION=0.7
66
CWD=$(pwd)
77
PACKAGES="$CWD/packages"
88
WORKSPACE="$CWD/workspace"
@@ -34,7 +34,7 @@ make_dir () {
3434

3535
remove_dir () {
3636
if [ -d $1 ]; then
37-
rm -rf "$1"
37+
rm -r "$1"
3838
fi
3939
}
4040

@@ -215,7 +215,7 @@ if build "xvidcore"; then
215215
fi
216216

217217
if build "x264"; then
218-
download "ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2" "last_x264.tar.bz2"
218+
download "ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-20161027-2245-stable.tar.bz2" "last_x264.tar.bz2"
219219
cd $PACKAGES/x264-snapshot-* || exit
220220
execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static
221221
execute make -j $MJOBS
@@ -257,7 +257,7 @@ fi
257257
if build "pkg-config"; then
258258
download "http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.1.tar.gz" "pkg-config-0.29.1.tar.gz"
259259
cd $PACKAGES/pkg-config-0.29.1 || exit
260-
execute ./configure --silent --prefix=${WORKSPACE} --with-pc-path=${WORKSPACE}/lib/pkgconfig --with-internal-glib
260+
execute ./configure --silent --prefix=${WORKSPACE} --with-pc-path=${WORKSPACE}/lib/pkgconfig
261261
execute make -j $MJOBS
262262
execute make install
263263
build_done "pkg-config"
@@ -275,18 +275,27 @@ if build "cmake"; then
275275
build_done "cmake"
276276
fi
277277

278+
if build "freetype2"; then
279+
download "http://download.savannah.gnu.org/releases/freetype/freetype-2.6.5.tar.gz" "freetype.tar.gz"
280+
cd $PACKAGES/freetype* || exit
281+
execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static --without-png
282+
execute make -j $MJOBS
283+
execute make install
284+
build_done "freetype2"
285+
fi
286+
278287
if build "vid_stab"; then
279288
download "https://codeload.github.com/georgmartius/vid.stab/legacy.tar.gz/release-0.98b" "vid.stab-0.98b-transcode-1.1-binary-x86_64.tgz"
280289
cd $PACKAGES/georgmartius-vid* || exit
281290
perl -p -i -e "s/vidstab SHARED/vidstab STATIC/" CMakeLists.txt
282291
execute cmake -DCMAKE_INSTALL_PREFIX:PATH=${WORKSPACE} .
283-
execute make -s install
292+
execute make install
284293
build_done "vid_stab"
285294
fi
286295

287296
if build "x265"; then
288-
download "https://bitbucket.org/multicoreware/x265/downloads/x265_1.9.tar.gz" "x265-1.9.tar.gz"
289-
cd $PACKAGES/x265_1.9 || exit
297+
download "https://bitbucket.org/multicoreware/x265/downloads/x265_2.1.tar.gz" "x265-2.1.tar.gz"
298+
cd $PACKAGES/x265_* || exit
290299
cd source || exit
291300
execute cmake -DCMAKE_INSTALL_PREFIX:PATH=${WORKSPACE} -DENABLE_SHARED:bool=off .
292301
execute make -j $MJOBS
@@ -297,24 +306,15 @@ if build "x265"; then
297306
fi
298307

299308
if build "fdk_aac"; then
300-
download "http://downloads.sourceforge.net/project/opencore-amr/fdk-aac/fdk-aac-0.1.4.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fopencore-amr%2Ffiles%2Ffdk-aac%2F&ts=1457561564&use_mirror=kent" "fdk-aac-0.1.4.tar.gz"
309+
download "https://github.com/mstorsjo/fdk-aac/archive/master.tar.gz" "fdk-aac.zip"
301310
cd $PACKAGES/fdk-aac* || exit
311+
execute ./autogen.sh
302312
execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static
303313
execute make -j $MJOBS
304314
execute make install
305315
build_done "fdk_aac"
306316
fi
307317

308-
if build "freetype2"; then
309-
download "http://download.savannah.gnu.org/releases/freetype/freetype-2.6.3.tar.gz" "freetype-2.6.3.tar.gz"
310-
cd $PACKAGES/freetype-2.6.3 || exit
311-
execute ./configure --prefix=${WORKSPACE} --disable-shared --enable-static --without-png
312-
313-
execute make -j $MJOBS
314-
execute make install
315-
build_done "freetype2"
316-
fi
317-
318318

319319
build "ffmpeg"
320320
download "http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 " "ffmpeg-snapshot.tar.bz2 "
@@ -345,7 +345,7 @@ execute ./configure --arch=64 --prefix=${WORKSPACE} --extra-cflags="-I$WORKSPAC
345345
--enable-libopencore_amrwb \
346346
--enable-libopencore_amrnb \
347347
--enable-filters \
348-
--enable-libvidstab \
348+
--enable-libvidstab \
349349
--enable-libfreetype
350350
# enable all filters
351351
# enable AAC de/encoding via libfdk-aac [no]

0 commit comments

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