Commit 311a7a8d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: update D2D1 headers extraction

parent 798d3a1a
779c4a36a4276c6e18017b898903cdf162c186b2f8de22ac12d995b316fe40d8277374eb88c695e8a760497239ad176a85ea4ecccd0df841283f95ff591997a7 dshow-headers-oss.tar.bz2 779c4a36a4276c6e18017b898903cdf162c186b2f8de22ac12d995b316fe40d8277374eb88c695e8a760497239ad176a85ea4ecccd0df841283f95ff591997a7 dshow-headers-oss.tar.bz2
90258b440b3ee1be13a274d5ce29d8f3bf22ad5540310e33b5f862cb8e802fc9aa7060973d066861c8236592791a666c98d8e29a4462d548cc3b9380ab2340b9 d2d_headers.tar.gz 889260dfeaf07be92bba389ab0cca5a9e6049a36cd91f9e24ae767cd1720f22992b8ca32d6effb8505d61331442c018b28ae935c86334c98b37c1552f7a3044e d2d_headers.zip
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
DSHOW_HEADERS_URL := $(CONTRIB_VIDEOLAN)/dshow-headers-oss.tar.bz2 DSHOW_HEADERS_URL := $(CONTRIB_VIDEOLAN)/dshow-headers-oss.tar.bz2
D2D_HASH := b1affb70c021200b410eccd377ad5aeef2c5a85b 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 # FIXME: ^ D2D not working
ifdef HAVE_WIN32 ifdef HAVE_WIN32
...@@ -14,10 +14,10 @@ endif ...@@ -14,10 +14,10 @@ endif
$(TARBALLS)/dshow-headers-oss.tar.bz2: $(TARBALLS)/dshow-headers-oss.tar.bz2:
$(call download,$(DSHOW_HEADERS_URL)) $(call download,$(DSHOW_HEADERS_URL))
$(TARBALLS)/d2d_headers.tar.gz: $(TARBALLS)/d2d_headers.zip:
$(call download,$(D2D_URL)) $(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) .sum-dshow: $(DSHOW_SOURCES)
...@@ -25,6 +25,5 @@ DSHOW_SOURCES := dshow-headers-oss.tar.bz2 d2d_headers.tar.gz ...@@ -25,6 +25,5 @@ DSHOW_SOURCES := dshow-headers-oss.tar.bz2 d2d_headers.tar.gz
mkdir -p -- "$(PREFIX)/include" mkdir -p -- "$(PREFIX)/include"
tar xjf $< -C "$(PREFIX)/include" \ tar xjf $< -C "$(PREFIX)/include" \
--wildcards --no-anchored '*.h' --strip-components=1 --wildcards --no-anchored '*.h' --strip-components=1
tar xzf $(TARBALLS)/d2d_headers.tar.gz -C "$(PREFIX)/include" \ unzip -jf $(TARBALLS)/d2d_headers.zip -d "$(PREFIX)/include"
--wildcards --no-anchored '*.h' --strip-components=1
touch $@ touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment