forked from openhome/ohPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
License
DoomHammer/ohPlayer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
OpenHome Sample Players (https://github.com/openhome/ohPlayer) for Mac, Windows, Linux and Raspberry Pi. Repository and source setup --------------------------- Before building, clone ohdevtools (https://github.com/openhome/ohdevtools.git) into the same parent directory as ohPlayer. OpenHome can fetch pre-built dependencies for ohNet and ohPipeline from the OpenHome build server. To fetch dependencies, run 'go fetch --all' or 'go fetch --all --debug' depending on your build requirements. App dependencies will be downloaded to the ohPlayer/dependencies directory. Building OpenHome Player sample apps: ------------------------------------------ Linux (Ubuntu 12.x onward, Raspbian) ------------------------------------- # install compiler dependencies sudo apt-get update sudo apt-get install gcc-4.8 g++-4.8 # set up gcc alternates; we need gcc4.8 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 20 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.6 20 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50 # install audio and UI dependencies sudo apt-get install gtk+-3-dev libnotify-dev notify-osd libasound2-dev # install package maker sudo apt-get install ruby-dev sudo gem install fpm # make the project cd ohPlayer/linux make ubuntu // release build or make raspbian // release build or DEBUG=1 make ubuntu // debug build or DEBUG=1 make raspbian // debug build or make ubuntu-install // build and install locally or make raspbian-install // build and install locally # generate a debian package for distribution ./GeneratePkg.pl --platform=raspbian --application=openhome-player --version=0.1.2.3 # generate an installer package ./GeneratePkg.pl --platform=raspbian --application=openhome-player --version=0.1.2.3 --installer Cross-compilation is not yet supported. Test applications must be built on the target platform at present. The project will build a GTK menubar application. Windows (Visual Studion 2013) ----------------------------- Open the OpenHomePlayer solution in Visual Studio 2013 and build release or debug variants Win32/OpenHomePlayer.sln The solution will build a windows tray application. The installer generation process employs the Inno Setup 5 tool - http://www.jrsoftware.org/isinfo.php The actual download was 'isetup-5.5.5.exe'. All defaults were chosen during application installation including the installation of the optional pre-processor extensions.. To create the installer, compile the installer script, OpenHomePlayerInstaller.iss, as follows: iscc /dMySrcDir="C:\<src folder>" OpenHomePlayer Installer.iss Where <src folder> identifies the parent folder of the installer (Win32Installer) and application source (Win32) folders. 'setup.exe' will be generated in the Win32Installer folder. Mac OSX (Mountain Lion onward) ------------------------------- Open the Sample Xcode project and build release or debug variants. osx/OpenHomePlayer.xcodeproj The project will build a system menu application.
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C++ 77.5%
- Objective-C++ 7.9%
- JavaScript 4.0%
- Python 4.0%
- Perl 3.7%
- C 1.0%
- Other 1.9%