/[svn]/qsampler/trunk/src/src.pro
ViewVC logotype

Diff of /qsampler/trunk/src/src.pro

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2483 by capela, Thu Dec 12 17:39:52 2013 UTC revision 2987 by capela, Fri Sep 23 11:42:50 2016 UTC
# Line 64  FORMS += \ Line 64  FORMS += \
64  RESOURCES += \  RESOURCES += \
65          qsampler.qrc          qsampler.qrc
66    
67    
68  TRANSLATIONS += \  TRANSLATIONS += \
69      translations/qsampler_cs.ts \          translations/qsampler_cs.ts \
70      translations/qsampler_ru.ts          translations/qsampler_ru.ts
71    
72    
73  unix {  unix {
# Line 80  unix { Line 81  unix {
81                  PREFIX = /usr/local                  PREFIX = /usr/local
82          }          }
83    
84          BINDIR = $${PREFIX}/bin          isEmpty(BINDIR) {
85          DATADIR = $${PREFIX}/share                  BINDIR = $${PREFIX}/bin
86          LOCALEDIR = $(localedir)          }
   
         DEFINES += DATADIR=\"$${DATADIR}\"  
87    
88          !isEmpty(LOCALEDIR) {          isEmpty(DATADIR) {
89                  DEFINES += LOCALEDIR=\"$${LOCALEDIR}\"                  DATADIR = $${PREFIX}/share
90          }          }
91    
92            #DEFINES += DATADIR=\"$${DATADIR}\"
93    
94          # make install          # make install
95          INSTALLS += target desktop icon \          INSTALLS += target desktop icon appdata \
96                  icon_scalable mimeinfo mimetypes mimetypes_scalable                  icon_scalable mimeinfo mimetypes mimetypes_scalable
97    
98          target.path = $${BINDIR}          target.path = $${BINDIR}
# Line 105  unix { Line 106  unix {
106          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps          icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
107          icon_scalable.files += images/$${NAME}.svg          icon_scalable.files += images/$${NAME}.svg
108    
109            appdata.path = $${DATADIR}/appdata
110            appdata.files += appdata/$${NAME}.appdata.xml
111    
112          mimeinfo.path = $${DATADIR}/mime/packages          mimeinfo.path = $${DATADIR}/mime/packages
113          mimeinfo.files += mimetypes/$${NAME}.xml          mimeinfo.files += mimetypes/$${NAME}.xml
114    
# Line 132  macx { Line 136  macx {
136  # QT5 support  # QT5 support
137  !lessThan(QT_MAJOR_VERSION, 5) {  !lessThan(QT_MAJOR_VERSION, 5) {
138          QT += widgets          QT += widgets
139            unix:!macx {
140                    QT += x11extras
141            }
142  }  }

Legend:
Removed from v.2483  
changed lines
  Added in v.2987

  ViewVC Help
Powered by ViewVC