From 81d1f8bc102b23bdfa63a01f252f3e4c74ae7da9 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Thu, 7 Sep 2017 19:14:20 +0000 Subject: [PATCH] Don't require internet connection during build The following issues break offline builds: * Building the man page uses a web service hosted on heroku. * Makefile.ffmpeg explicitly does a "git clone" from the internet. Signed-off-by: Paul Barker Upstream-Status: Inappropriate --- Makefile | 6 ++---- Makefile.ffmpeg | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) Index: git/Makefile =================================================================== --- git.orig/Makefile +++ git/Makefile @@ -81,17 +81,14 @@ ffmpeg: make -f Makefile.ffmpeg make -f Makefile.ffmpeg install -dist: omxplayer.bin omxplayer.1 +dist: omxplayer.bin mkdir -p $(DIST)/usr/lib/omxplayer mkdir -p $(DIST)/usr/bin mkdir -p $(DIST)/usr/share/doc/omxplayer - mkdir -p $(DIST)/usr/share/man/man1 cp omxplayer omxplayer.bin $(DIST)/usr/bin cp COPYING $(DIST)/usr/share/doc/omxplayer cp README.md $(DIST)/usr/share/doc/omxplayer/README - cp omxplayer.1 $(DIST)/usr/share/man/man1 cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ - tar -czf omxplayer-dist.tar.gz $(DIST) install: cp -r $(DIST)/* / Index: git/Makefile.ffmpeg =================================================================== --- git.orig/Makefile.ffmpeg +++ git/Makefile.ffmpeg @@ -5,7 +5,7 @@ FFMPEG_EXTRA_CFLAGS?=-mfpu=vfp -mfloat-a WORK=$(PWD) .PHONY : all -all: checkout configure compile +all: configure compile .PHONY : copy copy: