Commit 44b9decd authored by Rafaël Carré's avatar Rafaël Carré

Old contribs: FFmpeg switched to git

Also no need to keep references to an antique snapshot
parent a8c9a923
...@@ -1079,10 +1079,10 @@ FFMPEGCONF += --enable-pthreads ...@@ -1079,10 +1079,10 @@ FFMPEGCONF += --enable-pthreads
FFMPEG_CFLAGS += --std=gnu99 FFMPEG_CFLAGS += --std=gnu99
endif endif
PHONY += ffmpeg-svn ffmpeg-tar ifdef GIT
ffmpeg/.svn: ffmpeg:
$(SVN) co $(FFMPEG_SVN) ffmpeg $(GIT) clone $(FFMPEG_GIT)
ifdef HAVE_ISA_THUMB ifdef HAVE_ISA_THUMB
patch -p0 < Patches/ffmpeg-avcodec-no-thumb.patch patch -p0 < Patches/ffmpeg-avcodec-no-thumb.patch
endif endif
...@@ -1100,14 +1100,13 @@ endif ...@@ -1100,14 +1100,13 @@ endif
(cd ffmpeg; patch -p1 < ../Patches/libavformat-ape.c.patch ) (cd ffmpeg; patch -p1 < ../Patches/libavformat-ape.c.patch )
touch $@ touch $@
ffmpeg-$(FFMPEG_VERSION).tar.gz: else
echo "ffmpeg snapshot is too old, you MUST use subversion !"
exit -1
$(WGET) $(FFMPEG_URL)
ffmpeg/.untar: ffmpeg-$(FFMPEG_VERSION).tar.gz ffmpeg:
$(EXTRACT_GZ) echo "ffmpeg snapshot is too old, you MUST use git !"
touch $@ exit 1
endif
ifeq ($(ARCH),armel) ifeq ($(ARCH),armel)
HAVE_ARMELF=1 HAVE_ARMELF=1
...@@ -1124,26 +1123,19 @@ FFMPEG_DEPS-$(HAVE_WIN32) += .dshow_headers ...@@ -1124,26 +1123,19 @@ FFMPEG_DEPS-$(HAVE_WIN32) += .dshow_headers
FFMPEG_DEPS-$(HAVE_ANDROID) = FFMPEG_DEPS-$(HAVE_ANDROID) =
FFMPEG_DEPS-$(HAVE_SYMBIAN) = FFMPEG_DEPS-$(HAVE_SYMBIAN) =
ifdef SVN .ffmpeg: ffmpeg $(FFMPEG_DEPS-1)
FFMPEG_MK_TARGET = ffmpeg/.svn
else
FFMPEG_MK_TARGET = ffmpeg/.untar
endif
.ffmpeg: $(FFMPEG_MK_TARGET) $(FFMPEG_DEPS-1)
(cd ffmpeg; $(HOSTCC) ./configure --prefix=$(PREFIX) --extra-cflags="$(FFMPEG_CFLAGS) -DHAVE_STDINT_H" --extra-ldflags="$(LDFLAGS)" $(FFMPEGCONF) --disable-shared --enable-static && make && make install-libs install-headers) (cd ffmpeg; $(HOSTCC) ./configure --prefix=$(PREFIX) --extra-cflags="$(FFMPEG_CFLAGS) -DHAVE_STDINT_H" --extra-ldflags="$(LDFLAGS)" $(FFMPEGCONF) --disable-shared --enable-static && make && make install-libs install-headers)
touch $@ touch $@
ifdef SVN ifdef GIT
ffmpeg-source: ffmpeg ffmpeg-source: ffmpeg
tar cv --exclude=.svn ffmpeg | bzip2 > ffmpeg-$(DATE).tar.bz2 tar cv --exclude=.git ffmpeg | bzip2 > ffmpeg-$(DATE).tar.bz2
SOURCE += ffmpeg-source SOURCE += ffmpeg-source
endif endif
CLEAN_FILE += .ffmpeg CLEAN_FILE += .ffmpeg
CLEAN_PKG += ffmpeg CLEAN_PKG += ffmpeg
DISTCLEAN_PKG += ffmpeg-$(FFMPEG_VERSION).tar.gz
# *************************************************************************** # ***************************************************************************
# libdvdcss # libdvdcss
......
...@@ -92,10 +92,7 @@ LIBEBML_URL=http://dl.matroska.org/downloads/libebml/libebml-$(LIBEBML_VERSION). ...@@ -92,10 +92,7 @@ LIBEBML_URL=http://dl.matroska.org/downloads/libebml/libebml-$(LIBEBML_VERSION).
LIBMATROSKA_VERSION=1.2.0 LIBMATROSKA_VERSION=1.2.0
LIBMATROSKA_URL=http://dl.matroska.org/downloads/libmatroska/libmatroska-$(LIBMATROSKA_VERSION).tar.bz2 LIBMATROSKA_URL=http://dl.matroska.org/downloads/libmatroska/libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
#IBMATROSKA_URL=$(CONTRIB_VIDEOLAN)/libmatroska-$(LIBMATROSKA_VERSION).tar.bz2 #IBMATROSKA_URL=$(CONTRIB_VIDEOLAN)/libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
FFMPEG_VERSION=0.4.8 FFMPEG_GIT=git://git.videolan.org/ffmpeg.git
FFMPEG_URL=$(SF)/ffmpeg/ffmpeg-$(FFMPEG_VERSION).tar.gz
FFMPEG_SVN=svn://svn.ffmpeg.org/ffmpeg/trunk
FFMPEG_SVN_REV=26400
LIBDVDCSS_VERSION=1.2.10 LIBDVDCSS_VERSION=1.2.10
LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2 LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2
LIBDVDNAV_VERSION=4.1.1 LIBDVDNAV_VERSION=4.1.1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment