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
ebf341dc
Commit
ebf341dc
authored
Nov 23, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't assume some default prefix is used
parent
289d5a72
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
20 deletions
+15
-20
configure.ac
configure.ac
+0
-4
extras/package/macosx/configure.sh
extras/package/macosx/configure.sh
+0
-1
extras/package/macosx/package.mak
extras/package/macosx/package.mak
+2
-2
extras/package/win32/package.mak
extras/package/win32/package.mak
+13
-13
No files found.
configure.ac
View file @
ebf341dc
...
...
@@ -221,8 +221,6 @@ case "${host_os}" in
VLC_ADD_LIBS([win32text],[-lgdi32])
VLC_ADD_LIBS([cdda vcdx sdl_image vout_sdl],[-lwinmm])
AC_CHECK_PROGS(U2D, [unix2dos todos], unix2dos)
ac_default_prefix="`pwd`/_win32"
DESTDIR="`pwd`/_win32/"
dnl
dnl NSIS Installer prefix and WIN64
...
...
@@ -242,8 +240,6 @@ case "${host_os}" in
if test "${SYS}" = "mingwce"; then
VLC_ADD_LIBS([libvlccore],[-lmmtimer])
AC_CHECK_PROGS(U2D, [unix2dos todos], unix2dos)
ac_default_prefix="`pwd`/_wince"
DESTDIR="`pwd`/_wince/"
fi
;;
*nto*)
...
...
extras/package/macosx/configure.sh
View file @
ebf341dc
#!/bin/sh
OPTIONS
=
"
--prefix=
`
pwd
`
/vlc_install_dir
--enable-faad
--enable-flac
--enable-theora
...
...
extras/package/macosx/package.mak
View file @
ebf341dc
...
...
@@ -25,8 +25,8 @@ VLC-release.app: VLC-tmp.app
VLC-tmp.app
:
vlc
$(AM_V_GEN)
(
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
install
$(silentstd)
)
(
cd
lib
&&
$(MAKE)
$(AM_MAKEFLAGS)
install
$(silentstd)
)
$(AM_V_GEN)
(
cd
src
&&
$(MAKE)
$(AM_MAKEFLAGS)
DESTDIR
=
"
`
pwd
`
"
/vlc_install_dir
install
$(silentstd)
)
(
cd
lib
&&
$(MAKE)
$(AM_MAKEFLAGS)
DESTDIR
=
"
`
pwd
`
"
/vlc_install_dir
install
$(silentstd)
)
rm
-Rf
"
$(top_builddir)
/tmp"
"
$@
"
mkdir
-p
"
$(top_builddir)
/tmp/extras/package/macosx"
cd
$(srcdir)
/extras/package/macosx
;
cp
-R
vlc.xcodeproj Resources README.MacOSX.rtf
$(abs_top_builddir)
/tmp/extras/package/macosx/
...
...
extras/package/win32/package.mak
View file @
ebf341dc
...
...
@@ -20,7 +20,7 @@ endif
endif
package-win-install
:
$(MAKE)
install
$(MAKE)
DESTDIR
=
"
`
pwd
`
"
/vlc_install_dir
install
touch
$@
...
...
@@ -28,7 +28,7 @@ package-win-common: package-win-install build-npapi
mkdir
-p
"
$(win32_destdir)
"
/
# Executables, major libs+manifests
find
$(prefix)
-maxdepth
4
\(
-name
"*$(LIBEXT)"
-o
-name
"*$(EXEEXT)"
\)
-exec
cp
{}
"$(win32_destdir)/"
\;
find
vlc_install_dir
-maxdepth
4
\(
-name
"*$(LIBEXT)"
-o
-name
"*$(EXEEXT)"
\)
-exec
cp
{}
"$(win32_destdir)/"
\;
cd
$(top_srcdir)/extras/package/win32
&&
cp
vlc$(EXEEXT).manifest
libvlc$(LIBEXT).manifest
"$(win32_destdir)/"
# Text files, clean them from mail addresses
...
...
@@ -40,21 +40,21 @@ package-win-common: package-win-install build-npapi
done
cp
$(srcdir)/share/icons/vlc.ico
$(win32_destdir)
cp
-r
$(prefix)
/lib/vlc/plugins
$(win32_destdir)
-cp
-r
$(prefix)
/share/locale
$(win32_destdir)
cp
-r
vlc_install_dir
/lib/vlc/plugins
$(win32_destdir)
-cp
-r
vlc_install_dir
/share/locale
$(win32_destdir)
if
BUILD_LUA
mkdir
-p
$(win32_destdir)/lua/
cp
-r
$(prefix)/lib/vlc/lua/*
$(prefix)
/share/vlc/lua/*
$(win32_destdir)/lua/
cp
-r
vlc_install_dir/lib/vlc/lua/*
vlc_install_dir
/share/vlc/lua/*
$(win32_destdir)/lua/
endif
if
BUILD_SKINS
rm
-fr
$(win32_destdir)/skins
cp
-r
$(prefix)
/share/vlc/skins2
$(win32_destdir)/skins
cp
-r
vlc_install_dir
/share/vlc/skins2
$(win32_destdir)/skins
endif
if
BUILD_OSDMENU
cp
-r
$(prefix)
/share/vlc/osdmenu
"$(win32_destdir)/"
cp
-r
vlc_install_dir
/share/vlc/osdmenu
"$(win32_destdir)/"
for
file
in
$(win32_destdir)/osdmenu/*.cfg;
do
\
sed
-i.orig
-e
's%share/osdmenu%osdmenu%g'
-e
's%/%\\%g'
"$$file"
;
\
rm
-f
--
"$${file}.orig"
;
\
...
...
@@ -77,12 +77,12 @@ endif
# SDK
mkdir
-p
"$(win32_destdir)/sdk/lib/"
cp
-r
$(prefix)
/
include
"$(win32_destdir)/sdk"
cp
-r
$(prefix)
/lib/pkgconfig
"$(win32_destdir)/sdk/lib"
cd
$(prefix)
/lib
&&
cp
-rv
libvlc.dll.a
libvlc.la
libvlccore.dll.a
libvlccore.la
"$(win32_destdir)/sdk/lib/"
cp
-r
vlc_install_dir
/
include
"$(win32_destdir)/sdk"
cp
-r
vlc_install_dir
/lib/pkgconfig
"$(win32_destdir)/sdk/lib"
cd
vlc_install_dir
/lib
&&
cp
-rv
libvlc.dll.a
libvlc.la
libvlccore.dll.a
libvlccore.la
"$(win32_destdir)/sdk/lib/"
if
!HAVE_WINCE
$(DLLTOOL)
-D
libvlc.dll
-l
"$(win32_destdir)/sdk/lib/libvlc.lib"
-d
"$(top_builddir)/lib/.libs/libvlc.dll.def"
"
$(prefix)
/bin/libvlc.dll"
$(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
libvlc.dll
-l
"$(win32_destdir)/sdk/lib/libvlc.lib"
-d
"$(top_builddir)/lib/.libs/libvlc.dll.def"
"
vlc_install_dir
/bin/libvlc.dll"
$(DLLTOOL)
-D
libvlccore.dll
-l
"$(win32_destdir)/sdk/lib/libvlccore.lib"
-d
"$(top_builddir)/src/.libs/libvlccore.dll.def"
"
vlc_install_dir
/bin/libvlccore.dll"
if
!HAVE_WIN64
mkdir
-p
"$(win32_destdir)/sdk/activex/"
...
...
@@ -114,7 +114,7 @@ package-win-strip: package-win-common
package-win32-webplugin-common
:
package-win-strip
mkdir
-p
"
$(win32_xpi_destdir)
/"
cp
-r
$(win32_destdir)
/plugins/
"
$(win32_xpi_destdir)
/"
find
$(prefix)
-maxdepth
4
-name
"*
$(LIBEXT)
"
-exec
cp
{}
"
$(win32_xpi_destdir)
/"
\;
find
vlc_install_dir
-maxdepth
4
-name
"*
$(LIBEXT)
"
-exec
cp
{}
"
$(win32_xpi_destdir)
/"
\;
cp
$(top_builddir)
/npapi-vlc/npapi/npvlc.dll.manifest
"
$(win32_xpi_destdir)
/plugins/"
cp
"
$(top_srcdir)
/extras/package/win32/libvlc.dll.manifest"
"
$(win32_xpi_destdir)
/plugins/"
rm
-rf
"
$(win32_xpi_destdir)
/plugins/*qt*"
...
...
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