blob: 0dd8c62f263b3c1dc0fc636c77aa9f2dc385e1e2 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 81d1f8bc102b23bdfa63a01f252f3e4c74ae7da9 Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Paul Barker <pbarker@toganlabs.com>
3Date: Thu, 7 Sep 2017 19:14:20 +0000
4Subject: [PATCH] Don't require internet connection during build
5
6The 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
12Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Patrick Williams864cc432023-02-09 14:54:44 -060013Upstream-Status: Inappropriate
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015---
16 Makefile | 6 ++----
17 Makefile.ffmpeg | 2 +-
18 2 files changed, 3 insertions(+), 5 deletions(-)
19
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020Index: git/Makefile
21===================================================================
22--- git.orig/Makefile
23+++ git/Makefile
24@@ -81,17 +81,14 @@ ffmpeg:
Brad Bishopd7bf8c12018-02-25 22:55:05 -050025 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 Bishop1a4b7ee2018-12-16 17:11:34 -080040
41 install:
42 cp -r $(DIST)/* /
43Index: 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 Bishopd7bf8c12018-02-25 22:55:05 -050048 WORK=$(PWD)
49
50 .PHONY : all
51-all: checkout configure compile
52+all: configure compile
53
54 .PHONY : copy
55 copy: