[vlc-commits] contrib: add directx headers
Rémi Denis-Courmont
git at videolan.org
Tue Jun 28 18:45:29 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 27 11:37:20 2011 +0300| [2a717a8b495f70e277553f5eb4037e48e84d23a7] | committer: Rémi Denis-Courmont
contrib: add directx headers
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a717a8b495f70e277553f5eb4037e48e84d23a7
---
contrib/src/directx/SHA512SUMS | 1 +
contrib/src/directx/rules.mak | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/contrib/src/directx/SHA512SUMS b/contrib/src/directx/SHA512SUMS
new file mode 100644
index 0000000..5963889
--- /dev/null
+++ b/contrib/src/directx/SHA512SUMS
@@ -0,0 +1 @@
+03620b89ed8f9e9e339be9f7024d1f9a71468cba0ac2389eabd68ed1f1aa0a2d6e67c42c93f9a91eb43cf06964112dc9942ae49f8b532ff5c69db53d6b03edf8 directx-oss.tar.bz2
diff --git a/contrib/src/directx/rules.mak b/contrib/src/directx/rules.mak
new file mode 100644
index 0000000..3ecd88b
--- /dev/null
+++ b/contrib/src/directx/rules.mak
@@ -0,0 +1,19 @@
+# DirectX headers
+
+DX_HEADERS_URL := $(CONTRIB_VIDEOLAN)/directx-oss.tar.bz2
+
+ifdef HAVE_WIN32
+PKGS += directx
+endif
+
+$(TARBALLS)/directx-oss.tar.bz2:
+ $(DOWNLOAD) $(DX_HEADERS_URL)
+
+.sum-directx: $(TARBALLS)/directx-oss.tar.bz2
+ $(CHECK_SHA512)
+ touch $@
+
+.directx: $(TARBALLS)/directx-oss.tar.bz2 .sum-directx
+ mkdir -p -- "$(PREFIX)/include"
+ tar xvjf $< -C "$(PREFIX)/include"
+ touch $@
More information about the vlc-commits
mailing list