blob: 2f76b63c691988c10802f2882bb9f7b1cf9cbf27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
diff -u -r ../jag-0.3.2-src.orig/Game.pro ./Game.pro
--- ../jag-0.3.2-src.orig/Game.pro 2012-03-02 23:50:16.000000000 +0100
+++ ./Game.pro 2013-02-09 22:49:25.860349664 +0100
@@ -5,9 +5,9 @@
opengl
unix: {
TARGET = ./bin/jag
- target.path = /usr/local/bin/
+ target.path = /usr/bin/
INSTALLS += target
- datas.path = /usr/local/games/jag
+ datas.path = /usr/share/jag
datas.files = data
INSTALLS += datas
LIBS += -lXrandr
@@ -22,7 +22,7 @@
-lSDL.dll
RC_FILE = res.rc
}
-LIBS += -lSDLmain \
+LIBS += -lSDL -lX11 \
-lSDL \
-lSDL_mixer
TEMPLATE = app
diff -u -r ../jag-0.3.2-src.orig/editor/editor.pro ./editor/editor.pro
--- ../jag-0.3.2-src.orig/editor/editor.pro 2009-12-14 22:20:12.000000000 +0100
+++ ./editor/editor.pro 2013-02-09 22:49:25.862349666 +0100
@@ -4,7 +4,7 @@
unix: {
TARGET = ./bin/jag-editor
- target.path = /usr/local/bin/
+ target.path = /usr/bin/
INSTALLS += target
}
win32: {
diff -u -r ../jag-0.3.2-src.orig/main.cpp ./main.cpp
--- ../jag-0.3.2-src.orig/main.cpp 2012-03-03 16:19:11.000000000 +0100
+++ ./main.cpp 2013-02-09 22:49:25.861349662 +0100
@@ -37,7 +37,7 @@
// on X11, we'll check if data directory exists locally first
#ifdef Q_WS_X11
if (!QDir(resourcePath).exists())
- resourcePath = "/usr/local/games/jag/data/";
+ resourcePath = "/usr/share/jag/data/";
#endif
if (!QDir(resourcePath).exists()) {
|