[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Latest commit

 

History

History

sources

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
####################################################################################################
################################### BUILDING POLYPHONE FOR LINUX ###################################
####################################################################################################


######### 1. Prerequisite ##########################################################################

The following libraries are required (the name may vary depending on your system):
 - qt         (qt6-base-dev / qt6-qtbase-devel)
 - qt svg     (qt6-svg-dev / qt6-qtsvg-devel)
 - alsa       (libasound2-dev / alsa-lib-devel)
 - jack       (libjack-jack2-dev / jack-audio-connection-kit-devel)
 - rtaudio    (librtaudio-dev / rtaudio-devel)
 - rtmidi     (librtmidi-dev / rtmidi-devel)
 - stk        (libstk0-dev / stk-devel)
 - sndfile    (libsndfile-dev / libsndfile-devel)
 - vorbis     (libvorbis-dev / libvorbis-devel)
 - ogg        (libogg-dev / libogg-devel)
 - openssl    (libssl-dev / openssl-devel)
 - OR wolfssl (libwolfssl-dev)

Use your package manager to install them: apt, synaptic, yum,...


######### 2. Build #################################################################################

Run "qmake -qt6 && make" (or qmake-qt6 && make) in the root directory to compile the project. An
executable file "polyphone" in the directory "RELEASE" should then appear if everything went right.

Note: If you are using Qt Creator, the project may be opened via its .pro file present in the root 
directory.

If you experience compiling issues related to RtAudio, RtMidi, or Stk you can opt to use the
local copies that come with Polyphone by commenting out the related lines at the top of
`polyphone.pro`:

```
# Use local copies of RtAudio, RtMidi, and Stk libraries
# (this is forced to true for Windows or Mac OS X)
# Uncomment a line if your distribution doesn't come with some of the following libraries
#DEFINES += USE_LOCAL_RTMIDI
#DEFINES += USE_LOCAL_RTAUDIO
#DEFINES += USE_LOCAL_STK
```


####################################################################################################
################################## BUILDING POLYPHONE FOR MAC OS X #################################
####################################################################################################


######### 1. Prerequisite ##########################################################################

The following applications are required:
 - Xcode (available in app store)
 - Qt    (http://qt-project.org/downloads)


######### 2. Build #################################################################################

Open polyphone.pro with Qt Creator. When configuring the project, take care shadow build is not
checked.
Build the project, a bundle should appear in the directory "RELEASE".


######### 3. Complete the bundle ###################################################################

Run the following command to include libraries and frameworks inside the bundle (adjust the paths
first!):
/Path/To/Qt/6.6.0/clang_64/bin/macdeployqt /Path/To/trunk/RELEASE/Polyphone.app

If you want to provide a .dmg file, drag the file Polyphone.app onto the icon of the application
"Disk Utility".



####################################################################################################
###################################### TRANSLATING POLYPHONE #######################################
####################################################################################################


If you want to add a new translation or improve an existing one, please see this page:
https://www.polyphone.io/en/documentation/development/translate-polyphone