~ubuntu-branches/ubuntu/vivid/tea/vivid-proposed

« back to all changes in this revision

Viewing changes to .pc/0002-Fix-target-path-for-binary-installation.patch/src.pro

  • Committer: Package Import Robot
  • Author(s): Tobias Quathamer
  • Date: 2014-10-22 19:53:04 UTC
  • mfrom: (1.2.15)
  • Revision ID: package-import@ubuntu.com-20141022195304-ns9m470yend0ywyy
Tags: 38.0.0-1
* Imported Upstream version 38.0.0
* Refresh patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
VERSION = 37.2.1
 
1
VERSION = 38.0.0
2
2
 
3
3
os2: {
4
 
DEFINES += 'VERSION_NUMBER=\'"37.2.1"\''
 
4
DEFINES += 'VERSION_NUMBER=\'"38.0.0"\''
5
5
} else: {
6
6
  DEFINES += 'VERSION_NUMBER=\\\"$${VERSION}\\\"'
7
7
}
10
10
DEFINES += NOCRYPT \
11
11
          NOUNCRYPT
12
12
 
13
 
 
14
 
isEmpty(USE_ASPELL) {
15
 
         USE_ASPELL = true }
16
 
 
17
 
isEmpty(USE_HUNSPELL) {
18
 
         USE_HUNSPELL = true }
19
 
 
20
 
isEmpty(USE_PRINTER) {
21
 
         USE_PRINTER = true }
22
 
 
23
 
isEmpty(USE_CLANG) {
24
 
         USE_CLANG = false }
25
 
 
 
13
USE_ASPELL = true
 
14
USE_HUNSPELL = true
 
15
USE_PRINTER = true 
 
16
USE_CLANG = false 
 
17
USE_DEBUG = false 
 
18
 
 
19
 
 
20
PREFIX = /usr/local/bin
26
21
 
27
22
 
28
23
contains (USE_PRINTER,true)
31
26
  DEFINES += PRINTER_ENABLE
32
27
}
33
28
 
 
29
contains (USE_DEBUG,true)
 
30
{
 
31
#  message ("Debug info enabled")
 
32
#  CONFIG += debug
 
33
}
 
34
 
34
35
 
35
36
contains(USE_CLANG,true){
36
37
    message ("Clang enabled")
110
111
greaterThan(QT_MAJOR_VERSION, 4) {
111
112
       QT += widgets
112
113
       QT += printsupport
 
114
 
 
115
       QT += qml
 
116
       QT += quick
 
117
 
113
118
   } else {
114
119
#QT += blah blah blah
115
120
   }
117
122
TARGET = bin/tea
118
123
#target.path = /usr/local/bin
119
124
 
120
 
isEmpty(PREFIX) {
121
 
  PREFIX = /usr/local/bin
122
 
   }
 
125
#isEmpty(PREFIX) {
 
126
#PREFIX = /usr/local/bin
 
127
#   }
123
128
 
124
129
target.path = $$PREFIX
125
130
 
152
157
        LIBS += -lz
153
158
 
154
159
 
 
160
 
155
161
contains(USE_ASPELL,true){
 
162
#exists($$INCLUDEPATH + "/aspell.h") {
156
163
exists("/usr/include/aspell.h") {
157
164
    message ("ASpell enabled")
158
165
    LIBS += -laspell
161
168
}
162
169
}
163
170
 
164
 
 
165
171
contains(USE_HUNSPELL,true){
166
172
exists("/usr/include/hunspell/hunspell.hxx") { 
167
173
    message ("hunspell enabled")
177
183
 
178
184
win32: {
179
185
 
 
186
 debug {
 
187
         CONFIG += console
 
188
     }
 
189
 
180
190
        LIBS += zlib1.dll
181
191
 
182
192
        contains(USE_ASPELL,true)