diff --git a/game/sports/component.xml b/game/sports/component.xml
new file mode 100644
index 0000000000..032e4c7529
--- /dev/null
+++ b/game/sports/component.xml
@@ -0,0 +1,3 @@
+
+ game.sports
+
diff --git a/game/sports/xmoto/actions.py b/game/sports/xmoto/actions.py
new file mode 100644
index 0000000000..3b4ecc7ffa
--- /dev/null
+++ b/game/sports/xmoto/actions.py
@@ -0,0 +1,27 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+#
+# Licensed under the GNU General Public License, version 3.
+# See the file http://www.gnu.org/licenses/gpl.txt
+
+from pisi.actionsapi import autotools
+from pisi.actionsapi import pisitools
+from pisi.actionsapi import shelltools
+from pisi.actionsapi import get
+
+def setup():
+ shelltools.system("./bootstrap")
+ shelltools.system("rm -r src/ode")
+ shelltools.export("CPPFLAGS", "-D_GLIBCXX_USE_CXX11_ABI=0")
+ autotools.autoreconf("-vfi")
+ autotools.configure("--prefix=/usr \
+ --disable-sdltest \
+ --with-internal-xdg=1")
+
+def build():
+ autotools.make()
+
+def install():
+ autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
+ pisitools.insinto("/usr/share/applications", "extra/xmoto.desktop")
+ pisitools.insinto("/usr/share/pixmaps", "extra/xmoto.xpm")
diff --git a/game/sports/xmoto/files/genericname_pl-tr.patch b/game/sports/xmoto/files/genericname_pl-tr.patch
new file mode 100644
index 0000000000..bc771eb974
--- /dev/null
+++ b/game/sports/xmoto/files/genericname_pl-tr.patch
@@ -0,0 +1,11 @@
+--- extra/xmoto.desktop~ 2012-12-09 00:18:19.396987813 +0100
++++ extra/xmoto.desktop 2012-12-09 00:19:24.114990499 +0100
+@@ -4,6 +4,8 @@
+ Name=Xmoto
+ GenericName=Motocross game
+ GenericName[fr_FR]=Jeu de moto
++GenericName[pl]=Gra motokrosowa
++GenericName[tr]=Motokros Oyunu
+ Icon=xmoto.xpm
+ Exec=xmoto
+ Categories=Game;SportsGame;
diff --git a/game/sports/xmoto/files/xmoto-0.5.10-gcc47.patch b/game/sports/xmoto/files/xmoto-0.5.10-gcc47.patch
new file mode 100644
index 0000000000..eb0843ef35
--- /dev/null
+++ b/game/sports/xmoto/files/xmoto-0.5.10-gcc47.patch
@@ -0,0 +1,10 @@
+--- src/helpers/System.cpp.old 2012-06-12 11:01:24.332083600 +0200
++++ src/helpers/System.cpp 2012-06-12 11:01:35.335083715 +0200
+@@ -24,6 +24,7 @@
+ #include "Log.h"
+ #include "VExcept.h"
+ #include
++#include
+
+ std::vector* System::getDisplayModes(int windowed) {
+ std::vector* modes = new std::vector;
diff --git a/game/sports/xmoto/files/xmoto-lua51.patch b/game/sports/xmoto/files/xmoto-lua51.patch
new file mode 100644
index 0000000000..03412b40f7
--- /dev/null
+++ b/game/sports/xmoto/files/xmoto-lua51.patch
@@ -0,0 +1,27 @@
+diff -up xmoto-0.5.10/configure.in.lua52 xmoto-0.5.10/configure.in
+--- xmoto-0.5.10/configure.in.lua52 2012-05-02 18:08:40.000000000 -0300
++++ xmoto-0.5.10/configure.in 2013-06-22 19:03:13.930669408 -0300
+@@ -171,6 +171,7 @@ AC_CHECK_HEADER(lua/lua.h, AC_DEFINE(
+ AC_CHECK_HEADER(lua50/lua.h, AC_DEFINE(HAVE_LUA50_LUA_H) [USE_LUA_VERSION="5.0"])
+ AC_CHECK_HEADER(lua51/lua.h, AC_DEFINE(HAVE_LUA51_LUA_H) [USE_LUA_VERSION="5.1"])
+ AC_CHECK_HEADER(lua5.1/lua.h, AC_DEFINE(HAVE_LUA5_1_LUA_H)[USE_LUA_VERSION="5.1"])
++AC_CHECK_HEADER(lua5.2/lua.h, AC_DEFINE(HAVE_LUA5_2_LUA_H)[USE_LUA_VERSION="5.2"])
+ AC_DEFINE(LUA_COMPAT_MODULE, 1)
+
+ AC_LANG_PUSH([C++])
+diff -up xmoto-0.5.10/src/include/xm_lua.h.lua52 xmoto-0.5.10/src/include/xm_lua.h
+--- xmoto-0.5.10/src/include/xm_lua.h.lua52 2013-06-22 19:08:07.873274342 -0300
++++ xmoto-0.5.10/src/include/xm_lua.h 2013-06-22 19:08:43.074802543 -0300
+@@ -4,7 +4,11 @@ extern "C" {
+ #include "lauxlib.h"
+ #include "lualib.h"
+ #else
+- #if defined(HAVE_LUA5_1_LUA_H)
++ #if defined(HAVE_LUA5_2_LUA_H)
++ #include
++ #include
++ #include
++ #elif defined(HAVE_LUA5_1_LUA_H)
+ #include
+ #include
+ #include
diff --git a/game/sports/xmoto/files/xmoto.desktop b/game/sports/xmoto/files/xmoto.desktop
new file mode 100755
index 0000000000..964feda400
--- /dev/null
+++ b/game/sports/xmoto/files/xmoto.desktop
@@ -0,0 +1,14 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Type=Application
+Version=1.0
+Encoding=UTF-8
+Name=X-Moto
+Name[tr]=X-Moto
+GenericName=Motocross Game
+GenericName[tr]=Motokros Oyunu
+Icon=xmoto
+Exec=xmoto
+Terminal=false
+StartupNotify=false
+Categories=Application;Game;SportsGame;
diff --git a/game/sports/xmoto/files/xmoto.png b/game/sports/xmoto/files/xmoto.png
new file mode 100644
index 0000000000..b0d2c4c0f6
Binary files /dev/null and b/game/sports/xmoto/files/xmoto.png differ
diff --git a/game/sports/xmoto/pspec.xml b/game/sports/xmoto/pspec.xml
new file mode 100644
index 0000000000..d7909945f9
--- /dev/null
+++ b/game/sports/xmoto/pspec.xml
@@ -0,0 +1,71 @@
+
+
+
+
+ xmoto
+ http://xmoto.tuxfamily.org/
+
+ PisiLinux Community
+ admins@pisilinux.org
+
+ GPLv2
+ xmoto
+ app:gui
+ Motorcross game
+ A motocross game with fancy effects like ghost replay. Requires a 3D accelerated video card.
+ http://download.tuxfamily.org/xmoto/xmoto/0.5.11/xmoto-0.5.11-src.tar.gz
+
+ libxml2-devel
+ curl-devel
+ libsdl-devel
+ sdl-mixer-devel
+ sdl-ttf-devel
+ sdl-net-devel
+ lua51-devel
+ zlib-devel
+ libpng-devel
+ ode-devel
+ sqlite-devel
+ mesa-devel
+ mesa-glu-devel
+ libjpeg-turbo-devel
+
+
+
+ genericname_pl-tr.patch
+
+
+
+
+ xmoto
+
+ libsdl
+ sdl-mixer
+ sdl-ttf
+ sdl-net
+ lua
+ ode
+ mesa
+ mesa-glu
+ libjpeg-turbo
+
+
+ /usr/bin
+ /usr/share/applications
+ /usr/share/locale
+ /usr/share/man
+ /usr/share/pixmaps
+ /usr/share/xmoto
+
+
+
+
+
+ 2017-03-09
+ 0.5.11
+ First release
+ Alihan Öztürk
+ alihan@pisilinux.org
+
+
+
diff --git a/game/sports/xmoto/translations.xml b/game/sports/xmoto/translations.xml
new file mode 100644
index 0000000000..28e3c94b9b
--- /dev/null
+++ b/game/sports/xmoto/translations.xml
@@ -0,0 +1,10 @@
+
+
+
+ xmoto
+ Motokros oyunu
+ Motocrossowa gra platformowa
+ Gölge tekrarlama gibi güzel özellikleri olan motokros yarışı. 3B hızlandırıcılı ekran kartı gerektirir
+ X-Moto jest wyzywającą motocrossową dwuwymiarową grą platformową, gdzie fizyka ma w rozgrywce główną rolę. Panowanie nad motorem musi być jak najbardziej wyżyłowane, jeżeli chce się myśleć o ukończeniu trudniejszych poziomów.
+
+