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
faffd539
Commit
faffd539
authored
Nov 12, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ub.sh: prettified the comments a bit
parent
5b113afa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
extras/package/macosx/ub.sh
extras/package/macosx/ub.sh
+18
-0
No files found.
extras/package/macosx/ub.sh
View file @
faffd539
#!/bin/bash
# This script allows you to create a Universal Binary of VLC.app. It requires
# pre-compiled binaries for Intel- and PowerPC-based Macs; no sources.
# Exotic sub-platforms aka x86_64 or even ppc64 are not supported right now.
# Using different OS X SDKs for both platforms is absolutely fine of course.
# All you need to do is CHANGE THE ROOTS and READ THE COMMENTS.
# Happy releasing!
# INTELROOT == path to VLC.app compiled on an Intel-based Mac (e.g. jones).
INTELROOT
=
/Applications/VLC.app
# PPCROOT == path to VLC.app compiled on a PowerPC-based Mac (e.g. veda).
PPCROOT
=
/Volumes/vlc-0.9.0-test3/VLC.app
# Note that these 2 roots only require read-access and won't be changed at all.
# UBROOT == path to a VLC.app bundle which will contain the Universal Binary.
# Note that you should empty the following folders: lib, modules
# and remove the VLC binary in MacOS (just for sanity reasons)
UBROOT
=
/Users/fpk/VLC-release.app
for
i
in
`
ls
$INTELROOT
/Contents/MacOS/lib/
`
...
...
@@ -19,3 +33,7 @@ cp $INTELROOT/Contents/MacOS/modules/*mmx* $UBROOT/Contents/MacOS/modules/
cp
$INTELROOT
/Contents/MacOS/modules/
*
sse
*
$UBROOT
/Contents/MacOS/modules/
cp
$INTELROOT
/Contents/MacOS/modules/
*
3dn
*
$UBROOT
/Contents/MacOS/modules/
cp
$PPCROOT
/Contents/MacOS/modules/
*
altivec
*
$UBROOT
/Contents/MacOS/modules/
# Now, you need to copy the resulting UBROOT folder into VLC's build directory
# and make sure it is actually named "VLC-release.app".
# Afterwards, run 'make package-macosx' and follow release_howto.txt in /doc
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