Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
969a8451
Commit
969a8451
authored
Dec 15, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: don't build NPAPI in package-win-common
Many people don't care about NPAPI and it's hard to build
parent
8d2c4eac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
extras/package/win32/package.mak
extras/package/win32/package.mak
+9
-11
No files found.
extras/package/win32/package.mak
View file @
969a8451
...
@@ -26,8 +26,7 @@ package-win-install:
...
@@ -26,8 +26,7 @@ package-win-install:
$(MAKE)
install
$(MAKE)
install
touch
$@
touch
$@
package-win-common
:
package-win-install
package-win-common
:
package-win-install build-npapi
mkdir
-p
"
$(win32_destdir)
"
/
mkdir
-p
"
$(win32_destdir)
"
/
# Executables, major libs+manifests
# Executables, major libs+manifests
...
@@ -59,11 +58,6 @@ if BUILD_SKINS
...
@@ -59,11 +58,6 @@ if BUILD_SKINS
cp
-r
$(prefix)/share/vlc/skins2
$(win32_destdir)/skins
cp
-r
$(prefix)/share/vlc/skins2
$(win32_destdir)/skins
endif
endif
cp
"$(top_builddir)/npapi-vlc/activex/axvlc.dll.manifest"
"$(win32_destdir)/"
cp
"$(top_builddir)/npapi-vlc/installed/lib/axvlc.dll"
"$(win32_destdir)/"
cp
"$(top_builddir)/npapi-vlc/npapi/package/npvlc.dll.manifest"
"$(win32_destdir)/"
cp
"$(top_builddir)/npapi-vlc/installed/lib/npvlc.dll"
"$(win32_destdir)/"
# Compiler shared DLLs, when using compilers built with --enable-shared
# Compiler shared DLLs, when using compilers built with --enable-shared
# The shared DLLs may not necessarily be in the first LIBRARY_PATH, we
# The shared DLLs may not necessarily be in the first LIBRARY_PATH, we
# should check them all.
# should check them all.
...
@@ -87,17 +81,21 @@ endif
...
@@ -87,17 +81,21 @@ endif
$(DLLTOOL)
-D
libvlccore.dll
-l
"$(win32_destdir)/sdk/lib/libvlccore.lib"
-d
"$(top_builddir)/src/.libs/libvlccore.dll.def"
"$(prefix)/bin/libvlccore.dll"
$(DLLTOOL)
-D
libvlccore.dll
-l
"$(win32_destdir)/sdk/lib/libvlccore.lib"
-d
"$(top_builddir)/src/.libs/libvlccore.dll.def"
"$(prefix)/bin/libvlccore.dll"
echo
"INPUT(libvlccore.lib)"
>
"$(win32_destdir)/sdk/lib/vlccore.lib"
echo
"INPUT(libvlccore.lib)"
>
"$(win32_destdir)/sdk/lib/vlccore.lib"
mkdir
-p
"$(win32_destdir)/sdk/activex/"
cd
$(top_builddir)/npapi-vlc
&&
cp
activex/README.TXT
share/test/test.html
$(win32_destdir)/sdk/activex/
# Convert to DOS line endings
# Convert to DOS line endings
find
$(win32_destdir)
-type
f
\(
-name
"*xml"
-or
-name
"*html"
-or
-name
'*js'
-or
-name
'*css'
-or
-name
'*hosts'
-or
-iname
'*txt'
-or
-name
'*.cfg'
-or
-name
'*.lua'
\)
-exec
$(U2D)
{}
\;
find
$(win32_destdir)
-type
f
\(
-name
"*xml"
-or
-name
"*html"
-or
-name
'*js'
-or
-name
'*css'
-or
-name
'*hosts'
-or
-iname
'*txt'
-or
-name
'*.cfg'
-or
-name
'*.lua'
\)
-exec
$(U2D)
{}
\;
# Remove cruft
# Remove cruft
find
$(win32_destdir)/plugins/
-type
f
\(
-name
'*.a'
-or
-name
'*.la'
\)
-exec
rm
-rvf
{}
\;
find
$(win32_destdir)/plugins/
-type
f
\(
-name
'*.a'
-or
-name
'*.la'
\)
-exec
rm
-rvf
{}
\;
package-win-npapi
:
build-npapi
cp
"
$(top_builddir)
/npapi-vlc/activex/axvlc.dll.manifest"
"
$(win32_destdir)
/"
cp
"
$(top_builddir)
/npapi-vlc/installed/lib/axvlc.dll"
"
$(win32_destdir)
/"
cp
"
$(top_builddir)
/npapi-vlc/npapi/package/npvlc.dll.manifest"
"
$(win32_destdir)
/"
cp
"
$(top_builddir)
/npapi-vlc/installed/lib/npvlc.dll"
"
$(win32_destdir)
/"
mkdir
-p
"
$(win32_destdir)
/sdk/activex/"
cd
$(top_builddir)
/npapi-vlc
&&
cp
activex/README.TXT share/test/test.html
$(win32_destdir)
/sdk/activex/
package-win-strip
:
package-win-common
package-win-strip
:
package-win-common
package-win-npapi
mkdir
-p
"
$(win32_debugdir)
"
/
mkdir
-p
"
$(win32_debugdir)
"
/
cd
$(win32_destdir)
;
find
.
-type
f
\(
-name
'*
$(LIBEXT)
'
-or
-name
'*
$(EXEEXT)
'
\)
|
while
read
i
;
\
cd
$(win32_destdir)
;
find
.
-type
f
\(
-name
'*
$(LIBEXT)
'
-or
-name
'*
$(EXEEXT)
'
\)
|
while
read
i
;
\
do if
test
-n
"
$$
i"
;
then
\
do if
test
-n
"
$$
i"
;
then
\
...
...
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