summarylogtreecommitdiffstats
path: root/desktop-file.patch
blob: a91917a907cc51c77085cf5342443e3c3810da01 (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
49
50
51
52
53
54
55
56
57
58
59
60
Index: linux/xflr5.desktop
===================================================================
--- linux/xflr5.desktop	(revision 1505)
+++ linux/xflr5.desktop	(working copy)
@@ -1,18 +0,0 @@
-[Desktop Entry]
-Categories=Science;Math
-Comment=xflr5 - Airfoil and plane analysis tool
-Exec=/usr/local/bin/xflr5
-GenericName=
-Icon=/usr/local/share/xflr5/xflr5.png
-MimeType=
-Name=xflr5
-NoDisplay=false
-Path=
-StartupNotify=true
-Terminal=false
-TerminalOptions=
-Type=Application
-X-DBUS-ServiceName=
-X-DBUS-StartupType=
-X-KDE-SubstituteUID=false
-X-KDE-Username=
Index: linux/xflr5.desktop.in
===================================================================
--- linux/xflr5.desktop.in	(nonexistent)
+++ linux/xflr5.desktop.in	(working copy)
@@ -0,0 +1,18 @@
+[Desktop Entry]
+Categories=Science;Math
+Comment=xflr5 - Airfoil and plane analysis tool
+Exec=$${PREFIX}/bin/xflr5
+GenericName=
+Icon=$${SHAREDIR}/xflr5.png
+MimeType=
+Name=xflr5
+NoDisplay=false
+Path=
+StartupNotify=true
+Terminal=false
+TerminalOptions=
+Type=Application
+X-DBUS-ServiceName=
+X-DBUS-StartupType=
+X-KDE-SubstituteUID=false
+X-KDE-Username=
Index: xflr5v6/xflr5v6.pro
===================================================================
--- xflr5v6/xflr5v6.pro	(revision 1505)
+++ xflr5v6/xflr5v6.pro	(working copy)
@@ -70,7 +70,8 @@
     BINDIR = $$PREFIX/bin
     SHAREDIR = $$PREFIX/share/xflr5
 
-    desktop.path = $$(HOME)/.local/share/applications
+    QMAKE_SUBSTITUTES += ../linux/$${TARGET}.desktop.in
+    desktop.path = $${PREFIX}/share/applications
     desktop.files += ../linux/$${TARGET}.desktop
 
     icon128.path = $$SHAREDIR