]> granicus.if.org Git - handbrake/commitdiff
make: Allow tar to extract xz archives.
authorBradley Sepos <bradley@bradleysepos.com>
Sat, 31 Aug 2019 17:33:54 +0000 (13:33 -0400)
committerBradley Sepos <bradley@bradleysepos.com>
Sat, 31 Aug 2019 17:33:54 +0000 (13:33 -0400)
make/include/contrib.defs

index bb7500492b3863bccf6844cef3abf0ef139385a7..0a1c20af8680a8a3bb2a4f56e2ba482726a53e8a 100644 (file)
@@ -55,7 +55,7 @@ define import.CONTRIB.defs
     ##
     ## target: extract
     ##
-    $(1).EXTRACT.tarbase = $$(strip $$(foreach x,tar.bz2 tar.gz,$$(patsubst %.$$(x),%,$$(filter %.$$(x),$$($(1).FETCH.basename)))))
+    $(1).EXTRACT.tarbase = $$(strip $$(foreach x,tar.bz2 tar.gz tar.xz,$$(patsubst %.$$(x),%,$$(filter %.$$(x),$$($(1).FETCH.basename)))))
     $(1).EXTRACT.dir/    = $$($(1).build/)$$($(1).EXTRACT.tarbase)/
     $(1).EXTRACT.target  = $$($(1).build/).stamp.$$($(1).name).extract
     define $(1).EXTRACT