Ticket #37748: dream.pro.diff
File dream.pro.diff, 3.3 KB (added by gilles.risch@…, 12 years ago) |
---|
-
dream.pro
old new 72 72 FORMS += JLViewer.ui BWSViewer.ui SlideShowViewer.ui 73 73 unix { 74 74 macx { 75 exists( libs/qwt.framework) {76 message("with qwt6")77 INCLUDEPATH += libs/qwt75 exists(@PREFIX@/lib/qwt.framework) { 76 message("with macports qwt6") 77 INCLUDEPATH += @PREFIX@/lib/qwt.framework/Headers 78 78 LIBS += -framework qwt 79 79 } 80 80 else { … … 135 135 } 136 136 } 137 137 macx { 138 INCLUDEPATH += /Developer/dream/include /opt/local/include139 LIBS += -L /Developer/dream/lib -L/opt/local/lib138 INCLUDEPATH += @PREFIX@/include 139 LIBS += -L@PREFIX@/lib 140 140 LIBS += -framework CoreFoundation -framework CoreServices 141 141 LIBS += -framework CoreAudio -framework AudioToolbox -framework AudioUnit 142 142 UI_DIR = moc 143 143 MOC_DIR = moc 144 144 RC_FILE = src/GUI-QT/res/macicons.icns 145 145 } 146 exists( libs/faac.h) {146 exists(@PREFIX@/include/faac.h) { 147 147 CONFIG += faac 148 message("with FAAC")148 message("with macports FAAC") 149 149 } 150 exists( libs/neaacdec.h) {150 exists(@PREFIX@/include/neaacdec.h) { 151 151 CONFIG += faad 152 message("with FAAD2")152 message("with macports FAAD2") 153 153 } 154 154 unix { 155 155 target.path = /usr/bin … … 160 160 message("with pulseaudio") 161 161 } 162 162 else { 163 #packagesExist(portaudio-2.0) {164 CONFIG += portaudio165 PKGCONFIG += portaudio-2.0166 message("withportaudio")163 exists(@PREFIX@/include/portaudio.h) { 164 CONFIG += portaudio 165 PKGCONFIG += portaudio-2.0 166 message("with macports portaudio") 167 167 } 168 exists(/usr/include/hamlib/rig.h) { 168 } 169 exists(@PREFIX@/include/hamlib/rig.h) { 169 170 CONFIG += hamlib 170 message("with hamlib")171 message("with macports hamlib") 171 172 } 172 173 exists(/usr/local/include/hamlib/rig.h) { 173 174 CONFIG += hamlib … … 177 178 CONFIG += gps 178 179 message("with gps") 179 180 } 180 exists( /usr/include/pcap.h) {181 exists(@PREFIX@/include/pcap.h) { 181 182 CONFIG += pcap 182 message("with pcap")183 message("with macports pcap") 183 184 } 184 185 exists(/usr/include/sndfile.h) { 185 186 CONFIG += sndfile 186 187 message("with libsndfile") 187 188 } 188 exists( /opt/local/include/sndfile.h) {189 exists(@PREFIX@/include/sndfile.h) { 189 190 CONFIG += sndfile 190 message("with libsndfile")191 message("with macports libsndfile") 191 192 } 192 exists( /usr/include/fftw3.h) {193 exists(@PREFIX@/include/fftw3.h) { 193 194 DEFINES += HAVE_FFTW3_H 194 195 message("withfftw3")195 LIBS += -lfftw3 196 message("with macports fftw3") 196 197 } 197 198 else { 198 199 exists(/usr/include/fftw.h) { … … 307 308 faad { 308 309 DEFINES += HAVE_LIBFAAD \ 309 310 USE_FAAD2_LIBRARY 310 LIBS += -lfaad _drm311 LIBS += -lfaad 311 312 } 312 313 faac { 313 314 DEFINES += HAVE_LIBFAAC \ 314 315 USE_FAAC_LIBRARY 315 LIBS += -lfaac _drm316 LIBS += -lfaac 316 317 } 317 318 sndfile { 318 319 DEFINES += HAVE_LIBSNDFILE