diff options
author | Hugo Hromic <hhromic@gmail.com> | 2018-06-21 15:25:03 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2018-06-27 13:33:02 +0100 |
commit | 2b3526563e909f3096b37d32c8df63be0f06c444 (patch) | |
tree | 7f747b0cd0012d1bdc6e80b966bb38b45226933d /recipes-multimedia/omxplayer | |
parent | f8da9113fa785aa19a1ba3afc38584478ddfef91 (diff) | |
download | meta-raspberrypi-2b3526563e909f3096b37d32c8df63be0f06c444.tar.gz |
omxplayer: refresh and clean-up patches
fixes:
WARNING: omxplayer-git-r4 do_patch:
Applying patch 0003-Remove-strip-step-in-Makefile.patch
patching file Makefile.ffmpeg
Hunk #1 succeeded at 241 with fuzz 2 (offset -2 lines).
Hunk #2 succeeded at 255 (offset -2 lines).
Applying patch fix-tar-command-with-DIST.patch
patching file Makefile
Hunk #1 succeeded at 89 with fuzz 2 (offset 18 lines).
Applying patch use-native-pkg-config.patch
patching file Makefile.ffmpeg
Hunk #1 succeeded at 245 with fuzz 1.
Signed-off-by: Hugo Hromic <hhromic@gmail.com>
Diffstat (limited to 'recipes-multimedia/omxplayer')
8 files changed, 69 insertions, 48 deletions
diff --git a/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch b/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch index 151c33c..0c8843e 100644 --- a/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch +++ b/recipes-multimedia/omxplayer/omxplayer/0001-Remove-Makefile.include-which-includes-hardcoded.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a2a28fb7c4e8354cc0f90454e9bd151c16a6bf8b Mon Sep 17 00:00:00 2001 | 1 | From 19c9bc5fd8f43d3e9117906c3c48a3891357f8bc Mon Sep 17 00:00:00 2001 |
2 | From: Andrei Gherzan <andrei@gherzan.ro> | 2 | From: Andrei Gherzan <andrei@gherzan.ro> |
3 | Date: Tue, 20 Aug 2013 16:10:51 +0300 | 3 | Date: Tue, 20 Aug 2013 16:10:51 +0300 |
4 | Subject: [PATCH] Remove Makefile.include which includes hardcoded | 4 | Subject: [PATCH] Remove Makefile.include which includes hardcoded |
@@ -11,8 +11,15 @@ Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | |||
11 | 11 | ||
12 | Updated patch to apply to c0dd9502ed2c43c487674939195c69680f3d98b0 revision | 12 | Updated patch to apply to c0dd9502ed2c43c487674939195c69680f3d98b0 revision |
13 | 13 | ||
14 | --- | ||
15 | Makefile | 1 - | ||
16 | Makefile.ffmpeg | 1 - | ||
17 | Makefile.include | 40 ---------------------------------------- | ||
18 | 3 files changed, 42 deletions(-) | ||
19 | delete mode 100644 Makefile.include | ||
20 | |||
14 | diff --git a/Makefile b/Makefile | 21 | diff --git a/Makefile b/Makefile |
15 | index f348465..65f7637 100644 | 22 | index 2857e94..76ee9bf 100644 |
16 | --- a/Makefile | 23 | --- a/Makefile |
17 | +++ b/Makefile | 24 | +++ b/Makefile |
18 | @@ -1,4 +1,3 @@ | 25 | @@ -1,4 +1,3 @@ |
@@ -21,7 +28,7 @@ index f348465..65f7637 100644 | |||
21 | CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST | 28 | CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST |
22 | 29 | ||
23 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg | 30 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg |
24 | index 083e214..3b31a82 100644 | 31 | index ea12aad..749f47f 100644 |
25 | --- a/Makefile.ffmpeg | 32 | --- a/Makefile.ffmpeg |
26 | +++ b/Makefile.ffmpeg | 33 | +++ b/Makefile.ffmpeg |
27 | @@ -1,4 +1,3 @@ | 34 | @@ -1,4 +1,3 @@ |
diff --git a/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch b/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch index 203f34b..22d83b3 100644 --- a/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch +++ b/recipes-multimedia/omxplayer/omxplayer/0002-Libraries-and-headers-from-ffmpeg-are-installed-in-u.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1e92da659375eae1622984d4cc0ffd2a7b082fcf Mon Sep 17 00:00:00 2001 | 1 | From e46208c4a3e35da461e0e8f662970339eae47fca Mon Sep 17 00:00:00 2001 |
2 | From: Andrei Gherzan <andrei@gherzan.ro> | 2 | From: Andrei Gherzan <andrei@gherzan.ro> |
3 | Date: Sun, 24 Aug 2014 00:13:13 +0200 | 3 | Date: Sun, 24 Aug 2014 00:13:13 +0200 |
4 | Subject: [PATCH] Libraries and headers from ffmpeg are installed in /usr. | 4 | Subject: [PATCH] Libraries and headers from ffmpeg are installed in /usr. |
@@ -9,15 +9,16 @@ Upstream-Status: Inappropriate [embedded specific] | |||
9 | 9 | ||
10 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 10 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
11 | Signed-off-by: Jonathan Liu <net147@gmail.com> | 11 | Signed-off-by: Jonathan Liu <net147@gmail.com> |
12 | |||
12 | --- | 13 | --- |
13 | Makefile | 6 +++--- | 14 | Makefile | 6 +++--- |
14 | Makefile.ffmpeg | 2 +- | 15 | Makefile.ffmpeg | 2 +- |
15 | 2 files changed, 4 insertions(+), 4 deletions(-) | 16 | 2 files changed, 4 insertions(+), 4 deletions(-) |
16 | 17 | ||
17 | Index: git/Makefile | 18 | diff --git a/Makefile b/Makefile |
18 | =================================================================== | 19 | index 76ee9bf..cb59249 100644 |
19 | --- git.orig/Makefile | 20 | --- a/Makefile |
20 | +++ git/Makefile | 21 | +++ b/Makefile |
21 | @@ -1,9 +1,9 @@ | 22 | @@ -1,9 +1,9 @@ |
22 | 23 | ||
23 | CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST | 24 | CFLAGS+=-std=c++0x -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CMAKE_CONFIG -D__VIDEOCORE4__ -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_OPT_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DHAVE_LIBSWRESAMPLE_SWRESAMPLE_H -DOMX -DOMX_SKIP64BIT -ftree-vectorize -DUSE_EXTERNAL_OMX -DTARGET_RASPBERRY_PI -DUSE_EXTERNAL_LIBBCM_HOST |
@@ -37,10 +38,10 @@ Index: git/Makefile | |||
37 | - cp -P ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/ | 38 | - cp -P ffmpeg_compiled/usr/local/lib/*.so* $(DIST)/usr/lib/omxplayer/ |
38 | + cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ | 39 | + cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ |
39 | cd $(DIST); tar -czf ../$(DIST).tgz * | 40 | cd $(DIST); tar -czf ../$(DIST).tgz * |
40 | Index: git/Makefile.ffmpeg | 41 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg |
41 | =================================================================== | 42 | index 749f47f..d712f6c 100644 |
42 | --- git.orig/Makefile.ffmpeg | 43 | --- a/Makefile.ffmpeg |
43 | +++ git/Makefile.ffmpeg | 44 | +++ b/Makefile.ffmpeg |
44 | @@ -254,5 +254,5 @@ checkout: | 45 | @@ -254,5 +254,5 @@ checkout: |
45 | .PHONY : install | 46 | .PHONY : install |
46 | install: | 47 | install: |
diff --git a/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch b/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch index 7f31330..2f29066 100644 --- a/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch +++ b/recipes-multimedia/omxplayer/omxplayer/0003-Remove-strip-step-in-Makefile.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From b738724c6ca45ee5fecebed01c7ac91c92446123 Mon Sep 17 00:00:00 2001 | 1 | From 6975d8a902837dd6c604f7fdd2a2f977285855ed Mon Sep 17 00:00:00 2001 |
2 | From: Andrei Gherzan <andrei@gherzan.ro> | 2 | From: Andrei Gherzan <andrei@gherzan.ro> |
3 | Date: Sun, 24 Aug 2014 00:18:05 +0200 | 3 | Date: Sun, 24 Aug 2014 00:18:05 +0200 |
4 | Subject: [PATCH] Remove strip step in Makefile | 4 | Subject: [PATCH] Remove strip step in Makefile |
@@ -10,17 +10,18 @@ omxplayer was already stripped, this will prevent future debugging! | |||
10 | 10 | ||
11 | Upstream-Status: Inappropriate [embedded specific] | 11 | Upstream-Status: Inappropriate [embedded specific] |
12 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 12 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
13 | |||
13 | --- | 14 | --- |
14 | Makefile.ffmpeg | 5 ++--- | 15 | Makefile.ffmpeg | 5 ++--- |
15 | 1 file changed, 2 insertions(+), 3 deletions(-) | 16 | 1 files changed, 2 insertions(+), 3 deletions(-) |
16 | 17 | ||
17 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg | 18 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg |
18 | index 9d66a85..00df197 100644 | 19 | index d712f6c..0dbe87c 100644 |
19 | --- a/Makefile.ffmpeg | 20 | --- a/Makefile.ffmpeg |
20 | +++ b/Makefile.ffmpeg | 21 | +++ b/Makefile.ffmpeg |
21 | @@ -243,7 +243,8 @@ configure: | 22 | @@ -241,7 +241,8 @@ configure: |
22 | --disable-decoder=xbin \ | ||
23 | --disable-decoder=idf \ | 23 | --disable-decoder=idf \ |
24 | --disable-decoder=hevc \ | ||
24 | --enable-decoder=opus \ | 25 | --enable-decoder=opus \ |
25 | - --cross-prefix=$(HOST)- | 26 | - --cross-prefix=$(HOST)- |
26 | + --cross-prefix=$(HOST)- \ | 27 | + --cross-prefix=$(HOST)- \ |
@@ -28,12 +29,9 @@ index 9d66a85..00df197 100644 | |||
28 | 29 | ||
29 | .PHONY : clean | 30 | .PHONY : clean |
30 | clean: | 31 | clean: |
31 | @@ -256,5 +257,3 @@ checkout: | 32 | @@ -254,5 +255,3 @@ checkout: |
32 | .PHONY : install | 33 | .PHONY : install |
33 | install: | 34 | install: |
34 | cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install | 35 | cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install |
35 | - $(HOST)-strip ffmpeg_compiled/usr/lib/*.so | 36 | - $(HOST)-strip ffmpeg_compiled/usr/lib/*.so |
36 | - | 37 | - |
37 | -- | ||
38 | 1.9.3 | ||
39 | |||
diff --git a/recipes-multimedia/omxplayer/omxplayer/0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch b/recipes-multimedia/omxplayer/omxplayer/0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch index ea8530d..338b560 100644 --- a/recipes-multimedia/omxplayer/omxplayer/0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch +++ b/recipes-multimedia/omxplayer/omxplayer/0004-Add-FFMPEG_EXTRA_CFLAGS-and-FFMPEG_EXTRA_LDFLAGS.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 100982ee1fc1cb571c7453d14f9acd60e67d4765 Mon Sep 17 00:00:00 2001 | 1 | From be007b01e7d91f5f83518c0388c16db8dab31d2e Mon Sep 17 00:00:00 2001 |
2 | From: Andrei Gherzan <andrei.gherzan@windriver.com> | 2 | From: Andrei Gherzan <andrei.gherzan@windriver.com> |
3 | Date: Sun, 25 Jan 2015 11:13:51 +0200 | 3 | Date: Sun, 25 Jan 2015 11:13:51 +0200 |
4 | Subject: [PATCH] Add FFMPEG_EXTRA_CFLAGS and FFMPEG_EXTRA_LDFLAGS | 4 | Subject: [PATCH] Add FFMPEG_EXTRA_CFLAGS and FFMPEG_EXTRA_LDFLAGS |
@@ -8,14 +8,15 @@ In this way we can inject flags to LD and CC using | |||
8 | 8 | ||
9 | Upstream-Status: Inappropriate [embedded specific] | 9 | Upstream-Status: Inappropriate [embedded specific] |
10 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 10 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
11 | |||
11 | --- | 12 | --- |
12 | Makefile.ffmpeg | 3 ++- | 13 | Makefile.ffmpeg | 5 ++++- |
13 | 1 file changed, 2 insertions(+), 1 deletion(-) | 14 | 1 file changed, 4 insertions(+), 1 deletion(-) |
14 | 15 | ||
15 | Index: git/Makefile.ffmpeg | 16 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg |
16 | =================================================================== | 17 | index 0dbe87c..e120d47 100644 |
17 | --- git.orig/Makefile.ffmpeg | 18 | --- a/Makefile.ffmpeg |
18 | +++ git/Makefile.ffmpeg | 19 | +++ b/Makefile.ffmpeg |
19 | @@ -1,6 +1,8 @@ | 20 | @@ -1,6 +1,8 @@ |
20 | 21 | ||
21 | CFLAGS=-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_HAVE_SBRK -D_LARGEFILE64_SOURCE -DHAVE_CMAKE_CONFIG -DHAVE_VMCS_CONFIG -D_REENTRANT -DUSE_VCHIQ_ARM -DVCHI_BULK_ALIGN=1 -DVCHI_BULK_GRANULARITY=1 -DEGL_SERVER_DISPMANX -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__VIDEOCORE4__ -DGRAPHICS_X_VG=1 -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT | 22 | CFLAGS=-D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -DTARGET_LINUX -fPIC -DPIC -D_REENTRANT -D_HAVE_SBRK -D_LARGEFILE64_SOURCE -DHAVE_CMAKE_CONFIG -DHAVE_VMCS_CONFIG -D_REENTRANT -DUSE_VCHIQ_ARM -DVCHI_BULK_ALIGN=1 -DVCHI_BULK_GRANULARITY=1 -DEGL_SERVER_DISPMANX -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__VIDEOCORE4__ -DGRAPHICS_X_VG=1 -U_FORTIFY_SOURCE -Wall -DHAVE_OMXLIB -DUSE_EXTERNAL_FFMPEG -DHAVE_LIBAVCODEC_AVCODEC_H -DHAVE_LIBAVUTIL_MEM_H -DHAVE_LIBAVUTIL_AVUTIL_H -DHAVE_LIBAVFORMAT_AVFORMAT_H -DHAVE_LIBAVFILTER_AVFILTER_H -DOMX -DOMX_SKIP64BIT |
diff --git a/recipes-multimedia/omxplayer/omxplayer/0005-Don-t-require-internet-connection-during-build.patch b/recipes-multimedia/omxplayer/omxplayer/0005-Don-t-require-internet-connection-during-build.patch index 4f56ad2..14f9efe 100644 --- a/recipes-multimedia/omxplayer/omxplayer/0005-Don-t-require-internet-connection-during-build.patch +++ b/recipes-multimedia/omxplayer/omxplayer/0005-Don-t-require-internet-connection-during-build.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 97cb9405f281f54d4083f3126d441c8b44eafb89 Mon Sep 17 00:00:00 2001 | 1 | From 81d1f8bc102b23bdfa63a01f252f3e4c74ae7da9 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Barker <pbarker@toganlabs.com> | 2 | From: Paul Barker <pbarker@toganlabs.com> |
3 | Date: Thu, 7 Sep 2017 19:14:20 +0000 | 3 | Date: Thu, 7 Sep 2017 19:14:20 +0000 |
4 | Subject: [PATCH] Don't require internet connection during build | 4 | Subject: [PATCH] Don't require internet connection during build |
@@ -11,6 +11,7 @@ The following issues break offline builds: | |||
11 | 11 | ||
12 | Signed-off-by: Paul Barker <pbarker@toganlabs.com> | 12 | Signed-off-by: Paul Barker <pbarker@toganlabs.com> |
13 | Upstream-status: Inappropriate | 13 | Upstream-status: Inappropriate |
14 | |||
14 | --- | 15 | --- |
15 | Makefile | 6 ++---- | 16 | Makefile | 6 ++---- |
16 | Makefile.ffmpeg | 2 +- | 17 | Makefile.ffmpeg | 2 +- |
@@ -51,6 +52,3 @@ index 22d495c..8651724 100644 | |||
51 | 52 | ||
52 | .PHONY : copy | 53 | .PHONY : copy |
53 | copy: | 54 | copy: |
54 | -- | ||
55 | 2.7.4 | ||
56 | |||
diff --git a/recipes-multimedia/omxplayer/omxplayer/0006-Prevent-ffmpeg-configure-compile-race-condition.patch b/recipes-multimedia/omxplayer/omxplayer/0006-Prevent-ffmpeg-configure-compile-race-condition.patch index 3fac2d1..9413f92 100644 --- a/recipes-multimedia/omxplayer/omxplayer/0006-Prevent-ffmpeg-configure-compile-race-condition.patch +++ b/recipes-multimedia/omxplayer/omxplayer/0006-Prevent-ffmpeg-configure-compile-race-condition.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4a13419e3805b541fc58e57f1f27c4a388609ef5 Mon Sep 17 00:00:00 2001 | 1 | From f570b9985ff2d57d21c1e64ed08c43b6d89fd0b1 Mon Sep 17 00:00:00 2001 |
2 | From: Paul Barker <pbarker@toganlabs.com> | 2 | From: Paul Barker <pbarker@toganlabs.com> |
3 | Date: Thu, 7 Sep 2017 20:02:15 +0000 | 3 | Date: Thu, 7 Sep 2017 20:02:15 +0000 |
4 | Subject: [PATCH] Prevent ffmpeg configure/compile race condition | 4 | Subject: [PATCH] Prevent ffmpeg configure/compile race condition |
@@ -8,6 +8,7 @@ the configure stage is finished before the compile stage starts. | |||
8 | 8 | ||
9 | Signed-off-by: Paul Barker <pbarker@toganlabs.com> | 9 | Signed-off-by: Paul Barker <pbarker@toganlabs.com> |
10 | Upstream-status: Pending | 10 | Upstream-status: Pending |
11 | |||
11 | --- | 12 | --- |
12 | Makefile.ffmpeg | 4 ++-- | 13 | Makefile.ffmpeg | 4 ++-- |
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | 14 | 1 file changed, 2 insertions(+), 2 deletions(-) |
@@ -34,6 +35,3 @@ index 8651724..619c49a 100644 | |||
34 | +$(MAKE) -C ffmpeg | 35 | +$(MAKE) -C ffmpeg |
35 | 36 | ||
36 | .PHONY : configure | 37 | .PHONY : configure |
37 | -- | ||
38 | 2.7.4 | ||
39 | |||
diff --git a/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch b/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch index ab40e40..2e9168d 100644 --- a/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch +++ b/recipes-multimedia/omxplayer/omxplayer/fix-tar-command-with-DIST.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From 23a97efde2aef171312000f7859ef4c573ce2ada Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrei Gherzan <andrei@gherzan.ro> | ||
3 | Date: Sun, 19 Jan 2014 20:35:29 +0200 | ||
4 | Subject: [PATCH] omxplayer: Update to remote HEAD | ||
5 | |||
1 | Revert the tar command change introduced in: | 6 | Revert the tar command change introduced in: |
2 | https://github.com/popcornmix/omxplayer/commit/201c77973155861e60492e45d35467b19b69c1c4 | 7 | https://github.com/popcornmix/omxplayer/commit/201c77973155861e60492e45d35467b19b69c1c4 |
3 | 8 | ||
@@ -8,13 +13,17 @@ Upstream-Status: Pending | |||
8 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 13 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
9 | Signed-off-by: Jonathan Liu <net147@gmail.com> | 14 | Signed-off-by: Jonathan Liu <net147@gmail.com> |
10 | 15 | ||
11 | Index: git/Makefile | 16 | --- |
12 | =================================================================== | 17 | Makefile | 2 +- |
13 | --- git.orig/Makefile | 18 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | +++ git/Makefile | 19 | |
15 | @@ -71,4 +71,4 @@ dist: omxplayer.bin | 20 | diff --git a/Makefile b/Makefile |
16 | cp COPYING $(DIST)/usr/share/doc/ | 21 | index cb59249..60501b1 100644 |
17 | cp README.md $(DIST)/usr/share/doc/README | 22 | --- a/Makefile |
23 | +++ b/Makefile | ||
24 | @@ -89,4 +89,4 @@ dist: omxplayer.bin omxplayer.1 | ||
25 | cp README.md $(DIST)/usr/share/doc/omxplayer/README | ||
26 | cp omxplayer.1 $(DIST)/usr/share/man/man1 | ||
18 | cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ | 27 | cp -P ffmpeg_compiled/usr/lib/*.so* $(DIST)/usr/lib/omxplayer/ |
19 | - cd $(DIST); tar -czf ../$(DIST).tgz * | 28 | - cd $(DIST); tar -czf ../$(DIST).tgz * |
20 | + tar -czf omxplayer-dist.tar.gz $(DIST) | 29 | + tar -czf omxplayer-dist.tar.gz $(DIST) |
diff --git a/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch b/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch index ed81999..4d599c7 100644 --- a/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch +++ b/recipes-multimedia/omxplayer/omxplayer/use-native-pkg-config.patch | |||
@@ -1,14 +1,23 @@ | |||
1 | From da6c24a2a87b8cf9692017e32be25d30c0cc7ef4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrei Gherzan <andrei@gherzan.ro> | ||
3 | Date: Tue, 10 Feb 2015 00:52:18 +0100 | ||
4 | Subject: [PATCH] omxplayer: Bump SRCREV | ||
5 | |||
1 | Force the pkg-config native tool. Strangely ffmpeg prepends cross_prefix | 6 | Force the pkg-config native tool. Strangely ffmpeg prepends cross_prefix |
2 | to the default value which obviously is wrong. | 7 | to the default value which obviously is wrong. |
3 | 8 | ||
4 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> | 9 | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> |
5 | 10 | ||
6 | Index: git/Makefile.ffmpeg | 11 | --- |
7 | =================================================================== | 12 | Makefile.ffmpeg | 3 ++- |
8 | --- git.orig/Makefile.ffmpeg | 13 | 1 file changed, 2 insertions(+), 1 deletion(-) |
9 | +++ git/Makefile.ffmpeg | 14 | |
15 | diff --git a/Makefile.ffmpeg b/Makefile.ffmpeg | ||
16 | index e120d47..22d495c 100644 | ||
17 | --- a/Makefile.ffmpeg | ||
18 | +++ b/Makefile.ffmpeg | ||
10 | @@ -245,7 +245,8 @@ configure: | 19 | @@ -245,7 +245,8 @@ configure: |
11 | --disable-decoder=idf \ | 20 | --disable-decoder=hevc \ |
12 | --enable-decoder=opus \ | 21 | --enable-decoder=opus \ |
13 | --cross-prefix=$(HOST)- \ | 22 | --cross-prefix=$(HOST)- \ |
14 | - --disable-stripping | 23 | - --disable-stripping |