File tree 6 files changed +63
-6
lines changed
6 files changed +63
-6
lines changed Original file line number Diff line number Diff line change
1
+ [Desktop Entry]
2
+ Type =Application
3
+ Exec =~/.local/bin/FATool
4
+ Name =FATool
5
+ GenericName =Fluctuations analysis application
6
+ Icon =fatool
7
+ Terminal =false
8
+ Name[en_US]=FATool
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ unix:!macx {
11
11
}
12
12
13
13
macx: {
14
- INCLUDEPATH += /opt/local/include/
15
- LIBS += -L/opt/local/lib / -lgsl -lgslcblas -lm
14
+ INCLUDEPATH += ../3rd_party/includes
15
+ LIBS += -L../3rd_party/macos/libs / -lgsl -lgslcblas -lm
16
16
}
17
17
18
18
QT = core gui
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ copy_icon () {
4
+ ICONS_PATH=" $HOME /.local/share/icons/hicolor"
5
+ mkdir -p " $ICONS_PATH /$1 x$1 /apps"
6
+ cp " icons/logo_$1 .png" " $ICONS_PATH /$1 x$1 /apps/fatool.png"
7
+ }
8
+
9
+ # binary
10
+ cp bin/FATool " $HOME /.local/bin"
11
+
12
+ # libraries
13
+ mkdir -p " $HOME /.local/lib/fatool"
14
+ cp lib/* " $HOME /.local/lib/fatool"
15
+
16
+ # icons
17
+ copy_icon 16
18
+ copy_icon 24
19
+ copy_icon 32
20
+ copy_icon 48
21
+ copy_icon 64
22
+ copy_icon 128
23
+ copy_icon 256
24
+ copy_icon 512
25
+
26
+ # .desktop file
27
+ cp FATool.desktop " $HOME /.local/share/applications"
28
+ sed ' s@~@' " $HOME " ' @g' FATool.desktop > " $HOME /.local/share/applications/FATool.desktop"
29
+
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ unix:!macx {
11
11
}
12
12
13
13
macx: {
14
- INCLUDEPATH += /opt/local/include/
15
- LIBS += -L/opt/local/lib / -lgsl -lgslcblas -lm
14
+ INCLUDEPATH += ../3rd_party/includes
15
+ LIBS += -L../3rd_party/macos/libs / -lgsl -lgslcblas -lm
16
16
}
17
17
18
18
QT = core testlib
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ unix:!macx {
11
11
}
12
12
13
13
macx: {
14
- INCLUDEPATH += /opt/local/include/
15
- LIBS += -L/opt/local/lib / -lgsl -lgslcblas -lm
14
+ INCLUDEPATH += ../3rd_party/includes
15
+ LIBS += -L../3rd_party/macos/libs / -lgsl -lgslcblas -lm
16
16
}
17
17
18
18
QT = core testlib
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ MAIN_PATH=" $1 /fatool"
4
+ BIN_PATH=" $1 /fatool/bin"
5
+ ICONS_PATH=" $1 /fatool/icons"
6
+ LIB_PATH=" $1 /fatool/lib"
7
+
8
+ mkdir -p $MAIN_PATH
9
+ mkdir -p $BIN_PATH
10
+ mkdir -p $ICONS_PATH
11
+ mkdir -p $LIB_PATH
12
+
13
+ cp FATool.desktop $MAIN_PATH
14
+ cp install.sh $MAIN_PATH
15
+ cp 3rd_party/ubuntu/libs/* $LIB_PATH
16
+ cp icons/logo_* .png $ICONS_PATH
17
+ cp ../build-FATool-* /app/release/FATool $BIN_PATH
18
+
19
+ tar -czf " $1 /fatool.tar.gz" $MAIN_PATH --remove-files
20
+
You can’t perform that action at this time.
0 commit comments