A bailar se ha dicho! Stepmania el juego para bajar kilos.
Hace algunos días observaba como mi sobrina bailaba con algunos vídeos de Youtube, inmediatamente me pregunte si existía algún juego de baile para Linux, y buscando llegue a Stepmania, un juego para grandes y niños que puede alegrar nuestro día o compartir una tarde en familia.
Vamos al grano
¿Cómo instalarlo en Ubuntu?
Desafortunadamente no existe un .deb o un ppa de Stepmania. ¿Pero que tal si empaquetamos Stepmania fácilmente? Te aventuras?
Abriendo una terminal (Ctrl+Alt+T)
Instalamos dependencias para poder compilar el código fuente.
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
sudo apt-get install libasound2-dev libpulse-dev libmad0-dev libtheora-dev libvorbis-dev libpng-dev libjpeg-dev libglu1-mesa-dev libgl1-mesa-dev xorg-dev libxrandr-dev libbz2-dev libglew1.5-dev glew-utils libglew-dev libglewmx-dev libgtk2.0-dev yasm automake libtool gettext git |
Instalamos dependencias para poder crear nuestro .deb
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
sudo apt-get -y install ruby-dev rpm git | |
sudo gem install fpm |
Descargamos el código fuente
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
wget -c https://github.com/stepmania/stepmania/releases/download/v5.0.6/stepmania-5.0.6.tar.gz |
Extraemos el código fuente en nuestro directorio temporal
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
tar zxvf stepmania-5.0.6.tar.gz -C /tmp/ |
Creamos directorios temporales para trabajar.
mkdir /tmp/installdir
cd /tmp/installdir
Compilamos
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
cd /tmp/stepmania-5.0.6/ | |
autoreconf -vfi | |
./configure --prefix=/tmp/installdir/usr/share/games/ --without-ffmpeg | |
make | |
* Instalamos en un entorno fakeroot * | |
make install | |
cp -ar /tmp/stepmania-5.0.6/icons /tmp/installdir/usr/share/ | |
cp -rf /tmp/stepmania-5.0.6/Songs/* /tmp/installdir/usr/share/games/stepmania-5.0/Songs/ |
Hacemos el acceso directo
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
mkdir /tmp/installdir/usr/share/applications/ | |
git clone https://gist.github.com/4be6063d3c1e5966cf31.git && cp -f /tmp/stepmania-5.0.6/4be6063d3c1e5966cf31/stepmania.desktop /tmp/installdir/usr/share/applications/ |
Creamos el lanzador
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
mkdir /tmp/installdir/usr/bin/ | |
git clone https://gist.github.com/1ef6c152da402c33c3c6.git && cp -f /tmp/stepmania-5.0.6/1ef6c152da402c33c3c6/stepmania /tmp/installdir/usr/bin/ |
Le damos permisos al lanzador
chmod a+x /tmp/installdir/usr/bin/stepmania
Creacion del .deb.
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
cd .. | |
fpm -s dir -t deb -p stepmania-VERSION_ARCH.deb -n stepmania -v 5.0.6 -m "Packer Team <packer at gmail dot com>" --vendor "unknown" --license "MIT" --url http://www.stepmania.com --description "Dance and rhythm game with 3D graphics and dance pad support" -d libasound2 -d libpulse0 -d libmad0 -d libtheora0 -d libvorbis0a -d libpng12-0 -d libjpeg-turbo8 -d libglu1-mesa -d xorg -d libxrandr2 -d libbz2-1.0 -d libglew1.10 -d libglewmx1.10 -d libgtk2.0-0 -C /tmp/installdir usr/ |
Instalación
sudo dpkg -i stepmania-5.0.6-*.deb
Fedora
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
su | |
dnf -y install wget | |
wget -P /etc/yum.repos.d/ https://raw.github.com/kuboosoft/postinstallerf/master/postinstallerf.repo | |
dnf -y install stepmania |
Arch Linux
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
yaourt -S stepmania-git |
0 comentarios:
Publicar un comentario
Si comentas te pedimos por favor respeto y críticas constructivas referentes al título del articulo. Cualquier comentario para desviar el tema, spam o trolleo no será permitido. Gracias por comentar.