Commit a1d248f0 authored by Rafaël Carré's avatar Rafaël Carré

osx packaging: 3rd party frameworks are optional

parent 2d1811bf
......@@ -5,7 +5,7 @@ noinst_DATA = VLC.app
endif
endif
# This is just for development purposes.
# This is just for development purposes.
# The resulting VLC.app will only run in this tree.
VLC.app: VLC-tmp.app
rm -Rf $@
......@@ -35,12 +35,18 @@ VLC-tmp.app: vlc
sed "s/#REVISION#/$$REVISION/g" > $(top_builddir)/tmp/extras/package/macosx/Info.plist
cp -R $(top_builddir)/extras/package/macosx/Resources $(top_builddir)/tmp/extras/package/macosx/
cd "$(srcdir)"; cp AUTHORS COPYING THANKS $(abs_top_builddir)/tmp/
mkdir -p $(top_builddir)/tmp/extras/contrib/Sparkle
cp -R $(CONTRIB_DIR)/Sparkle/Sparkle.framework $(top_builddir)/tmp/extras/contrib/Sparkle
mkdir -p $(top_builddir)/tmp/extras/contrib/BGHUDAppKit
cp -R $(CONTRIB_DIR)/BGHUDAppKit/BGHUDAppKit.framework $(top_builddir)/tmp/extras/contrib/BGHUDAppKit
mkdir -p $(top_builddir)/tmp/extras/contrib/Growl
cp -R $(CONTRIB_DIR)/Growl/Growl.framework $(top_builddir)/tmp/extras/contrib/Growl
if test -d $(CONTRIB_DIR)/Sparkle/Sparkle.framework; then; \
mkdir -p $(top_builddir)/tmp/extras/contrib/Sparkle; \
cp -R $(CONTRIB_DIR)/Sparkle/Sparkle.framework $(top_builddir)/tmp/extras/contrib/Sparkle; \
fi
if test -d $(CONTRIB_DIR)/BGHUDAppKit/BGHUDAppKit.framework; then; \
mkdir -p $(top_builddir)/tmp/extras/contrib/BGHUDAppKit; \
cp -R $(CONTRIB_DIR)/BGHUDAppKit/BGHUDAppKit.framework $(top_builddir)/tmp/extras/contrib/BGHUDAppKit; \
fi
if test -d $(CONTRIB_DIR)/Growl/Growl.framework; then; \
mkdir -p $(top_builddir)/tmp/extras/contrib/Growl; \
cp -R $(CONTRIB_DIR)/Growl/Growl.framework $(top_builddir)/tmp/extras/contrib/Growl; \
fi
mkdir -p $(top_builddir)/tmp/modules/audio_output
mkdir -p $(top_builddir)/tmp/modules/gui/macosx
cd "$(srcdir)/modules/gui/macosx/" && cp \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment