[vlc-commits] contrib: x265: fix unpacking error handling
Rémi Denis-Courmont
git at videolan.org
Tue Feb 21 18:41:25 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 21 19:24:06 2017 +0200| [8c03673d117da53f4f7a09233ceadf42a6ee44af] | committer: Rémi Denis-Courmont
contrib: x265: fix unpacking error handling
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8c03673d117da53f4f7a09233ceadf42a6ee44af
---
contrib/src/x264/rules.mak | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)
diff --git a/contrib/src/x264/rules.mak b/contrib/src/x264/rules.mak
index c5a89f3..63de162 100644
--- a/contrib/src/x264/rules.mak
+++ b/contrib/src/x264/rules.mak
@@ -69,24 +69,17 @@ $(TARBALLS)/x264-git.tar.bz2:
$(warning $@ not implemented)
touch $@
-x264: x264-git.tar.bz2 .sum-x264
- rm -Rf $@-git
- mkdir -p $@-git
- $(BZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
- $(UPDATE_AUTOCONFIG)
- $(MOVE)
-
-x26410b: x26410b-git.tar.bz2 .sum-x26410b
- rm -Rf $@-git
- mkdir -p $@-git
- $(BZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
+x264 x26410b: %: %-git.tar.bz2 .sum-%
+ rm -Rf $*-git
+ mkdir -p $*-git
+ tar xvjf "$<" --strip-components=1 -C $*-git
$(UPDATE_AUTOCONFIG)
$(MOVE)
x262: x262-git.tar.gz .sum-x262
rm -Rf $@-git
mkdir -p $@-git
- $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
+ tar xvzf "$<" --strip-components=1 -C $@-git
$(UPDATE_AUTOCONFIG)
$(MOVE)
More information about the vlc-commits
mailing list