aboutsummaryrefslogtreecommitdiffstats
path: root/cad/fritzing/files/patch-phoenix.pro
blob: 333e9408db20737610ec1442d9e571f2c14ba55c (plain) (blame)
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
--- phoenix.pro.orig	2024-02-22 13:06:37 UTC
+++ phoenix.pro
@@ -31,7 +31,7 @@
 # QTPLUGIN  += qjpeg qsqlite
 
 
-CONFIG += debug_and_release
+CONFIG += release
 win32 {
 # release build using msvc 2010 needs to use Multi-threaded (/MT) for the code generation/runtime library option
 # release build using msvc 2010 needs to add msvcrt.lib;%(IgnoreSpecificDefaultLibraries) to the linker/no default libraries option
@@ -92,7 +92,7 @@ unix {
 unix {
     !macx { # unix is defined on mac
         HARDWARE_PLATFORM = $$system(uname -m)
-        contains( HARDWARE_PLATFORM, x86_64 ) {
+        contains( HARDWARE_PLATFORM, amd64 ) {
             DEFINES += LINUX_64
         } else {
             DEFINES += LINUX_32
@@ -101,7 +101,7 @@ unix {
     }
 
         isEmpty(PREFIX) {
-                PREFIX = /usr
+                PREFIX = /usr/local
         }
         BINDIR = $$PREFIX/bin
         DATADIR = $$PREFIX/share
@@ -117,8 +117,8 @@ unix {
         manpage.path = $$DATADIR/man/man1
         manpage.files += Fritzing.1
 
-        icon.path = $$DATADIR/icons
-        icon.extra = install -D -m 0644 $$PWD/resources/images/fritzing_icon.png $(INSTALL_ROOT)$$DATADIR/icons/fritzing.png
+        icon.path = $$DATADIR/icons/hicolor/64x64/apps
+        icon.extra = install -m 0644 $$PWD/resources/images/fritzing_icon.png $(INSTALL_ROOT)$$DATADIR/icons/hicolor/64x64/apps/fritzing.png
 
         parts.path = $$PKGDATADIR
         parts.files += parts