Commit a752d056 authored by Rafaël Carré's avatar Rafaël Carré

Fetch npapi headers from svn if they are absent of the system

parent e2200b71
......@@ -15,10 +15,6 @@ if BUILD_ACTIVEX
SUBDIRS += activex
endif
npapi-headers:
svn export http://npapi-sdk.googlecode.com/svn/trunk/headers gecko -r HEAD
touch $@
EXTRA_DIST = \
autogen.sh \
extras/macosx/Info.plist.in \
......
......@@ -7,7 +7,7 @@ MOSTLYCLEANFILES =
CLEANFILES = $(BUILT_SOURCES)
npvlcdir = $(libdir)/mozilla/plugins
AM_CPPFLAGS = $(LIBVLC_CFLAGS) -I$(top_srcdir)/gecko $(MOZILLA_CFLAGS)
AM_CPPFLAGS = $(LIBVLC_CFLAGS) -Igecko $(MOZILLA_CFLAGS)
libvlcplugin_la_SOURCES = \
common.h \
......@@ -50,6 +50,14 @@ if !HAVE_WIN32
#
npvlc_LTLIBRARIES = libvlcplugin.la
gecko:
svn export http://npapi-sdk.googlecode.com/svn/trunk/headers gecko-svn -r HEAD
mv gecko-svn gecko
if FETCH_NPAPI
$(libvlcplugin_la_OBJECTS): gecko
endif
AM_CPPFLAGS += -DXP_UNIX -DDATA_PATH=\"$(pkgdatadir)\"
libvlcplugin_la_LIBADD += $(MOZILLA_LIBS)
......
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