Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Makefile.ffmpeg: use distro specific libx264 library
  • Loading branch information
perexg committed Oct 13, 2014
1 parent f6e0f50 commit 84947ed
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .doozer.json
Expand Up @@ -34,7 +34,8 @@
"wget",
"bzip2",
"git-core",
"liburiparser-dev"
"liburiparser-dev",
"libx264-dev"
],

"buildcmd": [
Expand Down Expand Up @@ -76,7 +77,8 @@
"wget",
"bzip2",
"git-core",
"liburiparser-dev"
"liburiparser-dev",
"libx264-dev"
],

"buildcmd": [
Expand Down
1 change: 0 additions & 1 deletion Makefile
Expand Up @@ -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:
Expand Down
16 changes: 16 additions & 0 deletions Makefile.ffmpeg
Expand Up @@ -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-*
Expand All @@ -156,6 +170,8 @@ $(LIBAVDIR)/$(LIBX264)/.tvh_build: \
make -C $(LIBAVDIR)/$(LIBX264) install
@touch $@

endif

#
# libvpx (VP8)
#
Expand Down

0 comments on commit 84947ed

Please sign in to comment.