[SCM] ffmpeg/master: Apply the same optimization for libavformat extra flavor

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Wed Sep 28 19:07:42 UTC 2016


The following commit has been merged in the master branch:
commit c05c9e0e58930920e718094b1dd629fd174ed7ab
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Wed Sep 28 21:07:24 2016 +0200

    Apply the same optimization for libavformat extra flavor

diff --git a/debian/rules b/debian/rules
index 064d47a..4de3971 100755
--- a/debian/rules
+++ b/debian/rules
@@ -202,11 +202,12 @@ override_dh_auto_build-arch:
 		echo " *** $$flavor ***"; \
 		if echo "$$flavor" | grep -q "extra"; then \
 			subdir=`[ "$$flavor" = "extra" ] && echo "debian/standard/" || echo "debian/altivec/"`; \
-			for dir in `cd ./$$subdir; find libavcodec libavutil libswresample -type d`; do \
+			for dir in `cd ./$$subdir; find libavcodec libavformat libavutil libswresample -type d`; do \
 				mkdir -p debian/"$$flavor"/"$$dir"; \
 				echo "$$subdir$$dir"/*.o | grep -q '*' || cp "$$subdir$$dir"/*.o debian/"$$flavor"/"$$dir"; \
 			done; \
 			rm debian/"$$flavor"/libavcodec/allcodecs.o; \
+			rm debian/"$$flavor"/libavformat/allformats.o; \
 		fi; \
 		if [ "$$flavor" = "standard" ]; then \
 			$(MAKE) -C debian/standard tools/qt-faststart; \

-- 
ffmpeg packaging



More information about the pkg-multimedia-commits mailing list