Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
6a4df192
Commit
6a4df192
authored
Oct 11, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ugly and almost working npapi build rules
parent
33547140
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
22 deletions
+48
-22
Makefile.am
Makefile.am
+18
-22
extras/package/npapi.am
extras/package/npapi.am
+30
-0
No files found.
Makefile.am
View file @
6a4df192
...
...
@@ -695,6 +695,10 @@ win32_debugdir=$(top_builddir)/symbols-$(VERSION)
win32_lua_destdir
=
$(win32_destdir)
/lua
win32_xpi_destdir
=
$(win32_destdir)
/vlc-plugin
if
HAVE_WIN32
include
extras/package/npapi.am
endif
#Win-common is for win32 and wince
package-win-common
:
install
# Check that tmp isn't in the way
...
...
@@ -792,9 +796,7 @@ if BUILD_OSDMENU
rm
-f
--
"$$file.tmp"
;
\
done
endif
#if BUILD_MOZILLA
# cp $(top_srcdir)/projects/mozilla/npvlc.dll.manifest $(win32_destdir)
#endif
cp
$(top_srcdir)/extras/mozilla/src/npvlc.dll.manifest
$(win32_destdir)
if
BUILD_ACTIVEX
cp
$(top_srcdir)/projects/activex/axvlc.dll.manifest
$(win32_destdir)
endif
...
...
@@ -829,29 +831,23 @@ package-win-base: package-win-common
fi
;
\
done
package-win32-webplugin-common
:
package-win-base
#if BUILD_MOZILLA
# mkdir -p "$(win32_xpi_destdir)/plugins"
# find $(destdir) -maxdepth 4 -name "*$(LIBEXT)" -exec cp {} "$(win32_xpi_destdir)/" \;
# cp $(top_srcdir)/projects/mozilla/npvlc.dll.manifest "$(win32_xpi_destdir)/plugins"
# cp "$(top_srcdir)/extras/package/win32/libvlc.dll.manifest" "$(win32_xpi_destdir)/plugins"
# cp -r $(win32_destdir)/plugins/ "$(win32_xpi_destdir)/plugins"
# rm -rf "$(win32_xpi_destdir)/plugins/plugins/*qt*"
# rm -rf "$(win32_xpi_destdir)/plugins/plugins/*skins*"
#endif
package-win32-webplugin-common
:
package-win-base build-win-npapi
mkdir
-p
"
$(win32_xpi_destdir)
/plugins"
find
$(destdir)
-maxdepth
4
-name
"*
$(LIBEXT)
"
-exec
cp
{}
"
$(win32_xpi_destdir)
/"
\;
cp
$(top_srcdir)
/extras/mozilla/src/npvlc.dll.manifest
"
$(win32_xpi_destdir)
/plugins"
cp
"
$(top_srcdir)
/extras/package/win32/libvlc.dll.manifest"
"
$(win32_xpi_destdir)
/plugins"
cp
-r
$(win32_destdir)
/plugins/
"
$(win32_xpi_destdir)
/plugins"
rm
-rf
"
$(win32_xpi_destdir)
/plugins/plugins/*qt*"
rm
-rf
"
$(win32_xpi_destdir)
/plugins/plugins/*skins*"
package-win32-xpi
:
package-win32-webplugin-common
#if BUILD_MOZILLA
# cp $(top_builddir)/projects/mozilla/install.rdf "$(win32_xpi_destdir)"
# cd $(win32_xpi_destdir) && zip -r "../vlc-$(VERSION).xpi" install.rdf plugins
#endif
cp
$(top_builddir)
/extras/mozilla/src/install.rdf
"
$(win32_xpi_destdir)
"
cd
$(win32_xpi_destdir)
&&
zip
-r
"../vlc-
$(VERSION)
.xpi"
install.rdf plugins
package-win32-crx
:
package-win32-webplugin-common
#if BUILD_MOZILLA
# cp $(top_builddir)/projects/mozilla/manifest.json "$(win32_xpi_destdir)"
# crxmake --pack-extension "$(win32_xpi_destdir)" \
# --extension-output "$(win32_destdir)/vlc-$(VERSION).crx" --ignore-file install.rdf
#endif
cp
$(top_builddir)
/extras/mozilla/src/manifest.json
"
$(win32_xpi_destdir)
"
crxmake
--pack-extension
"
$(win32_xpi_destdir)
"
\
--extension-output
"
$(win32_destdir)
/vlc-
$(VERSION)
.crx"
--ignore-file
install.rdf
package-win32-base-exe
:
package-win-base
# Script installer
...
...
extras/package/npapi.am
0 → 100644
View file @
6a4df192
#! /usr/bin/make -f
build-npapi: stamp-npapi-build
stamp-npapi-fetch:
rm -Rf npapi-vlc
git clone git://git.videolan.org/npapi-vlc.git npapi-vlc
touch $@
stamp-npapi-autogen: stamp-npapi-fetch
# extras/package/npapi.am
cd npapi-vlc && \
$(SHELL) ./autogen.sh
touch $@
stamp-npapi-configure: stamp-npapi-autogen
cd npapi-vlc && \
$(SHELL) ./configure \
--host=$(host_alias) --build=$(build_alias) \
--with-mozilla-sdk-path="../$(srcdir)/extras/contrib/hosts/$(host_alias)/gecko-sdk" \
CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" \
CC="$(CC)" CFLAGS="$(CFLAGS)" \
CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" \
LD="$(LD)" LDFLAGS="$(LDFLAGS)" \
PKG_CONFIG_LIBDIR="../$(srcdir)/extras/contrib/lib/pkgconfig:../src"
touch $@
stamp-npapi-build: stamp-npapi-configure
cd npapi-vlc && \
$(MAKE) $(MAKEFLAGS) all
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment