[vlc-devel] [PATCH 1/4] Use official npapi headers from http://code.google.com/p/npapi-headers

David Menestrina dmenest at yahoo.com
Fri Apr 16 03:34:42 CEST 2010


From: David Menestrina <dmenest-vlc at ofb dot net>

---
 extras/contrib/src/Makefile     |    7 ++-----
 extras/contrib/src/packages.mak |    4 +++-
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 54bba7d..48862a5 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -1937,11 +1937,8 @@ DISTCLEAN_PKG += libIDL-$(LIBIDL_VERSION).tar.gz
 # Gecko SDK
 # ***************************************************************************
 
-xulrunner-1.9.2.en-US.mac-i386.sdk.tar.bz2:
-	$(WGET) $(GECKO_SDK_MAC_URL)
-
-gecko-sdk: xulrunner-1.9.2.en-US.mac-i386.sdk.tar.bz2
-	$(EXTRACT_BZ2)
+gecko-sdk: 
+	$(SVN) co $(NPAPI_HEADERS_SVN_URL) -r $(NPAPI_HEADERS_SVN_REVISION) gecko-sdk/include
 
 .gecko: gecko-sdk
 	rm -rf $(PREFIX)/gecko-sdk
diff --git a/extras/contrib/src/packages.mak b/extras/contrib/src/packages.mak
index 74645f3..768432e 100644
--- a/extras/contrib/src/packages.mak
+++ b/extras/contrib/src/packages.mak
@@ -157,7 +157,9 @@ GLIB_VERSION=2.20.4
 GLIB_URL=http://ftp.gnome.org/pub/gnome/sources/glib/2.20/glib-$(GLIB_VERSION).tar.bz2
 LIBIDL_VERSION=0.8.12
 LIBIDL_URL=http://ftp.gnome.org/pub/gnome/sources/libIDL/0.8/libIDL-$(LIBIDL_VERSION).tar.bz2
-GECKO_SDK_MAC_URL=http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2/sdk/xulrunner-1.9.2.en-US.mac-i386.sdk.tar.bz2
+NPAPI_HEADERS_SVN_URL=http://npapi-headers.googlecode.com/svn/trunk/
+# NPAPI_HEADERS_SVN_REVISION can be a revision number, or just HEAD for the latest
+NPAPI_HEADERS_SVN_REVISION=3
 GECKO_SDK_WIN32_URL=http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2/sdk/xulrunner-1.9.2.en-US.win32.sdk.zip
 LIBIDL_WIN32_BIN_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc6/libIDL-0.6.3-win32-bin.zip
 GLIB_WIN32_BIN_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc6/glib-19990228.zip
-- 
1.7.0.3




More information about the vlc-devel mailing list