Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Commit

Permalink
Update install_macosx_libraries Makefile target
Browse files Browse the repository at this point in the history
  • Loading branch information
gohai committed May 24, 2017
1 parent a024d53 commit 1d93863
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/native/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ clean:

install_macosx_libraries: $(TARGET)
rm -rf ../../library/macosx/*
# download and install latest gstreamer-1.0 package for x86_64 from
# download and install latest gstreamer-1.0 devel package for x86_64 from
# https://gstreamer.freedesktop.org/data/pkg/osx/
# put https://raw.githubusercontent.com/GStreamer/gst-plugins-bad/master/gst-libs/gst/gl/cocoa/gstglcontext_cocoa.h into
# /Library/Frameworks/GStreamer.framework/Versions/1.0/Headers/gst/gl/cocoa
mkdir -p ../../library/macosx
cp /Library/Frameworks/GStreamer.framework/Libraries/*.dylib ../../library/macosx
# pip install osxrelocator
Expand All @@ -86,5 +88,7 @@ install_macosx_libraries: $(TARGET)
# libglvideo.so is required for the python script below
cp libglvideo.so ../../library/macosx/libglvideo.jnilib
python ./macosx_remove_extra_libs.py
# silence runtime error
rm -f ../../library/macosx/gstreamer-1.0/libgstopenjpeg.so

.PHONY: iface.h clean install_macosx_libraries

0 comments on commit 1d93863

Please sign in to comment.