[vlc-commits] contrib: add gecko headers

Rafaël Carré git at videolan.org
Mon Nov 7 05:54:15 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov  6 23:53:22 2011 -0500| [19ba1d24d2bc393a7d0349fc090a6a7d4af0220f] | committer: Rafaël Carré

contrib: add gecko headers

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=19ba1d24d2bc393a7d0349fc090a6a7d4af0220f
---

 contrib/src/gecko/rules.mak |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/contrib/src/gecko/rules.mak b/contrib/src/gecko/rules.mak
new file mode 100644
index 0000000..50e4fa5
--- /dev/null
+++ b/contrib/src/gecko/rules.mak
@@ -0,0 +1,23 @@
+# gecko (mozilla plugin headers)
+
+PKGS += gecko
+
+NPAPI_HEADERS_SVN_URL := http://npapi-sdk.googlecode.com/svn/trunk/headers
+NPAPI_HEADERS_SVN_REV := HEAD # revision number, or just HEAD for the latest
+
+$(TARBALLS)/gecko-svn.tar.xz:
+	rm -Rf gecko-svn
+	$(SVN) export $(NPAPI_HEADERS_SVN_URL) gecko-svn -r $(NPAPI_HEADERS_SVN_REV)
+	tar cvJ gecko-svn > $@
+
+.sum-gecko: gecko-svn.tar.xz
+	$(warning Integrity check skipped.)
+	touch $@
+
+gecko: gecko-svn.tar.xz .sum-gecko
+	$(UNPACK)
+	$(MOVE)
+
+.gecko: gecko
+	cp $</*.h "$(PREFIX)/include"
+	touch $@



More information about the vlc-commits mailing list