Created
November 13, 2013 17:32
-
-
Save tobias-schulz/7453030 to your computer and use it in GitHub Desktop.
Build Monogame > 4.0 on Ubuntu 13.10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add this line to your software sources | |
deb http://debian.meebey.net/experimental/mono / | |
# Of course, apt-get remove mono-complete first... | |
sudo apt-get update | |
sudo apt-get install build-essential automake checkinstall intltool git | |
sudo apt-get install mono-complete mono-addins-utils gtk-sharp2 gnome-sharp2 | |
# I installed monodevelop from apt just to get all the prereqs | |
sudo apt-get install monodevelop | |
# Build MonoDevelop | |
git clone git://github.com/mono/monodevelop | |
cd monodevelop | |
git checkout monodevelop-4.2 | |
git submodule update --init --recursive | |
./configure | |
make | |
sudo checkinstall | |
# Build MonoGame... | |
git clone https://github.com/mono/MonoGame | |
cd MonoGame | |
git submodule update --init --recursive | |
# ... build the content pipeline | |
cd IDE/MonoDevelop/MonoDevelop.MonoGameContent/MonoDevelop.MonoGameContent/ | |
xbuild MonoDevelop.MonoGameContent.Linux.csproj | |
cd bin/Debug/ | |
mdtool setup pack MonoDevelop.MonoGameContent.addin.xml | |
# => MonoDevelop.MonoGameContent_3.0.0.mpack | |
# ... build the templates | |
cd ProjectTemplates/MonoDevelop/MonoDevelop.MonoGame/ | |
cat MonoDevelop.MonoGame/MonoDevelop.MonoGame.addin.xml | egrep -v 'assemblies/(iOS|Mac|Android|WindowsGL)' | perl -n -e 's/Addin id="(SourceEditor2|Ide|Core)" version="3.0"/Addin id="$1" version="4.0"/igm; print' > MonoDevelop.MonoGame/MonoDevelop.MonoGame.Linux.addin.xml | |
sed -i '[email protected]@MonoDevelop.MonoGame.Linux.addin.xml@gm' MonoDevelop.MonoGame/MonoDevelop.MonoGame.Linux.csproj | |
xbuild MonoDevelop.MonoGame.sln | |
cd MonoDevelop.MonoGame | |
mdtool setup pack MonoDevelop.MonoGame.Linux.addin.xml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does this remain valid for building MonoGame mpacks?
Isn't this missing executing proto build?
While this does build mpacks that may be installed in MonoDevelop, they do not appear functional.