File bubble-chains-0.1.1-dirs.patch of Package bubble-chains
Sottodirectory in comune: ../chains-0.1.1-src.orig/data e ./data
diff -u ../chains-0.1.1-src.orig/Game.pro ./Game.pro
--- ../chains-0.1.1-src.orig/Game.pro 2010-01-09 17:11:18.000000000 +0100
+++ ./Game.pro 2013-04-15 11:34:13.329832087 +0200
@@ -5,9 +5,9 @@
opengl
unix: {
TARGET = ./bin/chains
- target.path = /usr/local/bin/
+ target.path = /usr/bin/
INSTALLS += target
- datas.path = /usr/local/games/chains
+ datas.path = /usr/share/chains
datas.files = data
INSTALLS += datas
LIBS += -lXrandr
@@ -22,7 +22,7 @@
-lSDL.dll
RC_FILE = res.rc
}
-LIBS += -lSDLmain \
+LIBS += -lSDL -lX11 \
-lSDL_mixer
TEMPLATE = app
SOURCES += main.cpp \
Sottodirectory in comune: ../chains-0.1.1-src.orig/gfx e ./gfx
Sottodirectory in comune: ../chains-0.1.1-src.orig/gui e ./gui
Sottodirectory in comune: ../chains-0.1.1-src.orig/images e ./images
diff -u ../chains-0.1.1-src.orig/main.cpp ./main.cpp
--- ../chains-0.1.1-src.orig/main.cpp 2010-01-09 19:23:48.000000000 +0100
+++ ./main.cpp 2013-04-15 11:34:13.330832087 +0200
@@ -31,7 +31,7 @@
// on X11, we'll check if data directory exists locally first
#ifdef Q_WS_X11
if (!QDir(resourcePath).exists())
- resourcePath = "/usr/local/games/chains/data/";
+ resourcePath = "/usr/share/chains/data/";
#endif
if (!QDir(resourcePath).exists()) {
Sottodirectory in comune: ../chains-0.1.1-src.orig/style e ./style