Advertisement
perse

cantata-osx-buildinstructions

Apr 18th, 2014
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. The following steps are used to compile Cantata, and create the OS X application bundle.
  2.  
  3. 1. Install Homebrew and use it to install the packages qt, cmake, oxygen-icons, and ffmpeg.
  4. 2. Open a terminal window in the source directory and run the following commands, replacing <user> with your local username:
  5.  
  6. Create the build directory:
  7.  
  8. > mkdir build
  9. > cd build
  10.  
  11. Generate makefiles:
  12.  
  13. > cmake .. -DENABLE_KDE=OFF
  14.  
  15. Compile:
  16.  
  17. > make
  18.  
  19. Make the .app bundle:
  20.  
  21. > sudo make install
  22.  
  23. Fix permissions on the .app bundle:
  24.  
  25. > sudo chown -R <user>:staff cantata.app/
  26.  
  27. Copy icons to the .app bundle (assuming oxygen-icons was installed to default location):
  28.  
  29. > mkdir cantata.app/Contents/Resources/icons
  30. > cp -r /usr/local/share/icons/oxygen cantata.app/Contents/Resources/icons
  31.  
  32. And you're finished
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement