Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
450
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
38c794f3
Commit
38c794f3
authored
16 years ago
by
Felix Paul Kühne
Browse files
Options
Downloads
Patches
Plain Diff
ub.sh: prettified the comments a bit
parent
733996f4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extras/package/macosx/ub.sh
+17
-6
17 additions, 6 deletions
extras/package/macosx/ub.sh
with
17 additions
and
6 deletions
extras/package/macosx/ub.sh
+
17
−
6
View file @
38c794f3
#!/bin/bash
# INTELROOT == path to VLC.app with intel build.
# 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
with powerpc build
.
# PPCROOT == path to VLC.app
compiled on a PowerPC-based Mac (e.g. veda)
.
PPCROOT
=
/Volumes/vlc-0.9.0-test3/VLC.app
# UBROOT == path to copied INTEL VLC.app
# which will contain Universal Binary.
# 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/
`
...
...
@@ -24,5 +34,6 @@ 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 should copy resulting UBROOT dir into vlc build directory
# and run 'make package-macosx'
# 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment