Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

86 lines (64 sloc) 2.574 kb
Content
==================
* Desura
* Build Desura on Linux
* Build Desura on Windows
* Create Packages
Desura
===================
Desura is a gaming client that allows users to one click download and install games and game modification.
For more information, visit http://www.moddb.com/groups/desura/forum/thread/open-sourcing-desura
Build Desura on Linux
===================
Run ./build_desura.sh
In order to make use of multiple CPU cores while compiling, run
./build_desura.sh -j8
which will invoke "make -j8" so the build is speeded up extremely
and takes only 7 mins on a modern machine (intel core i7 2635QM)
"8" will be the number of compile-thread to run at a time.
You can find out the number of cores you have running:
getconf _NPROCESSORS_ONLN
Required dependencies (can be installed by package manager or install-deps.sh):
boost
c-ares (for ares support in curl)
cmake
gtk2
OpenSSL
anything chromium and v8 requires
Optional dependencies (will be built by cmake if not existing):
bzip2
curl (while building without ares support)
sqlite
tinyxml
v8
Finally run Desura using ./run_desura.sh
If you're on a 64bit system and want 32bit support, abort building it and go to
the 'build' folder, and edit the CMake cache as to enable 32BIT_SUPPORT.
(You can use ccmake or cmake-gui for this).
Build Desura on Windows
=====================
Download and install:
* TortoiseSvn http://tortoisesvn.net/downloads.html. Make sure to install command line tools
* msysGit https://code.google.com/p/msysgit/downloads/list
* TortoiseSvn: http://tortoisesvn.net/downloads.html
* TortoiseGit http://code.google.com/p/tortoisegit/downloads/list. Make sure to install at least the patch tool
* Windows Sdk 7.1 http://www.microsoft.com/download/en/details.aspx?id=8279
(If applicable)
* Python 2.7 http://www.python.org/getit/
* SCons http://www.scons.org/download.php (same architecture as python 2.7!)
* CMake 2.8 http://www.cmake.org/
Note: Make sure you add git to your environment path and also set SVN_PATH to point to the tortise svn path
Open a 32bit cmd.exe with env vars set up by vc or other scripts (so we have a full build environment)
run ./build_desura.bat
wait
Create Packages
=====================
You can simply run the following commands to create packages for installing desura with your package manager:
1. mkdir package
2. cd package
3. cmake .. -DPACKAGE_TYPE="{PACKAGE_TYPE}" -DCMAKE_INSTALL_PREFIX="/opt/desura"
4. make package
Supported Values for PACKAGE_TYPE are:
* DEB
* RPM
You can also mix them like: DEB;RPM
Jump to Line
Something went wrong with that request. Please try again.