mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
projects/RPi/patches/kodi: update RPi support patches
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7cb6abee5d
commit
475b778d77
@ -40,26 +40,6 @@ By replacing with an O(N) loop, this takes virtually zero time
|
||||
2 files changed, 49 insertions(+), 1 deletion(-)
|
||||
create mode 100644 tools/depends/target/ffmpeg/ffmpeg_Speed_up_wtv_index_creation.patch
|
||||
|
||||
diff --git a/tools/depends/target/ffmpeg/Makefile b/tools/depends/target/ffmpeg/Makefile
|
||||
index 711182f..6e8364a 100644
|
||||
--- a/tools/depends/target/ffmpeg/Makefile
|
||||
+++ b/tools/depends/target/ffmpeg/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
include ../../Makefile.include
|
||||
include FFMPEG-VERSION
|
||||
-DEPS= ../../Makefile.include FFMPEG-VERSION Makefile
|
||||
+DEPS= ../../Makefile.include FFMPEG-VERSION Makefile ffmpeg_Speed_up_wtv_index_creation.patch
|
||||
|
||||
# set to "yes" to enable patching
|
||||
# we don't apply patches until we move to a vanilla ffmpeg tarball
|
||||
@@ -68,6 +68,7 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
|
||||
rm -rf $(PLATFORM); mkdir -p $(PLATFORM)
|
||||
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
|
||||
cd $(PLATFORM); sed -i".bak" -e "s%pkg_config_default=pkg-config%export PKG_CONFIG_LIBDIR=$(PREFIX)/lib/pkgconfig \&\& pkg_config_default=$(NATIVEPREFIX)/bin/pkg-config%" configure
|
||||
+ cd $(PLATFORM); patch -p3 < ../ffmpeg_Speed_up_wtv_index_creation.patch
|
||||
cd $(PLATFORM);\
|
||||
CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
|
||||
./configure $(ffmpg_config)
|
||||
diff --git a/tools/depends/target/ffmpeg/ffmpeg_Speed_up_wtv_index_creation.patch b/tools/depends/target/ffmpeg/ffmpeg_Speed_up_wtv_index_creation.patch
|
||||
new file mode 100644
|
||||
index 0000000..4ac5636
|
||||
|
@ -40,26 +40,6 @@ By replacing with an O(N) loop, this takes virtually zero time
|
||||
2 files changed, 49 insertions(+), 1 deletion(-)
|
||||
create mode 100644 tools/depends/target/ffmpeg/ffmpeg_Speed_up_wtv_index_creation.patch
|
||||
|
||||
diff --git a/tools/depends/target/ffmpeg/Makefile b/tools/depends/target/ffmpeg/Makefile
|
||||
index 711182f..6e8364a 100644
|
||||
--- a/tools/depends/target/ffmpeg/Makefile
|
||||
+++ b/tools/depends/target/ffmpeg/Makefile
|
||||
@@ -1,6 +1,6 @@
|
||||
include ../../Makefile.include
|
||||
include FFMPEG-VERSION
|
||||
-DEPS= ../../Makefile.include FFMPEG-VERSION Makefile
|
||||
+DEPS= ../../Makefile.include FFMPEG-VERSION Makefile ffmpeg_Speed_up_wtv_index_creation.patch
|
||||
|
||||
# set to "yes" to enable patching
|
||||
# we don't apply patches until we move to a vanilla ffmpeg tarball
|
||||
@@ -68,6 +68,7 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
|
||||
rm -rf $(PLATFORM); mkdir -p $(PLATFORM)
|
||||
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE)
|
||||
cd $(PLATFORM); sed -i".bak" -e "s%pkg_config_default=pkg-config%export PKG_CONFIG_LIBDIR=$(PREFIX)/lib/pkgconfig \&\& pkg_config_default=$(NATIVEPREFIX)/bin/pkg-config%" configure
|
||||
+ cd $(PLATFORM); patch -p3 < ../ffmpeg_Speed_up_wtv_index_creation.patch
|
||||
cd $(PLATFORM);\
|
||||
CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
|
||||
./configure $(ffmpg_config)
|
||||
diff --git a/tools/depends/target/ffmpeg/ffmpeg_Speed_up_wtv_index_creation.patch b/tools/depends/target/ffmpeg/ffmpeg_Speed_up_wtv_index_creation.patch
|
||||
new file mode 100644
|
||||
index 0000000..4ac5636
|
||||
|
Loading…
x
Reference in New Issue
Block a user