Skip to content

Instantly share code, notes, and snippets.

View kuboosoft's full-sized avatar

kuboosoft

  • All world
View GitHub Profile
[Desktop Entry]
Encoding=UTF-8
Name=StepMania
GenericName=Rhythm and dance game
TryExec=stepmania
Exec=stepmania
Terminal=false
Icon=/usr/share/icons/hicolor/128x128/apps/stepmania-ssc.png
Type=Application
Categories=Application;Game;ArcadeGame
#!/bin/bash
gamesdatadir=/usr/share/games/
pver=5.0
cd $gamesdatadir/stepmania-$pver
exec ./stepmania
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/
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
sudo apt-get -y install ruby-dev rpm git
sudo gem install fpm
cd /tmp/stepmania-5.0.6/
autoreconf -vfi
./configure --prefix=/tmp/installdir/usr/share/games/ --without-ffmpeg
make
* Instalamos en un entorno fakeroot *
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/
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/
su
dnf -y install wget
wget -P /etc/yum.repos.d/ https://raw.github.com/kuboosoft/postinstallerf/master/postinstallerf.repo
dnf -y install stepmania
yaourt -S stepmania-git