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
54d22477
Commit
54d22477
authored
Mar 01, 2009
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fix packaging Safari and Firefox plugin.
parent
283b125f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
Makefile.am
Makefile.am
+1
-1
projects/macosx/framework/Pre-Compile.sh
projects/macosx/framework/Pre-Compile.sh
+9
-6
projects/mozilla/Makefile.am
projects/mozilla/Makefile.am
+0
-4
No files found.
Makefile.am
View file @
54d22477
...
...
@@ -575,7 +575,7 @@ VLC-release.app: vlc
find
$(top_builddir)
/VLC-release.app
-type
f
-exec
chmod
ugo+r
'{}'
\;
# This is just for development purposes.
# The resulting VLC.app will only in this tree.
# The resulting VLC.app will only
run
in this tree.
VLC.app
:
vlc $(top_builddir)/src/.libs/libvlccore.dylib $(top_builddir)/src/.libs/libvlc.dylib
(
cd
src
&&
make
install
)
rm
-Rf
$(top_builddir)
/tmp
...
...
projects/macosx/framework/Pre-Compile.sh
View file @
54d22477
...
...
@@ -80,7 +80,7 @@ if test "${ACTION}" = "build"; then
for
linked_lib
in
`
otool
-L
${
lib_dest
}
|
grep
'('
|
sed
's/\((.*)\)//'
`
;
do
local
name
=
`
basename
${
linked_lib
}
`
case
"
${
linked_lib
}
"
in
*
/vlc_build_dir/
*
|
*
vlc
*
|
*
/extras/contrib/lib/
*
)
*
/vlc_build_dir/
*
|
*
/vlc_install_dir/
*
|
*
vlc
*
|
*
/extras/contrib/lib/
*
)
if
test
-e
${
linked_lib
}
;
then
install_name_tool
-change
"
$linked_lib
"
"
${
lib_install_prefix
}
/
${
name
}
"
"
${
lib_dest
}
"
linked_libs
=
"
${
linked_libs
}
${
ref_lib
}
"
...
...
@@ -103,10 +103,11 @@ if test "${ACTION}" = "build"; then
install_library
"
${
VLC_BUILD_DIR
}
/bin/
${
prefix
}
vlc"
"
${
target
}
"
"bin"
"@loader_path/lib"
mv
${
target
}
/vlc
${
target
}
/VLC
chmod
+x
${
target
}
/VLC
# elif [ "$FULL_PRODUCT_NAME" = "VLC-Plugin.plugin" ] ; then
# install_library "${VLC_BUILD_DIR}/projects/mozilla/.libs/${prefix}npvlc.${suffix}" "${target}" "bin" "@loader_path/lib"
# mv ${target}/npvlc.${suffix} "${target}/VLC\ Plugin"
# chmod +x "${target}/VLC\ Plugin"
elif
[
"
$FULL_PRODUCT_NAME
"
=
"VLC-Plugin.plugin"
]
;
then
# install Safari webplugin
install_library
"
${
VLC_BUILD_DIR
}
/projects/mozilla/
${
prefix
}
npvlc.
${
suffix
}
"
"
${
target
}
"
"library"
"@loader_path/lib"
mv
${
target
}
/npvlc.
${
suffix
}
"
${
target
}
/VLC Plugin"
chmod
+x
"
${
target
}
/VLC Plugin"
fi
##########################
...
...
@@ -152,7 +153,9 @@ if test "${ACTION}" = "build"; then
esac
done
install_library
"
${
VLC_BUILD_DIR
}
/src/
${
prefix
}
libvlc.dylib"
${
target_lib
}
"library"
#install_library "${VLC_BUILD_DIR}/src/${prefix}libvlc.dylib" ${target_lib} "library"
install_library
"
${
VLC_BUILD_DIR
}
/src/
${
prefix
}
libvlc.2.dylib"
${
target_lib
}
"library"
install_library
"
${
VLC_BUILD_DIR
}
/src/
${
prefix
}
libvlccore.dylib"
${
target_lib
}
"library"
##########################
# Build the share folder
...
...
projects/mozilla/Makefile.am
View file @
54d22477
...
...
@@ -107,10 +107,6 @@ VLC\ Plugin.plugin: npvlc.rsrc $(lib_LTLIBRARIES)
$(INSTALL)
-d
"VLC-Plugin.plugin/Contents/MacOS/lib"
$(INSTALL)
-d
"VLC-Plugin.plugin/Contents/Resources"
ACTION
=
"release-makefile"
PRODUCT
=
"VLC-Plugin.plugin"
src_dir
=
$(srcdir)
build_dir
=
$(top_builddir)
sh
"
$(top_srcdir)
/projects/macosx/framework/Pre-Compile.sh"
$(INSTALL)
.libs/npvlc.dylib
"VLC-Plugin.plugin/Contents/MacOS/VLC Plugin"
dylib
=
"VLC-Plugin.plugin/Contents/MacOS/VLC Plugin"
;
$(FIXEXECPATH)
;
$(INSTALL)
.libs/npvlc.dylib
"VLC-Plugin.plugin/Contents/MacOS/lib"
dylib
=
"VLC-Plugin.plugin/Contents/MacOS/lib/npvlc.dylib"
;
$(FIXEXECPATH)
;
$(INSTALL)
npvlc.rsrc
"VLC-Plugin.plugin/Contents/Resources/VLC Plugin.rsrc"
$(INSTALL)
"
$(top_builddir)
/extras/package/macosx/plugin/Info.plist"
"VLC-Plugin.plugin/Contents/Info.plist"
mv
"VLC-Plugin.plugin"
"VLC Plugin.plugin"
...
...
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