Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | From 81d1f8bc102b23bdfa63a01f252f3e4c74ae7da9 Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | From: Paul Barker <pbarker@toganlabs.com> |
| 3 | Date: Thu, 7 Sep 2017 19:14:20 +0000 |
| 4 | Subject: [PATCH] Don't require internet connection during build |
| 5 | |
| 6 | The following issues break offline builds: |
| 7 | |
| 8 | * Building the man page uses a web service hosted on heroku. |
| 9 | |
| 10 | * Makefile.ffmpeg explicitly does a "git clone" from the internet. |
| 11 | |
| 12 | Signed-off-by: Paul Barker <pbarker@toganlabs.com> |
Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame^] | 13 | Upstream-Status: Inappropriate |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 14 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 15 | --- |
| 16 | Makefile | 6 ++---- |
| 17 | Makefile.ffmpeg | 2 +- |
| 18 | 2 files changed, 3 insertions(+), 5 deletions(-) |
| 19 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | Index: git/Makefile |
| 21 | =================================================================== |
| 22 | --- git.orig/Makefile |
| 23 | +++ git/Makefile |
| 24 | @@ -81,17 +81,14 @@ ffmpeg: |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 25 | make -f Makefile.ffmpeg |
| 26 | make -f Makefile.ffmpeg install |
| 27 | |
| 28 | -dist: omxplayer.bin omxplayer.1 |
| 29 | +dist: omxplayer.bin |
| 30 | mkdir -p $(DIST)/usr/lib/omxplayer |
| 31 | mkdir -p $(DIST)/usr/bin |
| 32 | mkdir -p $(DIST)/usr/share/doc/omxplayer |
| 33 | - mkdir -p $(DIST)/usr/share/man/man1 |
| 34 | cp omxplayer omxplayer.bin $(DIST)/usr/bin |
| 35 | cp COPYING $(DIST)/usr/share/doc/omxplayer |
| 36 | cp README.md $(DIST)/usr/share/doc/omxplayer/README |
| 37 | - cp omxplayer.1 $(DIST)/usr/share/man/man1 |
| 38 | cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ |
| 39 | - tar -czf omxplayer-dist.tar.gz $(DIST) |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 40 | |
| 41 | install: |
| 42 | cp -r $(DIST)/* / |
| 43 | Index: git/Makefile.ffmpeg |
| 44 | =================================================================== |
| 45 | --- git.orig/Makefile.ffmpeg |
| 46 | +++ git/Makefile.ffmpeg |
| 47 | @@ -5,7 +5,7 @@ FFMPEG_EXTRA_CFLAGS?=-mfpu=vfp -mfloat-a |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 48 | WORK=$(PWD) |
| 49 | |
| 50 | .PHONY : all |
| 51 | -all: checkout configure compile |
| 52 | +all: configure compile |
| 53 | |
| 54 | .PHONY : copy |
| 55 | copy: |