From: Jaroslav Kysela Date: Mon, 13 Oct 2014 13:27:26 +0000 (+0200) Subject: Makefile.ffmpeg: use distro specific libx264 library X-Git-Tag: v4.1~1060 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84947edddbcd6705cc86c1ddd1275282bde35efa;p=thirdparty%2Ftvheadend.git Makefile.ffmpeg: use distro specific libx264 library --- diff --git a/.doozer.json b/.doozer.json index 3e8853ecd..7a30b7d7e 100644 --- a/.doozer.json +++ b/.doozer.json @@ -34,7 +34,8 @@ "wget", "bzip2", "git-core", - "liburiparser-dev" + "liburiparser-dev", + "libx264-dev" ], "buildcmd": [ @@ -76,7 +77,8 @@ "wget", "bzip2", "git-core", - "liburiparser-dev" + "liburiparser-dev", + "libx264-dev" ], "buildcmd": [ diff --git a/Makefile b/Makefile index f63350ddd..0a1b3cd5b 100644 --- a/Makefile +++ b/Makefile @@ -434,7 +434,6 @@ ${SRCS_LIBAV}: ${BUILDDIR}/libffmpeg_stamp endif ${BUILDDIR}/libffmpeg_stamp: ${ROOTDIR}/libav_static/build/ffmpeg/lib/libavcodec.a - echo "$(DEPS)" @touch $@ ${ROOTDIR}/libav_static/build/ffmpeg/lib/libavcodec.a: diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg index 44377282d..e9fae84ef 100644 --- a/Makefile.ffmpeg +++ b/Makefile.ffmpeg @@ -132,6 +132,20 @@ $(LIBAVDIR)/$(LIBVORBIS)/.tvh_build: \ # libx264 # +ARCH = $(shell arch) + +ifeq ($(ARCH),i386) + +$(LIBAVDIR)/$(LIBX264)/.tvh_download: + @echo "***** PLEASE FIX !!!! libx264 build for i386 *****" + @touch $@ + +$(LIBAVDIR)/$(LIBX264)/.tvh_build: + @echo "***** PLEASE FIX !!!! libx264 build for i386 *****" + @touch $@ + +else + $(LIBAVDIR)/$(LIBX264)/.tvh_download: $(call DOWNLOAD,$(LIBX264_URL),$(LIBAVDIR)/$(LIBX264_TB)) #rm -rf $(LIBAVDIR)/x264-snapshot-* @@ -156,6 +170,8 @@ $(LIBAVDIR)/$(LIBX264)/.tvh_build: \ make -C $(LIBAVDIR)/$(LIBX264) install @touch $@ +endif + # # libvpx (VP8) #