-
Notifications
You must be signed in to change notification settings - Fork 366
Windows Build Instructions
Christian Muehlhaeuser edited this page Dec 5, 2015
·
2 revisions
Adding the following repositories enables you to install the mingw32 cross compiler tool-chain and a few other dependencies:
sudo zypper addrepo http://download.opensuse.org/repositories/windows:/mingw/openSUSE_11.4/windows:mingw.repo
sudo zypper addrepo http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_11.4/windows:mingw:win32.repo
sudo zypper addrepo http://download.tomahawk-player.org/packman/mingw:32/openSUSE_11.4/mingw:32.repo
sudo zypper refresh
sudo zypper dist-upgrade
If you don't have ccache install it (or remove it from the Toolchain file)
sudo zypper install ccache
To install all packages needed for compiling do
sudo zypper source-install --build-deps-only mingw32-tomahawk-unstable
All packages needed for generating the installer are installed like this
sudo zypper source-install --build-deps-only mingw32-tomahawk-player-installer
git clone https://github.com/tomahawk-player/tomahawk.git
mkdir tomahawk/build
cd tomahawk/build
cmake -DCMAKE_TOOLCHAIN_FILE=../admin/win/Toolchain-mingw32-openSUSE.cmake ..
make
make package
An installer with the filename tomahawk-x.y.z.exe will be created.