[vlc-commits] Contribs: Add xzcat decompression tool
Jean-Baptiste Kempf
git at videolan.org
Tue Feb 3 11:39:51 CET 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 3 11:39:03 2015 +0100| [1fad7fcae5db01e29fc7ed8dd67db76d04752394] | committer: Jean-Baptiste Kempf
Contribs: Add xzcat decompression tool
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1fad7fcae5db01e29fc7ed8dd67db76d04752394
---
contrib/src/main.mak | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 9ef4a25..f0773b9 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -185,6 +185,10 @@ endif
ACLOCAL_AMFLAGS += -I$(PREFIX)/share/aclocal
export ACLOCAL_AMFLAGS
+#########
+# Tools #
+#########
+
PKG_CONFIG ?= pkg-config
ifdef HAVE_CROSS_COMPILE
# This inhibits .pc file from within the cross-compilation toolchain sysroot.
@@ -226,6 +230,12 @@ else
download = $(error Neither curl nor wget found!)
endif
+ifeq ($(shell which xzcat >/dev/null 2>&1 || echo FAIL),)
+XZCAT = xzcat
+else
+XZCAT ?= $(error xz and lzma client not found!)
+endif
+
ifeq ($(shell which bzcat >/dev/null 2>&1 || echo FAIL),)
BZCAT = bzcat
else
More information about the vlc-commits
mailing list