[vlmc-devel] contribs: Add 7z support
Hugo Beauzée-Luyssen
git at videolan.org
Tue Aug 2 01:00:30 CEST 2016
vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Jul 21 10:18:03 2016 +0200| [0d1ccd6d0a184e87c4865e3492df8c363e70f39f] | committer: Hugo Beauzée-Luyssen
contribs: Add 7z support
> https://code.videolan.org/videolan/vlmc/commit/0d1ccd6d0a184e87c4865e3492df8c363e70f39f
---
contribs/src/main.mak | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/contribs/src/main.mak b/contribs/src/main.mak
index 49a9761..cb295bb 100644
--- a/contribs/src/main.mak
+++ b/contribs/src/main.mak
@@ -338,7 +338,9 @@ UNPACK = $(RM) -R $@ \
$(foreach f,$(filter %.tar.gz %.tgz,$^), && tar xvzf $(f)) \
$(foreach f,$(filter %.tar.bz2,$^), && tar xvjf $(f)) \
$(foreach f,$(filter %.tar.xz,$^), && tar xvJf $(f)) \
- $(foreach f,$(filter %.zip,$^), && unzip $(f))
+ $(foreach f,$(filter %.zip,$^), && unzip $(f)) \
+ $(foreach f,$(filter %.7z,$^), && 7z x $(f))
+
UNPACK_DIR = $(patsubst %.tar,%,$(basename $(notdir $<)))
APPLY = (cd $(UNPACK_DIR) && patch -fp1) <
pkg_static = (cd $(UNPACK_DIR) && ../../../contribs/src/pkg-static.sh $(1))
More information about the Vlmc-devel
mailing list