Skip to content

Commit

Permalink
[ffmpeg] fix BASE_URL for make-mingwlibs.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Jul 17, 2017
1 parent bfeb2e9 commit 1d2a302
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmake/modules/FindFFMPEG.cmake
Expand Up @@ -224,7 +224,7 @@ if(NOT FFMPEG_FOUND)
if(FFMPEG_URL)
get_filename_component(FFMPEG_URL "${FFMPEG_URL}" ABSOLUTE)
else()
set(FFMPEG_URL ${FFMPEG_BASE_URL}/${FFMPEG_VER}.tar.gz)
set(FFMPEG_URL ${FFMPEG_BASE_URL}/archive/${FFMPEG_VER}.tar.gz)
endif()
if(VERBOSE)
message(STATUS "FFMPEG_URL: ${FFMPEG_URL}")
Expand Down
2 changes: 1 addition & 1 deletion tools/buildsteps/windows/buildhelpers.sh
Expand Up @@ -140,8 +140,8 @@ do_loaddeps() {
ARCHIVE=$LIBNAME-$(echo "${VERSION}" | sed 's/\//-/g').tar.gz
else
ARCHIVE=$LIBNAME-$GITREV.tar.gz
BASE_URL=$BASE_URL/archive
fi
BASE_URL=$BASE_URL/archive
}

do_clean_get() {
Expand Down
2 changes: 1 addition & 1 deletion tools/depends/target/ffmpeg/FFMPEG-VERSION
@@ -1,5 +1,5 @@
LIBNAME=ffmpeg
BASE_URL=https://github.com/xbmc/FFmpeg/archive
BASE_URL=https://github.com/xbmc/FFmpeg
VERSION=3.3.2-Leia-Alpha-1
ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz
GNUTLS_VER=3.4.14
2 changes: 1 addition & 1 deletion tools/depends/target/ffmpeg/Makefile
Expand Up @@ -75,7 +75,7 @@ CLEAN_FILES=$(ARCHIVE) $(PLATFORM)
all: .installed-$(PLATFORM)

$(TARBALLS_LOCATION)/$(ARCHIVE):
cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) -Ls --create-dirs -f -o $(TARBALLS_LOCATION)/$(ARCHIVE) $(BASE_URL)/$(VERSION).tar.gz
cd $(TARBALLS_LOCATION); $(RETRIEVE_TOOL) -Ls --create-dirs -f -o $(TARBALLS_LOCATION)/$(ARCHIVE) $(BASE_URL)/archive/$(VERSION).tar.gz

$(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
rm -rf $(PLATFORM); mkdir -p $(PLATFORM)
Expand Down
4 changes: 2 additions & 2 deletions tools/depends/target/ffmpeg/autobuild.sh
Expand Up @@ -116,8 +116,8 @@ then
fi

[ -f ${ARCHIVE} ] ||
curl -Ls --create-dirs -f -o ${ARCHIVE} ${BASE_URL}/${VERSION}.tar.gz ||
{ echo "error fetching ${BASE_URL}/${VERSION}.tar.gz" ; exit 3; }
curl -Ls --create-dirs -f -o ${ARCHIVE} ${BASE_URL}/archive/${VERSION}.tar.gz ||
{ echo "error fetching ${BASE_URL}/archive/${VERSION}.tar.gz" ; exit 3; }
[ $downloadonly ] && exit 0

[ -d ffmpeg-${VERSION} ] && rm -rf ffmpeg-${VERSION} && rm .ffmpeg-installed >/dev/null 2>&1
Expand Down

0 comments on commit 1d2a302

Please sign in to comment.