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
68930bbc
Commit
68930bbc
authored
Aug 10, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mowilla: Fix webplugin distribution on Mac OS X.
Please test, as I don't build mozilla.
parent
502dcd58
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
42 deletions
+11
-42
Makefile.am
Makefile.am
+1
-1
projects/macosx/framework/Pre-Compile.sh
projects/macosx/framework/Pre-Compile.sh
+8
-5
projects/mozilla/Makefile.am
projects/mozilla/Makefile.am
+2
-36
No files found.
Makefile.am
View file @
68930bbc
...
...
@@ -472,7 +472,7 @@ VLC-release.app: vlc
$(top_builddir)
/VLC-release.app
;
\
rm
-Rf
$(top_builddir)
/tmp
$(INSTALL)
-d
$(top_builddir)
/VLC-release.app/Contents/MacOS
ACTION
=
"VLC-release.app
"
src_dir
=
$(srcdir)
build_dir
=
$(top_builddir)
sh
$(srcdir)
/projects/macosx/framework/Pre-Compile.sh
PRODUCT
=
"VLC-release.app"
ACTION
=
"release-makefile
"
src_dir
=
$(srcdir)
build_dir
=
$(top_builddir)
sh
$(srcdir)
/projects/macosx/framework/Pre-Compile.sh
$(INSTALL)
-d
$(top_builddir)
/VLC-release.app/Contents/MacOS/share/lua/playlist
for
i
in
$(srcdir)
/share/lua/playlist/
*
.
*
;
do
\
$(INSTALL)
-m
644
$
${i}
$(top_builddir)
/VLC-release.app/Contents/MacOS/share/lua/playlist/
`
basename
$
${i}
`
;
\
...
...
projects/macosx/framework/Pre-Compile.sh
View file @
68930bbc
...
...
@@ -8,16 +8,15 @@ if test "${ACTION}" = ""; then
ACTION
=
"build"
rm
-fr
${
FULL_PRODUCT_NAME
}
# Debug --
fi
# Hack to use that script with the current VLC-release.app
if
test
"
${
ACTION
}
"
=
"VLC-release.app
"
;
then
elif
test
"
${
ACTION
}
"
=
"release-makefile
"
;
then
TARGET_BUILD_DIR
=
"
${
build_dir
}
"
FULL_PRODUCT_NAME
=
"
VLC-release.app
"
FULL_PRODUCT_NAME
=
"
${
PRODUCT
}
"
CONTENTS_FOLDER_PATH
=
"
${
FULL_PRODUCT_NAME
}
/Contents/MacOS"
VLC_BUILD_DIR
=
"
${
build_dir
}
"
VLC_SRC_DIR
=
"
${
src_dir
}
"
ACTION
=
"build"
RELEASE_MAKEFILE
=
"yes"
fi
if
test
"
${
ACTION
}
"
=
"build"
;
then
...
...
@@ -98,6 +97,10 @@ if test "${ACTION}" = "build"; then
install_library
"
${
VLC_BUILD_DIR
}
/src/
${
prefix
}
vlc"
"
${
target
}
"
"bin"
"@loader_path/lib"
mv
${
target
}
/vlc
${
target
}
/VLC
chmod
+x
${
target
}
/VLC
elif
[
"
$FULL_PRODUCT_NAME
"
=
"VLC-release.app"
]
;
then
install_library
"
${
VLC_BUILD_DIR
}
/src/
${
prefix
}
npvlc.
${
suffix
}
"
"
${
target
}
"
"bin"
"@loader_path/lib"
mv
${
target
}
/npvlc.
${
suffix
}
"
${
target
}
/VLC Plugin.plugin"
chmod
+x
"
${
target
}
/VLC Plugin.plugin"
fi
##########################
...
...
@@ -118,7 +121,7 @@ if test "${ACTION}" = "build"; then
mkdir
-p
${
target_lib
}
mkdir
-p
${
target_modules
}
if
[
"
$
FULL_PRODUCT_NAME
"
!=
"VLC-release.app
"
]
;
then
if
[
"
$
RELEASE_MAKEFILE
"
!=
"yes
"
]
;
then
pushd
`
pwd
`
>
/dev/null
cd
${
TARGET_BUILD_DIR
}
/
${
FULL_PRODUCT_NAME
}
...
...
projects/mozilla/Makefile.am
View file @
68930bbc
...
...
@@ -105,47 +105,13 @@ endef
VLC\ Plugin.plugin
:
npvlc.rsrc $(lib_LTLIBRARIES)
rm
-Rf
"
$@
"
$(INSTALL)
-d
"
$@
/Contents/MacOS/lib"
$(INSTALL)
".libs/npvlc.dylib"
"
$@
/Contents/MacOS/VLC Plugin"
$(INSTALL)
-d
"
$(srcdir)
/
$@
/Contents/MacOS/lib"
;
\
install_name_tool
-change
"
$(libdir)
/libvlccore.0.dylib"
\
"@executable_path/lib/libvlccore.dylib"
\
"
$@
/Contents/MacOS/VLC Plugin"
install_name_tool
-change
"
$(libdir)
/libvlc.2.dylib"
\
"@executable_path/lib/libvlc.dylib"
\
"
$@
/Contents/MacOS/VLC Plugin"
$(INSTALL)
"
$(top_builddir)
/src/.libs/libvlccore.0.dylib"
\
"
$@
/Contents/MacOS/lib/libvlccore.dylib"
$(INSTALL)
"
$(top_builddir)
/src/.libs/libvlc.2.dylib"
\
"
$@
/Contents/MacOS/lib/libvlc.dylib"
install_name_tool
-change
"
$(libdir)
/libvlccore.0.dylib"
\
"@executable_path/lib/libvlccore.dylib"
\
"
$@
/Contents/MacOS/lib/libvlc.dylib"
dylib
=
"
$@
/Contents/MacOS/VLC Plugin"
;
$(FIXEXECPATH)
;
dylib
=
"
$@
/Contents/MacOS/lib/libvlccore.dylib"
;
$(FIXEXECPATH)
;
dylib
=
"
$@
/Contents/MacOS/lib/libvlc.dylib"
;
$(FIXEXECPATH)
;
$(INSTALL)
-d
"
$@
/Contents/Resources"
$(INSTALL)
npvlc.rsrc
"
$@
/Contents/Resources/VLC Plugin.rsrc"
cp
-r
"
$(top_srcdir)
/extras/package/macosx/plugin/English.lproj"
"
$@
/Contents/Resources/"
cp
-r
"
$(top_builddir)
/extras/package/macosx/plugin/English.lproj"
"
$@
/Contents/Resources/"
$(INSTALL)
"
$(top_builddir)
/extras/package/macosx/plugin/Info.plist"
"
$@
/Contents/Info.plist"
$(INSTALL)
-d
"
$@
/Contents/MacOS/modules"
find
$(top_srcdir)
/modules/
-name
'*_plugin.
$(LIBEXT)
'
|
\
while
read
i
;
do
\
if
test
-n
"
$$
i"
;
then
\
dylib
=
"
$@
/Contents/MacOS/modules/
`
basename
$$
i
`
"
;
\
$(INSTALL)
"
$$
i"
"
$$
dylib"
;
\
install_name_tool
-change
"
$(libdir)
/libvlccore.0.dylib"
\
"@executable_path/lib/libvlccore.dylib"
"
$$
dylib"
;
\
$(FIXEXECPATH)
;
\
fi
;
\
done
if
test
-d
$(top_srcdir)
/extras/contrib/vlc-lib
;
then
\
for
i
in
$(top_srcdir)
/extras/contrib/vlc-lib/
*
.dylib
;
do
\
dylib
=
"
$@
/Contents/MacOS/lib/
`
basename
$
${i}
`
"
;
\
$(INSTALL)
-m
644
"
$
${i}
"
"
$$
dylib"
;
\
$(FIXEXECPATH)
;
\
done
;
\
fi
ACTION
=
"release-makefile"
PRODUCT
=
"VLC Plugin.plugin"
src_dir
=
$(srcdir)
build_dir
=
$(top_builddir)
sh
$(srcdir)
/projects/macosx/framework/Pre-Compile.sh
# uncomment if dependencies on XPCOM libs is sought
# if test -d "$(MOZILLA_SDK_PATH)/lib"; then \
# for i in "$(MOZILLA_SDK_PATH)"/lib/*.dylib ; do \
...
...
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