xmoto:add repo
This commit is contained in:
@@ -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;
|
||||
@@ -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 <sstream>
|
||||
+#include <unistd.h>
|
||||
|
||||
std::vector<std::string>* System::getDisplayModes(int windowed) {
|
||||
std::vector<std::string>* modes = new std::vector<std::string>;
|
||||
@@ -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 <lua5.2/lua.h>
|
||||
+ #include <lua5.2/lauxlib.h>
|
||||
+ #include <lua5.2/lualib.h>
|
||||
+ #elif defined(HAVE_LUA5_1_LUA_H)
|
||||
#include <lua5.1/lua.h>
|
||||
#include <lua5.1/lauxlib.h>
|
||||
#include <lua5.1/lualib.h>
|
||||
Executable
+14
@@ -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;
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 6.7 KiB |
Reference in New Issue
Block a user