aboutsummaryrefslogtreecommitdiff
path: root/tools/depends/target/ffmpeg
diff options
context:
space:
mode:
authorRainer Hochecker <fernetmenta@online.de>2018-04-17 20:24:09 +0200
committerRainer Hochecker <fernetmenta@online.de>2018-04-19 08:37:44 +0200
commitc7e2acc1b2ee781af6e14d80da0edd0aa23bdf03 (patch)
tree97c98bef3613eb34ac12650d0e1f04683e1cf390 /tools/depends/target/ffmpeg
parentaf4a5489295496d5f7dcabe097a263f08199494b (diff)
bump ffmpeg to 4.0
Diffstat (limited to 'tools/depends/target/ffmpeg')
-rw-r--r--tools/depends/target/ffmpeg/CMakeLists.txt5
-rw-r--r--tools/depends/target/ffmpeg/FFMPEG-VERSION3
-rw-r--r--tools/depends/target/ffmpeg/Makefile6
-rwxr-xr-xtools/depends/target/ffmpeg/autobuild.sh13
4 files changed, 12 insertions, 15 deletions
diff --git a/tools/depends/target/ffmpeg/CMakeLists.txt b/tools/depends/target/ffmpeg/CMakeLists.txt
index 49bc1adf42..9df273de09 100644
--- a/tools/depends/target/ffmpeg/CMakeLists.txt
+++ b/tools/depends/target/ffmpeg/CMakeLists.txt
@@ -70,10 +70,10 @@ elseif(CORE_SYSTEM_NAME STREQUAL ios)
else()
list(APPEND ffmpeg_conf "--as=${NATIVEPREFIX}/bin/gas-preprocessor.pl -arch aarch64 -- ${CMAKE_C_COMPILER}")
endif()
- list(APPEND ffmpeg_conf --disable-decoder=mpeg_xvmc --disable-vda --disable-crystalhd --enable-videotoolbox
+ list(APPEND ffmpeg_conf --disable-decoder=mpeg_xvmc --disable-crystalhd --enable-videotoolbox
--target-os=darwin)
elseif(CORE_SYSTEM_NAME STREQUAL osx)
- list(APPEND ffmpeg_conf --disable-decoder=mpeg_xvmc --disable-vda --disable-crystalhd --enable-videotoolbox
+ list(APPEND ffmpeg_conf --disable-decoder=mpeg_xvmc --disable-crystalhd --enable-videotoolbox
--target-os=darwin
--disable-securetransport)
endif()
@@ -102,7 +102,6 @@ externalproject_add(ffmpeg
--disable-ffplay
--disable-ffmpeg
--disable-ffprobe
- --disable-ffserver
--enable-gpl
--enable-runtime-cpudetect
--enable-postproc
diff --git a/tools/depends/target/ffmpeg/FFMPEG-VERSION b/tools/depends/target/ffmpeg/FFMPEG-VERSION
index 9fcfc4f386..d29ea884d7 100644
--- a/tools/depends/target/ffmpeg/FFMPEG-VERSION
+++ b/tools/depends/target/ffmpeg/FFMPEG-VERSION
@@ -1,5 +1,4 @@
LIBNAME=ffmpeg
BASE_URL=https://github.com/xbmc/FFmpeg
-VERSION=3.4.1-Leia-Alpha-1
+VERSION=4.0-Leia-Alpha-1
ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
-GNUTLS_VER=3.4.14
diff --git a/tools/depends/target/ffmpeg/Makefile b/tools/depends/target/ffmpeg/Makefile
index 6aa7aa8fd8..98817206bc 100644
--- a/tools/depends/target/ffmpeg/Makefile
+++ b/tools/depends/target/ffmpeg/Makefile
@@ -11,7 +11,7 @@ ffmpg_config = --prefix=$(PREFIX) --extra-version="kodi-$(VERSION)"
ffmpg_config += --cc="$(CC)" --cxx="$(CXX)" --ar=$(AR) --ranlib=$(RANLIB) --strip=$(STRIP)
ffmpg_config += --disable-devices --disable-doc
ffmpg_config += --disable-ffplay --disable-ffmpeg
-ffmpg_config += --disable-ffprobe --disable-ffserver
+ffmpg_config += --disable-ffprobe
ffmpg_config += --disable-sdl2
ffmpg_config += --enable-gpl --enable-runtime-cpudetect
ffmpg_config += --enable-postproc --enable-pthreads
@@ -49,11 +49,11 @@ ifeq ($(OS), ios)
ffmpg_config += --as="$(NATIVEPREFIX)/bin/gas-preprocessor.pl -arch aarch64 -- $(CC)"
endif
ffmpg_config += --yasmexe=$(NATIVEPREFIX)/bin/yasm
- ffmpg_config += --disable-decoder=mpeg_xvmc --disable-vda --disable-crystalhd --enable-videotoolbox
+ ffmpg_config += --disable-decoder=mpeg_xvmc --disable-crystalhd --enable-videotoolbox
ffmpg_config += --target-os=darwin
endif
ifeq ($(OS), osx)
- ffmpg_config += --disable-decoder=mpeg_xvmc --disable-vda --disable-crystalhd --enable-videotoolbox
+ ffmpg_config += --disable-decoder=mpeg_xvmc --disable-crystalhd --enable-videotoolbox
ffmpg_config += --target-os=darwin
ffmpg_config += --disable-securetransport
endif
diff --git a/tools/depends/target/ffmpeg/autobuild.sh b/tools/depends/target/ffmpeg/autobuild.sh
index 5253c27474..dc990b8ab0 100755
--- a/tools/depends/target/ffmpeg/autobuild.sh
+++ b/tools/depends/target/ffmpeg/autobuild.sh
@@ -28,7 +28,7 @@ VERSION=$(grep "VERSION=" FFMPEG-VERSION | sed 's/VERSION=//g')
ARCHIVE=ffmpeg-$(echo "${VERSION}" | sed 's/\//-/g').tar.gz
function usage {
- echo "usage $(basename $0)
+ echo "usage $(basename $0)
[-p | --prefix] ... ffmepg install prefix
[-d | --download] ... no build, download tarfile only
[-r | --release] ... disable debugging symbols
@@ -50,17 +50,17 @@ do
-p | --prefix)
FFMPEG_PREFIX=$2
shift 2
- ;;
+ ;;
--prefix=*)
FFMPEG_PREFIX=${1#*=}
shift
- ;;
+ ;;
-d | --download)
- downloadonly=true
+ downloadonly=true
shift
;;
-r | --release)
- FLAGS="$FLAGS --disable-debug"
+ FLAGS="$FLAGS --disable-debug"
shift
;;
-s | --shared)
@@ -139,7 +139,6 @@ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" \
--disable-ffplay \
--disable-ffmpeg \
--disable-ffprobe \
- --disable-ffserver \
--disable-doc \
--enable-gpl \
--enable-runtime-cpudetect \
@@ -166,7 +165,7 @@ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" \
--disable-mipsdspr2 \
${FLAGS}
-make -j ${BUILDTHREADS}
+make -j ${BUILDTHREADS}
if [ $? -eq 0 ]
then
[ ${SUDO} ] && echo "Root privileges are required to install to ${FFMPEG_PREFIX}"