]> git.sesse.net Git - vlc/commitdiff
Contribs: update D2D1 headers extraction
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 9 Apr 2013 14:34:15 +0000 (16:34 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 9 Apr 2013 14:35:08 +0000 (16:35 +0200)
contrib/src/dshow/SHA512SUMS
contrib/src/dshow/rules.mak

index 9d7779a48e273697ecec1bf4fff883c3e1e6dccb..22470a02b65707a3e73ca61f713330a482fd71e8 100644 (file)
@@ -1,2 +1,2 @@
 779c4a36a4276c6e18017b898903cdf162c186b2f8de22ac12d995b316fe40d8277374eb88c695e8a760497239ad176a85ea4ecccd0df841283f95ff591997a7  dshow-headers-oss.tar.bz2
-90258b440b3ee1be13a274d5ce29d8f3bf22ad5540310e33b5f862cb8e802fc9aa7060973d066861c8236592791a666c98d8e29a4462d548cc3b9380ab2340b9  d2d_headers.tar.gz
+889260dfeaf07be92bba389ab0cca5a9e6049a36cd91f9e24ae767cd1720f22992b8ca32d6effb8505d61331442c018b28ae935c86334c98b37c1552f7a3044e  d2d_headers.zip
index ef2312f894a9a7708d19bd2340931cf186fa4998..816b1c9ece5b58ebfe526c071cf7a4277055961b 100644 (file)
@@ -2,7 +2,7 @@
 
 DSHOW_HEADERS_URL := $(CONTRIB_VIDEOLAN)/dshow-headers-oss.tar.bz2
 D2D_HASH := b1affb70c021200b410eccd377ad5aeef2c5a85b
-D2D_URL := http://nodeload.github.com/2of1/d2d1headers/tarball/master
+D2D_URL := http://github.com/2of1/d2d1headers/archive/master.zip
 # FIXME: ^ D2D not working
 
 ifdef HAVE_WIN32
@@ -14,10 +14,10 @@ endif
 $(TARBALLS)/dshow-headers-oss.tar.bz2:
        $(call download,$(DSHOW_HEADERS_URL))
 
-$(TARBALLS)/d2d_headers.tar.gz:
+$(TARBALLS)/d2d_headers.zip:
        $(call download,$(D2D_URL))
 
-DSHOW_SOURCES := dshow-headers-oss.tar.bz2 d2d_headers.tar.gz
+DSHOW_SOURCES := dshow-headers-oss.tar.bz2 d2d_headers.zip
 
 .sum-dshow: $(DSHOW_SOURCES)
 
@@ -25,6 +25,5 @@ DSHOW_SOURCES := dshow-headers-oss.tar.bz2 d2d_headers.tar.gz
        mkdir -p -- "$(PREFIX)/include"
        tar xjf $< -C "$(PREFIX)/include" \
                --wildcards --no-anchored '*.h' --strip-components=1
-       tar xzf $(TARBALLS)/d2d_headers.tar.gz -C "$(PREFIX)/include" \
-                --wildcards --no-anchored '*.h' --strip-components=1
+       unzip -jf $(TARBALLS)/d2d_headers.zip -d "$(PREFIX)/include"
        touch $@